diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..931afb9
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,400 @@
+### Csharp template
+## Ignore Visual Studio temporary files, build results, and
+## files generated by popular Visual Studio add-ons.
+##
+## Get latest from https://github.com/github/gitignore/blob/main/VisualStudio.gitignore
+
+# User-specific files
+*.rsuser
+*.suo
+*.user
+*.userosscache
+*.sln.docstates
+
+# User-specific files (MonoDevelop/Xamarin Studio)
+*.userprefs
+
+# Mono auto generated files
+mono_crash.*
+
+# Build results
+[Dd]ebug/
+[Dd]ebugPublic/
+[Rr]elease/
+[Rr]eleases/
+x64/
+x86/
+[Ww][Ii][Nn]32/
+[Aa][Rr][Mm]/
+[Aa][Rr][Mm]64/
+bld/
+[Bb]in/
+[Oo]bj/
+[Ll]og/
+[Ll]ogs/
+
+# Visual Studio 2015/2017 cache/options directory
+.vs/
+# Uncomment if you have tasks that create the project's static files in wwwroot
+#wwwroot/
+
+# Visual Studio 2017 auto generated files
+Generated\ Files/
+
+# MSTest test Results
+[Tt]est[Rr]esult*/
+[Bb]uild[Ll]og.*
+
+# NUnit
+*.VisualState.xml
+TestResult.xml
+nunit-*.xml
+
+# Build Results of an ATL Project
+[Dd]ebugPS/
+[Rr]eleasePS/
+dlldata.c
+
+# Benchmark Results
+BenchmarkDotNet.Artifacts/
+
+# .NET Core
+project.lock.json
+project.fragment.lock.json
+artifacts/
+
+# ASP.NET Scaffolding
+ScaffoldingReadMe.txt
+
+# StyleCop
+StyleCopReport.xml
+
+# Files built by Visual Studio
+*_i.c
+*_p.c
+*_h.h
+*.ilk
+*.meta
+*.obj
+*.iobj
+*.pch
+*.pdb
+*.ipdb
+*.pgc
+*.pgd
+*.rsp
+*.sbr
+*.tlb
+*.tli
+*.tlh
+*.tmp
+*.tmp_proj
+*_wpftmp.csproj
+*.log
+*.tlog
+*.vspscc
+*.vssscc
+.builds
+*.pidb
+*.svclog
+*.scc
+
+# Chutzpah Test files
+_Chutzpah*
+
+# Visual C++ cache files
+ipch/
+*.aps
+*.ncb
+*.opendb
+*.opensdf
+*.sdf
+*.cachefile
+*.VC.db
+*.VC.VC.opendb
+
+# Visual Studio profiler
+*.psess
+*.vsp
+*.vspx
+*.sap
+
+# Visual Studio Trace Files
+*.e2e
+
+# TFS 2012 Local Workspace
+$tf/
+
+# Guidance Automation Toolkit
+*.gpState
+
+# ReSharper is a .NET coding add-in
+_ReSharper*/
+*.[Rr]e[Ss]harper
+*.DotSettings.user
+
+# TeamCity is a build add-in
+_TeamCity*
+
+# DotCover is a Code Coverage Tool
+*.dotCover
+
+# AxoCover is a Code Coverage Tool
+.axoCover/*
+!.axoCover/settings.json
+
+# Coverlet is a free, cross platform Code Coverage Tool
+coverage*.json
+coverage*.xml
+coverage*.info
+
+# Visual Studio code coverage results
+*.coverage
+*.coveragexml
+
+# NCrunch
+_NCrunch_*
+.*crunch*.local.xml
+nCrunchTemp_*
+
+# MightyMoose
+*.mm.*
+AutoTest.Net/
+
+# Web workbench (sass)
+.sass-cache/
+
+# Installshield output folder
+[Ee]xpress/
+
+# DocProject is a documentation generator add-in
+DocProject/buildhelp/
+DocProject/Help/*.HxT
+DocProject/Help/*.HxC
+DocProject/Help/*.hhc
+DocProject/Help/*.hhk
+DocProject/Help/*.hhp
+DocProject/Help/Html2
+DocProject/Help/html
+
+# Click-Once directory
+publish/
+
+# Publish Web Output
+*.[Pp]ublish.xml
+*.azurePubxml
+# Note: Comment the next line if you want to checkin your web deploy settings,
+# but database connection strings (with potential passwords) will be unencrypted
+*.pubxml
+*.publishproj
+
+# Microsoft Azure Web App publish settings. Comment the next line if you want to
+# checkin your Azure Web App publish settings, but sensitive information contained
+# in these scripts will be unencrypted
+PublishScripts/
+
+# NuGet Packages
+*.nupkg
+# NuGet Symbol Packages
+*.snupkg
+# The packages folder can be ignored because of Package Restore
+**/[Pp]ackages/*
+# except build/, which is used as an MSBuild target.
+!**/[Pp]ackages/build/
+# Uncomment if necessary however generally it will be regenerated when needed
+#!**/[Pp]ackages/repositories.config
+# NuGet v3's project.json files produces more ignorable files
+*.nuget.props
+*.nuget.targets
+
+# Microsoft Azure Build Output
+csx/
+*.build.csdef
+
+# Microsoft Azure Emulator
+ecf/
+rcf/
+
+# Windows Store app package directories and files
+AppPackages/
+BundleArtifacts/
+Package.StoreAssociation.xml
+_pkginfo.txt
+*.appx
+*.appxbundle
+*.appxupload
+
+# Visual Studio cache files
+# files ending in .cache can be ignored
+*.[Cc]ache
+# but keep track of directories ending in .cache
+!?*.[Cc]ache/
+
+# Others
+ClientBin/
+~$*
+*~
+*.dbmdl
+*.dbproj.schemaview
+*.jfm
+*.pfx
+*.publishsettings
+orleans.codegen.cs
+
+# Including strong name files can present a security risk
+# (https://github.com/github/gitignore/pull/2483#issue-259490424)
+#*.snk
+
+# Since there are multiple workflows, uncomment next line to ignore bower_components
+# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
+#bower_components/
+
+# RIA/Silverlight projects
+Generated_Code/
+
+# Backup & report files from converting an old project file
+# to a newer Visual Studio version. Backup files are not needed,
+# because we have git ;-)
+_UpgradeReport_Files/
+Backup*/
+UpgradeLog*.XML
+UpgradeLog*.htm
+ServiceFabricBackup/
+*.rptproj.bak
+
+# SQL Server files
+*.mdf
+*.ldf
+*.ndf
+
+# Business Intelligence projects
+*.rdl.data
+*.bim.layout
+*.bim_*.settings
+*.rptproj.rsuser
+*- [Bb]ackup.rdl
+*- [Bb]ackup ([0-9]).rdl
+*- [Bb]ackup ([0-9][0-9]).rdl
+
+# Microsoft Fakes
+FakesAssemblies/
+
+# GhostDoc plugin setting file
+*.GhostDoc.xml
+
+# Node.js Tools for Visual Studio
+.ntvs_analysis.dat
+node_modules/
+
+# Visual Studio 6 build log
+*.plg
+
+# Visual Studio 6 workspace options file
+*.opt
+
+# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
+*.vbw
+
+# Visual Studio 6 auto-generated project file (contains which files were open etc.)
+*.vbp
+
+# Visual Studio 6 workspace and project file (working project files containing files to include in project)
+*.dsw
+*.dsp
+
+# Visual Studio 6 technical files
+*.ncb
+*.aps
+
+# Visual Studio LightSwitch build output
+**/*.HTMLClient/GeneratedArtifacts
+**/*.DesktopClient/GeneratedArtifacts
+**/*.DesktopClient/ModelManifest.xml
+**/*.Server/GeneratedArtifacts
+**/*.Server/ModelManifest.xml
+_Pvt_Extensions
+
+# Paket dependency manager
+.paket/paket.exe
+paket-files/
+
+# FAKE - F# Make
+.fake/
+
+# CodeRush personal settings
+.cr/personal
+
+# Python Tools for Visual Studio (PTVS)
+__pycache__/
+*.pyc
+
+# Cake - Uncomment if you are using it
+# tools/**
+# !tools/packages.config
+
+# Tabs Studio
+*.tss
+
+# Telerik's JustMock configuration file
+*.jmconfig
+
+# BizTalk build output
+*.btp.cs
+*.btm.cs
+*.odx.cs
+*.xsd.cs
+
+# OpenCover UI analysis results
+OpenCover/
+
+# Azure Stream Analytics local run output
+ASALocalRun/
+
+# MSBuild Binary and Structured Log
+*.binlog
+
+# NVidia Nsight GPU debugger configuration file
+*.nvuser
+
+# MFractors (Xamarin productivity tool) working folder
+.mfractor/
+
+# Local History for Visual Studio
+.localhistory/
+
+# Visual Studio History (VSHistory) files
+.vshistory/
+
+# BeatPulse healthcheck temp database
+healthchecksdb
+
+# Backup folder for Package Reference Convert tool in Visual Studio 2017
+MigrationBackup/
+
+# Ionide (cross platform F# VS Code tools) working folder
+.ionide/
+
+# Fody - auto-generated XML schema
+FodyWeavers.xsd
+
+# VS Code files for those working on multiple tools
+.vscode/*
+!.vscode/settings.json
+!.vscode/tasks.json
+!.vscode/launch.json
+!.vscode/extensions.json
+*.code-workspace
+
+# Local History for Visual Studio Code
+.history/
+
+# Windows Installer files from build outputs
+*.cab
+*.msi
+*.msix
+*.msm
+*.msp
+
+# JetBrains Rider
+*.sln.iml
+
diff --git a/.vs/Naticord/v15/.suo b/.vs/Naticord/v15/.suo
deleted file mode 100644
index 4aa7fa0..0000000
Binary files a/.vs/Naticord/v15/.suo and /dev/null differ
diff --git a/.vs/Naticord/v15/Server/sqlite3/db.lock b/.vs/Naticord/v15/Server/sqlite3/db.lock
deleted file mode 100644
index e69de29..0000000
diff --git a/.vs/Naticord/v15/Server/sqlite3/storage.ide b/.vs/Naticord/v15/Server/sqlite3/storage.ide
deleted file mode 100644
index f76fcba..0000000
Binary files a/.vs/Naticord/v15/Server/sqlite3/storage.ide and /dev/null differ
diff --git a/.vs/Naticord/v15/Server/sqlite3/storage.ide-shm b/.vs/Naticord/v15/Server/sqlite3/storage.ide-shm
deleted file mode 100644
index 6272830..0000000
Binary files a/.vs/Naticord/v15/Server/sqlite3/storage.ide-shm and /dev/null differ
diff --git a/.vs/Naticord/v15/Server/sqlite3/storage.ide-wal b/.vs/Naticord/v15/Server/sqlite3/storage.ide-wal
deleted file mode 100644
index b6be826..0000000
Binary files a/.vs/Naticord/v15/Server/sqlite3/storage.ide-wal and /dev/null differ
diff --git a/Naticord/bin/Debug/Debug.zip b/Naticord/bin/Debug/Debug.zip
deleted file mode 100644
index 7255824..0000000
Binary files a/Naticord/bin/Debug/Debug.zip and /dev/null differ
diff --git a/Naticord/bin/Debug/Naticord.exe b/Naticord/bin/Debug/Naticord.exe
deleted file mode 100644
index 170fbc8..0000000
Binary files a/Naticord/bin/Debug/Naticord.exe and /dev/null differ
diff --git a/Naticord/bin/Debug/Naticord.pdb b/Naticord/bin/Debug/Naticord.pdb
deleted file mode 100644
index e14e073..0000000
Binary files a/Naticord/bin/Debug/Naticord.pdb and /dev/null differ
diff --git a/Naticord/bin/Debug/Newtonsoft.Json.dll b/Naticord/bin/Debug/Newtonsoft.Json.dll
deleted file mode 100644
index be3857e..0000000
Binary files a/Naticord/bin/Debug/Newtonsoft.Json.dll and /dev/null differ
diff --git a/Naticord/bin/Debug/Newtonsoft.Json.xml b/Naticord/bin/Debug/Newtonsoft.Json.xml
deleted file mode 100644
index a806363..0000000
--- a/Naticord/bin/Debug/Newtonsoft.Json.xml
+++ /dev/null
@@ -1,9741 +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 BSON data.
-
-
-
-
- Gets or sets a value indicating whether binary data reading should be compatible with incorrect Json.NET 3.5 written binary.
-
-
- true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether the root object will be read as a JSON array.
-
-
- true if the root object will be read as a JSON array; otherwise, false.
-
-
-
-
- Gets or sets the used when reading values from BSON.
-
- The used when reading values from BSON.
-
-
-
- Initializes a new instance of the class.
-
- The containing the BSON data to read.
-
-
-
- Initializes a new instance of the class.
-
- The containing the BSON data to read.
-
-
-
- Initializes a new instance of the class.
-
- The containing the BSON data to read.
- if set to true the root object will be read as a JSON array.
- The used when reading values from BSON.
-
-
-
- Initializes a new instance of the class.
-
- The containing the BSON data to read.
- if set to true the root object will be read as a JSON array.
- The used when reading values from BSON.
-
-
-
- Reads the next JSON token from the underlying .
-
-
- true if the next token was read successfully; false if there are no more tokens to read.
-
-
-
-
- Changes the reader's state to .
- If is set to true, the underlying is also closed.
-
-
-
-
- Represents a writer that provides a fast, non-cached, forward-only way of generating BSON data.
-
-
-
-
- Gets or sets the used when writing values to BSON.
- When set to no conversion will occur.
-
- The used when writing values to BSON.
-
-
-
- Initializes a new instance of the class.
-
- The to write to.
-
-
-
- Initializes a new instance of the class.
-
- The to write to.
-
-
-
- Flushes whatever is in the buffer to the underlying and also flushes the underlying stream.
-
-
-
-
- Writes the end.
-
- The token.
-
-
-
- Writes a comment /*...*/ containing the specified text.
-
- Text to place inside the comment.
-
-
-
- Writes the start of a constructor with the given name.
-
- The name of the constructor.
-
-
-
- Writes raw JSON.
-
- The raw JSON to write.
-
-
-
- Writes raw JSON where a value is expected and updates the writer's state.
-
- The raw JSON to write.
-
-
-
- Writes the beginning of a JSON array.
-
-
-
-
- Writes the beginning of a JSON object.
-
-
-
-
- Writes the property name of a name/value pair on a JSON object.
-
- The name of the property.
-
-
-
- Closes this writer.
- If is set to true, the underlying is also closed.
- If is set to true, the JSON is auto-completed.
-
-
-
-
- Writes a value.
- An error will raised if the value cannot be written as a single JSON token.
-
- The value to write.
-
-
-
- Writes a null value.
-
-
-
-
- Writes an undefined value.
-
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a [] value.
-
- The [] value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a [] value that represents a BSON object id.
-
- The Object ID value to write.
-
-
-
- Writes a BSON regex.
-
- The regex pattern.
- The regex options.
-
-
-
- Specifies how constructors are used when initializing objects during deserialization by the .
-
-
-
-
- First attempt to use the public default constructor, then fall back to a single parameterized constructor, then to the non-public default constructor.
-
-
-
-
- Json.NET will use a non-public default constructor before falling back to a parameterized constructor.
-
-
-
-
- Converts a binary value to and from a base 64 string value.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts a to and from JSON and BSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Creates a custom object.
-
- The object type to convert.
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Creates an object which will then be populated by the serializer.
-
- Type of the object.
- The created object.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Gets a value indicating whether this can write JSON.
-
-
- true if this can write JSON; otherwise, false.
-
-
-
-
- Converts a to and from JSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified value type.
-
- Type of the value.
-
- true if this instance can convert the specified value type; otherwise, false.
-
-
-
-
- Converts a to and from JSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified value type.
-
- Type of the value.
-
- true if this instance can convert the specified value type; otherwise, false.
-
-
-
-
- Provides a base class for converting a to and from JSON.
-
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts a F# discriminated union type to and from JSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts an Entity Framework to and from JSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts an to and from JSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Gets a value indicating whether this can write JSON.
-
-
- true if this can write JSON; otherwise, false.
-
-
-
-
- Converts a to and from the ISO 8601 date format (e.g. "2008-04-12T12:53Z").
-
-
-
-
- Gets or sets the date time styles used when converting a date to and from JSON.
-
- The date time styles used when converting a date to and from JSON.
-
-
-
- Gets or sets the date time format used when converting a date to and from JSON.
-
- The date time format used when converting a date to and from JSON.
-
-
-
- Gets or sets the culture used when converting a date to and from JSON.
-
- The culture used when converting a date to and from JSON.
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Converts a to and from a JavaScript Date constructor (e.g. new Date(52231943)).
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing property value of the JSON that is being converted.
- The calling serializer.
- The object value.
-
-
-
- Converts a to and from JSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts a to and from JSON and BSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts an to and from its name string value.
-
-
-
-
- Gets or sets a value indicating whether the written enum text should be camel case.
- The default value is false.
-
- true if the written enum text will be camel case; otherwise, false.
-
-
-
- Gets or sets the naming strategy used to resolve how enum text is written.
-
- The naming strategy used to resolve how enum text is written.
-
-
-
- Gets or sets a value indicating whether integer values are allowed when serializing and deserializing.
- The default value is true.
-
- true if integers are allowed when serializing and deserializing; otherwise, false.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- true if the written enum text will be camel case; otherwise, false.
-
-
-
- Initializes a new instance of the class.
-
- The naming strategy used to resolve how enum text is written.
- true if integers are allowed when serializing and deserializing; otherwise, false.
-
-
-
- Initializes a new instance of the class.
-
- The of the used to write enum text.
-
-
-
- Initializes a new instance of the class.
-
- The of the used to write enum text.
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
- When non-null, there must be a constructor defined in the that exactly matches the number,
- order, and type of these parameters.
-
-
-
-
- Initializes a new instance of the class.
-
- The of the used to write enum text.
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
- When non-null, there must be a constructor defined in the that exactly matches the number,
- order, and type of these parameters.
-
- true if integers are allowed when serializing and deserializing; otherwise, false.
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts a to and from Unix epoch time
-
-
-
-
- Gets or sets a value indicating whether the dates before Unix epoch
- should converted to and from JSON.
-
-
- true to allow converting dates before Unix epoch to and from JSON;
- false to throw an exception when a date being converted to or from JSON
- occurred before Unix epoch. The default value is false.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
-
- true to allow converting dates before Unix epoch to and from JSON;
- false to throw an exception when a date being converted to or from JSON
- occurred before Unix epoch. The default value is 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 property value of the JSON that is being converted.
- The calling serializer.
- The object value.
-
-
-
- Converts a to and from a string (e.g. "1.2.3.4").
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing property value of the JSON that is being converted.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts XML to and from JSON.
-
-
-
-
- Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produced multiple root elements.
-
- The name of the deserialized root element.
-
-
-
- Gets or sets a value to indicate whether to write the Json.NET array attribute.
- This attribute helps preserve arrays when converting the written XML back to JSON.
-
- true if the array attribute is written to the XML; otherwise, false.
-
-
-
- Gets or sets a value indicating whether to write the root JSON object.
-
- true if the JSON root object is omitted; otherwise, false.
-
-
-
- Gets or sets a value indicating whether to encode special characters when converting JSON to XML.
- If true, special characters like ':', '@', '?', '#' and '$' in JSON property names aren't used to specify
- XML namespaces, attributes or processing directives. Instead special characters are encoded and written
- as part of the XML element name.
-
- true if special characters are encoded; otherwise, false.
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The calling serializer.
- The value.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Checks if the is a namespace attribute.
-
- Attribute name to test.
- The attribute name prefix if it has one, otherwise an empty string.
- true if attribute name is for a namespace attribute, otherwise false.
-
-
-
- Determines whether this instance can convert the specified value type.
-
- Type of the value.
-
- true if this instance can convert the specified value type; otherwise, false.
-
-
-
-
- Specifies how dates are formatted when writing JSON text.
-
-
-
-
- Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z".
-
-
-
-
- Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/".
-
-
-
-
- Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text.
-
-
-
-
- Date formatted strings are not parsed to a date type and are read as strings.
-
-
-
-
- Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to .
-
-
-
-
- Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to .
-
-
-
-
- Specifies how to treat the time value when converting between string and .
-
-
-
-
- Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time.
-
-
-
-
- Treat as a UTC. If the object represents a local time, it is converted to a UTC.
-
-
-
-
- Treat as a local time if a is being converted to a string.
- If a string is being converted to , convert to a local time if a time zone is specified.
-
-
-
-
- Time zone information should be preserved when converting.
-
-
-
-
- The default JSON name table implementation.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets a string containing the same characters as the specified range of characters in the given array.
-
- The character array containing the name to find.
- The zero-based index into the array specifying the first character of the name.
- The number of characters in the name.
- A string containing the same characters as the specified range of characters in the given array.
-
-
-
- Adds the specified string into name table.
-
- The string to add.
- This method is not thread-safe.
- The resolved string.
-
-
-
- Specifies default value handling options for the .
-
-
-
-
-
-
-
-
- Include members where the member value is the same as the member's default value when serializing objects.
- Included members are written to JSON. Has no effect when deserializing.
-
-
-
-
- Ignore members where the member value is the same as the member's default value when serializing objects
- so that it is not written to JSON.
- This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers,
- decimals and floating point numbers; and false for booleans). The default value ignored can be changed by
- placing the on the property.
-
-
-
-
- Members with a default value but no JSON will be set to their default value when deserializing.
-
-
-
-
- Ignore members where the member value is the same as the member's default value when serializing objects
- and set members to their default value when deserializing.
-
-
-
-
- Specifies float format handling options when writing special floating point numbers, e.g. ,
- and with .
-
-
-
-
- Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity".
-
-
-
-
- Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity.
- Note that this will produce non-valid JSON.
-
-
-
-
- Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a of property.
-
-
-
-
- Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
-
-
-
-
- Floating point numbers are parsed to .
-
-
-
-
- Floating point numbers are parsed to .
-
-
-
-
- Specifies formatting options for the .
-
-
-
-
- No special formatting is applied. This is the default.
-
-
-
-
- Causes child objects to be indented according to the and settings.
-
-
-
-
- Provides an interface for using pooled arrays.
-
- The array type content.
-
-
-
- Rent an array from the pool. This array must be returned when it is no longer needed.
-
- The minimum required length of the array. The returned array may be longer.
- The rented array from the pool. This array must be returned when it is no longer needed.
-
-
-
- Return an array to the pool.
-
- The array that is being returned.
-
-
-
- Provides an interface to enable a class to return line and position information.
-
-
-
-
- Gets a value indicating whether the class can return line information.
-
-
- true if and can be provided; otherwise, false.
-
-
-
-
- Gets the current line number.
-
- The current line number or 0 if no line information is available (for example, when returns false).
-
-
-
- Gets the current line position.
-
- The current line position or 0 if no line information is available (for example, when returns false).
-
-
-
- Instructs the how to serialize the collection.
-
-
-
-
- Gets or sets a value indicating whether null items are allowed in the collection.
-
- true if null items are allowed in the collection; otherwise, false.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class with a flag indicating whether the array can contain null items.
-
- A flag indicating whether the array can contain null items.
-
-
-
- Initializes a new instance of the class with the specified container Id.
-
- The container Id.
-
-
-
- Instructs the to use the specified constructor when deserializing that object.
-
-
-
-
- Instructs the how to serialize the object.
-
-
-
-
- Gets or sets the id.
-
- The id.
-
-
-
- Gets or sets the title.
-
- The title.
-
-
-
- Gets or sets the description.
-
- The description.
-
-
-
- Gets or sets the collection's items converter.
-
- The collection's items converter.
-
-
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
- When non-null, there must be a constructor defined in the that exactly matches the number,
- order, and type of these parameters.
-
-
-
- [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })]
-
-
-
-
-
- Gets or sets the of the .
-
- The of the .
-
-
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
- When non-null, there must be a constructor defined in the that exactly matches the number,
- order, and type of these parameters.
-
-
-
- [JsonContainer(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })]
-
-
-
-
-
- Gets or sets a value that indicates whether to preserve object references.
-
-
- true to keep object reference; otherwise, false. The default is false.
-
-
-
-
- Gets or sets a value that indicates whether to preserve collection's items references.
-
-
- true to keep collection's items object references; otherwise, false. The default is false.
-
-
-
-
- Gets or sets the reference loop handling used when serializing the collection's items.
-
- The reference loop handling.
-
-
-
- Gets or sets the type name handling used when serializing the collection's items.
-
- The type name handling.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class with the specified container Id.
-
- The container Id.
-
-
-
- Provides methods for converting between .NET types and JSON types.
-
-
-
-
-
-
-
- Gets or sets a function that creates default .
- Default settings are automatically used by serialization methods on ,
- and and on .
- To serialize without using any default settings create a with
- .
-
-
-
-
- Represents JavaScript's boolean value true as a string. This field is read-only.
-
-
-
-
- Represents JavaScript's boolean value false as a string. This field is read-only.
-
-
-
-
- Represents JavaScript's null as a string. This field is read-only.
-
-
-
-
- Represents JavaScript's undefined as a string. This field is read-only.
-
-
-
-
- Represents JavaScript's positive infinity as a string. This field is read-only.
-
-
-
-
- Represents JavaScript's negative infinity as a string. This field is read-only.
-
-
-
-
- Represents JavaScript's NaN as a string. This field is read-only.
-
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation using the specified.
-
- The value to convert.
- The format the date will be converted to.
- The time zone handling when the date is converted to a string.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation using the specified.
-
- The value to convert.
- The format the date will be converted to.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- The string delimiter character.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- The string delimiter character.
- The string escape handling.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Serializes the specified object to a JSON string.
-
- The object to serialize.
- A JSON string representation of the object.
-
-
-
- Serializes the specified object to a JSON string using formatting.
-
- The object to serialize.
- Indicates how the output should be formatted.
-
- A JSON string representation of the object.
-
-
-
-
- Serializes the specified object to a JSON string using a collection of .
-
- The object to serialize.
- A collection of converters used while serializing.
- A JSON string representation of the object.
-
-
-
- Serializes the specified object to a JSON string using formatting and a collection of .
-
- The object to serialize.
- Indicates how the output should be formatted.
- A collection of converters used while serializing.
- A JSON string representation of the object.
-
-
-
- Serializes the specified object to a JSON string using .
-
- The object to serialize.
- The used to serialize the object.
- If this is null, default serialization settings will be used.
-
- A JSON string representation of the object.
-
-
-
-
- Serializes the specified object to a JSON string using a type, formatting and .
-
- The object to serialize.
- The used to serialize the object.
- If this is null, default serialization settings will be used.
-
- The type of the value being serialized.
- This parameter is used when is to write out the type name if the type of the value does not match.
- Specifying the type is optional.
-
-
- A JSON string representation of the object.
-
-
-
-
- Serializes the specified object to a JSON string using formatting and .
-
- The object to serialize.
- Indicates how the output should be formatted.
- The used to serialize the object.
- If this is null, default serialization settings will be used.
-
- A JSON string representation of the object.
-
-
-
-
- Serializes the specified object to a JSON string using a type, formatting and .
-
- The object to serialize.
- Indicates how the output should be formatted.
- The used to serialize the object.
- If this is null, default serialization settings will be used.
-
- The type of the value being serialized.
- This parameter is used when is to write out the type name if the type of the value does not match.
- Specifying the type is optional.
-
-
- A JSON string representation of the object.
-
-
-
-
- Deserializes the JSON to a .NET object.
-
- The JSON to deserialize.
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to a .NET object using .
-
- The JSON to deserialize.
-
- The used to deserialize the object.
- If this is null, default serialization settings will be used.
-
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to the specified .NET type.
-
- The JSON to deserialize.
- The of object being deserialized.
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to the specified .NET type.
-
- The type of the object to deserialize to.
- The JSON to deserialize.
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to the given anonymous type.
-
-
- The anonymous type to deserialize to. This can't be specified
- traditionally and must be inferred from the anonymous type passed
- as a parameter.
-
- The JSON to deserialize.
- The anonymous type object.
- The deserialized anonymous type from the JSON string.
-
-
-
- Deserializes the JSON to the given anonymous type using .
-
-
- The anonymous type to deserialize to. This can't be specified
- traditionally and must be inferred from the anonymous type passed
- as a parameter.
-
- The JSON to deserialize.
- The anonymous type object.
-
- The used to deserialize the object.
- If this is null, default serialization settings will be used.
-
- The deserialized anonymous type from the JSON string.
-
-
-
- Deserializes the JSON to the specified .NET type using a collection of .
-
- The type of the object to deserialize to.
- The JSON to deserialize.
- Converters to use while deserializing.
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to the specified .NET type using .
-
- The type of the object to deserialize to.
- The object to deserialize.
-
- The used to deserialize the object.
- If this is null, default serialization settings will be used.
-
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to the specified .NET type using a collection of .
-
- The JSON to deserialize.
- The type of the object to deserialize.
- Converters to use while deserializing.
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to the specified .NET type using .
-
- The JSON to deserialize.
- The type of the object to deserialize to.
-
- The used to deserialize the object.
- If this is null, default serialization settings will be used.
-
- The deserialized object from the JSON string.
-
-
-
- Populates the object with values from the JSON string.
-
- The JSON to populate values from.
- The target object to populate values onto.
-
-
-
- Populates the object with values from the JSON string using .
-
- The JSON to populate values from.
- The target object to populate values onto.
-
- The used to deserialize the object.
- If this is null, default serialization settings will be used.
-
-
-
-
- Serializes the to a JSON string.
-
- The node to serialize.
- A JSON string of the .
-
-
-
- Serializes the to a JSON string using formatting.
-
- The node to serialize.
- Indicates how the output should be formatted.
- A JSON string of the .
-
-
-
- Serializes the to a JSON string using formatting and omits the root object if is true.
-
- The node to serialize.
- Indicates how the output should be formatted.
- Omits writing the root object.
- A JSON string of the .
-
-
-
- Deserializes the from a JSON string.
-
- The JSON string.
- The deserialized .
-
-
-
- Deserializes the from a JSON string nested in a root element specified by .
-
- The JSON string.
- The name of the root element to append when deserializing.
- The deserialized .
-
-
-
- Deserializes the from a JSON string nested in a root element specified by
- and writes a Json.NET array attribute for collections.
-
- The JSON string.
- The name of the root element to append when deserializing.
-
- A value to indicate whether to write the Json.NET array attribute.
- This attribute helps preserve arrays when converting the written XML back to JSON.
-
- The deserialized .
-
-
-
- Deserializes the from a JSON string nested in a root element specified by ,
- writes a Json.NET array attribute for collections, and encodes special characters.
-
- The JSON string.
- The name of the root element to append when deserializing.
-
- A value to indicate whether to write the Json.NET array attribute.
- This attribute helps preserve arrays when converting the written XML back to JSON.
-
-
- A value to indicate whether to encode special characters when converting JSON to XML.
- If true, special characters like ':', '@', '?', '#' and '$' in JSON property names aren't used to specify
- XML namespaces, attributes or processing directives. Instead special characters are encoded and written
- as part of the XML element name.
-
- The deserialized .
-
-
-
- Serializes the to a JSON string.
-
- The node to convert to JSON.
- A JSON string of the .
-
-
-
- Serializes the to a JSON string using formatting.
-
- The node to convert to JSON.
- Indicates how the output should be formatted.
- A JSON string of the .
-
-
-
- Serializes the to a JSON string using formatting and omits the root object if is true.
-
- The node to serialize.
- Indicates how the output should be formatted.
- Omits writing the root object.
- A JSON string of the .
-
-
-
- Deserializes the from a JSON string.
-
- The JSON string.
- The deserialized .
-
-
-
- Deserializes the from a JSON string nested in a root element specified by .
-
- The JSON string.
- The name of the root element to append when deserializing.
- The deserialized .
-
-
-
- Deserializes the from a JSON string nested in a root element specified by
- and writes a Json.NET array attribute for collections.
-
- The JSON string.
- The name of the root element to append when deserializing.
-
- A value to indicate whether to write the Json.NET array attribute.
- This attribute helps preserve arrays when converting the written XML back to JSON.
-
- The deserialized .
-
-
-
- Deserializes the from a JSON string nested in a root element specified by ,
- writes a Json.NET array attribute for collections, and encodes special characters.
-
- The JSON string.
- The name of the root element to append when deserializing.
-
- A value to indicate whether to write the Json.NET array attribute.
- This attribute helps preserve arrays when converting the written XML back to JSON.
-
-
- A value to indicate whether to encode special characters when converting JSON to XML.
- If true, special characters like ':', '@', '?', '#' and '$' in JSON property names aren't used to specify
- XML namespaces, attributes or processing directives. Instead special characters are encoded and written
- as part of the XML element name.
-
- The deserialized .
-
-
-
- Converts an object to and from JSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Gets a value indicating whether this can read JSON.
-
- true if this can read JSON; otherwise, false.
-
-
-
- Gets a value indicating whether this can write JSON.
-
- true if this can write JSON; otherwise, false.
-
-
-
- Converts an object to and from JSON.
-
- The object type to convert.
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read. If there is no existing value then null will be used.
- The existing value has a value.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Instructs the to use the specified when serializing the member or class.
-
-
-
-
- Gets the of the .
-
- The of the .
-
-
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
-
-
-
-
- Initializes a new instance of the class.
-
- Type of the .
-
-
-
- Initializes a new instance of the class.
-
- Type of the .
- Parameter list to use when constructing the . Can be null.
-
-
-
- Represents a collection of .
-
-
-
-
- Instructs the how to serialize the collection.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class with the specified container Id.
-
- The container Id.
-
-
-
- The exception thrown when an error occurs during JSON serialization or deserialization.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- with a specified error message.
-
- The error message that explains the reason for the exception.
-
-
-
- Initializes a new instance of the class
- with a specified error message and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Initializes a new instance of the class.
-
- The that holds the serialized object data about the exception being thrown.
- The that contains contextual information about the source or destination.
- The parameter is null.
- The class name is null or is zero (0).
-
-
-
- Instructs the to deserialize properties with no matching class member into the specified collection
- and write values during serialization.
-
-
-
-
- Gets or sets a value that indicates whether to write extension data when serializing the object.
-
-
- true to write extension data when serializing the object; otherwise, false. The default is true.
-
-
-
-
- Gets or sets a value that indicates whether to read extension data when deserializing the object.
-
-
- true to read extension data when deserializing the object; otherwise, false. The default is true.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Instructs the not to serialize the public field or public read/write property value.
-
-
-
-
- Base class for a table of atomized string objects.
-
-
-
-
- Gets a string containing the same characters as the specified range of characters in the given array.
-
- The character array containing the name to find.
- The zero-based index into the array specifying the first character of the name.
- The number of characters in the name.
- A string containing the same characters as the specified range of characters in the given array.
-
-
-
- Instructs the how to serialize the object.
-
-
-
-
- Gets or sets the member serialization.
-
- The member serialization.
-
-
-
- Gets or sets the missing member handling used when deserializing this object.
-
- The missing member handling.
-
-
-
- Gets or sets how the object's properties with null values are handled during serialization and deserialization.
-
- How the object's properties with null values are handled during serialization and deserialization.
-
-
-
- Gets or sets a value that indicates whether the object's properties are required.
-
-
- A value indicating whether the object's properties are required.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class with the specified member serialization.
-
- The member serialization.
-
-
-
- Initializes a new instance of the class with the specified container Id.
-
- The container Id.
-
-
-
- Instructs the to always serialize the member with the specified name.
-
-
-
-
- Gets or sets the type used when serializing the property's collection items.
-
- The collection's items type.
-
-
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
- When non-null, there must be a constructor defined in the that exactly matches the number,
- order, and type of these parameters.
-
-
-
- [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })]
-
-
-
-
-
- Gets or sets the of the .
-
- The of the .
-
-
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
- When non-null, there must be a constructor defined in the that exactly matches the number,
- order, and type of these parameters.
-
-
-
- [JsonProperty(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })]
-
-
-
-
-
- Gets or sets the null value handling used when serializing this property.
-
- The null value handling.
-
-
-
- Gets or sets the default value handling used when serializing this property.
-
- The default value handling.
-
-
-
- Gets or sets the reference loop handling used when serializing this property.
-
- The reference loop handling.
-
-
-
- Gets or sets the object creation handling used when deserializing this property.
-
- The object creation handling.
-
-
-
- Gets or sets the type name handling used when serializing this property.
-
- The type name handling.
-
-
-
- Gets or sets whether this property's value is serialized as a reference.
-
- Whether this property's value is serialized as a reference.
-
-
-
- Gets or sets the order of serialization of a member.
-
- The numeric order of serialization.
-
-
-
- Gets or sets a value indicating whether this property is required.
-
-
- A value indicating whether this property is required.
-
-
-
-
- Gets or sets the name of the property.
-
- The name of the property.
-
-
-
- Gets or sets the reference loop handling used when serializing the property's collection items.
-
- The collection's items reference loop handling.
-
-
-
- Gets or sets the type name handling used when serializing the property's collection items.
-
- The collection's items type name handling.
-
-
-
- Gets or sets whether this property's collection items are serialized as a reference.
-
- Whether this property's collection items are serialized as a reference.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class with the specified name.
-
- Name of the property.
-
-
-
- Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data.
-
-
-
-
- Specifies the state of the reader.
-
-
-
-
- A read method has not been called.
-
-
-
-
- The end of the file has been reached successfully.
-
-
-
-
- Reader is at a property.
-
-
-
-
- Reader is at the start of an object.
-
-
-
-
- Reader is in an object.
-
-
-
-
- Reader is at the start of an array.
-
-
-
-
- Reader is in an array.
-
-
-
-
- The method has been called.
-
-
-
-
- Reader has just read a value.
-
-
-
-
- Reader is at the start of a constructor.
-
-
-
-
- Reader is in a constructor.
-
-
-
-
- An error occurred that prevents the read operation from continuing.
-
-
-
-
- The end of the file has been reached successfully.
-
-
-
-
- Gets the current reader state.
-
- The current reader state.
-
-
-
- Gets or sets a value indicating whether the source should be closed when this reader is closed.
-
-
- true to close the source when this reader is closed; otherwise false. The default is true.
-
-
-
-
- Gets or sets a value indicating whether multiple pieces of JSON content can
- be read from a continuous stream without erroring.
-
-
- true to support reading multiple pieces of JSON content; otherwise false.
- The default is false.
-
-
-
-
- Gets the quotation mark character used to enclose the value of a string.
-
-
-
-
- Gets or sets how time zones are handled when reading JSON.
-
-
-
-
- Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON.
-
-
-
-
- Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
-
-
-
-
- Gets or sets how custom date formatted strings are parsed when reading JSON.
-
-
-
-
- Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a .
- A null value means there is no maximum.
- The default value is 64.
-
-
-
-
- Gets the type of the current JSON token.
-
-
-
-
- Gets the text value of the current JSON token.
-
-
-
-
- Gets the .NET type for the current JSON token.
-
-
-
-
- Gets the depth of the current token in the JSON document.
-
- The depth of the current token in the JSON document.
-
-
-
- Gets the path of the current JSON token.
-
-
-
-
- Gets or sets the culture used when reading JSON. Defaults to .
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Reads the next JSON token from the source.
-
- true if the next token was read successfully; false if there are no more tokens to read.
-
-
-
- Reads the next JSON token from the source as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a .
-
- A . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a [].
-
- A [] or null if the next JSON token is null. This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Skips the children of the current token.
-
-
-
-
- Sets the current token.
-
- The new token.
-
-
-
- Sets the current token and value.
-
- The new token.
- The value.
-
-
-
- Sets the current token and value.
-
- The new token.
- The value.
- A flag indicating whether the position index inside an array should be updated.
-
-
-
- Sets the state based on current token type.
-
-
-
-
- Releases unmanaged and - optionally - managed resources.
-
- true to release both managed and unmanaged resources; false to release only unmanaged resources.
-
-
-
- Changes the reader's state to .
- If is set to true, the source is also closed.
-
-
-
-
- The exception thrown when an error occurs while reading JSON text.
-
-
-
-
- Gets the line number indicating where the error occurred.
-
- The line number indicating where the error occurred.
-
-
-
- Gets the line position indicating where the error occurred.
-
- The line position indicating where the error occurred.
-
-
-
- Gets the path to the JSON where the error occurred.
-
- The path to the JSON where the error occurred.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- with a specified error message.
-
- The error message that explains the reason for the exception.
-
-
-
- Initializes a new instance of the class
- with a specified error message and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Initializes a new instance of the class.
-
- The that holds the serialized object data about the exception being thrown.
- The that contains contextual information about the source or destination.
- The parameter is null.
- The class name is null or is zero (0).
-
-
-
- Initializes a new instance of the class
- with a specified error message, JSON path, line number, line position, and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The path to the JSON where the error occurred.
- The line number indicating where the error occurred.
- The line position indicating where the error occurred.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Instructs the to always serialize the member, and to require that the member has a value.
-
-
-
-
- The exception thrown when an error occurs during JSON serialization or deserialization.
-
-
-
-
- Gets the line number indicating where the error occurred.
-
- The line number indicating where the error occurred.
-
-
-
- Gets the line position indicating where the error occurred.
-
- The line position indicating where the error occurred.
-
-
-
- Gets the path to the JSON where the error occurred.
-
- The path to the JSON where the error occurred.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- with a specified error message.
-
- The error message that explains the reason for the exception.
-
-
-
- Initializes a new instance of the class
- with a specified error message and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Initializes a new instance of the class.
-
- The that holds the serialized object data about the exception being thrown.
- The that contains contextual information about the source or destination.
- The parameter is null.
- The class name is null or is zero (0).
-
-
-
- Initializes a new instance of the class
- with a specified error message, JSON path, line number, line position, and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The path to the JSON where the error occurred.
- The line number indicating where the error occurred.
- The line position indicating where the error occurred.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Serializes and deserializes objects into and from the JSON format.
- The enables you to control how objects are encoded into JSON.
-
-
-
-
- Occurs when the errors during serialization and deserialization.
-
-
-
-
- Gets or sets the used by the serializer when resolving references.
-
-
-
-
- Gets or sets the used by the serializer when resolving type names.
-
-
-
-
- Gets or sets the used by the serializer when resolving type names.
-
-
-
-
- Gets or sets the used by the serializer when writing trace messages.
-
- The trace writer.
-
-
-
- Gets or sets the equality comparer used by the serializer when comparing references.
-
- The equality comparer.
-
-
-
- Gets or sets how type name writing and reading is handled by the serializer.
- The default value is .
-
-
- should be used with caution when your application deserializes JSON from an external source.
- Incoming types should be validated with a custom
- when deserializing with a value other than .
-
-
-
-
- Gets or sets how a type name assembly is written and resolved by the serializer.
- The default value is .
-
- The type name assembly format.
-
-
-
- Gets or sets how a type name assembly is written and resolved by the serializer.
- The default value is .
-
- The type name assembly format.
-
-
-
- Gets or sets how object references are preserved by the serializer.
- The default value is .
-
-
-
-
- Gets or sets how reference loops (e.g. a class referencing itself) is handled.
- The default value is .
-
-
-
-
- Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization.
- The default value is .
-
-
-
-
- Gets or sets how null values are handled during serialization and deserialization.
- The default value is .
-
-
-
-
- Gets or sets how default values are handled during serialization and deserialization.
- The default value is .
-
-
-
-
- Gets or sets how objects are created during deserialization.
- The default value is .
-
- The object creation handling.
-
-
-
- Gets or sets how constructors are used during deserialization.
- The default value is .
-
- The constructor handling.
-
-
-
- Gets or sets how metadata properties are used during deserialization.
- The default value is .
-
- The metadata properties handling.
-
-
-
- Gets a collection that will be used during serialization.
-
- Collection that will be used during serialization.
-
-
-
- Gets or sets the contract resolver used by the serializer when
- serializing .NET objects to JSON and vice versa.
-
-
-
-
- Gets or sets the used by the serializer when invoking serialization callback methods.
-
- The context.
-
-
-
- Indicates how JSON text output is formatted.
- The default value is .
-
-
-
-
- Gets or sets how dates are written to JSON text.
- The default value is .
-
-
-
-
- Gets or sets how time zones are handled during serialization and deserialization.
- The default value is .
-
-
-
-
- Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON.
- The default value is .
-
-
-
-
- Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
- The default value is .
-
-
-
-
- Gets or sets how special floating point numbers, e.g. ,
- and ,
- are written as JSON text.
- The default value is .
-
-
-
-
- Gets or sets how strings are escaped when writing JSON text.
- The default value is .
-
-
-
-
- Gets or sets how and values are formatted when writing JSON text,
- and the expected date format when reading JSON text.
- The default value is "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK".
-
-
-
-
- Gets or sets the culture used when reading JSON.
- The default value is .
-
-
-
-
- Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a .
- A null value means there is no maximum.
- The default value is 64.
-
-
-
-
- Gets a value indicating whether there will be a check for additional JSON content after deserializing an object.
- The default value is false.
-
-
- true if there will be a check for additional JSON content after deserializing an object; otherwise, false.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Creates a new instance.
- The will not use default settings
- from .
-
-
- A new instance.
- The will not use default settings
- from .
-
-
-
-
- Creates a new instance using the specified .
- The will not use default settings
- from .
-
- The settings to be applied to the .
-
- A new instance using the specified .
- The will not use default settings
- from .
-
-
-
-
- Creates a new instance.
- The will use default settings
- from .
-
-
- A new instance.
- The will use default settings
- from .
-
-
-
-
- Creates a new instance using the specified .
- The will use default settings
- from as well as the specified .
-
- The settings to be applied to the .
-
- A new instance using the specified .
- The will use default settings
- from as well as the specified .
-
-
-
-
- Populates the JSON values onto the target object.
-
- The that contains the JSON structure to read values from.
- The target object to populate values onto.
-
-
-
- Populates the JSON values onto the target object.
-
- The that contains the JSON structure to read values from.
- The target object to populate values onto.
-
-
-
- Deserializes the JSON structure contained by the specified .
-
- The that contains the JSON structure to deserialize.
- The being deserialized.
-
-
-
- Deserializes the JSON structure contained by the specified
- into an instance of the specified type.
-
- The containing the object.
- The of object being deserialized.
- The instance of being deserialized.
-
-
-
- Deserializes the JSON structure contained by the specified
- into an instance of the specified type.
-
- The containing the object.
- The type of the object to deserialize.
- The instance of being deserialized.
-
-
-
- Deserializes the JSON structure contained by the specified
- into an instance of the specified type.
-
- The containing the object.
- The of object being deserialized.
- The instance of being deserialized.
-
-
-
- Serializes the specified and writes the JSON structure
- using the specified .
-
- The used to write the JSON structure.
- The to serialize.
-
-
-
- Serializes the specified and writes the JSON structure
- using the specified .
-
- The used to write the JSON structure.
- The to serialize.
-
- The type of the value being serialized.
- This parameter is used when is to write out the type name if the type of the value does not match.
- Specifying the type is optional.
-
-
-
-
- Serializes the specified and writes the JSON structure
- using the specified .
-
- The used to write the JSON structure.
- The to serialize.
-
- The type of the value being serialized.
- This parameter is used when is Auto to write out the type name if the type of the value does not match.
- Specifying the type is optional.
-
-
-
-
- Serializes the specified and writes the JSON structure
- using the specified .
-
- The used to write the JSON structure.
- The to serialize.
-
-
-
- Specifies the settings on a object.
-
-
-
-
- Gets or sets how reference loops (e.g. a class referencing itself) are handled.
- The default value is .
-
- Reference loop handling.
-
-
-
- Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization.
- The default value is .
-
- Missing member handling.
-
-
-
- Gets or sets how objects are created during deserialization.
- The default value is .
-
- The object creation handling.
-
-
-
- Gets or sets how null values are handled during serialization and deserialization.
- The default value is .
-
- Null value handling.
-
-
-
- Gets or sets how default values are handled during serialization and deserialization.
- The default value is .
-
- The default value handling.
-
-
-
- Gets or sets a collection that will be used during serialization.
-
- The converters.
-
-
-
- Gets or sets how object references are preserved by the serializer.
- The default value is .
-
- The preserve references handling.
-
-
-
- Gets or sets how type name writing and reading is handled by the serializer.
- The default value is .
-
-
- should be used with caution when your application deserializes JSON from an external source.
- Incoming types should be validated with a custom
- when deserializing with a value other than .
-
- The type name handling.
-
-
-
- Gets or sets how metadata properties are used during deserialization.
- The default value is .
-
- The metadata properties handling.
-
-
-
- Gets or sets how a type name assembly is written and resolved by the serializer.
- The default value is .
-
- The type name assembly format.
-
-
-
- Gets or sets how a type name assembly is written and resolved by the serializer.
- The default value is .
-
- The type name assembly format.
-
-
-
- Gets or sets how constructors are used during deserialization.
- The default value is .
-
- The constructor handling.
-
-
-
- Gets or sets the contract resolver used by the serializer when
- serializing .NET objects to JSON and vice versa.
-
- The contract resolver.
-
-
-
- Gets or sets the equality comparer used by the serializer when comparing references.
-
- The equality comparer.
-
-
-
- Gets or sets the used by the serializer when resolving references.
-
- The reference resolver.
-
-
-
- Gets or sets a function that creates the used by the serializer when resolving references.
-
- A function that creates the used by the serializer when resolving references.
-
-
-
- Gets or sets the used by the serializer when writing trace messages.
-
- The trace writer.
-
-
-
- Gets or sets the used by the serializer when resolving type names.
-
- The binder.
-
-
-
- Gets or sets the used by the serializer when resolving type names.
-
- The binder.
-
-
-
- Gets or sets the error handler called during serialization and deserialization.
-
- The error handler called during serialization and deserialization.
-
-
-
- Gets or sets the used by the serializer when invoking serialization callback methods.
-
- The context.
-
-
-
- Gets or sets how and values are formatted when writing JSON text,
- and the expected date format when reading JSON text.
- The default value is "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK".
-
-
-
-
- Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a .
- A null value means there is no maximum.
- The default value is 64.
-
-
-
-
- Indicates how JSON text output is formatted.
- The default value is .
-
-
-
-
- Gets or sets how dates are written to JSON text.
- The default value is .
-
-
-
-
- Gets or sets how time zones are handled during serialization and deserialization.
- The default value is .
-
-
-
-
- Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON.
- The default value is .
-
-
-
-
- Gets or sets how special floating point numbers, e.g. ,
- and ,
- are written as JSON.
- The default value is .
-
-
-
-
- Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
- The default value is .
-
-
-
-
- Gets or sets how strings are escaped when writing JSON text.
- The default value is .
-
-
-
-
- Gets or sets the culture used when reading JSON.
- The default value is .
-
-
-
-
- Gets a value indicating whether there will be a check for additional content after deserializing an object.
- The default value is false.
-
-
- true if there will be a check for additional content after deserializing an object; otherwise, false.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- using values copied from the passed in .
-
-
-
-
- Represents a reader that provides fast, non-cached, forward-only access to JSON text data.
-
-
-
-
- Initializes a new instance of the class with the specified .
-
- The containing the JSON data to read.
-
-
-
- Gets or sets the reader's property name table.
-
-
-
-
- Gets or sets the reader's character buffer pool.
-
-
-
-
- Reads the next JSON token from the underlying .
-
-
- true if the next token was read successfully; false if there are no more tokens to read.
-
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a .
-
- A . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a [].
-
- A [] or null if the next JSON token is null. This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Changes the reader's state to .
- If is set to true, the underlying is also closed.
-
-
-
-
- Gets a value indicating whether the class can return line information.
-
-
- true if and can be provided; otherwise, false.
-
-
-
-
- Gets the current line number.
-
-
- The current line number or 0 if no line information is available (for example, returns false).
-
-
-
-
- Gets the current line position.
-
-
- The current line position or 0 if no line information is available (for example, returns false).
-
-
-
-
- Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
-
-
-
-
- Gets or sets the writer's character array pool.
-
-
-
-
- Gets or sets how many s to write for each level in the hierarchy when is set to .
-
-
-
-
- Gets or sets which character to use to quote attribute values.
-
-
-
-
- Gets or sets which character to use for indenting when is set to .
-
-
-
-
- Gets or sets a value indicating whether object names will be surrounded with quotes.
-
-
-
-
- Initializes a new instance of the class using the specified .
-
- The to write to.
-
-
-
- Flushes whatever is in the buffer to the underlying and also flushes the underlying .
-
-
-
-
- Closes this writer.
- If is set to true, the underlying is also closed.
- If is set to true, the JSON is auto-completed.
-
-
-
-
- Writes the beginning of a JSON object.
-
-
-
-
- Writes the beginning of a JSON array.
-
-
-
-
- Writes the start of a constructor with the given name.
-
- The name of the constructor.
-
-
-
- Writes the specified end token.
-
- The end token to write.
-
-
-
- Writes the property name of a name/value pair on a JSON object.
-
- The name of the property.
-
-
-
- Writes the property name of a name/value pair on a JSON object.
-
- The name of the property.
- A flag to indicate whether the text should be escaped when it is written as a JSON property name.
-
-
-
- Writes indent characters.
-
-
-
-
- Writes the JSON value delimiter.
-
-
-
-
- Writes an indent space.
-
-
-
-
- Writes a value.
- An error will raised if the value cannot be written as a single JSON token.
-
- The value to write.
-
-
-
- Writes a null value.
-
-
-
-
- Writes an undefined value.
-
-
-
-
- Writes raw JSON.
-
- The raw JSON to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a [] value.
-
- The [] value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a comment /*...*/ containing the specified text.
-
- Text to place inside the comment.
-
-
-
- Writes the given white space.
-
- The string of white space characters.
-
-
-
- Specifies the type of JSON token.
-
-
-
-
- This is returned by the if a read method has not been called.
-
-
-
-
- An object start token.
-
-
-
-
- An array start token.
-
-
-
-
- A constructor start token.
-
-
-
-
- An object property name.
-
-
-
-
- A comment.
-
-
-
-
- Raw JSON.
-
-
-
-
- An integer.
-
-
-
-
- A float.
-
-
-
-
- A string.
-
-
-
-
- A boolean.
-
-
-
-
- A null token.
-
-
-
-
- An undefined token.
-
-
-
-
- An object end token.
-
-
-
-
- An array end token.
-
-
-
-
- A constructor end token.
-
-
-
-
- A Date.
-
-
-
-
- Byte data.
-
-
-
-
-
- Represents a reader that provides validation.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Sets an event handler for receiving schema validation errors.
-
-
-
-
- Gets the text value of the current JSON token.
-
-
-
-
-
- Gets the depth of the current token in the JSON document.
-
- The depth of the current token in the JSON document.
-
-
-
- Gets the path of the current JSON token.
-
-
-
-
- Gets the quotation mark character used to enclose the value of a string.
-
-
-
-
-
- Gets the type of the current JSON token.
-
-
-
-
-
- Gets the .NET type for the current JSON token.
-
-
-
-
-
- Initializes a new instance of the class that
- validates the content returned from the given .
-
- The to read from while validating.
-
-
-
- Gets or sets the schema.
-
- The schema.
-
-
-
- Gets the used to construct this .
-
- The specified in the constructor.
-
-
-
- Changes the reader's state to .
- If is set to true, the underlying is also closed.
-
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of .
-
-
-
- Reads the next JSON token from the underlying as a [].
-
-
- A [] or null if the next JSON token is null.
-
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of .
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of .
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of .
-
-
-
- Reads the next JSON token from the underlying as a .
-
- A . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of .
-
-
-
- Reads the next JSON token from the underlying .
-
-
- true if the next token was read successfully; false if there are no more tokens to read.
-
-
-
-
- Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
-
-
-
-
- Gets or sets a value indicating whether the destination should be closed when this writer is closed.
-
-
- true to close the destination when this writer is closed; otherwise false. The default is true.
-
-
-
-
- Gets or sets a value indicating whether the JSON should be auto-completed when this writer is closed.
-
-
- true to auto-complete the JSON when this writer is closed; otherwise false. The default is true.
-
-
-
-
- Gets the top.
-
- The top.
-
-
-
- Gets the state of the writer.
-
-
-
-
- Gets the path of the writer.
-
-
-
-
- Gets or sets a value indicating how JSON text output should be formatted.
-
-
-
-
- Gets or sets how dates are written to JSON text.
-
-
-
-
- Gets or sets how time zones are handled when writing JSON text.
-
-
-
-
- Gets or sets how strings are escaped when writing JSON text.
-
-
-
-
- Gets or sets how special floating point numbers, e.g. ,
- and ,
- are written to JSON text.
-
-
-
-
- Gets or sets how and values are formatted when writing JSON text.
-
-
-
-
- Gets or sets the culture used when writing JSON. Defaults to .
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Flushes whatever is in the buffer to the destination and also flushes the destination.
-
-
-
-
- Closes this writer.
- If is set to true, the destination is also closed.
- If is set to true, the JSON is auto-completed.
-
-
-
-
- Writes the beginning of a JSON object.
-
-
-
-
- Writes the end of a JSON object.
-
-
-
-
- Writes the beginning of a JSON array.
-
-
-
-
- Writes the end of an array.
-
-
-
-
- Writes the start of a constructor with the given name.
-
- The name of the constructor.
-
-
-
- Writes the end constructor.
-
-
-
-
- Writes the property name of a name/value pair of a JSON object.
-
- The name of the property.
-
-
-
- Writes the property name of a name/value pair of a JSON object.
-
- The name of the property.
- A flag to indicate whether the text should be escaped when it is written as a JSON property name.
-
-
-
- Writes the end of the current JSON object or array.
-
-
-
-
- Writes the current token and its children.
-
- The to read the token from.
-
-
-
- Writes the current token.
-
- The to read the token from.
- A flag indicating whether the current token's children should be written.
-
-
-
- Writes the token and its value.
-
- The to write.
-
- The value to write.
- A value is only required for tokens that have an associated value, e.g. the property name for .
- null can be passed to the method for tokens that don't have a value, e.g. .
-
-
-
-
- Writes the token.
-
- The to write.
-
-
-
- Writes the specified end token.
-
- The end token to write.
-
-
-
- Writes indent characters.
-
-
-
-
- Writes the JSON value delimiter.
-
-
-
-
- Writes an indent space.
-
-
-
-
- Writes a null value.
-
-
-
-
- Writes an undefined value.
-
-
-
-
- Writes raw JSON without changing the writer's state.
-
- The raw JSON to write.
-
-
-
- Writes raw JSON where a value is expected and updates the writer's state.
-
- The raw JSON to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a [] value.
-
- The [] value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
- An error will raised if the value cannot be written as a single JSON token.
-
- The value to write.
-
-
-
- Writes a comment /*...*/ containing the specified text.
-
- Text to place inside the comment.
-
-
-
- Writes the given white space.
-
- The string of white space characters.
-
-
-
- Releases unmanaged and - optionally - managed resources.
-
- true to release both managed and unmanaged resources; false to release only unmanaged resources.
-
-
-
- Sets the state of the .
-
- The being written.
- The value being written.
-
-
-
- The exception thrown when an error occurs while writing JSON text.
-
-
-
-
- Gets the path to the JSON where the error occurred.
-
- The path to the JSON where the error occurred.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- with a specified error message.
-
- The error message that explains the reason for the exception.
-
-
-
- Initializes a new instance of the class
- with a specified error message and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Initializes a new instance of the class.
-
- The that holds the serialized object data about the exception being thrown.
- The that contains contextual information about the source or destination.
- The parameter is null.
- The class name is null or is zero (0).
-
-
-
- Initializes a new instance of the class
- with a specified error message, JSON path and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The path to the JSON where the error occurred.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Specifies how JSON comments are handled when loading JSON.
-
-
-
-
- Ignore comments.
-
-
-
-
- Load comments as a with type .
-
-
-
-
- Specifies how duplicate property names are handled when loading JSON.
-
-
-
-
- Replace the existing value when there is a duplicate property. The value of the last property in the JSON object will be used.
-
-
-
-
- Ignore the new value when there is a duplicate property. The value of the first property in the JSON object will be used.
-
-
-
-
- Throw a when a duplicate property is encountered.
-
-
-
-
- Contains the LINQ to JSON extension methods.
-
-
-
-
- Returns a collection of tokens that contains the ancestors of every token in the source collection.
-
- The type of the objects in source, constrained to .
- An of that contains the source collection.
- An of that contains the ancestors of every token in the source collection.
-
-
-
- Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection.
-
- The type of the objects in source, constrained to .
- An of that contains the source collection.
- An of that contains every token in the source collection, the ancestors of every token in the source collection.
-
-
-
- Returns a collection of tokens that contains the descendants of every token in the source collection.
-
- The type of the objects in source, constrained to .
- An of that contains the source collection.
- An of that contains the descendants of every token in the source collection.
-
-
-
- Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection.
-
- The type of the objects in source, constrained to .
- An of that contains the source collection.
- An of that contains every token in the source collection, and the descendants of every token in the source collection.
-
-
-
- Returns a collection of child properties of every object in the source collection.
-
- An of that contains the source collection.
- An of that contains the properties of every object in the source collection.
-
-
-
- Returns a collection of child values of every object in the source collection with the given key.
-
- An of that contains the source collection.
- The token key.
- An of that contains the values of every token in the source collection with the given key.
-
-
-
- Returns a collection of child values of every object in the source collection.
-
- An of that contains the source collection.
- An of that contains the values of every token in the source collection.
-
-
-
- Returns a collection of converted child values of every object in the source collection with the given key.
-
- The type to convert the values to.
- An of that contains the source collection.
- The token key.
- An that contains the converted values of every token in the source collection with the given key.
-
-
-
- Returns a collection of converted child values of every object in the source collection.
-
- The type to convert the values to.
- An of that contains the source collection.
- An that contains the converted values of every token in the source collection.
-
-
-
- Converts the value.
-
- The type to convert the value to.
- A cast as a of .
- A converted value.
-
-
-
- Converts the value.
-
- The source collection type.
- The type to convert the value to.
- A cast as a of .
- A converted value.
-
-
-
- Returns a collection of child tokens of every array in the source collection.
-
- The source collection type.
- An of that contains the source collection.
- An of that contains the values of every token in the source collection.
-
-
-
- Returns a collection of converted child tokens of every array in the source collection.
-
- An of that contains the source collection.
- The type to convert the values to.
- The source collection type.
- An that contains the converted values of every token in the source collection.
-
-
-
- Returns the input typed as .
-
- An of that contains the source collection.
- The input typed as .
-
-
-
- Returns the input typed as .
-
- The source collection type.
- An of that contains the source collection.
- The input typed as .
-
-
-
- Represents a collection of objects.
-
- The type of token.
-
-
-
- Gets the of with the specified key.
-
-
-
-
-
- Represents a JSON array.
-
-
-
-
-
-
-
- Gets the container's children tokens.
-
- The container's children tokens.
-
-
-
- Gets the node type for this .
-
- The type.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class from another object.
-
- A object to copy from.
-
-
-
- Initializes a new instance of the class with the specified content.
-
- The contents of the array.
-
-
-
- Initializes a new instance of the class with the specified content.
-
- The contents of the array.
-
-
-
- Loads an from a .
-
- A that will be read for the content of the .
- A that contains the JSON that was read from the specified .
-
-
-
- Loads an from a .
-
- A that will be read for the content of the .
- The used to load the JSON.
- If this is null, default load settings will be used.
- A that contains the JSON that was read from the specified .
-
-
-
- Load a from a string that contains JSON.
-
- A that contains JSON.
- A populated from the string that contains JSON.
-
-
-
-
-
-
- Load a from a string that contains JSON.
-
- A that contains JSON.
- The used to load the JSON.
- If this is null, default load settings will be used.
- A populated from the string that contains JSON.
-
-
-
-
-
-
- Creates a from an object.
-
- The object that will be used to create .
- A with the values of the specified object.
-
-
-
- Creates a from an object.
-
- The object that will be used to create .
- The that will be used to read the object.
- A with the values of the specified object.
-
-
-
- Writes this token to a .
-
- A into which this method will write.
- A collection of which will be used when writing the token.
-
-
-
- Gets the with the specified key.
-
- The with the specified key.
-
-
-
- Gets or sets the at the specified index.
-
-
-
-
-
- Determines the index of a specific item in the .
-
- The object to locate in the .
-
- The index of if found in the list; otherwise, -1.
-
-
-
-
- Inserts an item to the at the specified index.
-
- The zero-based index at which should be inserted.
- The object to insert into the .
-
- is not a valid index in the .
-
-
-
-
- Removes the item at the specified index.
-
- The zero-based index of the item to remove.
-
- is not a valid index in the .
-
-
-
-
- Returns an enumerator that iterates through the collection.
-
-
- A of that can be used to iterate through the collection.
-
-
-
-
- Adds an item to the .
-
- The object to add to the .
-
-
-
- Removes all items from the .
-
-
-
-
- Determines whether the contains a specific value.
-
- The object to locate in the .
-
- true if is found in the ; otherwise, false.
-
-
-
-
- Copies the elements of the to an array, starting at a particular array index.
-
- The array.
- Index of the array.
-
-
-
- Gets a value indicating whether the is read-only.
-
- true if the is read-only; otherwise, false.
-
-
-
- Removes the first occurrence of a specific object from the .
-
- The object to remove from the .
-
- true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original .
-
-
-
-
- Represents a JSON constructor.
-
-
-
-
- Gets the container's children tokens.
-
- The container's children tokens.
-
-
-
- Gets or sets the name of this constructor.
-
- The constructor name.
-
-
-
- Gets the node type for this .
-
- The type.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class from another object.
-
- A object to copy from.
-
-
-
- Initializes a new instance of the class with the specified name and content.
-
- The constructor name.
- The contents of the constructor.
-
-
-
- Initializes a new instance of the class with the specified name and content.
-
- The constructor name.
- The contents of the constructor.
-
-
-
- Initializes a new instance of the class with the specified name.
-
- The constructor name.
-
-
-
- Writes this token to a .
-
- A into which this method will write.
- A collection of which will be used when writing the token.
-
-
-
- Gets the with the specified key.
-
- The with the specified key.
-
-
-
- Loads a from a .
-
- A that will be read for the content of the .
- A that contains the JSON that was read from the specified .
-
-
-
- Loads a from a .
-
- A that will be read for the content of the .
- The used to load the JSON.
- If this is null, default load settings will be used.
- A that contains the JSON that was read from the specified .
-
-
-
- Represents a token that can contain other tokens.
-
-
-
-
- Occurs when the list changes or an item in the list changes.
-
-
-
-
- Occurs before an item is added to the collection.
-
-
-
-
- Occurs when the items list of the collection has changed, or the collection is reset.
-
-
-
-
- Gets the container's children tokens.
-
- The container's children tokens.
-
-
-
- Raises the event.
-
- The instance containing the event data.
-
-
-
- Raises the event.
-
- The instance containing the event data.
-
-
-
- Raises the event.
-
- The instance containing the event data.
-
-
-
- Gets a value indicating whether this token has child tokens.
-
-
- true if this token has child values; otherwise, false.
-
-
-
-
- Get the first child token of this token.
-
-
- A containing the first child token of the .
-
-
-
-
- Get the last child token of this token.
-
-
- A containing the last child token of the .
-
-
-
-
- Returns a collection of the child tokens of this token, in document order.
-
-
- An of containing the child tokens of this , in document order.
-
-
-
-
- Returns a collection of the child values of this token, in document order.
-
- The type to convert the values to.
-
- A containing the child values of this , in document order.
-
-
-
-
- Returns a collection of the descendant tokens for this token in document order.
-
- An of containing the descendant tokens of the .
-
-
-
- Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order.
-
- An of containing this token, and all the descendant tokens of the .
-
-
-
- Adds the specified content as children of this .
-
- The content to be added.
-
-
-
- Adds the specified content as the first children of this .
-
- The content to be added.
-
-
-
- Creates a that can be used to add tokens to the .
-
- A that is ready to have content written to it.
-
-
-
- Replaces the child nodes of this token with the specified content.
-
- The content.
-
-
-
- Removes the child nodes from this token.
-
-
-
-
- Merge the specified content into this .
-
- The content to be merged.
-
-
-
- Merge the specified content into this using .
-
- The content to be merged.
- The used to merge the content.
-
-
-
- Gets the count of child JSON tokens.
-
- The count of child JSON tokens.
-
-
-
- Represents a collection of objects.
-
- The type of token.
-
-
-
- An empty collection of objects.
-
-
-
-
- Initializes a new instance of the struct.
-
- The enumerable.
-
-
-
- Returns an enumerator that can be used to iterate through the collection.
-
-
- A that can be used to iterate through the collection.
-
-
-
-
- Gets the of with the specified key.
-
-
-
-
-
- Determines whether the specified is equal to this instance.
-
- The to compare with this instance.
-
- true if the specified is equal to this instance; otherwise, false.
-
-
-
-
- Determines whether the specified is equal to this instance.
-
- The to compare with this instance.
-
- true if the specified is equal to this instance; otherwise, false.
-
-
-
-
- Returns a hash code for this instance.
-
-
- A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
-
-
-
-
- Represents a JSON object.
-
-
-
-
-
-
-
- Gets the container's children tokens.
-
- The container's children tokens.
-
-
-
- Occurs when a property value changes.
-
-
-
-
- Occurs when a property value is changing.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class from another object.
-
- A object to copy from.
-
-
-
- Initializes a new instance of the class with the specified content.
-
- The contents of the object.
-
-
-
- Initializes a new instance of the class with the specified content.
-
- The contents of the object.
-
-
-
- Gets the node type for this .
-
- The type.
-
-
-
- Gets an of of this object's properties.
-
- An of of this object's properties.
-
-
-
- Gets a with the specified name.
-
- The property name.
- A with the specified name or null.
-
-
-
- Gets the with the specified name.
- The exact name will be searched for first and if no matching property is found then
- the will be used to match a property.
-
- The property name.
- One of the enumeration values that specifies how the strings will be compared.
- A matched with the specified name or null.
-
-
-
- Gets a of of this object's property values.
-
- A of of this object's property values.
-
-
-
- Gets the with the specified key.
-
- The with the specified key.
-
-
-
- Gets or sets the with the specified property name.
-
-
-
-
-
- Loads a from a .
-
- A that will be read for the content of the .
- A that contains the JSON that was read from the specified .
-
- is not valid JSON.
-
-
-
-
- Loads a from a .
-
- A that will be read for the content of the .
- The used to load the JSON.
- If this is null, default load settings will be used.
- A that contains the JSON that was read from the specified .
-
- is not valid JSON.
-
-
-
-
- Load a from a string that contains JSON.
-
- A that contains JSON.
- A populated from the string that contains JSON.
-
- is not valid JSON.
-
-
-
-
-
-
-
- Load a from a string that contains JSON.
-
- A that contains JSON.
- The used to load the JSON.
- If this is null, default load settings will be used.
- A populated from the string that contains JSON.
-
- is not valid JSON.
-
-
-
-
-
-
-
- Creates a from an object.
-
- The object that will be used to create .
- A with the values of the specified object.
-
-
-
- Creates a from an object.
-
- The object that will be used to create .
- The that will be used to read the object.
- A with the values of the specified object.
-
-
-
- Writes this token to a .
-
- A into which this method will write.
- A collection of which will be used when writing the token.
-
-
-
- Gets the with the specified property name.
-
- Name of the property.
- The with the specified property name.
-
-
-
- Gets the with the specified property name.
- The exact property name will be searched for first and if no matching property is found then
- the will be used to match a property.
-
- Name of the property.
- One of the enumeration values that specifies how the strings will be compared.
- The with the specified property name.
-
-
-
- Tries to get the with the specified property name.
- The exact property name will be searched for first and if no matching property is found then
- the will be used to match a property.
-
- Name of the property.
- The value.
- One of the enumeration values that specifies how the strings will be compared.
- true if a value was successfully retrieved; otherwise, false.
-
-
-
- Adds the specified property name.
-
- Name of the property.
- The value.
-
-
-
- Determines whether the JSON object has the specified property name.
-
- Name of the property.
- true if the JSON object has the specified property name; otherwise, false.
-
-
-
- Removes the property with the specified name.
-
- Name of the property.
- true if item was successfully removed; otherwise, false.
-
-
-
- Tries to get the with the specified property name.
-
- Name of the property.
- The value.
- true if a value was successfully retrieved; otherwise, false.
-
-
-
- Returns an enumerator that can be used to iterate through the collection.
-
-
- A that can be used to iterate through the collection.
-
-
-
-
- Raises the event with the provided arguments.
-
- Name of the property.
-
-
-
- Raises the event with the provided arguments.
-
- Name of the property.
-
-
-
- Returns the responsible for binding operations performed on this object.
-
- The expression tree representation of the runtime value.
-
- The to bind this object.
-
-
-
-
- Represents a JSON property.
-
-
-
-
- Gets the container's children tokens.
-
- The container's children tokens.
-
-
-
- Gets the property name.
-
- The property name.
-
-
-
- Gets or sets the property value.
-
- The property value.
-
-
-
- Initializes a new instance of the class from another object.
-
- A object to copy from.
-
-
-
- Gets the node type for this .
-
- The type.
-
-
-
- Initializes a new instance of the class.
-
- The property name.
- The property content.
-
-
-
- Initializes a new instance of the class.
-
- The property name.
- The property content.
-
-
-
- Writes this token to a .
-
- A into which this method will write.
- A collection of which will be used when writing the token.
-
-
-
- Loads a from a .
-
- A that will be read for the content of the .
- A that contains the JSON that was read from the specified .
-
-
-
- Loads a from a .
-
- A that will be read for the content of the .
- The used to load the JSON.
- If this is null, default load settings will be used.
- A that contains the JSON that was read from the specified .
-
-
-
- Represents a view of a .
-
-
-
-
- Initializes a new instance of the class.
-
- The name.
-
-
-
- When overridden in a derived class, returns whether resetting an object changes its value.
-
-
- true if resetting the component changes its value; otherwise, false.
-
- The component to test for reset capability.
-
-
-
- When overridden in a derived class, gets the current value of the property on a component.
-
-
- The value of a property for a given component.
-
- The component with the property for which to retrieve the value.
-
-
-
- When overridden in a derived class, resets the value for this property of the component to the default value.
-
- The component with the property value that is to be reset to the default value.
-
-
-
- When overridden in a derived class, sets the value of the component to a different value.
-
- The component with the property value that is to be set.
- The new value.
-
-
-
- When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted.
-
-
- true if the property should be persisted; otherwise, false.
-
- The component with the property to be examined for persistence.
-
-
-
- When overridden in a derived class, gets the type of the component this property is bound to.
-
-
- A that represents the type of component this property is bound to.
- When the or
-
- methods are invoked, the object specified might be an instance of this type.
-
-
-
-
- When overridden in a derived class, gets a value indicating whether this property is read-only.
-
-
- true if the property is read-only; otherwise, false.
-
-
-
-
- When overridden in a derived class, gets the type of the property.
-
-
- A that represents the type of the property.
-
-
-
-
- Gets the hash code for the name of the member.
-
-
-
- The hash code for the name of the member.
-
-
-
-
- Represents a raw JSON string.
-
-
-
-
- Initializes a new instance of the class from another object.
-
- A object to copy from.
-
-
-
- Initializes a new instance of the class.
-
- The raw json.
-
-
-
- Creates an instance of with the content of the reader's current token.
-
- The reader.
- An instance of with the content of the reader's current token.
-
-
-
- Specifies the settings used when cloning JSON.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets a flag that indicates whether to copy annotations when cloning a .
- The default value is true.
-
-
- A flag that indicates whether to copy annotations when cloning a .
-
-
-
-
- Specifies the settings used when loading JSON.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets how JSON comments are handled when loading JSON.
- The default value is .
-
- The JSON comment handling.
-
-
-
- Gets or sets how JSON line info is handled when loading JSON.
- The default value is .
-
- The JSON line info handling.
-
-
-
- Gets or sets how duplicate property names in JSON objects are handled when loading JSON.
- The default value is .
-
- The JSON duplicate property name handling.
-
-
-
- Specifies the settings used when merging JSON.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets the method used when merging JSON arrays.
-
- The method used when merging JSON arrays.
-
-
-
- Gets or sets how null value properties are merged.
-
- How null value properties are merged.
-
-
-
- Gets or sets the comparison used to match property names while merging.
- The exact property name will be searched for first and if no matching property is found then
- the will be used to match a property.
-
- The comparison used to match property names while merging.
-
-
-
- Specifies the settings used when selecting JSON.
-
-
-
-
- Gets or sets a flag that indicates whether an error should be thrown if
- no tokens are found when evaluating part of the expression.
-
-
- A flag that indicates whether an error should be thrown if
- no tokens are found when evaluating part of the expression.
-
-
-
-
- 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.
-
-
- ToString() returns a non-JSON string value for tokens with a type of .
- If you want the JSON for all token types then you should use .
-
-
- The indented JSON for this token.
-
-
-
-
- Returns the JSON for this token using the given formatting and converters.
-
- Indicates how the output should be formatted.
- A collection of s which will be used when writing the token.
- The JSON for this token using the given formatting and converters.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to [].
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from [] to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Creates a for this token.
-
- A that can be used to read this token and its descendants.
-
-
-
- Creates a from an object.
-
- The object that will be used to create .
- A with the value of the specified object.
-
-
-
- Creates a from an object using the specified .
-
- The object that will be used to create .
- The that will be used when reading the object.
- A with the value of the specified object.
-
-
-
- Creates an instance of the specified .NET type from the .
-
- The object type that the token will be deserialized to.
- The new object created from the JSON value.
-
-
-
- Creates an instance of the specified .NET type from the .
-
- The object type that the token will be deserialized to.
- The new object created from the JSON value.
-
-
-
- Creates an instance of the specified .NET type from the using the specified .
-
- The object type that the token will be deserialized to.
- The that will be used when creating the object.
- The new object created from the JSON value.
-
-
-
- Creates an instance of the specified .NET type from the using the specified .
-
- The object type that the token will be deserialized to.
- The that will be used when creating the object.
- The new object created from the JSON value.
-
-
-
- Creates a from a .
-
- A positioned at the token to read into this .
-
- A that contains the token and its descendant tokens
- that were read from the reader. The runtime type of the token is determined
- by the token type of the first token encountered in the reader.
-
-
-
-
- Creates a from a .
-
- An positioned at the token to read into this .
- The used to load the JSON.
- If this is null, default load settings will be used.
-
- A that contains the token and its descendant tokens
- that were read from the reader. The runtime type of the token is determined
- by the token type of the first token encountered in the reader.
-
-
-
-
- Load a from a string that contains JSON.
-
- A that contains JSON.
- A populated from the string that contains JSON.
-
-
-
- Load a from a string that contains JSON.
-
- A that contains JSON.
- The used to load the JSON.
- If this is null, default load settings will be used.
- A populated from the string that contains JSON.
-
-
-
- Creates a from a .
-
- A positioned at the token to read into this .
- The used to load the JSON.
- If this is null, default load settings will be used.
-
- A that contains the token and its descendant tokens
- that were read from the reader. The runtime type of the token is determined
- by the token type of the first token encountered in the reader.
-
-
-
-
- Creates a from a .
-
- A positioned at the token to read into this .
-
- A that contains the token and its descendant tokens
- that were read from the reader. The runtime type of the token is determined
- by the token type of the first token encountered in the reader.
-
-
-
-
- Selects a using a JSONPath expression. Selects the token that matches the object path.
-
-
- A that contains a JSONPath expression.
-
- A , or null.
-
-
-
- Selects a using a JSONPath expression. Selects the token that matches the object path.
-
-
- A that contains a JSONPath expression.
-
- A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression.
- A .
-
-
-
- Selects a using a JSONPath expression. Selects the token that matches the object path.
-
-
- A that contains a JSONPath expression.
-
- The used to select tokens.
- A .
-
-
-
- Selects a collection of elements using a JSONPath expression.
-
-
- A that contains a JSONPath expression.
-
- An of that contains the selected elements.
-
-
-
- Selects a collection of elements using a JSONPath expression.
-
-
- A that contains a JSONPath expression.
-
- A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression.
- An of that contains the selected elements.
-
-
-
- Selects a collection of elements using a JSONPath expression.
-
-
- A that contains a JSONPath expression.
-
- The used to select tokens.
- An of that contains the selected elements.
-
-
-
- Returns the responsible for binding operations performed on this object.
-
- The expression tree representation of the runtime value.
-
- The to bind this object.
-
-
-
-
- Returns the responsible for binding operations performed on this object.
-
- The expression tree representation of the runtime value.
-
- The to bind this object.
-
-
-
-
- Creates a new instance of the . All child tokens are recursively cloned.
-
- A new instance of the .
-
-
-
- Creates a new instance of the . All child tokens are recursively cloned.
-
- A object to configure cloning settings.
- A new instance of the .
-
-
-
- Adds an object to the annotation list of this .
-
- The annotation to add.
-
-
-
- Get the first annotation object of the specified type from this .
-
- The type of the annotation to retrieve.
- The first annotation object that matches the specified type, or null if no annotation is of the specified type.
-
-
-
- Gets the first annotation object of the specified type from this .
-
- The of the annotation to retrieve.
- The first annotation object that matches the specified type, or null if no annotation is of the specified type.
-
-
-
- Gets a collection of annotations of the specified type for this .
-
- The type of the annotations to retrieve.
- An that contains the annotations for this .
-
-
-
- Gets a collection of annotations of the specified type for this .
-
- The of the annotations to retrieve.
- An of that contains the annotations that match the specified type for this .
-
-
-
- Removes the annotations of the specified type from this .
-
- The type of annotations to remove.
-
-
-
- Removes the annotations of the specified type from this .
-
- The of annotations to remove.
-
-
-
- Compares tokens to determine whether they are equal.
-
-
-
-
- Determines whether the specified objects are equal.
-
- The first object of type to compare.
- The second object of type to compare.
-
- true if the specified objects are equal; otherwise, false.
-
-
-
-
- Returns a hash code for the specified object.
-
- The for which a hash code is to be returned.
- A hash code for the specified object.
- The type of is a reference type and is null.
-
-
-
- Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data.
-
-
-
-
- Gets the at the reader's current position.
-
-
-
-
- Initializes a new instance of the class.
-
- The token to read from.
-
-
-
- Initializes a new instance of the class.
-
- The token to read from.
- The initial path of the token. It is prepended to the returned .
-
-
-
- Reads the next JSON token from the underlying .
-
-
- true if the next token was read successfully; false if there are no more tokens to read.
-
-
-
-
- Gets the path of the current JSON token.
-
-
-
-
- Specifies the type of token.
-
-
-
-
- No token type has been set.
-
-
-
-
- A JSON object.
-
-
-
-
- A JSON array.
-
-
-
-
- A JSON constructor.
-
-
-
-
- A JSON object property.
-
-
-
-
- A comment.
-
-
-
-
- An integer value.
-
-
-
-
- A float value.
-
-
-
-
- A string value.
-
-
-
-
- A boolean value.
-
-
-
-
- A null value.
-
-
-
-
- An undefined value.
-
-
-
-
- A date value.
-
-
-
-
- A raw JSON value.
-
-
-
-
- A collection of bytes value.
-
-
-
-
- A Guid value.
-
-
-
-
- A Uri value.
-
-
-
-
- A TimeSpan value.
-
-
-
-
- Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
-
-
-
-
- Gets the at the writer's current position.
-
-
-
-
- Gets the token being written.
-
- The token being written.
-
-
-
- Initializes a new instance of the class writing to the given .
-
- The container being written to.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Flushes whatever is in the buffer to the underlying .
-
-
-
-
- Closes this writer.
- If is set to true, the JSON is auto-completed.
-
-
- Setting to true has no additional effect, since the underlying is a type that cannot be closed.
-
-
-
-
- Writes the beginning of a JSON object.
-
-
-
-
- Writes the beginning of a JSON array.
-
-
-
-
- Writes the start of a constructor with the given name.
-
- The name of the constructor.
-
-
-
- Writes the end.
-
- The token.
-
-
-
- Writes the property name of a name/value pair on a JSON object.
-
- The name of the property.
-
-
-
- Writes a value.
- An error will be raised if the value cannot be written as a single JSON token.
-
- The value to write.
-
-
-
- Writes a null value.
-
-
-
-
- Writes an undefined value.
-
-
-
-
- Writes raw JSON.
-
- The raw JSON to write.
-
-
-
- Writes a comment /*...*/ containing the specified text.
-
- Text to place inside the comment.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a [] value.
-
- The [] value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Represents a value in JSON (string, integer, date, etc).
-
-
-
-
- Initializes a new instance of the class from another object.
-
- A object to copy from.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Gets a value indicating whether this token has child tokens.
-
-
- true if this token has child values; otherwise, false.
-
-
-
-
- Creates a comment with the given value.
-
- The value.
- A comment with the given value.
-
-
-
- Creates a string with the given value.
-
- The value.
- A string with the given value.
-
-
-
- Creates a null value.
-
- A null value.
-
-
-
- Creates a undefined value.
-
- A undefined value.
-
-
-
- Gets the node type for this .
-
- The type.
-
-
-
- Gets or sets the underlying token value.
-
- The underlying token value.
-
-
-
- Writes this token to a .
-
- A into which this method will write.
- A collection of s which will be used when writing the token.
-
-
-
- Indicates whether the current object is equal to another object of the same type.
-
-
- true if the current object is equal to the parameter; otherwise, false.
-
- An object to compare with this object.
-
-
-
- Determines whether the specified is equal to the current .
-
- The to compare with the current .
-
- true if the specified is equal to the current ; otherwise, false.
-
-
-
-
- Serves as a hash function for a particular type.
-
-
- A hash code for the current .
-
-
-
-
- Returns a that represents this instance.
-
-
- ToString() returns a non-JSON string value for tokens with a type of .
- If you want the JSON for all token types then you should use .
-
-
- A that represents this instance.
-
-
-
-
- Returns a that represents this instance.
-
- The format.
-
- A that represents this instance.
-
-
-
-
- Returns a that represents this instance.
-
- The format provider.
-
- A that represents this instance.
-
-
-
-
- Returns a that represents this instance.
-
- The format.
- The format provider.
-
- A that represents this instance.
-
-
-
-
- Returns the responsible for binding operations performed on this object.
-
- The expression tree representation of the runtime value.
-
- The to bind this object.
-
-
-
-
- Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
-
- An object to compare with this instance.
-
- A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings:
- Value
- Meaning
- Less than zero
- This instance is less than .
- Zero
- This instance is equal to .
- Greater than zero
- This instance is greater than .
-
-
- is not of the same type as this instance.
-
-
-
-
- Specifies how line information is handled when loading JSON.
-
-
-
-
- Ignore line information.
-
-
-
-
- Load line information.
-
-
-
-
- Specifies how JSON arrays are merged together.
-
-
-
- Concatenate arrays.
-
-
- Union arrays, skipping items that already exist.
-
-
- Replace all array items.
-
-
- Merge array items together, matched by index.
-
-
-
- Specifies how null value properties are merged.
-
-
-
-
- The content's null value properties will be ignored during merging.
-
-
-
-
- The content's null value properties will be merged.
-
-
-
-
- Specifies the member serialization options for the .
-
-
-
-
- All public members are serialized by default. Members can be excluded using or .
- This is the default member serialization mode.
-
-
-
-
- Only members marked with or are serialized.
- This member serialization mode can also be set by marking the class with .
-
-
-
-
- All public and private fields are serialized. Members can be excluded using or .
- This member serialization mode can also be set by marking the class with
- and setting IgnoreSerializableAttribute on to false.
-
-
-
-
- Specifies metadata property handling options for the .
-
-
-
-
- Read metadata properties located at the start of a JSON object.
-
-
-
-
- Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance.
-
-
-
-
- Do not try to read metadata properties.
-
-
-
-
- Specifies missing member handling options for the .
-
-
-
-
- Ignore a missing member and do not attempt to deserialize it.
-
-
-
-
- Throw a when a missing member is encountered during deserialization.
-
-
-
-
- Specifies null value handling options for the .
-
-
-
-
-
-
-
-
- Include null values when serializing and deserializing objects.
-
-
-
-
- Ignore null values when serializing and deserializing objects.
-
-
-
-
- Specifies how object creation is handled by the .
-
-
-
-
- Reuse existing objects, create new objects when needed.
-
-
-
-
- Only reuse existing objects.
-
-
-
-
- Always create new objects.
-
-
-
-
- Specifies reference handling options for the .
- Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement .
-
-
-
-
-
-
-
- Do not preserve references when serializing types.
-
-
-
-
- Preserve references when serializing into a JSON object structure.
-
-
-
-
- Preserve references when serializing into a JSON array structure.
-
-
-
-
- Preserve references when serializing.
-
-
-
-
- Specifies reference loop handling options for the .
-
-
-
-
- Throw a when a loop is encountered.
-
-
-
-
- Ignore loop references and do not serialize.
-
-
-
-
- Serialize loop references.
-
-
-
-
- Indicating whether a property is required.
-
-
-
-
- The property is not required. The default state.
-
-
-
-
- The property must be defined in JSON but can be a null value.
-
-
-
-
- The property must be defined in JSON and cannot be a null value.
-
-
-
-
- The property is not required but it cannot be a null value.
-
-
-
-
-
- Contains the JSON schema extension methods.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
-
- Determines whether the is valid.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
- The source to test.
- The schema to test with.
-
- true if the specified is valid; otherwise, false.
-
-
-
-
-
- Determines whether the is valid.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
- The source to test.
- The schema to test with.
- When this method returns, contains any error messages generated while validating.
-
- true if the specified is valid; otherwise, false.
-
-
-
-
-
- Validates the specified .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
- The source to test.
- The schema to test with.
-
-
-
-
- Validates the specified .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
- The source to test.
- The schema to test with.
- The validation event handler.
-
-
-
-
- An in-memory representation of a JSON Schema.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Gets or sets the id.
-
-
-
-
- Gets or sets the title.
-
-
-
-
- Gets or sets whether the object is required.
-
-
-
-
- Gets or sets whether the object is read-only.
-
-
-
-
- Gets or sets whether the object is visible to users.
-
-
-
-
- Gets or sets whether the object is transient.
-
-
-
-
- Gets or sets the description of the object.
-
-
-
-
- Gets or sets the types of values allowed by the object.
-
- The type.
-
-
-
- Gets or sets the pattern.
-
- The pattern.
-
-
-
- Gets or sets the minimum length.
-
- The minimum length.
-
-
-
- Gets or sets the maximum length.
-
- The maximum length.
-
-
-
- Gets or sets a number that the value should be divisible by.
-
- A number that the value should be divisible by.
-
-
-
- Gets or sets the minimum.
-
- The minimum.
-
-
-
- Gets or sets the maximum.
-
- The maximum.
-
-
-
- Gets or sets a flag indicating whether the value can not equal the number defined by the minimum attribute ().
-
- A flag indicating whether the value can not equal the number defined by the minimum attribute ().
-
-
-
- Gets or sets a flag indicating whether the value can not equal the number defined by the maximum attribute ().
-
- A flag indicating whether the value can not equal the number defined by the maximum attribute ().
-
-
-
- Gets or sets the minimum number of items.
-
- The minimum number of items.
-
-
-
- Gets or sets the maximum number of items.
-
- The maximum number of items.
-
-
-
- Gets or sets the of items.
-
- The of items.
-
-
-
- Gets or sets a value indicating whether items in an array are validated using the instance at their array position from .
-
-
- true if items are validated using their array position; otherwise, false.
-
-
-
-
- Gets or sets the of additional items.
-
- The of additional items.
-
-
-
- Gets or sets a value indicating whether additional items are allowed.
-
-
- true if additional items are allowed; otherwise, false.
-
-
-
-
- Gets or sets whether the array items must be unique.
-
-
-
-
- Gets or sets the of properties.
-
- The of properties.
-
-
-
- Gets or sets the of additional properties.
-
- The of additional properties.
-
-
-
- Gets or sets the pattern properties.
-
- The pattern properties.
-
-
-
- Gets or sets a value indicating whether additional properties are allowed.
-
-
- true if additional properties are allowed; otherwise, false.
-
-
-
-
- Gets or sets the required property if this property is present.
-
- The required property if this property is present.
-
-
-
- Gets or sets the a collection of valid enum values allowed.
-
- A collection of valid enum values allowed.
-
-
-
- Gets or sets disallowed types.
-
- The disallowed types.
-
-
-
- Gets or sets the default value.
-
- The default value.
-
-
-
- Gets or sets the collection of that this schema extends.
-
- The collection of that this schema extends.
-
-
-
- Gets or sets the format.
-
- The format.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Reads a from the specified .
-
- The containing the JSON Schema to read.
- The object representing the JSON Schema.
-
-
-
- Reads a from the specified .
-
- The containing the JSON Schema to read.
- The to use when resolving schema references.
- The object representing the JSON Schema.
-
-
-
- Load a from a string that contains JSON Schema.
-
- A that contains JSON Schema.
- A populated from the string that contains JSON Schema.
-
-
-
- Load a from a string that contains JSON Schema using the specified .
-
- A that contains JSON Schema.
- The resolver.
- A populated from the string that contains JSON Schema.
-
-
-
- Writes this schema to a .
-
- A into which this method will write.
-
-
-
- Writes this schema to a using the specified .
-
- A into which this method will write.
- The resolver used.
-
-
-
- Returns a that represents the current .
-
-
- A that represents the current .
-
-
-
-
-
- Returns detailed information about the schema exception.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Gets the line number indicating where the error occurred.
-
- The line number indicating where the error occurred.
-
-
-
- Gets the line position indicating where the error occurred.
-
- The line position indicating where the error occurred.
-
-
-
- Gets the path to the JSON where the error occurred.
-
- The path to the JSON where the error occurred.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- with a specified error message.
-
- The error message that explains the reason for the exception.
-
-
-
- Initializes a new instance of the class
- with a specified error message and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Initializes a new instance of the class.
-
- The that holds the serialized object data about the exception being thrown.
- The that contains contextual information about the source or destination.
- The parameter is null.
- The class name is null or is zero (0).
-
-
-
-
- Generates a from a specified .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Gets or sets how undefined schemas are handled by the serializer.
-
-
-
-
- Gets or sets the contract resolver.
-
- The contract resolver.
-
-
-
- Generate a from the specified type.
-
- The type to generate a from.
- A generated from the specified type.
-
-
-
- Generate a from the specified type.
-
- The type to generate a from.
- The used to resolve schema references.
- A generated from the specified type.
-
-
-
- Generate a from the specified type.
-
- The type to generate a from.
- Specify whether the generated root will be nullable.
- A generated from the specified type.
-
-
-
- Generate a from the specified type.
-
- The type to generate a from.
- The used to resolve schema references.
- Specify whether the generated root will be nullable.
- A generated from the specified type.
-
-
-
-
- Resolves from an id.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Gets or sets the loaded schemas.
-
- The loaded schemas.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets a for the specified reference.
-
- The id.
- A for the specified reference.
-
-
-
-
- The value types allowed by the .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- No type specified.
-
-
-
-
- String type.
-
-
-
-
- Float type.
-
-
-
-
- Integer type.
-
-
-
-
- Boolean type.
-
-
-
-
- Object type.
-
-
-
-
- Array type.
-
-
-
-
- Null type.
-
-
-
-
- Any type.
-
-
-
-
-
- Specifies undefined schema Id handling options for the .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Do not infer a schema Id.
-
-
-
-
- Use the .NET type name as the schema Id.
-
-
-
-
- Use the assembly qualified .NET type name as the schema Id.
-
-
-
-
-
- Returns detailed information related to the .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Gets the associated with the validation error.
-
- The JsonSchemaException associated with the validation error.
-
-
-
- Gets the path of the JSON location where the validation error occurred.
-
- The path of the JSON location where the validation error occurred.
-
-
-
- Gets the text description corresponding to the validation error.
-
- The text description.
-
-
-
-
- Represents the callback method that will handle JSON schema validation events and the .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- A camel case naming strategy.
-
-
-
-
- Initializes a new instance of the class.
-
-
- A flag indicating whether dictionary keys should be processed.
-
-
- A flag indicating whether explicitly specified property names should be processed,
- e.g. a property name customized with a .
-
-
-
-
- Initializes a new instance of the class.
-
-
- A flag indicating whether dictionary keys should be processed.
-
-
- A flag indicating whether explicitly specified property names should be processed,
- e.g. a property name customized with a .
-
-
- A flag indicating whether extension data names should be processed.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Resolves the specified property name.
-
- The property name to resolve.
- The resolved property name.
-
-
-
- Resolves member mappings for a type, camel casing property names.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Resolves the contract for a given type.
-
- The type to resolve a contract for.
- The contract for a given type.
-
-
-
- Used by to resolve a for a given .
-
-
-
-
- Gets a value indicating whether members are being get and set using dynamic code generation.
- This value is determined by the runtime permissions available.
-
-
- true if using dynamic code generation; otherwise, false.
-
-
-
-
- Gets or sets the default members search flags.
-
- The default members search flags.
-
-
-
- Gets or sets a value indicating whether compiler generated members should be serialized.
-
-
- true if serialized compiler generated members; otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether to ignore the interface when serializing and deserializing types.
-
-
- true if the interface will be ignored when serializing and deserializing types; otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether to ignore the attribute when serializing and deserializing types.
-
-
- true if the attribute will be ignored when serializing and deserializing types; otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether to ignore IsSpecified members when serializing and deserializing types.
-
-
- true if the IsSpecified members will be ignored when serializing and deserializing types; otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether to ignore ShouldSerialize members when serializing and deserializing types.
-
-
- true if the ShouldSerialize members will be ignored when serializing and deserializing types; otherwise, false.
-
-
-
-
- Gets or sets the naming strategy used to resolve how property names and dictionary keys are serialized.
-
- The naming strategy used to resolve how property names and dictionary keys are serialized.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Resolves the contract for a given type.
-
- The type to resolve a contract for.
- The contract for a given type.
-
-
-
- Gets the serializable members for the type.
-
- The type to get serializable members for.
- The serializable members for the type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates the constructor parameters.
-
- The constructor to create properties for.
- The type's member properties.
- Properties for the given .
-
-
-
- Creates a for the given .
-
- The matching member property.
- The constructor parameter.
- A created for the given .
-
-
-
- Resolves the default for the contract.
-
- Type of the object.
- The contract's default .
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Determines which contract type is created for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates properties for the given .
-
- The type to create properties for.
- /// The member serialization mode for the type.
- Properties for the given .
-
-
-
- Creates the used by the serializer to get and set values from a member.
-
- The member.
- The used by the serializer to get and set values from a member.
-
-
-
- Creates a for the given .
-
- The member's parent .
- The member to create a for.
- A created for the given .
-
-
-
- Resolves the name of the property.
-
- Name of the property.
- Resolved name of the property.
-
-
-
- Resolves the name of the extension data. By default no changes are made to extension data names.
-
- Name of the extension data.
- Resolved name of the extension data.
-
-
-
- Resolves the key of the dictionary. By default is used to resolve dictionary keys.
-
- Key of the dictionary.
- Resolved key of the dictionary.
-
-
-
- Gets the resolved name of the property.
-
- Name of the property.
- Name of the property.
-
-
-
- The default naming strategy. Property names and dictionary keys are unchanged.
-
-
-
-
- Resolves the specified property name.
-
- The property name to resolve.
- The resolved property name.
-
-
-
- The default serialization binder used when resolving and loading classes from type names.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- When overridden in a derived class, controls the binding of a serialized object to a type.
-
- Specifies the name of the serialized object.
- Specifies the name of the serialized object.
-
- The type of the object the formatter creates a new instance of.
-
-
-
-
- When overridden in a derived class, controls the binding of a serialized object to a type.
-
- The type of the object the formatter creates a new instance of.
- Specifies the name of the serialized object.
- Specifies the name of the serialized object.
-
-
-
- Represents a trace writer that writes to the application's instances.
-
-
-
-
- Gets the that will be used to filter the trace messages passed to the writer.
- For example a filter level of will exclude messages and include ,
- and messages.
-
-
- The that will be used to filter the trace messages passed to the writer.
-
-
-
-
- Writes the specified trace level, message and optional exception.
-
- The at which to write this trace.
- The trace message.
- The trace exception. This parameter is optional.
-
-
-
- Get and set values for a using dynamic methods.
-
-
-
-
- Initializes a new instance of the class.
-
- The member info.
-
-
-
- Sets the value.
-
- The target to set the value on.
- The value to set on the target.
-
-
-
- Gets the value.
-
- The target to get the value from.
- The value.
-
-
-
- Provides information surrounding an error.
-
-
-
-
- Gets the error.
-
- The error.
-
-
-
- Gets the original object that caused the error.
-
- The original object that caused the error.
-
-
-
- Gets the member that caused the error.
-
- The member that caused the error.
-
-
-
- Gets the path of the JSON location where the error occurred.
-
- The path of the JSON location where the error occurred.
-
-
-
- Gets or sets a value indicating whether this is handled.
-
- true if handled; otherwise, false.
-
-
-
- Provides data for the Error event.
-
-
-
-
- Gets the current object the error event is being raised against.
-
- The current object the error event is being raised against.
-
-
-
- Gets the error context.
-
- The error context.
-
-
-
- Initializes a new instance of the class.
-
- The current object.
- The error context.
-
-
-
- Get and set values for a using dynamic methods.
-
-
-
-
- Initializes a new instance of the class.
-
- The member info.
-
-
-
- Sets the value.
-
- The target to set the value on.
- The value to set on the target.
-
-
-
- Gets the value.
-
- The target to get the value from.
- The value.
-
-
-
- Provides methods to get attributes.
-
-
-
-
- Returns a collection of all of the attributes, or an empty collection if there are no attributes.
-
- When true, look up the hierarchy chain for the inherited custom attribute.
- A collection of s, or an empty collection.
-
-
-
- Returns a collection of attributes, identified by type, or an empty collection if there are no attributes.
-
- The type of the attributes.
- When true, look up the hierarchy chain for the inherited custom attribute.
- A collection of s, or an empty collection.
-
-
-
- Used by to resolve a for a given .
-
-
-
-
-
-
-
-
- Resolves the contract for a given type.
-
- The type to resolve a contract for.
- The contract for a given type.
-
-
-
- Used to resolve references when serializing and deserializing JSON by the .
-
-
-
-
- Resolves a reference to its object.
-
- The serialization context.
- The reference to resolve.
- The object that was resolved from the reference.
-
-
-
- Gets the reference for the specified object.
-
- The serialization context.
- The object to get a reference for.
- The reference to the object.
-
-
-
- Determines whether the specified object is referenced.
-
- The serialization context.
- The object to test for a reference.
-
- true if the specified object is referenced; otherwise, false.
-
-
-
-
- Adds a reference to the specified object.
-
- The serialization context.
- The reference.
- The object to reference.
-
-
-
- Allows users to control class loading and mandate what class to load.
-
-
-
-
- When implemented, controls the binding of a serialized object to a type.
-
- Specifies the name of the serialized object.
- Specifies the name of the serialized object
- The type of the object the formatter creates a new instance of.
-
-
-
- When implemented, controls the binding of a serialized object to a type.
-
- The type of the object the formatter creates a new instance of.
- Specifies the name of the serialized object.
- Specifies the name of the serialized object.
-
-
-
- Represents a trace writer.
-
-
-
-
- Gets the that will be used to filter the trace messages passed to the writer.
- For example a filter level of will exclude messages and include ,
- and messages.
-
- The that will be used to filter the trace messages passed to the writer.
-
-
-
- Writes the specified trace level, message and optional exception.
-
- The at which to write this trace.
- The trace message.
- The trace exception. This parameter is optional.
-
-
-
- Provides methods to get and set values.
-
-
-
-
- Sets the value.
-
- The target to set the value on.
- The value to set on the target.
-
-
-
- Gets the value.
-
- The target to get the value from.
- The value.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Gets the of the collection items.
-
- The of the collection items.
-
-
-
- Gets a value indicating whether the collection type is a multidimensional array.
-
- true if the collection type is a multidimensional array; otherwise, false.
-
-
-
- Gets or sets the function used to create the object. When set this function will override .
-
- The function used to create the object.
-
-
-
- Gets a value indicating whether the creator has a parameter with the collection values.
-
- true if the creator has a parameter with the collection values; otherwise, false.
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Gets or sets the default collection items .
-
- The converter.
-
-
-
- Gets or sets a value indicating whether the collection items preserve object references.
-
- true if collection items preserve object references; otherwise, false.
-
-
-
- Gets or sets the collection item reference loop handling.
-
- The reference loop handling.
-
-
-
- Gets or sets the collection item type name handling.
-
- The type name handling.
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Handles serialization callback events.
-
- The object that raised the callback event.
- The streaming context.
-
-
-
- Handles serialization error callback events.
-
- The object that raised the callback event.
- The streaming context.
- The error context.
-
-
-
- Sets extension data for an object during deserialization.
-
- The object to set extension data on.
- The extension data key.
- The extension data value.
-
-
-
- Gets extension data for an object during serialization.
-
- The object to set extension data on.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Gets the underlying type for the contract.
-
- The underlying type for the contract.
-
-
-
- Gets or sets the type created during deserialization.
-
- The type created during deserialization.
-
-
-
- Gets or sets whether this type contract is serialized as a reference.
-
- Whether this type contract is serialized as a reference.
-
-
-
- Gets or sets the default for this contract.
-
- The converter.
-
-
-
- Gets the internally resolved for the contract's type.
- This converter is used as a fallback converter when no other converter is resolved.
- Setting will always override this converter.
-
-
-
-
- Gets or sets all methods called immediately after deserialization of the object.
-
- The methods called immediately after deserialization of the object.
-
-
-
- Gets or sets all methods called during deserialization of the object.
-
- The methods called during deserialization of the object.
-
-
-
- Gets or sets all methods called after serialization of the object graph.
-
- The methods called after serialization of the object graph.
-
-
-
- Gets or sets all methods called before serialization of the object.
-
- The methods called before serialization of the object.
-
-
-
- Gets or sets all method called when an error is thrown during the serialization of the object.
-
- The methods called when an error is thrown during the serialization of the object.
-
-
-
- Gets or sets the default creator method used to create the object.
-
- The default creator method used to create the object.
-
-
-
- Gets or sets a value indicating whether the default creator is non-public.
-
- true if the default object creator is non-public; otherwise, false.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Gets or sets the dictionary key resolver.
-
- The dictionary key resolver.
-
-
-
- Gets the of the dictionary keys.
-
- The of the dictionary keys.
-
-
-
- Gets the of the dictionary values.
-
- The of the dictionary values.
-
-
-
- Gets or sets the function used to create the object. When set this function will override .
-
- The function used to create the object.
-
-
-
- Gets a value indicating whether the creator has a parameter with the dictionary values.
-
- true if the creator has a parameter with the dictionary values; otherwise, false.
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Gets the object's properties.
-
- The object's properties.
-
-
-
- Gets or sets the property name resolver.
-
- The property name resolver.
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Gets or sets the object constructor.
-
- The object constructor.
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Gets or sets the object member serialization.
-
- The member object serialization.
-
-
-
- Gets or sets the missing member handling used when deserializing this object.
-
- The missing member handling.
-
-
-
- Gets or sets a value that indicates whether the object's properties are required.
-
-
- A value indicating whether the object's properties are required.
-
-
-
-
- Gets or sets how the object's properties with null values are handled during serialization and deserialization.
-
- How the object's properties with null values are handled during serialization and deserialization.
-
-
-
- Gets the object's properties.
-
- The object's properties.
-
-
-
- Gets a collection of instances that define the parameters used with .
-
-
-
-
- Gets or sets the function used to create the object. When set this function will override .
- This function is called with a collection of arguments which are defined by the collection.
-
- The function used to create the object.
-
-
-
- Gets or sets the extension data setter.
-
-
-
-
- Gets or sets the extension data getter.
-
-
-
-
- Gets or sets the extension data value type.
-
-
-
-
- Gets or sets the extension data name resolver.
-
- The extension data name resolver.
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Maps a JSON property to a .NET member or constructor parameter.
-
-
-
-
- Gets or sets the name of the property.
-
- The name of the property.
-
-
-
- Gets or sets the type that declared this property.
-
- The type that declared this property.
-
-
-
- Gets or sets the order of serialization of a member.
-
- The numeric order of serialization.
-
-
-
- Gets or sets the name of the underlying member or parameter.
-
- The name of the underlying member or parameter.
-
-
-
- Gets the that will get and set the during serialization.
-
- The that will get and set the during serialization.
-
-
-
- Gets or sets the for this property.
-
- The for this property.
-
-
-
- Gets or sets the type of the property.
-
- The type of the property.
-
-
-
- Gets or sets the for the property.
- If set this converter takes precedence over the contract converter for the property type.
-
- The converter.
-
-
-
- Gets or sets the member converter.
-
- The member converter.
-
-
-
- Gets or sets a value indicating whether this is ignored.
-
- true if ignored; otherwise, false.
-
-
-
- Gets or sets a value indicating whether this is readable.
-
- true if readable; otherwise, false.
-
-
-
- Gets or sets a value indicating whether this is writable.
-
- true if writable; otherwise, false.
-
-
-
- Gets or sets a value indicating whether this has a member attribute.
-
- true if has a member attribute; otherwise, false.
-
-
-
- Gets the default value.
-
- The default value.
-
-
-
- Gets or sets a value indicating whether this is required.
-
- A value indicating whether this is required.
-
-
-
- Gets a value indicating whether has a value specified.
-
-
-
-
- Gets or sets a value indicating whether this property preserves object references.
-
-
- true if this instance is reference; otherwise, false.
-
-
-
-
- Gets or sets the property null value handling.
-
- The null value handling.
-
-
-
- Gets or sets the property default value handling.
-
- The default value handling.
-
-
-
- Gets or sets the property reference loop handling.
-
- The reference loop handling.
-
-
-
- Gets or sets the property object creation handling.
-
- The object creation handling.
-
-
-
- Gets or sets or sets the type name handling.
-
- The type name handling.
-
-
-
- Gets or sets a predicate used to determine whether the property should be serialized.
-
- A predicate used to determine whether the property should be serialized.
-
-
-
- Gets or sets a predicate used to determine whether the property should be deserialized.
-
- A predicate used to determine whether the property should be deserialized.
-
-
-
- Gets or sets a predicate used to determine whether the property should be serialized.
-
- A predicate used to determine whether the property should be serialized.
-
-
-
- Gets or sets an action used to set whether the property has been deserialized.
-
- An action used to set whether the property has been deserialized.
-
-
-
- Returns a that represents this instance.
-
-
- A that represents this instance.
-
-
-
-
- Gets or sets the converter used when serializing the property's collection items.
-
- The collection's items converter.
-
-
-
- Gets or sets whether this property's collection items are serialized as a reference.
-
- Whether this property's collection items are serialized as a reference.
-
-
-
- Gets or sets the type name handling used when serializing the property's collection items.
-
- The collection's items type name handling.
-
-
-
- Gets or sets the reference loop handling used when serializing the property's collection items.
-
- The collection's items reference loop handling.
-
-
-
- A collection of objects.
-
-
-
-
- Initializes a new instance of the class.
-
- The type.
-
-
-
- When implemented in a derived class, extracts the key from the specified element.
-
- The element from which to extract the key.
- The key for the specified element.
-
-
-
- Adds a object.
-
- The property to add to the collection.
-
-
-
- Gets the closest matching object.
- First attempts to get an exact case match of and then
- a case insensitive match.
-
- Name of the property.
- A matching property if found.
-
-
-
- Gets a property by property name.
-
- The name of the property to get.
- Type property name string comparison.
- A matching property if found.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Lookup and create an instance of the type described by the argument.
-
- The type to create.
- Optional arguments to pass to an initializing constructor of the JsonConverter.
- If null, the default constructor is used.
-
-
-
- A kebab case naming strategy.
-
-
-
-
- Initializes a new instance of the class.
-
-
- A flag indicating whether dictionary keys should be processed.
-
-
- A flag indicating whether explicitly specified property names should be processed,
- e.g. a property name customized with a .
-
-
-
-
- Initializes a new instance of the class.
-
-
- A flag indicating whether dictionary keys should be processed.
-
-
- A flag indicating whether explicitly specified property names should be processed,
- e.g. a property name customized with a .
-
-
- A flag indicating whether extension data names should be processed.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Resolves the specified property name.
-
- The property name to resolve.
- The resolved property name.
-
-
-
- Represents a trace writer that writes to memory. When the trace message limit is
- reached then old trace messages will be removed as new messages are added.
-
-
-
-
- Gets the that will be used to filter the trace messages passed to the writer.
- For example a filter level of will exclude messages and include ,
- and messages.
-
-
- The that will be used to filter the trace messages passed to the writer.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Writes the specified trace level, message and optional exception.
-
- The at which to write this trace.
- The trace message.
- The trace exception. This parameter is optional.
-
-
-
- Returns an enumeration of the most recent trace messages.
-
- An enumeration of the most recent trace messages.
-
-
-
- Returns a of the most recent trace messages.
-
-
- A of the most recent trace messages.
-
-
-
-
- A base class for resolving how property names and dictionary keys are serialized.
-
-
-
-
- A flag indicating whether dictionary keys should be processed.
- Defaults to false.
-
-
-
-
- A flag indicating whether extension data names should be processed.
- Defaults to false.
-
-
-
-
- A flag indicating whether explicitly specified property names,
- e.g. a property name customized with a , should be processed.
- Defaults to false.
-
-
-
-
- Gets the serialized name for a given property name.
-
- The initial property name.
- A flag indicating whether the property has had a name explicitly specified.
- The serialized property name.
-
-
-
- Gets the serialized name for a given extension data name.
-
- The initial extension data name.
- The serialized extension data name.
-
-
-
- Gets the serialized key for a given dictionary key.
-
- The initial dictionary key.
- The serialized dictionary key.
-
-
-
- Resolves the specified property name.
-
- The property name to resolve.
- The resolved property name.
-
-
-
- Hash code calculation
-
-
-
-
-
- Object equality implementation
-
-
-
-
-
-
- Compare to another NamingStrategy
-
-
-
-
-
-
- Represents a method that constructs an object.
-
- The object type to create.
-
-
-
- When applied to a method, specifies that the method is called when an error occurs serializing an object.
-
-
-
-
- Provides methods to get attributes from a , , or .
-
-
-
-
- Initializes a new instance of the class.
-
- The instance to get attributes for. This parameter should be a , , or .
-
-
-
- Returns a collection of all of the attributes, or an empty collection if there are no attributes.
-
- When true, look up the hierarchy chain for the inherited custom attribute.
- A collection of s, or an empty collection.
-
-
-
- Returns a collection of attributes, identified by type, or an empty collection if there are no attributes.
-
- The type of the attributes.
- When true, look up the hierarchy chain for the inherited custom attribute.
- A collection of s, or an empty collection.
-
-
-
- Get and set values for a using reflection.
-
-
-
-
- Initializes a new instance of the class.
-
- The member info.
-
-
-
- Sets the value.
-
- The target to set the value on.
- The value to set on the target.
-
-
-
- Gets the value.
-
- The target to get the value from.
- The value.
-
-
-
- A snake case naming strategy.
-
-
-
-
- Initializes a new instance of the class.
-
-
- A flag indicating whether dictionary keys should be processed.
-
-
- A flag indicating whether explicitly specified property names should be processed,
- e.g. a property name customized with a .
-
-
-
-
- Initializes a new instance of the class.
-
-
- A flag indicating whether dictionary keys should be processed.
-
-
- A flag indicating whether explicitly specified property names should be processed,
- e.g. a property name customized with a .
-
-
- A flag indicating whether extension data names should be processed.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Resolves the specified property name.
-
- The property name to resolve.
- The resolved property name.
-
-
-
- Specifies how strings are escaped when writing JSON text.
-
-
-
-
- Only control characters (e.g. newline) are escaped.
-
-
-
-
- All non-ASCII and control characters (e.g. newline) are escaped.
-
-
-
-
- HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped.
-
-
-
-
- Indicates the method that will be used during deserialization for locating and loading assemblies.
-
-
-
-
- In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the LoadWithPartialName method of the class is used to load the assembly.
-
-
-
-
- In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The Load method of the class is used to load the assembly.
-
-
-
-
- Specifies type name handling options for the .
-
-
- should be used with caution when your application deserializes JSON from an external source.
- Incoming types should be validated with a custom
- when deserializing with a value other than .
-
-
-
-
- Do not include the .NET type name when serializing types.
-
-
-
-
- Include the .NET type name when serializing into a JSON object structure.
-
-
-
-
- Include the .NET type name when serializing into a JSON array structure.
-
-
-
-
- Always include the .NET type name when serializing.
-
-
-
-
- Include the .NET type name when the type of the object being serialized is not the same as its declared type.
- Note that this doesn't include the root serialized object by default. To include the root object's type name in JSON
- you must specify a root type object with
- or .
-
-
-
-
- Determines whether the collection is null or empty.
-
- The collection.
-
- true if the collection is null or empty; otherwise, false.
-
-
-
-
- Adds the elements of the specified collection to the specified generic .
-
- The list to add to.
- The collection of elements to add.
-
-
-
- Converts the value to the specified type. If the value is unable to be converted, the
- value is checked whether it assignable to the specified type.
-
- The value to convert.
- The culture to use when converting.
- The type to convert or cast the value to.
-
- The converted type. If conversion was unsuccessful, the initial value
- is returned if assignable to the target type.
-
-
-
-
- Helper method for generating a MetaObject which calls a
- specific method on Dynamic that returns a result
-
-
-
-
- Helper method for generating a MetaObject which calls a
- specific method on Dynamic, but uses one of the arguments for
- the result.
-
-
-
-
- Helper method for generating a MetaObject which calls a
- specific method on Dynamic, but uses one of the arguments for
- the result.
-
-
-
-
- Returns a Restrictions object which includes our current restrictions merged
- with a restriction limiting our type
-
-
-
-
- Helper class for serializing immutable collections.
- Note that this is used by all builds, even those that don't support immutable collections, in case the DLL is GACed
- https://github.com/JamesNK/Newtonsoft.Json/issues/652
-
-
-
-
- Gets the type of the typed collection's items.
-
- The type.
- The type of the typed collection's items.
-
-
-
- Gets the member's underlying type.
-
- The member.
- The underlying type of the member.
-
-
-
- Determines whether the property is an indexed property.
-
- The property.
-
- true if the property is an indexed property; otherwise, false.
-
-
-
-
- Gets the member's value on the object.
-
- The member.
- The target object.
- The member's value on the object.
-
-
-
- Sets the member's value on the target object.
-
- The member.
- The target.
- The value.
-
-
-
- Determines whether the specified MemberInfo can be read.
-
- The MemberInfo to determine whether can be read.
- /// if set to true then allow the member to be gotten non-publicly.
-
- true if the specified MemberInfo can be read; otherwise, false.
-
-
-
-
- Determines whether the specified MemberInfo can be set.
-
- The MemberInfo to determine whether can be set.
- if set to true then allow the member to be set non-publicly.
- if set to true then allow the member to be set if read-only.
-
- true if the specified MemberInfo can be set; otherwise, false.
-
-
-
-
- Builds a string. Unlike this class lets you reuse its internal buffer.
-
-
-
-
- Determines whether the string is all white space. Empty string will return false.
-
- The string to test whether it is all white space.
-
- true if the string is all white space; otherwise, false.
-
-
-
-
- Specifies the state of the .
-
-
-
-
- An exception has been thrown, which has left the in an invalid state.
- You may call the method to put the in the Closed state.
- Any other method calls result in an being thrown.
-
-
-
-
- The method has been called.
-
-
-
-
- An object is being written.
-
-
-
-
- An array is being written.
-
-
-
-
- A constructor is being written.
-
-
-
-
- A property is being written.
-
-
-
-
- A write method has not been called.
-
-
-
- Specifies that an output will not be null even if the corresponding type allows it.
-
-
- Specifies that when a method returns , the parameter will not be null even if the corresponding type allows it.
-
-
- Initializes the attribute with the specified return value condition.
-
- The return value condition. If the method returns this value, the associated parameter will not be null.
-
-
-
- Gets the return value condition.
-
-
- Specifies that an output may be null even if the corresponding type disallows it.
-
-
- Specifies that null is allowed as an input even if the corresponding type disallows it.
-
-
-
- Specifies that the method will not return if the associated Boolean parameter is passed the specified value.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The condition parameter value. Code after the method will be considered unreachable by diagnostics if the argument to
- the associated parameter matches this value.
-
-
-
- Gets the condition parameter value.
-
-
-
diff --git a/Naticord/bin/Debug/websocket-sharp.dll b/Naticord/bin/Debug/websocket-sharp.dll
deleted file mode 100644
index 6ec719f..0000000
Binary files a/Naticord/bin/Debug/websocket-sharp.dll and /dev/null differ
diff --git a/Naticord/bin/Debug/websocket-sharp.xml b/Naticord/bin/Debug/websocket-sharp.xml
deleted file mode 100644
index 87d83dd..0000000
--- a/Naticord/bin/Debug/websocket-sharp.xml
+++ /dev/null
@@ -1,7850 +0,0 @@
-
-
-
- websocket-sharp
-
-
-
-
- Provides a set of static methods for websocket-sharp.
-
-
-
-
- Determines whether the specified equals the specified ,
- and invokes the specified Action<int> delegate at the same time.
-
-
- true if equals ;
- otherwise, false.
-
-
- An to compare.
-
-
- A to compare.
-
-
- An Action<int> delegate that references the method(s) called
- at the same time as comparing. An parameter to pass to
- the method(s) is .
-
-
-
-
- Gets the absolute path from the specified .
-
-
- A that represents the absolute path if it's successfully found;
- otherwise, .
-
-
- A that represents the URI to get the absolute path from.
-
-
-
-
- Gets the name from the specified that contains a pair of name and
- value separated by a separator character.
-
-
- A that represents the name if any; otherwise, null.
-
-
- A that contains a pair of name and value separated by
- a separator character.
-
-
- A that represents the separator character.
-
-
-
-
- Gets the value from the specified that contains a pair of name and
- value separated by a separator character.
-
-
- A that represents the value if any; otherwise, null.
-
-
- A that contains a pair of name and value separated by
- a separator character.
-
-
- A that represents the separator character.
-
-
-
-
- Tries to create a for WebSocket with
- the specified .
-
-
- true if a is successfully created; otherwise, false.
-
-
- A that represents a WebSocket URL to try.
-
-
- When this method returns, a that represents a WebSocket URL,
- or if is invalid.
-
-
- When this method returns, a that represents an error message,
- or if is valid.
-
-
-
-
- Determines whether the specified contains any of characters in
- the specified array of .
-
-
- true if contains any of ;
- otherwise, false.
-
-
- A to test.
-
-
- An array of that contains characters to find.
-
-
-
-
- Determines whether the specified contains
- the entry with the specified .
-
-
- true if contains the entry with
- ; otherwise, false.
-
-
- A to test.
-
-
- A that represents the key of the entry to find.
-
-
-
-
- Determines whether the specified contains the entry with
- the specified both and .
-
-
- true if contains the entry with both
- and ; otherwise, false.
-
-
- A to test.
-
-
- A that represents the key of the entry to find.
-
-
- A that represents the value of the entry to find.
-
-
-
-
- Emits the specified delegate if it isn't .
-
-
- A to emit.
-
-
- An from which emits this .
-
-
- A that contains no event data.
-
-
-
-
- Emits the specified EventHandler<TEventArgs> delegate if it isn't
- .
-
-
- An EventHandler<TEventArgs> to emit.
-
-
- An from which emits this .
-
-
- A TEventArgs that represents the event data.
-
-
- The type of the event data generated by the event.
-
-
-
-
- Gets the collection of the HTTP cookies from the specified HTTP .
-
-
- A that receives a collection of the HTTP cookies.
-
-
- A that contains a collection of the HTTP headers.
-
-
- true if is a collection of the response headers;
- otherwise, false.
-
-
-
-
- Gets the description of the specified HTTP status .
-
-
- A that represents the description of the HTTP status code.
-
-
- One of enum values, indicates the HTTP status code.
-
-
-
-
- Gets the description of the specified HTTP status .
-
-
- A that represents the description of the HTTP status code.
-
-
- An that represents the HTTP status code.
-
-
-
-
- Determines whether the specified is in the allowable range of
- the WebSocket close status code.
-
-
- Not allowable ranges are the following:
-
- -
-
- Numbers in the range 0-999 are not used.
-
-
- -
-
- Numbers greater than 4999 are out of the reserved close status code ranges.
-
-
-
-
-
- true if is in the allowable range of the WebSocket
- close status code; otherwise, false.
-
-
- A to test.
-
-
-
-
- Determines whether the specified is enclosed in the specified
- .
-
-
- true if is enclosed in ;
- otherwise, false.
-
-
- A to test.
-
-
- A that represents the character to find.
-
-
-
-
- Determines whether the specified is host (this computer
- architecture) byte order.
-
-
- true if is host byte order; otherwise, false.
-
-
- One of the enum values, to test.
-
-
-
-
- Determines whether the specified represents
- a local IP address.
-
-
- This local means NOT REMOTE for the current host.
-
-
- true if represents a local IP address;
- otherwise, false.
-
-
- A to test.
-
-
-
-
- Determines whether the specified is or empty.
-
-
- true if is or empty;
- otherwise, false.
-
-
- A to test.
-
-
-
-
- Determines whether the specified is a predefined scheme.
-
-
- true if is a predefined scheme; otherwise, false.
-
-
- A to test.
-
-
-
-
- Determines whether the specified is
- an HTTP Upgrade request to switch to the specified .
-
-
- true if is an HTTP Upgrade request to switch to
- ; otherwise, false.
-
-
- A that represents the HTTP request.
-
-
- A that represents the protocol name.
-
-
-
- is .
-
-
- -or-
-
-
- is .
-
-
-
- is empty.
-
-
-
-
- Determines whether the specified is a URI string.
-
-
- true if may be a URI string; otherwise, false.
-
-
- A to test.
-
-
-
-
- Retrieves a sub-array from the specified . A sub-array starts at
- the specified element position in .
-
-
- An array of T that receives a sub-array, or an empty array of T if any problems with
- the parameters.
-
-
- An array of T from which to retrieve a sub-array.
-
-
- An that represents the zero-based starting position of
- a sub-array in .
-
-
- An that represents the number of elements to retrieve.
-
-
- The type of elements in .
-
-
-
-
- Retrieves a sub-array from the specified . A sub-array starts at
- the specified element position in .
-
-
- An array of T that receives a sub-array, or an empty array of T if any problems with
- the parameters.
-
-
- An array of T from which to retrieve a sub-array.
-
-
- A that represents the zero-based starting position of
- a sub-array in .
-
-
- A that represents the number of elements to retrieve.
-
-
- The type of elements in .
-
-
-
-
- Executes the specified delegate times.
-
-
- An is the number of times to execute.
-
-
- An delegate that references the method(s) to execute.
-
-
-
-
- Executes the specified delegate times.
-
-
- A is the number of times to execute.
-
-
- An delegate that references the method(s) to execute.
-
-
-
-
- Executes the specified delegate times.
-
-
- A is the number of times to execute.
-
-
- An delegate that references the method(s) to execute.
-
-
-
-
- Executes the specified delegate times.
-
-
- A is the number of times to execute.
-
-
- An delegate that references the method(s) to execute.
-
-
-
-
- Executes the specified Action<int> delegate times.
-
-
- An is the number of times to execute.
-
-
- An Action<int> delegate that references the method(s) to execute.
- An parameter to pass to the method(s) is the zero-based count of
- iteration.
-
-
-
-
- Executes the specified Action<long> delegate times.
-
-
- A is the number of times to execute.
-
-
- An Action<long> delegate that references the method(s) to execute.
- A parameter to pass to the method(s) is the zero-based count of
- iteration.
-
-
-
-
- Executes the specified Action<uint> delegate times.
-
-
- A is the number of times to execute.
-
-
- An Action<uint> delegate that references the method(s) to execute.
- A parameter to pass to the method(s) is the zero-based count of
- iteration.
-
-
-
-
- Executes the specified Action<ulong> delegate times.
-
-
- A is the number of times to execute.
-
-
- An Action<ulong> delegate that references the method(s) to execute.
- A parameter to pass to this method(s) is the zero-based count of
- iteration.
-
-
-
-
- Converts the specified array of to the specified type data.
-
-
- A T converted from , or a default value of
- T if is an empty array of or
- if the type of T isn't , , ,
- , , , ,
- , , or .
-
-
- An array of to convert.
-
-
- One of the enum values, specifies the byte order of
- .
-
-
- The type of the return. The T must be a value type.
-
-
- is .
-
-
-
-
- Converts the specified to an array of .
-
-
- An array of converted from .
-
-
- A T to convert.
-
-
- One of the enum values, specifies the byte order of the return.
-
-
- The type of . The T must be a value type.
-
-
-
-
- Converts the order of the specified array of to the host byte order.
-
-
- An array of converted from .
-
-
- An array of to convert.
-
-
- One of the enum values, specifies the byte order of
- .
-
-
- is .
-
-
-
-
- Converts the specified to a that
- concatenates the each element of across the specified
- .
-
-
- A converted from ,
- or if is empty.
-
-
- An array of T to convert.
-
-
- A that represents the separator string.
-
-
- The type of elements in .
-
-
- is .
-
-
-
-
- Converts the specified to a .
-
-
- A converted from ,
- or if isn't successfully converted.
-
-
- A to convert.
-
-
-
-
- URL-decodes the specified .
-
-
- A that receives the decoded string,
- or the if it's or empty.
-
-
- A to decode.
-
-
-
-
- URL-encodes the specified .
-
-
- A that receives the encoded string,
- or if it's or empty.
-
-
- A to encode.
-
-
-
-
- Writes and sends the specified data with the specified
- .
-
-
- A that represents the HTTP response used to
- send the content data.
-
-
- An array of that represents the content data to send.
-
-
-
- is .
-
-
- -or-
-
-
- is .
-
-
-
-
-
- Represents the event data for the event.
-
-
-
- A event occurs when the receives
- a text or binary message, or a ping if the property is
- set to true.
-
-
- If you would like to get the message data, you should access the or
- property.
-
-
-
-
-
- Gets the message data as a .
-
-
- A that represents the message data,
- or if the message data cannot be decoded to a string.
-
-
-
-
- Gets a value indicating whether the message type is binary.
-
-
- true if the message type is binary; otherwise, false.
-
-
-
-
- Gets a value indicating whether the message type is ping.
-
-
- true if the message type is ping; otherwise, false.
-
-
-
-
- Gets a value indicating whether the message type is text.
-
-
- true if the message type is text; otherwise, false.
-
-
-
-
- Gets the message data as an array of .
-
-
- An array of that represents the message data.
-
-
-
-
- Gets the message type.
-
-
- , , or .
-
-
-
-
- Represents the event data for the event.
-
-
-
- A event occurs when the WebSocket connection
- has been closed.
-
-
- If you would like to get the reason for the close, you should access
- the or property.
-
-
-
-
-
- Gets the status code for the close.
-
-
- A that represents the status code for the close if any.
-
-
-
-
- Gets the reason for the close.
-
-
- A that represents the reason for the close if any.
-
-
-
-
- Gets a value indicating whether the connection has been closed cleanly.
-
-
- true if the connection has been closed cleanly; otherwise, false.
-
-
-
-
- Specifies the byte order.
-
-
-
-
- Specifies Little-endian.
-
-
-
-
- Specifies Big-endian.
-
-
-
-
- Represents the event data for the event.
-
-
-
- A event occurs when the gets
- an error.
-
-
- If you would like to get the error message, you should access
- the property.
-
-
- And if the error is due to an exception, you can get the exception by accessing
- the property.
-
-
-
-
-
- Gets the exception that caused the error.
-
-
- An instance that represents the cause of the error,
- or if the error isn't due to an exception.
-
-
-
-
- Gets the error message.
-
-
- A that represents the error message.
-
-
-
-
- Implements the WebSocket interface.
-
-
- The WebSocket class provides a set of methods and properties for two-way communication using
- the WebSocket protocol (RFC 6455).
-
-
-
-
- Represents the empty array of used internally.
-
-
-
-
- Represents the length used to determine whether the data should be fragmented in sending.
-
-
-
- The data will be fragmented if that length is greater than the value of this field.
-
-
- If you would like to change the value, you must set it to a value between 125 and
- Int32.MaxValue - 14 inclusive.
-
-
-
-
-
- Represents the random number generator used internally.
-
-
-
-
- Initializes a new instance of the class with
- the specified WebSocket URL and subprotocols.
-
-
- A that represents the WebSocket URL to connect.
-
-
- An array of that contains the WebSocket subprotocols if any.
- Each value of must be a token defined in
- RFC 2616.
-
-
- is .
-
-
-
- is invalid.
-
-
- -or-
-
-
- is invalid.
-
-
-
-
-
- Accepts the WebSocket handshake request.
-
-
- This method isn't available in a client.
-
-
-
-
- Accepts the WebSocket handshake request asynchronously.
-
-
-
- This method doesn't wait for the accept to be complete.
-
-
- This method isn't available in a client.
-
-
-
-
-
- Closes the WebSocket connection, and releases all associated resources.
-
-
-
-
- Closes the WebSocket connection with the specified ,
- and releases all associated resources.
-
-
- This method emits a event if isn't in
- the allowable range of the close status code.
-
-
- A that represents the status code indicating the reason for the close.
-
-
-
-
- Closes the WebSocket connection with the specified ,
- and releases all associated resources.
-
-
- One of the enum values, represents the status code indicating
- the reason for the close.
-
-
-
-
- Closes the WebSocket connection with the specified and
- , and releases all associated resources.
-
-
- This method emits a event if isn't in
- the allowable range of the close status code or the size of is
- greater than 123 bytes.
-
-
- A that represents the status code indicating the reason for the close.
-
-
- A that represents the reason for the close.
-
-
-
-
- Closes the WebSocket connection with the specified and
- , and releases all associated resources.
-
-
- This method emits a event if the size of is
- greater than 123 bytes.
-
-
- One of the enum values, represents the status code indicating
- the reason for the close.
-
-
- A that represents the reason for the close.
-
-
-
-
- Closes the WebSocket connection asynchronously, and releases all associated resources.
-
-
- This method doesn't wait for the close to be complete.
-
-
-
-
- Closes the WebSocket connection asynchronously with the specified ,
- and releases all associated resources.
-
-
-
- This method doesn't wait for the close to be complete.
-
-
- This method emits a event if isn't in
- the allowable range of the close status code.
-
-
-
- A that represents the status code indicating the reason for the close.
-
-
-
-
- Closes the WebSocket connection asynchronously with the specified
- , and releases all associated resources.
-
-
- This method doesn't wait for the close to be complete.
-
-
- One of the enum values, represents the status code indicating
- the reason for the close.
-
-
-
-
- Closes the WebSocket connection asynchronously with the specified and
- , and releases all associated resources.
-
-
-
- This method doesn't wait for the close to be complete.
-
-
- This method emits a event if isn't in
- the allowable range of the close status code or the size of is
- greater than 123 bytes.
-
-
-
- A that represents the status code indicating the reason for the close.
-
-
- A that represents the reason for the close.
-
-
-
-
- Closes the WebSocket connection asynchronously with the specified
- and , and releases
- all associated resources.
-
-
-
- This method doesn't wait for the close to be complete.
-
-
- This method emits a event if the size of
- is greater than 123 bytes.
-
-
-
- One of the enum values, represents the status code indicating
- the reason for the close.
-
-
- A that represents the reason for the close.
-
-
-
-
- Establishes a WebSocket connection.
-
-
- This method isn't available in a server.
-
-
-
-
- Establishes a WebSocket connection asynchronously.
-
-
-
- This method doesn't wait for the connect to be complete.
-
-
- This method isn't available in a server.
-
-
-
-
-
- Sends a ping using the WebSocket connection.
-
-
- true if the receives a pong to this ping in a time;
- otherwise, false.
-
-
-
-
- Sends a ping with the specified using the WebSocket connection.
-
-
- true if the receives a pong to this ping in a time;
- otherwise, false.
-
-
- A that represents the message to send.
-
-
-
-
- Sends binary using the WebSocket connection.
-
-
- An array of that represents the binary data to send.
-
-
-
-
- Sends the specified as binary data using the WebSocket connection.
-
-
- A that represents the file to send.
-
-
-
-
- Sends text using the WebSocket connection.
-
-
- A that represents the text data to send.
-
-
-
-
- Sends binary asynchronously using the WebSocket connection.
-
-
- This method doesn't wait for the send to be complete.
-
-
- An array of that represents the binary data to send.
-
-
- An Action<bool> delegate that references the method(s) called when
- the send is complete. A passed to this delegate is true
- if the send is complete successfully.
-
-
-
-
- Sends the specified as binary data asynchronously using
- the WebSocket connection.
-
-
- This method doesn't wait for the send to be complete.
-
-
- A that represents the file to send.
-
-
- An Action<bool> delegate that references the method(s) called when
- the send is complete. A passed to this delegate is true
- if the send is complete successfully.
-
-
-
-
- Sends text asynchronously using the WebSocket connection.
-
-
- This method doesn't wait for the send to be complete.
-
-
- A that represents the text data to send.
-
-
- An Action<bool> delegate that references the method(s) called when
- the send is complete. A passed to this delegate is true
- if the send is complete successfully.
-
-
-
-
- Sends binary data from the specified asynchronously using
- the WebSocket connection.
-
-
- This method doesn't wait for the send to be complete.
-
-
- A from which contains the binary data to send.
-
-
- An that represents the number of bytes to send.
-
-
- An Action<bool> delegate that references the method(s) called when
- the send is complete. A passed to this delegate is true
- if the send is complete successfully.
-
-
-
-
- Sets an HTTP to send with
- the WebSocket handshake request to the server.
-
-
- A that represents the cookie to send.
-
-
-
-
- Sets a pair of and for
- the HTTP authentication (Basic/Digest).
-
-
- A that represents the user name used to authenticate.
-
-
- A that represents the password for
- used to authenticate.
-
-
- true if the sends the Basic authentication credentials with
- the first handshake request to the server; otherwise, false.
-
-
-
-
- Sets an HTTP proxy server URL to connect through, and if necessary,
- a pair of and for
- the proxy server authentication (Basic/Digest).
-
-
- A that represents the proxy server URL to connect through.
-
-
- A that represents the user name used to authenticate.
-
-
- A that represents the password for
- used to authenticate.
-
-
-
-
- Closes the WebSocket connection, and releases all associated resources.
-
-
- This method closes the connection with .
-
-
-
-
- Gets or sets the compression method used to compress a message on the WebSocket connection.
-
-
- One of the enum values, specifies the compression method
- used to compress a message. The default value is .
-
-
-
-
- Gets the HTTP cookies included in the WebSocket handshake request and response.
-
-
- An
- instance that provides an enumerator which supports the iteration over the collection of
- the cookies.
-
-
-
-
- Gets the credentials for the HTTP authentication (Basic/Digest).
-
-
- A that represents the credentials for
- the authentication. The default value is .
-
-
-
-
- Gets or sets a value indicating whether the emits
- a event when receives a ping.
-
-
- true if the emits a event
- when receives a ping; otherwise, false. The default value is false.
-
-
-
-
- Gets or sets a value indicating whether the redirects
- the handshake request to the new URL located in the handshake response.
-
-
- true if the redirects the handshake request to
- the new URL; otherwise, false. The default value is false.
-
-
-
-
- Gets the WebSocket extensions selected by the server.
-
-
- A that represents the extensions if any.
- The default value is .
-
-
-
-
- Gets a value indicating whether the WebSocket connection is alive.
-
-
- true if the connection is alive; otherwise, false.
-
-
-
-
- Gets a value indicating whether the WebSocket connection is secure.
-
-
- true if the connection is secure; otherwise, false.
-
-
-
-
- Gets the logging functions.
-
-
- The default logging level is . If you would like to change it,
- you should set this Log.Level property to any of the enum
- values.
-
-
- A that provides the logging functions.
-
-
-
-
- Gets or sets the value of the HTTP Origin header to send with
- the WebSocket handshake request to the server.
-
-
- The sends the Origin header if this property has any.
-
-
-
- A that represents the value of
- the Origin header to send.
- The default value is .
-
-
- The Origin header has the following syntax:
- <scheme>://<host>[:<port>]
-
-
-
-
-
- Gets the WebSocket subprotocol selected by the server.
-
-
- A that represents the subprotocol if any.
- The default value is .
-
-
-
-
- Gets the state of the WebSocket connection.
-
-
- One of the enum values, indicates the state of the connection.
- The default value is .
-
-
-
-
- Gets or sets the SSL configuration used to authenticate the server and
- optionally the client for secure connection.
-
-
- A that represents the configuration used
- to authenticate the server and optionally the client for secure connection,
- or if the is used in a server.
-
-
-
-
- Gets the WebSocket URL used to connect, or accepted.
-
-
- A that represents the URL used to connect, or accepted.
-
-
-
-
- Gets or sets the wait time for the response to the Ping or Close.
-
-
- A that represents the wait time. The default value is the same as
- 5 seconds, or 1 second if the is used in a server.
-
-
-
-
- Occurs when the WebSocket connection has been closed.
-
-
-
-
- Occurs when the gets an error.
-
-
-
-
- Occurs when the receives a message.
-
-
-
-
- Occurs when the WebSocket connection has been established.
-
-
-
-
- Provides a WebSocket protocol server.
-
-
- The WebSocketServer class can provide multiple WebSocket services.
-
-
-
-
- Initializes a new instance of the class.
-
-
- An instance initialized by this constructor listens for the incoming connection requests on
- port 80.
-
-
-
-
- Initializes a new instance of the class with
- the specified .
-
-
-
- An instance initialized by this constructor listens for the incoming connection requests
- on .
-
-
- If is 443, that instance provides a secure connection.
-
-
-
- An that represents the port number on which to listen.
-
-
- isn't between 1 and 65535 inclusive.
-
-
-
-
- Initializes a new instance of the class with
- the specified WebSocket URL.
-
-
-
- An instance initialized by this constructor listens for the incoming connection requests
- on the host name and port in .
-
-
- If doesn't include a port, either port 80 or 443 is used on
- which to listen. It's determined by the scheme (ws or wss) in .
- (Port 80 if the scheme is ws.)
-
-
-
- A that represents the WebSocket URL of the server.
-
-
- is .
-
-
-
- is empty.
-
-
- -or-
-
-
- is invalid.
-
-
-
-
-
- Initializes a new instance of the class with
- the specified and .
-
-
- An instance initialized by this constructor listens for the incoming connection requests on
- .
-
-
- An that represents the port number on which to listen.
-
-
- A that indicates providing a secure connection or not.
- (true indicates providing a secure connection.)
-
-
- isn't between 1 and 65535 inclusive.
-
-
-
-
- Initializes a new instance of the class with
- the specified and .
-
-
-
- An instance initialized by this constructor listens for the incoming connection requests
- on and .
-
-
- If is 443, that instance provides a secure connection.
-
-
-
- A that represents the local IP address of the server.
-
-
- An that represents the port number on which to listen.
-
-
- is .
-
-
- isn't a local IP address.
-
-
- isn't between 1 and 65535 inclusive.
-
-
-
-
- Initializes a new instance of the class with
- the specified , ,
- and .
-
-
- An instance initialized by this constructor listens for the incoming connection requests on
- and .
-
-
- A that represents the local IP address of the server.
-
-
- An that represents the port number on which to listen.
-
-
- A that indicates providing a secure connection or not.
- (true indicates providing a secure connection.)
-
-
- is .
-
-
- isn't a local IP address.
-
-
- isn't between 1 and 65535 inclusive.
-
-
-
-
- Adds a WebSocket service with the specified behavior, ,
- and .
-
-
-
- This method converts to URL-decoded string,
- and removes '/' from tail end of .
-
-
- returns an initialized specified typed
- instance.
-
-
-
- A that represents the absolute path to the service to add.
-
-
- A Func<T> delegate that references the method used to initialize
- a new specified typed instance (a new
- instance).
-
-
- The type of the behavior of the service to add. The TBehavior must inherit
- the class.
-
-
-
-
- Adds a WebSocket service with the specified behavior and .
-
-
- This method converts to URL-decoded string,
- and removes '/' from tail end of .
-
-
- A that represents the absolute path to the service to add.
-
-
- The type of the behavior of the service to add. The TBehaviorWithNew must inherit
- the class, and must have a public parameterless
- constructor.
-
-
-
-
- Removes the WebSocket service with the specified .
-
-
- This method converts to URL-decoded string,
- and removes '/' from tail end of .
-
-
- true if the service is successfully found and removed; otherwise, false.
-
-
- A that represents the absolute path to the service to find.
-
-
-
-
- Starts receiving the WebSocket connection requests.
-
-
-
-
- Stops receiving the WebSocket connection requests.
-
-
-
-
- Stops receiving the WebSocket connection requests with
- the specified and .
-
-
- A that represents the status code indicating the reason for the stop.
-
-
- A that represents the reason for the stop.
-
-
-
-
- Stops receiving the WebSocket connection requests with
- the specified and .
-
-
- One of the enum values, represents the status code indicating
- the reason for the stop.
-
-
- A that represents the reason for the stop.
-
-
-
-
- Gets the local IP address of the server.
-
-
- A that represents the local IP address of the server.
-
-
-
-
- Gets or sets the scheme used to authenticate the clients.
-
-
- One of the enum values,
- indicates the scheme used to authenticate the clients. The default value is
- .
-
-
-
-
- Gets a value indicating whether the server has started.
-
-
- true if the server has started; otherwise, false.
-
-
-
-
- Gets a value indicating whether the server provides a secure connection.
-
-
- true if the server provides a secure connection; otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether the server cleans up
- the inactive sessions periodically.
-
-
- true if the server cleans up the inactive sessions every 60 seconds;
- otherwise, false. The default value is true.
-
-
-
-
- Gets the logging functions.
-
-
- The default logging level is . If you would like to change it,
- you should set the Log.Level property to any of the enum
- values.
-
-
- A that provides the logging functions.
-
-
-
-
- Gets the port on which to listen for incoming connection requests.
-
-
- An that represents the port number on which to listen.
-
-
-
-
- Gets or sets the name of the realm associated with the server.
-
-
- If this property is or empty, "SECRET AREA" will be used as
- the name of the realm.
-
-
- A that represents the name of the realm. The default value is
- .
-
-
-
-
- Gets or sets a value indicating whether the server is allowed to be bound to
- an address that is already in use.
-
-
- If you would like to resolve to wait for socket in TIME_WAIT state,
- you should set this property to true.
-
-
- true if the server is allowed to be bound to an address that is already in use;
- otherwise, false. The default value is false.
-
-
-
-
- Gets or sets the SSL configuration used to authenticate the server and
- optionally the client for secure connection.
-
-
- A that represents the configuration used to
- authenticate the server and optionally the client for secure connection.
-
-
-
-
- Gets or sets the delegate called to find the credentials for an identity used to
- authenticate a client.
-
-
- A Func<, > delegate
- that references the method(s) used to find the credentials. The default value is
- .
-
-
-
-
- Gets or sets the wait time for the response to the WebSocket Ping or Close.
-
-
- A that represents the wait time. The default value is
- the same as 1 second.
-
-
-
-
- Gets the access to the WebSocket services provided by the server.
-
-
- A that manages the WebSocket services.
-
-
-
-
- Specifies the scheme for authentication.
-
-
-
-
- No authentication is allowed.
-
-
-
-
- Specifies digest authentication.
-
-
-
-
- Specifies basic authentication.
-
-
-
-
- Specifies anonymous authentication.
-
-
-
-
- Provides a set of methods and properties used to manage an HTTP Cookie.
-
-
-
- The Cookie class supports the following cookie formats:
- Netscape specification,
- RFC 2109, and
- RFC 2965
-
-
- The Cookie class cannot be inherited.
-
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class with the specified
- and .
-
-
- A that represents the Name of the cookie.
-
-
- A that represents the Value of the cookie.
-
-
-
- is or empty.
-
-
- - or -
-
-
- contains an invalid character.
-
-
- - or -
-
-
- is .
-
-
- - or -
-
-
- contains a string not enclosed in double quotes
- that contains an invalid character.
-
-
-
-
-
- Initializes a new instance of the class with the specified
- , , and .
-
-
- A that represents the Name of the cookie.
-
-
- A that represents the Value of the cookie.
-
-
- A that represents the value of the Path attribute of the cookie.
-
-
-
- is or empty.
-
-
- - or -
-
-
- contains an invalid character.
-
-
- - or -
-
-
- is .
-
-
- - or -
-
-
- contains a string not enclosed in double quotes
- that contains an invalid character.
-
-
-
-
-
- Initializes a new instance of the class with the specified
- , , , and
- .
-
-
- A that represents the Name of the cookie.
-
-
- A that represents the Value of the cookie.
-
-
- A that represents the value of the Path attribute of the cookie.
-
-
- A that represents the value of the Domain attribute of the cookie.
-
-
-
- is or empty.
-
-
- - or -
-
-
- contains an invalid character.
-
-
- - or -
-
-
- is .
-
-
- - or -
-
-
- contains a string not enclosed in double quotes
- that contains an invalid character.
-
-
-
-
-
- Determines whether the specified is equal to the current
- .
-
-
- An to compare with the current .
-
-
- true if is equal to the current ;
- otherwise, false.
-
-
-
-
- Serves as a hash function for a object.
-
-
- An that represents the hash code for the current .
-
-
-
-
- Returns a that represents the current .
-
-
- This method returns a to use to send an HTTP Cookie to
- an origin server.
-
-
- A that represents the current .
-
-
-
-
- Gets or sets the value of the Comment attribute of the cookie.
-
-
- A that represents the comment to document intended use of the cookie.
-
-
-
-
- Gets or sets the value of the CommentURL attribute of the cookie.
-
-
- A that represents the URI that provides the comment to document intended
- use of the cookie.
-
-
-
-
- Gets or sets a value indicating whether the client discards the cookie unconditionally
- when the client terminates.
-
-
- true if the client discards the cookie unconditionally when the client terminates;
- otherwise, false. The default value is false.
-
-
-
-
- Gets or sets the value of the Domain attribute of the cookie.
-
-
- A that represents the URI for which the cookie is valid.
-
-
-
-
- Gets or sets a value indicating whether the cookie has expired.
-
-
- true if the cookie has expired; otherwise, false.
- The default value is false.
-
-
-
-
- Gets or sets the value of the Expires attribute of the cookie.
-
-
- A that represents the date and time at which the cookie expires.
- The default value is .
-
-
-
-
- Gets or sets a value indicating whether non-HTTP APIs can access the cookie.
-
-
- true if non-HTTP APIs cannot access the cookie; otherwise, false.
- The default value is false.
-
-
-
-
- Gets or sets the Name of the cookie.
-
-
- A that represents the Name of the cookie.
-
-
-
- The value specified for a set operation is or empty.
-
-
- - or -
-
-
- The value specified for a set operation contains an invalid character.
-
-
-
-
-
- Gets or sets the value of the Path attribute of the cookie.
-
-
- A that represents the subset of URI on the origin server
- to which the cookie applies.
-
-
-
-
- Gets or sets the value of the Port attribute of the cookie.
-
-
- A that represents the list of TCP ports to which the cookie applies.
-
-
- The value specified for a set operation isn't enclosed in double quotes or
- couldn't be parsed.
-
-
-
-
- Gets or sets a value indicating whether the security level of the cookie is secure.
-
-
- When this property is true, the cookie may be included in the HTTP request
- only if the request is transmitted over the HTTPS.
-
-
- true if the security level of the cookie is secure; otherwise, false.
- The default value is false.
-
-
-
-
- Gets the time when the cookie was issued.
-
-
- A that represents the time when the cookie was issued.
-
-
-
-
- Gets or sets the Value of the cookie.
-
-
- A that represents the Value of the cookie.
-
-
-
- The value specified for a set operation is .
-
-
- - or -
-
-
- The value specified for a set operation contains a string not enclosed in double quotes
- that contains an invalid character.
-
-
-
-
-
- Gets or sets the value of the Version attribute of the cookie.
-
-
- An that represents the version of the HTTP state management
- to which the cookie conforms.
-
-
- The value specified for a set operation isn't 0 or 1.
-
-
-
-
- Provides a collection container for instances of the class.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Adds the specified to the collection.
-
-
- A to add.
-
-
- is .
-
-
-
-
- Adds the specified to the collection.
-
-
- A that contains the cookies to add.
-
-
- is .
-
-
-
-
- Copies the elements of the collection to the specified , starting at
- the specified in the .
-
-
- An that represents the destination of the elements copied from
- the collection.
-
-
- An that represents the zero-based index in
- at which copying begins.
-
-
- is .
-
-
- is less than zero.
-
-
-
- is multidimensional.
-
-
- -or-
-
-
- The number of elements in the collection is greater than the available space from
- to the end of the destination .
-
-
-
- The elements in the collection cannot be cast automatically to the type of the destination
- .
-
-
-
-
- Copies the elements of the collection to the specified array of ,
- starting at the specified in the .
-
-
- An array of that represents the destination of the elements
- copied from the collection.
-
-
- An that represents the zero-based index in
- at which copying begins.
-
-
- is .
-
-
- is less than zero.
-
-
- The number of elements in the collection is greater than the available space from
- to the end of the destination .
-
-
-
-
- Gets the enumerator used to iterate through the collection.
-
-
- An instance used to iterate through the collection.
-
-
-
-
- Gets the number of cookies in the collection.
-
-
- An that represents the number of cookies in the collection.
-
-
-
-
- Gets a value indicating whether the collection is read-only.
-
-
- true if the collection is read-only; otherwise, false.
- The default value is true.
-
-
-
-
- Gets a value indicating whether the access to the collection is thread safe.
-
-
- true if the access to the collection is thread safe; otherwise, false.
- The default value is false.
-
-
-
-
- Gets the at the specified from
- the collection.
-
-
- A at the specified in the collection.
-
-
- An that represents the zero-based index of the
- to find.
-
-
- is out of allowable range of indexes for the collection.
-
-
-
-
- Gets the with the specified from
- the collection.
-
-
- A with the specified in the collection.
-
-
- A that represents the name of the to find.
-
-
- is .
-
-
-
-
- Gets an object used to synchronize access to the collection.
-
-
- An used to synchronize access to the collection.
-
-
-
-
- The exception that is thrown when a gets an error.
-
-
-
-
- Initializes a new instance of the class from
- the specified and .
-
-
- A that contains the serialized object data.
-
-
- A that specifies the source for the deserialization.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Populates the specified with the data needed to serialize
- the current .
-
-
- A that holds the serialized object data.
-
-
- A that specifies the destination for the serialization.
-
-
-
-
- Populates the specified with the data needed to serialize
- the current .
-
-
- A that holds the serialized object data.
-
-
- A that specifies the destination for the serialization.
-
-
-
-
- Provides a simple, programmatically controlled HTTP listener.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Shuts down the listener immediately.
-
-
-
-
- Begins getting an incoming request asynchronously.
-
-
- This asynchronous operation must be completed by calling the EndGetContext method.
- Typically, the method is invoked by the delegate.
-
-
- An that represents the status of the asynchronous operation.
-
-
- An delegate that references the method to invoke when
- the asynchronous operation completes.
-
-
- An that represents a user defined object to pass to
- the delegate.
-
-
-
- This listener has no URI prefix on which listens.
-
-
- -or-
-
-
- This listener hasn't been started, or is currently stopped.
-
-
-
- This listener has been closed.
-
-
-
-
- Shuts down the listener.
-
-
-
-
- Ends an asynchronous operation to get an incoming request.
-
-
- This method completes an asynchronous operation started by calling
- the BeginGetContext method.
-
-
- A that represents a request.
-
-
- An obtained by calling the BeginGetContext method.
-
-
- is .
-
-
- wasn't obtained by calling the BeginGetContext method.
-
-
- This method was already called for the specified .
-
-
- This listener has been closed.
-
-
-
-
- Gets an incoming request.
-
-
- This method waits for an incoming request, and returns when a request is received.
-
-
- A that represents a request.
-
-
-
- This listener has no URI prefix on which listens.
-
-
- -or-
-
-
- This listener hasn't been started, or is currently stopped.
-
-
-
- This listener has been closed.
-
-
-
-
- Starts receiving incoming requests.
-
-
- This listener has been closed.
-
-
-
-
- Stops receiving incoming requests.
-
-
- This listener has been closed.
-
-
-
-
- Releases all resources used by the listener.
-
-
-
-
- Gets or sets the scheme used to authenticate the clients.
-
-
- One of the enum values,
- represents the scheme used to authenticate the clients. The default value is
- .
-
-
- This listener has been closed.
-
-
-
-
- Gets or sets the delegate called to select the scheme used to authenticate the clients.
-
-
- If you set this property, the listener uses the authentication scheme selected by
- the delegate for each request. Or if you don't set, the listener uses the value of
- the property as the authentication
- scheme for all requests.
-
-
- A Func<, >
- delegate that references the method used to select an authentication scheme. The default
- value is .
-
-
- This listener has been closed.
-
-
-
-
- Gets or sets the path to the folder in which stores the certificate files used to
- authenticate the server on the secure connection.
-
-
-
- This property represents the path to the folder in which stores the certificate files
- associated with each port number of added URI prefixes. A set of the certificate files
- is a pair of the 'port number'.cer (DER) and 'port number'.key
- (DER, RSA Private Key).
-
-
- If this property is or empty, the result of
- System.Environment.GetFolderPath
- () is used as the default path.
-
-
-
- A that represents the path to the folder in which stores
- the certificate files. The default value is .
-
-
- This listener has been closed.
-
-
-
-
- Gets or sets a value indicating whether the listener returns exceptions that occur when
- sending the response to the client.
-
-
- true if the listener shouldn't return those exceptions; otherwise, false.
- The default value is false.
-
-
- This listener has been closed.
-
-
-
-
- Gets a value indicating whether the listener has been started.
-
-
- true if the listener has been started; otherwise, false.
-
-
-
-
- Gets a value indicating whether the listener can be used with the current operating system.
-
-
- true.
-
-
-
-
- Gets the logging functions.
-
-
- The default logging level is . If you would like to change it,
- you should set the Log.Level property to any of the enum
- values.
-
-
- A that provides the logging functions.
-
-
-
-
- Gets the URI prefixes handled by the listener.
-
-
- A that contains the URI prefixes.
-
-
- This listener has been closed.
-
-
-
-
- Gets or sets the name of the realm associated with the listener.
-
-
- If this property is or empty, "SECRET AREA" will be used as
- the name of the realm.
-
-
- A that represents the name of the realm. The default value is
- .
-
-
- This listener has been closed.
-
-
-
-
- Gets or sets the SSL configuration used to authenticate the server and
- optionally the client for secure connection.
-
-
- A that represents the configuration used to
- authenticate the server and optionally the client for secure connection.
-
-
- This listener has been closed.
-
-
-
-
- Gets or sets a value indicating whether, when NTLM authentication is used,
- the authentication information of first request is used to authenticate
- additional requests on the same connection.
-
-
- This property isn't currently supported and always throws
- a .
-
-
- true if the authentication information of first request is used;
- otherwise, false.
-
-
- Any use of this property.
-
-
-
-
- Gets or sets the delegate called to find the credentials for an identity used to
- authenticate a client.
-
-
- A Func<, > delegate
- that references the method used to find the credentials. The default value is
- .
-
-
- This listener has been closed.
-
-
-
-
- Provides the access to the HTTP request and response objects used by
- the .
-
-
- This class cannot be inherited.
-
-
-
-
- Accepts a WebSocket handshake request.
-
-
- A that represents
- the WebSocket handshake request.
-
-
- A that represents the subprotocol supported on
- this WebSocket connection.
-
-
-
- is empty.
-
-
- -or-
-
-
- contains an invalid character.
-
-
-
- This method has already been called.
-
-
-
-
- Gets the HTTP request object that represents a client request.
-
-
- A that represents the client request.
-
-
-
-
- Gets the HTTP response object used to send a response to the client.
-
-
- A that represents a response to the client request.
-
-
-
-
- Gets the client information (identity, authentication, and security roles).
-
-
- A instance that represents the client information.
-
-
-
-
- The exception that is thrown when a gets an error
- processing an HTTP request.
-
-
-
-
- Initializes a new instance of the class from
- the specified and .
-
-
- A that contains the serialized object data.
-
-
- A that specifies the source for the deserialization.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- with the specified .
-
-
- An that identifies the error.
-
-
-
-
- Initializes a new instance of the class
- with the specified and .
-
-
- An that identifies the error.
-
-
- A that describes the error.
-
-
-
-
- Gets the error code that identifies the error that occurred.
-
-
- An that identifies the error.
-
-
-
-
- Provides the collection used to store the URI prefixes for the .
-
-
- The responds to the request which has a requested URI that
- the prefixes most closely match.
-
-
-
-
- Adds the specified to the collection.
-
-
- A that represents the URI prefix to add. The prefix must be
- a well-formed URI prefix with http or https scheme, and must end with a '/'.
-
-
- is .
-
-
- is invalid.
-
-
- The associated with this collection is closed.
-
-
-
-
- Removes all URI prefixes from the collection.
-
-
- The associated with this collection is closed.
-
-
-
-
- Returns a value indicating whether the collection contains the specified
- .
-
-
- true if the collection contains ;
- otherwise, false.
-
-
- A that represents the URI prefix to test.
-
-
- is .
-
-
- The associated with this collection is closed.
-
-
-
-
- Copies the contents of the collection to the specified .
-
-
- An that receives the URI prefix strings in the collection.
-
-
- An that represents the zero-based index in
- at which copying begins.
-
-
- The associated with this collection is closed.
-
-
-
-
- Copies the contents of the collection to the specified array of .
-
-
- An array of that receives the URI prefix strings in the collection.
-
-
- An that represents the zero-based index in
- at which copying begins.
-
-
- The associated with this collection is closed.
-
-
-
-
- Gets the enumerator used to iterate through the .
-
-
- An instance used to iterate
- through the collection.
-
-
-
-
- Removes the specified from the collection.
-
-
- true if is successfully found and removed;
- otherwise, false.
-
-
- A that represents the URI prefix to remove.
-
-
- is .
-
-
- The associated with this collection is closed.
-
-
-
-
- Gets the enumerator used to iterate through the .
-
-
- An instance used to iterate through the collection.
-
-
-
-
- Gets the number of prefixes in the collection.
-
-
- An that represents the number of prefixes.
-
-
-
-
- Gets a value indicating whether the access to the collection is read-only.
-
-
- Always returns false.
-
-
-
-
- Gets a value indicating whether the access to the collection is synchronized.
-
-
- Always returns false.
-
-
-
-
- Provides the access to a request to the .
-
-
- The HttpListenerRequest class cannot be inherited.
-
-
-
-
- Begins getting the client's X.509 v.3 certificate asynchronously.
-
-
- This asynchronous operation must be completed by calling
- the method. Typically,
- that method is invoked by the delegate.
-
-
- An that contains the status of the asynchronous operation.
-
-
- An delegate that references the method(s) called when
- the asynchronous operation completes.
-
-
- An that contains a user defined object to pass to
- the delegate.
-
-
- This method isn't implemented.
-
-
-
-
- Ends an asynchronous operation to get the client's X.509 v.3 certificate.
-
-
- This method completes an asynchronous operation started by calling
- the method.
-
-
- A that contains the client's X.509 v.3 certificate.
-
-
- An obtained by calling
- the method.
-
-
- This method isn't implemented.
-
-
-
-
- Gets the client's X.509 v.3 certificate.
-
-
- A that contains the client's X.509 v.3 certificate.
-
-
- This method isn't implemented.
-
-
-
-
- Returns a that represents
- the current .
-
-
- A that represents the current .
-
-
-
-
- Gets the media types which are acceptable for the response.
-
-
- An array of that contains the media type names in
- the Accept request-header, or if the request didn't include
- the Accept header.
-
-
-
-
- Gets an error code that identifies a problem with the client's certificate.
-
-
- Always returns 0.
-
-
-
-
- Gets the encoding for the entity body data included in the request.
-
-
- A that represents the encoding for the entity body data,
- or if the request didn't include the information about
- the encoding.
-
-
-
-
- Gets the number of bytes in the entity body data included in the request.
-
-
- A that represents the value of the Content-Length entity-header,
- or -1 if the value isn't known.
-
-
-
-
- Gets the media type of the entity body included in the request.
-
-
- A that represents the value of the Content-Type entity-header.
-
-
-
-
- Gets the cookies included in the request.
-
-
- A that contains the cookies included in the request.
-
-
-
-
- Gets a value indicating whether the request has the entity body.
-
-
- true if the request has the entity body; otherwise, false.
-
-
-
-
- Gets the HTTP headers used in the request.
-
-
- A that contains the HTTP headers used in the request.
-
-
-
-
- Gets the HTTP method used in the request.
-
-
- A that represents the HTTP method used in the request.
-
-
-
-
- Gets a that contains the entity body data included in the request.
-
-
- A that contains the entity body data included in the request.
-
-
-
-
- Gets a value indicating whether the client that sent the request is authenticated.
-
-
- true if the client is authenticated; otherwise, false.
-
-
-
-
- Gets a value indicating whether the request is sent from the local computer.
-
-
- true if the request is sent from the local computer; otherwise, false.
-
-
-
-
- Gets a value indicating whether the HTTP connection is secured using the SSL protocol.
-
-
- true if the HTTP connection is secured; otherwise, false.
-
-
-
-
- Gets a value indicating whether the request is a WebSocket connection request.
-
-
- true if the request is a WebSocket connection request; otherwise, false.
-
-
-
-
- Gets a value indicating whether the client requests a persistent connection.
-
-
- true if the client requests a persistent connection; otherwise, false.
-
-
-
-
- Gets the server endpoint as an IP address and a port number.
-
-
- A that represents the server endpoint.
-
-
-
-
- Gets the HTTP version used in the request.
-
-
- A that represents the HTTP version used in the request.
-
-
-
-
- Gets the query string included in the request.
-
-
- A that contains the query string parameters.
-
-
-
-
- Gets the raw URL (without the scheme, host, and port) requested by the client.
-
-
- A that represents the raw URL requested by the client.
-
-
-
-
- Gets the client endpoint as an IP address and a port number.
-
-
- A that represents the client endpoint.
-
-
-
-
- Gets the request identifier of a incoming HTTP request.
-
-
- A that represents the identifier of a request.
-
-
-
-
- Gets the URL requested by the client.
-
-
- A that represents the URL requested by the client.
-
-
-
-
- Gets the URL of the resource from which the requested URL was obtained.
-
-
- A that represents the value of the Referer request-header,
- or if the request didn't include an Referer header.
-
-
-
-
- Gets the information about the user agent originating the request.
-
-
- A that represents the value of the User-Agent request-header.
-
-
-
-
- Gets the server endpoint as an IP address and a port number.
-
-
- A that represents the server endpoint.
-
-
-
-
- Gets the internet host name and port number (if present) specified by the client.
-
-
- A that represents the value of the Host request-header.
-
-
-
-
- Gets the natural languages which are preferred for the response.
-
-
- An array of that contains the natural language names in
- the Accept-Language request-header, or if the request
- didn't include an Accept-Language header.
-
-
-
-
- Provides the access to a response to a request received by the .
-
-
- The HttpListenerResponse class cannot be inherited.
-
-
-
-
- Closes the connection to the client without returning a response.
-
-
-
-
- Adds an HTTP header with the specified and
- to the headers for the response.
-
-
- A that represents the name of the header to add.
-
-
- A that represents the value of the header to add.
-
-
- is or empty.
-
-
-
- or contains invalid characters.
-
-
- -or-
-
-
- is a restricted header name.
-
-
-
- The length of is greater than 65,535 characters.
-
-
- The header cannot be allowed to add to the current headers.
-
-
-
-
- Appends the specified to the cookies sent with the response.
-
-
- A to append.
-
-
- is .
-
-
-
-
- Appends a to the specified HTTP header sent with the response.
-
-
- A that represents the name of the header to append
- to.
-
-
- A that represents the value to append to the header.
-
-
- is or empty.
-
-
-
- or contains invalid characters.
-
-
- -or-
-
-
- is a restricted header name.
-
-
-
- The length of is greater than 65,535 characters.
-
-
- The current headers cannot allow the header to append a value.
-
-
-
-
- Returns the response to the client and releases the resources used by
- this instance.
-
-
-
-
- Returns the response with the specified array of to the client and
- releases the resources used by this instance.
-
-
- An array of that contains the response entity body data.
-
-
- true if this method blocks execution while flushing the stream to the client;
- otherwise, false.
-
-
- is .
-
-
- This object is closed.
-
-
-
-
- Copies some properties from the specified to
- this response.
-
-
- A to copy.
-
-
- is .
-
-
-
-
- Configures the response to redirect the client's request to
- the specified .
-
-
- This method sets the property to
- , the property to
- 302, and the property to
- "Found".
-
-
- A that represents the URL to redirect the client's request to.
-
-
- is .
-
-
- isn't an absolute URL.
-
-
- The response has already been sent.
-
-
- This object is closed.
-
-
-
-
- Adds or updates a in the cookies sent with the response.
-
-
- A to set.
-
-
- is .
-
-
- already exists in the cookies and couldn't be replaced.
-
-
-
-
- Releases all resources used by the .
-
-
-
-
- Gets or sets the encoding for the entity body data included in the response.
-
-
- A that represents the encoding for the entity body data,
- or if no encoding is specified.
-
-
- This object is closed.
-
-
-
-
- Gets or sets the number of bytes in the entity body data included in the response.
-
-
- A that represents the value of the Content-Length entity-header.
-
-
- The value specified for a set operation is less than zero.
-
-
- The response has already been sent.
-
-
- This object is closed.
-
-
-
-
- Gets or sets the media type of the entity body included in the response.
-
-
- A that represents the media type of the entity body,
- or if no media type is specified. This value is
- used for the value of the Content-Type entity-header.
-
-
- The value specified for a set operation is empty.
-
-
- This object is closed.
-
-
-
-
- Gets or sets the cookies sent with the response.
-
-
- A that contains the cookies sent with the response.
-
-
-
-
- Gets or sets the HTTP headers sent to the client.
-
-
- A that contains the headers sent to the client.
-
-
- The value specified for a set operation isn't valid for a response.
-
-
-
-
- Gets or sets a value indicating whether the server requests a persistent connection.
-
-
- true if the server requests a persistent connection; otherwise, false.
- The default value is true.
-
-
- The response has already been sent.
-
-
- This object is closed.
-
-
-
-
- Gets a to use to write the entity body data.
-
-
- A to use to write the entity body data.
-
-
- This object is closed.
-
-
-
-
- Gets or sets the HTTP version used in the response.
-
-
- A that represents the version used in the response.
-
-
- The value specified for a set operation is .
-
-
- The value specified for a set operation doesn't have its Major property set to 1 or
- doesn't have its Minor property set to either 0 or 1.
-
-
- The response has already been sent.
-
-
- This object is closed.
-
-
-
-
- Gets or sets the URL to which the client is redirected to locate a requested resource.
-
-
- A that represents the value of the Location response-header,
- or if no redirect location is specified.
-
-
- The value specified for a set operation isn't an absolute URL.
-
-
- This object is closed.
-
-
-
-
- Gets or sets a value indicating whether the response uses the chunked transfer encoding.
-
-
- true if the response uses the chunked transfer encoding;
- otherwise, false. The default value is false.
-
-
- The response has already been sent.
-
-
- This object is closed.
-
-
-
-
- Gets or sets the HTTP status code returned to the client.
-
-
- An that represents the status code for the response to
- the request. The default value is same as .
-
-
- The response has already been sent.
-
-
- This object is closed.
-
-
- The value specified for a set operation is invalid. Valid values are
- between 100 and 999 inclusive.
-
-
-
-
- Gets or sets the description of the HTTP status code returned to the client.
-
-
- A that represents the description of the status code. The default
- value is the RFC 2616
- description for the property value,
- or if an RFC 2616 description doesn't exist.
-
-
- The value specified for a set operation contains invalid characters.
-
-
- The response has already been sent.
-
-
- This object is closed.
-
-
-
-
- Decodes an HTML-encoded and returns the decoded .
-
-
- A that represents the decoded string.
-
-
- A to decode.
-
-
-
-
- Decodes an HTML-encoded and sends the decoded
- to the specified .
-
-
- A to decode.
-
-
- A that receives the decoded string.
-
-
-
-
- HTML-encodes a and returns the encoded .
-
-
- A that represents the encoded string.
-
-
- A to encode.
-
-
-
-
- HTML-encodes a and sends the encoded
- to the specified .
-
-
- A to encode.
-
-
- A that receives the encoded string.
-
-
-
-
- Provides a collection of the HTTP headers associated with a request or response.
-
-
-
-
- Initializes a new instance of the class from
- the specified and .
-
-
- A that contains the serialized object data.
-
-
- A that specifies the source for the deserialization.
-
-
- is .
-
-
- An element with the specified name isn't found in .
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Adds a header to the collection without checking if the header is on
- the restricted header list.
-
-
- A that represents the name of the header to add.
-
-
- A that represents the value of the header to add.
-
-
- is or empty.
-
-
- or contains invalid characters.
-
-
- The length of is greater than 65,535 characters.
-
-
- The current instance doesn't allow
- the .
-
-
-
-
- Adds the specified to the collection.
-
-
- A that represents the header with the name and value separated by
- a colon (':').
-
-
- is , empty, or the name part of
- is empty.
-
-
-
- doesn't contain a colon.
-
-
- -or-
-
-
- is a restricted header.
-
-
- -or-
-
-
- The name or value part of contains invalid characters.
-
-
-
- The length of the value part of is greater than 65,535 characters.
-
-
- The current instance doesn't allow
- the .
-
-
-
-
- Adds the specified request with
- the specified to the collection.
-
-
- One of the enum values, represents
- the request header to add.
-
-
- A that represents the value of the header to add.
-
-
-
- is a restricted header.
-
-
- -or-
-
-
- contains invalid characters.
-
-
-
- The length of is greater than 65,535 characters.
-
-
- The current instance doesn't allow
- the request .
-
-
-
-
- Adds the specified response with
- the specified to the collection.
-
-
- One of the enum values, represents
- the response header to add.
-
-
- A that represents the value of the header to add.
-
-
-
- is a restricted header.
-
-
- -or-
-
-
- contains invalid characters.
-
-
-
- The length of is greater than 65,535 characters.
-
-
- The current instance doesn't allow
- the response .
-
-
-
-
- Adds a header with the specified and
- to the collection.
-
-
- A that represents the name of the header to add.
-
-
- A that represents the value of the header to add.
-
-
- is or empty.
-
-
-
- or contains invalid characters.
-
-
- -or-
-
-
- is a restricted header name.
-
-
-
- The length of is greater than 65,535 characters.
-
-
- The current instance doesn't allow
- the header .
-
-
-
-
- Removes all headers from the collection.
-
-
-
-
- Get the value of the header at the specified in the collection.
-
-
- A that receives the value of the header.
-
-
- An that represents the zero-based index of the header to find.
-
-
- is out of allowable range of indexes for the collection.
-
-
-
-
- Get the value of the header with the specified in the collection.
-
-
- A that receives the value of the header if found;
- otherwise, .
-
-
- A that represents the name of the header to find.
-
-
-
-
- Gets the enumerator used to iterate through the collection.
-
-
- An instance used to iterate through the collection.
-
-
-
-
- Get the name of the header at the specified in the collection.
-
-
- A that receives the header name.
-
-
- An that represents the zero-based index of the header to find.
-
-
- is out of allowable range of indexes for the collection.
-
-
-
-
- Gets an array of header values stored in the specified position of
- the collection.
-
-
- An array of that receives the header values if found;
- otherwise, .
-
-
- An that represents the zero-based index of the header to find.
-
-
- is out of allowable range of indexes for the collection.
-
-
-
-
- Gets an array of header values stored in the specified .
-
-
- An array of that receives the header values if found;
- otherwise, .
-
-
- A that represents the name of the header to find.
-
-
-
-
- Populates the specified with the data needed to serialize
- the .
-
-
- A that holds the serialized object data.
-
-
- A that specifies the destination for the serialization.
-
-
- is .
-
-
-
-
- Determines whether the specified header can be set for the request.
-
-
- true if the header is restricted; otherwise, false.
-
-
- A that represents the name of the header to test.
-
-
- is or empty.
-
-
- contains invalid characters.
-
-
-
-
- Determines whether the specified header can be set for the request or the response.
-
-
- true if the header is restricted; otherwise, false.
-
-
- A that represents the name of the header to test.
-
-
- true if does the test for the response; for the request, false.
-
-
- is or empty.
-
-
- contains invalid characters.
-
-
-
-
- Implements the interface and raises the deserialization event
- when the deserialization is complete.
-
-
- An that represents the source of the deserialization event.
-
-
-
-
- Removes the specified request from the collection.
-
-
- One of the enum values, represents
- the request header to remove.
-
-
- is a restricted header.
-
-
- The current instance doesn't allow
- the request .
-
-
-
-
- Removes the specified response from the collection.
-
-
- One of the enum values, represents
- the response header to remove.
-
-
- is a restricted header.
-
-
- The current instance doesn't allow
- the response .
-
-
-
-
- Removes the specified header from the collection.
-
-
- A that represents the name of the header to remove.
-
-
- is or empty.
-
-
-
- contains invalid characters.
-
-
- -or-
-
-
- is a restricted header name.
-
-
-
- The current instance doesn't allow
- the header .
-
-
-
-
- Sets the specified request to the specified value.
-
-
- One of the enum values, represents
- the request header to set.
-
-
- A that represents the value of the request header to set.
-
-
-
- is a restricted header.
-
-
- -or-
-
-
- contains invalid characters.
-
-
-
- The length of is greater than 65,535 characters.
-
-
- The current instance doesn't allow
- the request .
-
-
-
-
- Sets the specified response to the specified value.
-
-
- One of the enum values, represents
- the response header to set.
-
-
- A that represents the value of the response header to set.
-
-
-
- is a restricted header.
-
-
- -or-
-
-
- contains invalid characters.
-
-
-
- The length of is greater than 65,535 characters.
-
-
- The current instance doesn't allow
- the response .
-
-
-
-
- Sets the specified header to the specified value.
-
-
- A that represents the name of the header to set.
-
-
- A that represents the value of the header to set.
-
-
- is or empty.
-
-
-
- or contains invalid characters.
-
-
- -or-
-
-
- is a restricted header name.
-
-
-
- The length of is greater than 65,535 characters.
-
-
- The current instance doesn't allow
- the header .
-
-
-
-
- Converts the current to an array of .
-
-
- An array of that receives the converted current
- .
-
-
-
-
- Returns a that represents the current
- .
-
-
- A that represents the current .
-
-
-
-
- Populates the specified with the data needed to serialize
- the current .
-
-
- A that holds the serialized object data.
-
-
- A that specifies the destination for the serialization.
-
-
- is .
-
-
-
-
- Gets all header names in the collection.
-
-
- An array of that contains all header names in the collection.
-
-
-
-
- Gets the number of headers in the collection.
-
-
- An that represents the number of headers in the collection.
-
-
-
-
- Gets or sets the specified request in the collection.
-
-
- A that represents the value of the request .
-
-
- One of the enum values, represents
- the request header to get or set.
-
-
-
- is a restricted header.
-
-
- -or-
-
-
- contains invalid characters.
-
-
-
- The length of is greater than 65,535 characters.
-
-
- The current instance doesn't allow
- the request .
-
-
-
-
- Gets or sets the specified response in the collection.
-
-
- A that represents the value of the response .
-
-
- One of the enum values, represents
- the response header to get or set.
-
-
-
- is a restricted header.
-
-
- -or-
-
-
- contains invalid characters.
-
-
-
- The length of is greater than 65,535 characters.
-
-
- The current instance doesn't allow
- the response .
-
-
-
-
- Gets a collection of header names in the collection.
-
-
- A that contains
- all header names in the collection.
-
-
-
-
- Provides a simple HTTP server that allows to accept the WebSocket connection requests.
-
-
- The HttpServer class can provide multiple WebSocket services.
-
-
-
-
- Initializes a new instance of the class.
-
-
- An instance initialized by this constructor listens for the incoming requests on port 80.
-
-
-
-
- Initializes a new instance of the class with
- the specified .
-
-
-
- An instance initialized by this constructor listens for the incoming requests on
- .
-
-
- If is 443, that instance provides a secure connection.
-
-
-
- An that represents the port number on which to listen.
-
-
- isn't between 1 and 65535 inclusive.
-
-
-
-
- Initializes a new instance of the class with
- the specified HTTP URL.
-
-
-
- An instance initialized by this constructor listens for the incoming requests on
- the host name and port in .
-
-
- If doesn't include a port, either port 80 or 443 is used on
- which to listen. It's determined by the scheme (http or https) in .
- (Port 80 if the scheme is http.)
-
-
-
- A that represents the HTTP URL of the server.
-
-
- is .
-
-
-
- is empty.
-
-
- -or-
-
-
- is invalid.
-
-
-
-
-
- Initializes a new instance of the class with
- the specified and .
-
-
- An instance initialized by this constructor listens for the incoming requests on
- .
-
-
- An that represents the port number on which to listen.
-
-
- A that indicates providing a secure connection or not.
- (true indicates providing a secure connection.)
-
-
- isn't between 1 and 65535 inclusive.
-
-
-
-
- Initializes a new instance of the class with
- the specified and .
-
-
-
- An instance initialized by this constructor listens for the incoming requests on
- and .
-
-
- If is 443, that instance provides a secure connection.
-
-
-
- A that represents the local IP address of the server.
-
-
- An that represents the port number on which to listen.
-
-
- is .
-
-
- isn't a local IP address.
-
-
- isn't between 1 and 65535 inclusive.
-
-
-
-
- Initializes a new instance of the class with
- the specified , ,
- and .
-
-
- An instance initialized by this constructor listens for the incoming requests on
- and .
-
-
- A that represents the local IP address of the server.
-
-
- An that represents the port number on which to listen.
-
-
- A that indicates providing a secure connection or not.
- (true indicates providing a secure connection.)
-
-
- is .
-
-
- isn't a local IP address.
-
-
- isn't between 1 and 65535 inclusive.
-
-
-
-
- Adds the WebSocket service with the specified behavior, ,
- and .
-
-
-
- This method converts to URL-decoded string,
- and removes '/' from tail end of .
-
-
- returns an initialized specified typed
- instance.
-
-
-
- A that represents the absolute path to the service to add.
-
-
- A Func<T> delegate that references the method used to initialize
- a new specified typed instance (a new
- instance).
-
-
- The type of the behavior of the service to add. The TBehavior must inherit
- the class.
-
-
-
-
- Adds a WebSocket service with the specified behavior and .
-
-
- This method converts to URL-decoded string,
- and removes '/' from tail end of .
-
-
- A that represents the absolute path to the service to add.
-
-
- The type of the behavior of the service to add. The TBehaviorWithNew must inherit
- the class, and must have a public parameterless
- constructor.
-
-
-
-
- Gets the contents of the file with the specified .
-
-
- An array of that receives the contents of the file,
- or if it doesn't exist.
-
-
- A that represents the virtual path to the file to find.
-
-
-
-
- Removes the WebSocket service with the specified .
-
-
- This method converts to URL-decoded string,
- and removes '/' from tail end of .
-
-
- true if the service is successfully found and removed; otherwise, false.
-
-
- A that represents the absolute path to the service to find.
-
-
-
-
- Starts receiving the HTTP requests.
-
-
-
-
- Stops receiving the HTTP requests.
-
-
-
-
- Stops receiving the HTTP requests with the specified and
- used to stop the WebSocket services.
-
-
- A that represents the status code indicating the reason for the stop.
-
-
- A that represents the reason for the stop.
-
-
-
-
- Stops receiving the HTTP requests with the specified and
- used to stop the WebSocket services.
-
-
- One of the enum values, represents the status code indicating
- the reason for the stop.
-
-
- A that represents the reason for the stop.
-
-
-
-
- Gets the local IP address of the server.
-
-
- A that represents the local IP address of the server.
-
-
-
-
- Gets or sets the scheme used to authenticate the clients.
-
-
- One of the enum values,
- indicates the scheme used to authenticate the clients. The default value is
- .
-
-
-
-
- Gets a value indicating whether the server has started.
-
-
- true if the server has started; otherwise, false.
-
-
-
-
- Gets a value indicating whether the server provides a secure connection.
-
-
- true if the server provides a secure connection; otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether the server cleans up
- the inactive sessions in the WebSocket services periodically.
-
-
- true if the server cleans up the inactive sessions every 60 seconds;
- otherwise, false. The default value is true.
-
-
-
-
- Gets the logging functions.
-
-
- The default logging level is . If you would like to change it,
- you should set the Log.Level property to any of the enum
- values.
-
-
- A that provides the logging functions.
-
-
-
-
- Gets the port on which to listen for incoming requests.
-
-
- An that represents the port number on which to listen.
-
-
-
-
- Gets or sets the name of the realm associated with the server.
-
-
- If this property is or empty, "SECRET AREA" will be used as
- the name of the realm.
-
-
- A that represents the name of the realm. The default value is
- .
-
-
-
-
- Gets or sets a value indicating whether the server is allowed to be bound to
- an address that is already in use.
-
-
- If you would like to resolve to wait for socket in TIME_WAIT state,
- you should set this property to true.
-
-
- true if the server is allowed to be bound to an address that is already in use;
- otherwise, false. The default value is false.
-
-
-
-
- Gets or sets the document root path of the server.
-
-
- A that represents the document root path of the server.
- The default value is "./Public".
-
-
-
-
- Gets or sets the SSL configuration used to authenticate the server and
- optionally the client for secure connection.
-
-
- A that represents the configuration used to
- authenticate the server and optionally the client for secure connection.
-
-
-
-
- Gets or sets the delegate called to find the credentials for an identity used to
- authenticate a client.
-
-
- A Func<, > delegate
- that references the method(s) used to find the credentials. The default value is
- .
-
-
-
-
- Gets or sets the wait time for the response to the WebSocket Ping or Close.
-
-
- A that represents the wait time. The default value is
- the same as 1 second.
-
-
-
-
- Gets the access to the WebSocket services provided by the server.
-
-
- A that manages the WebSocket services.
-
-
-
-
- Occurs when the server receives an HTTP CONNECT request.
-
-
-
-
- Occurs when the server receives an HTTP DELETE request.
-
-
-
-
- Occurs when the server receives an HTTP GET request.
-
-
-
-
- Occurs when the server receives an HTTP HEAD request.
-
-
-
-
- Occurs when the server receives an HTTP OPTIONS request.
-
-
-
-
- Occurs when the server receives an HTTP PATCH request.
-
-
-
-
- Occurs when the server receives an HTTP POST request.
-
-
-
-
- Occurs when the server receives an HTTP PUT request.
-
-
-
-
- Occurs when the server receives an HTTP TRACE request.
-
-
-
-
- Provides the HTTP version numbers.
-
-
-
-
- Provides a instance for the HTTP/1.0.
-
-
-
-
- Provides a instance for the HTTP/1.1.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Contains the values of the HTTP status codes.
-
-
- The HttpStatusCode enumeration contains the values of the HTTP status codes defined in
- RFC 2616 for the HTTP/1.1.
-
-
-
-
- Equivalent to status code 100.
- Indicates that the client should continue with its request.
-
-
-
-
- Equivalent to status code 101.
- Indicates that the server is switching the HTTP version or protocol on the connection.
-
-
-
-
- Equivalent to status code 200.
- Indicates that the client's request has succeeded.
-
-
-
-
- Equivalent to status code 201.
- Indicates that the client's request has been fulfilled and resulted in a new resource being
- created.
-
-
-
-
- Equivalent to status code 202.
- Indicates that the client's request has been accepted for processing, but the processing
- hasn't been completed.
-
-
-
-
- Equivalent to status code 203.
- Indicates that the returned metainformation is from a local or a third-party copy instead of
- the origin server.
-
-
-
-
- Equivalent to status code 204.
- Indicates that the server has fulfilled the client's request but doesn't need to return
- an entity-body.
-
-
-
-
- Equivalent to status code 205.
- Indicates that the server has fulfilled the client's request, and the user agent should
- reset the document view which caused the request to be sent.
-
-
-
-
- Equivalent to status code 206.
- Indicates that the server has fulfilled the partial GET request for the resource.
-
-
-
-
-
- Equivalent to status code 300.
- Indicates that the requested resource corresponds to any of multiple representations.
-
-
- MultipleChoices is a synonym for Ambiguous.
-
-
-
-
-
-
- Equivalent to status code 300.
- Indicates that the requested resource corresponds to any of multiple representations.
-
-
- Ambiguous is a synonym for MultipleChoices.
-
-
-
-
-
-
- Equivalent to status code 301.
- Indicates that the requested resource has been assigned a new permanent URI and
- any future references to this resource should use one of the returned URIs.
-
-
- MovedPermanently is a synonym for Moved.
-
-
-
-
-
-
- Equivalent to status code 301.
- Indicates that the requested resource has been assigned a new permanent URI and
- any future references to this resource should use one of the returned URIs.
-
-
- Moved is a synonym for MovedPermanently.
-
-
-
-
-
-
- Equivalent to status code 302.
- Indicates that the requested resource is located temporarily under a different URI.
-
-
- Found is a synonym for Redirect.
-
-
-
-
-
-
- Equivalent to status code 302.
- Indicates that the requested resource is located temporarily under a different URI.
-
-
- Redirect is a synonym for Found.
-
-
-
-
-
-
- Equivalent to status code 303.
- Indicates that the response to the request can be found under a different URI and
- should be retrieved using a GET method on that resource.
-
-
- SeeOther is a synonym for RedirectMethod.
-
-
-
-
-
-
- Equivalent to status code 303.
- Indicates that the response to the request can be found under a different URI and
- should be retrieved using a GET method on that resource.
-
-
- RedirectMethod is a synonym for SeeOther.
-
-
-
-
-
- Equivalent to status code 304.
- Indicates that the client has performed a conditional GET request and access is allowed,
- but the document hasn't been modified.
-
-
-
-
- Equivalent to status code 305.
- Indicates that the requested resource must be accessed through the proxy given by
- the Location field.
-
-
-
-
- Equivalent to status code 306.
- This status code was used in a previous version of the specification, is no longer used,
- and is reserved for future use.
-
-
-
-
-
- Equivalent to status code 307.
- Indicates that the requested resource is located temporarily under a different URI.
-
-
- TemporaryRedirect is a synonym for RedirectKeepVerb.
-
-
-
-
-
-
- Equivalent to status code 307.
- Indicates that the requested resource is located temporarily under a different URI.
-
-
- RedirectKeepVerb is a synonym for TemporaryRedirect.
-
-
-
-
-
- Equivalent to status code 400.
- Indicates that the client's request couldn't be understood by the server due to
- malformed syntax.
-
-
-
-
- Equivalent to status code 401.
- Indicates that the client's request requires user authentication.
-
-
-
-
- Equivalent to status code 402.
- This status code is reserved for future use.
-
-
-
-
- Equivalent to status code 403.
- Indicates that the server understood the client's request but is refusing to fulfill it.
-
-
-
-
- Equivalent to status code 404.
- Indicates that the server hasn't found anything matching the request URI.
-
-
-
-
- Equivalent to status code 405.
- Indicates that the method specified in the request line isn't allowed for the resource
- identified by the request URI.
-
-
-
-
- Equivalent to status code 406.
- Indicates that the server doesn't have the appropriate resource to respond to the Accept
- headers in the client's request.
-
-
-
-
- Equivalent to status code 407.
- Indicates that the client must first authenticate itself with the proxy.
-
-
-
-
- Equivalent to status code 408.
- Indicates that the client didn't produce a request within the time that the server was
- prepared to wait.
-
-
-
-
- Equivalent to status code 409.
- Indicates that the client's request couldn't be completed due to a conflict on the server.
-
-
-
-
- Equivalent to status code 410.
- Indicates that the requested resource is no longer available at the server and
- no forwarding address is known.
-
-
-
-
- Equivalent to status code 411.
- Indicates that the server refuses to accept the client's request without a defined
- Content-Length.
-
-
-
-
- Equivalent to status code 412.
- Indicates that the precondition given in one or more of the request headers evaluated to
- false when it was tested on the server.
-
-
-
-
- Equivalent to status code 413.
- Indicates that the entity of the client's request is larger than the server is willing or
- able to process.
-
-
-
-
- Equivalent to status code 414.
- Indicates that the request URI is longer than the server is willing to interpret.
-
-
-
-
- Equivalent to status code 415.
- Indicates that the entity of the client's request is in a format not supported by
- the requested resource for the requested method.
-
-
-
-
- Equivalent to status code 416.
- Indicates that none of the range specifier values in a Range request header overlap
- the current extent of the selected resource.
-
-
-
-
- Equivalent to status code 417.
- Indicates that the expectation given in an Expect request header couldn't be met by
- the server.
-
-
-
-
- Equivalent to status code 500.
- Indicates that the server encountered an unexpected condition which prevented it from
- fulfilling the client's request.
-
-
-
-
- Equivalent to status code 501.
- Indicates that the server doesn't support the functionality required to fulfill the client's
- request.
-
-
-
-
- Equivalent to status code 502.
- Indicates that a gateway or proxy server received an invalid response from the upstream
- server.
-
-
-
-
- Equivalent to status code 503.
- Indicates that the server is currently unable to handle the client's request due to
- a temporary overloading or maintenance of the server.
-
-
-
-
- Equivalent to status code 504.
- Indicates that a gateway or proxy server didn't receive a timely response from the upstream
- server or some other auxiliary server.
-
-
-
-
- Equivalent to status code 505.
- Indicates that the server doesn't support the HTTP version used in the client's request.
-
-
-
-
- Exposes the methods and properties used to access the information in a WebSocket service
- provided by the or .
-
-
- The WebSocketServiceHost class is an abstract class.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Creates a new session in the WebSocket service.
-
-
- A instance that represents a new session.
-
-
-
-
- Gets or sets a value indicating whether the WebSocket service cleans up
- the inactive sessions periodically.
-
-
- true if the service cleans up the inactive sessions periodically;
- otherwise, false.
-
-
-
-
- Gets the path to the WebSocket service.
-
-
- A that represents the absolute path to the service.
-
-
-
-
- Gets the access to the sessions in the WebSocket service.
-
-
- A that manages the sessions in the service.
-
-
-
-
- Gets the of the behavior of the WebSocket service.
-
-
- A that represents the type of the behavior of the service.
-
-
-
-
- Gets or sets the wait time for the response to the WebSocket Ping or Close.
-
-
- A that represents the wait time. The default value is
- the same as 1 second.
-
-
-
-
- Indicates the status code for the WebSocket connection close.
-
-
-
- The values of this enumeration are defined in
- Section 7.4 of RFC 6455.
-
-
- "Reserved value" must not be set as a status code in a connection close frame by
- an endpoint. It's designated for use in applications expecting a status code to
- indicate that the connection was closed due to the system grounds.
-
-
-
-
-
- Equivalent to close status 1000. Indicates normal close.
-
-
-
-
- Equivalent to close status 1001. Indicates that an endpoint is going away.
-
-
-
-
- Equivalent to close status 1002. Indicates that an endpoint is terminating
- the connection due to a protocol error.
-
-
-
-
- Equivalent to close status 1003. Indicates that an endpoint is terminating
- the connection because it has received a type of data that it cannot accept.
-
-
-
-
- Equivalent to close status 1004. Still undefined. A Reserved value.
-
-
-
-
- Equivalent to close status 1005. Indicates that no status code was actually present.
- A Reserved value.
-
-
-
-
- Equivalent to close status 1006. Indicates that the connection was closed abnormally.
- A Reserved value.
-
-
-
-
- Equivalent to close status 1007. Indicates that an endpoint is terminating
- the connection because it has received a message that contains data that
- isn't consistent with the type of the message.
-
-
-
-
- Equivalent to close status 1008. Indicates that an endpoint is terminating
- the connection because it has received a message that violates its policy.
-
-
-
-
- Equivalent to close status 1009. Indicates that an endpoint is terminating
- the connection because it has received a message that is too big to process.
-
-
-
-
- Equivalent to close status 1010. Indicates that a client is terminating
- the connection because it has expected the server to negotiate one or more extension,
- but the server didn't return them in the handshake response.
-
-
-
-
- Equivalent to close status 1011. Indicates that a server is terminating
- the connection because it has encountered an unexpected condition that
- prevented it from fulfilling the request.
-
-
-
-
- Equivalent to close status 1015. Indicates that the connection was closed
- due to a failure to perform a TLS handshake. A Reserved value.
-
-
-
-
- Indicates whether a WebSocket frame is the final frame of a message.
-
-
- The values of this enumeration are defined in
- Section 5.2 of RFC 6455.
-
-
-
-
- Equivalent to numeric value 0. Indicates more frames of a message follow.
-
-
-
-
- Equivalent to numeric value 1. Indicates the final frame of a message.
-
-
-
-
- Indicates whether the payload data of a WebSocket frame is masked.
-
-
- The values of this enumeration are defined in
- Section 5.2 of RFC 6455.
-
-
-
-
- Equivalent to numeric value 0. Indicates not masked.
-
-
-
-
- Equivalent to numeric value 1. Indicates masked.
-
-
-
-
- Indicates the WebSocket frame type.
-
-
- The values of this enumeration are defined in
- Section 5.2 of RFC 6455.
-
-
-
-
- Equivalent to numeric value 0. Indicates continuation frame.
-
-
-
-
- Equivalent to numeric value 1. Indicates text frame.
-
-
-
-
- Equivalent to numeric value 2. Indicates binary frame.
-
-
-
-
- Equivalent to numeric value 8. Indicates connection close frame.
-
-
-
-
- Equivalent to numeric value 9. Indicates ping frame.
-
-
-
-
- Equivalent to numeric value 10. Indicates pong frame.
-
-
-
-
- Represents the empty payload data.
-
-
-
-
- Represents the allowable max length.
-
-
-
- A will occur if the payload data length is
- greater than the value of this field.
-
-
- If you would like to change the value, you must set it to a value between
- WebSocket.FragmentLength and Int64.MaxValue inclusive.
-
-
-
-
-
- Indicates whether each RSV (RSV1, RSV2, and RSV3) of a WebSocket frame is non-zero.
-
-
- The values of this enumeration are defined in
- Section 5.2 of RFC 6455.
-
-
-
-
- Equivalent to numeric value 0. Indicates zero.
-
-
-
-
- Equivalent to numeric value 1. Indicates non-zero.
-
-
-
-
- Provides the properties used to access the information in
- a WebSocket handshake request received by the .
-
-
-
-
- Exposes the properties used to access the information in a WebSocket handshake request.
-
-
- This class is an abstract class.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets the HTTP cookies included in the request.
-
-
- A that contains the cookies.
-
-
-
-
- Gets the HTTP headers included in the request.
-
-
- A that contains the headers.
-
-
-
-
- Gets the value of the Host header included in the request.
-
-
- A that represents the value of the Host header.
-
-
-
-
- Gets a value indicating whether the client is authenticated.
-
-
- true if the client is authenticated; otherwise, false.
-
-
-
-
- Gets a value indicating whether the client connected from the local computer.
-
-
- true if the client connected from the local computer; otherwise, false.
-
-
-
-
- Gets a value indicating whether the WebSocket connection is secured.
-
-
- true if the connection is secured; otherwise, false.
-
-
-
-
- Gets a value indicating whether the request is a WebSocket handshake request.
-
-
- true if the request is a WebSocket handshake request; otherwise, false.
-
-
-
-
- Gets the value of the Origin header included in the request.
-
-
- A that represents the value of the Origin header.
-
-
-
-
- Gets the query string included in the request.
-
-
- A that contains the query string parameters.
-
-
-
-
- Gets the URI requested by the client.
-
-
- A that represents the requested URI.
-
-
-
-
- Gets the value of the Sec-WebSocket-Key header included in the request.
-
-
- This property provides a part of the information used by the server to prove that
- it received a valid WebSocket handshake request.
-
-
- A that represents the value of the Sec-WebSocket-Key header.
-
-
-
-
- Gets the values of the Sec-WebSocket-Protocol header included in the request.
-
-
- This property represents the subprotocols requested by the client.
-
-
- An instance that provides
- an enumerator which supports the iteration over the values of the Sec-WebSocket-Protocol
- header.
-
-
-
-
- Gets the value of the Sec-WebSocket-Version header included in the request.
-
-
- This property represents the WebSocket protocol version.
-
-
- A that represents the value of the Sec-WebSocket-Version header.
-
-
-
-
- Gets the server endpoint as an IP address and a port number.
-
-
- A that represents the server endpoint.
-
-
-
-
- Gets the client information (identity, authentication, and security roles).
-
-
- A instance that represents the client information.
-
-
-
-
- Gets the client endpoint as an IP address and a port number.
-
-
- A that represents the client endpoint.
-
-
-
-
- Gets the instance used for
- two-way communication between client and server.
-
-
- A .
-
-
-
-
- Returns a that represents
- the current .
-
-
- A that represents
- the current .
-
-
-
-
- Gets the HTTP cookies included in the request.
-
-
- A that contains the cookies.
-
-
-
-
- Gets the HTTP headers included in the request.
-
-
- A that contains the headers.
-
-
-
-
- Gets the value of the Host header included in the request.
-
-
- A that represents the value of the Host header.
-
-
-
-
- Gets a value indicating whether the client is authenticated.
-
-
- true if the client is authenticated; otherwise, false.
-
-
-
-
- Gets a value indicating whether the client connected from the local computer.
-
-
- true if the client connected from the local computer; otherwise, false.
-
-
-
-
- Gets a value indicating whether the WebSocket connection is secured.
-
-
- true if the connection is secured; otherwise, false.
-
-
-
-
- Gets a value indicating whether the request is a WebSocket handshake request.
-
-
- true if the request is a WebSocket handshake request; otherwise, false.
-
-
-
-
- Gets the value of the Origin header included in the request.
-
-
- A that represents the value of the Origin header.
-
-
-
-
- Gets the query string included in the request.
-
-
- A that contains the query string parameters.
-
-
-
-
- Gets the URI requested by the client.
-
-
- A that represents the requested URI.
-
-
-
-
- Gets the value of the Sec-WebSocket-Key header included in the request.
-
-
- This property provides a part of the information used by the server to prove that
- it received a valid WebSocket handshake request.
-
-
- A that represents the value of the Sec-WebSocket-Key header.
-
-
-
-
- Gets the values of the Sec-WebSocket-Protocol header included in the request.
-
-
- This property represents the subprotocols requested by the client.
-
-
- An instance that provides
- an enumerator which supports the iteration over the values of the Sec-WebSocket-Protocol
- header.
-
-
-
-
- Gets the value of the Sec-WebSocket-Version header included in the request.
-
-
- This property represents the WebSocket protocol version.
-
-
- A that represents the value of the Sec-WebSocket-Version header.
-
-
-
-
- Gets the server endpoint as an IP address and a port number.
-
-
- A that represents the server endpoint.
-
-
-
-
- Gets the client information (identity, authentication, and security roles).
-
-
- A instance that represents the client information.
-
-
-
-
- Gets the client endpoint as an IP address and a port number.
-
-
- A that represents the client endpoint.
-
-
-
-
- Gets the instance used for
- two-way communication between client and server.
-
-
- A .
-
-
-
-
- Provides the properties used to access the information in
- a WebSocket handshake request received by the .
-
-
-
-
- Returns a that represents
- the current .
-
-
- A that represents
- the current .
-
-
-
-
- Gets the HTTP cookies included in the request.
-
-
- A that contains the cookies.
-
-
-
-
- Gets the HTTP headers included in the request.
-
-
- A that contains the headers.
-
-
-
-
- Gets the value of the Host header included in the request.
-
-
- A that represents the value of the Host header.
-
-
-
-
- Gets a value indicating whether the client is authenticated.
-
-
- true if the client is authenticated; otherwise, false.
-
-
-
-
- Gets a value indicating whether the client connected from the local computer.
-
-
- true if the client connected from the local computer; otherwise, false.
-
-
-
-
- Gets a value indicating whether the WebSocket connection is secured.
-
-
- true if the connection is secured; otherwise, false.
-
-
-
-
- Gets a value indicating whether the request is a WebSocket handshake request.
-
-
- true if the request is a WebSocket handshake request; otherwise, false.
-
-
-
-
- Gets the value of the Origin header included in the request.
-
-
- A that represents the value of the Origin header.
-
-
-
-
- Gets the query string included in the request.
-
-
- A that contains the query string parameters.
-
-
-
-
- Gets the URI requested by the client.
-
-
- A that represents the requested URI.
-
-
-
-
- Gets the value of the Sec-WebSocket-Key header included in the request.
-
-
- This property provides a part of the information used by the server to prove that
- it received a valid WebSocket handshake request.
-
-
- A that represents the value of the Sec-WebSocket-Key header.
-
-
-
-
- Gets the values of the Sec-WebSocket-Protocol header included in the request.
-
-
- This property represents the subprotocols requested by the client.
-
-
- An instance that provides
- an enumerator which supports the iteration over the values of the Sec-WebSocket-Protocol
- header.
-
-
-
-
- Gets the value of the Sec-WebSocket-Version header included in the request.
-
-
- This property represents the WebSocket protocol version.
-
-
- A that represents the value of the Sec-WebSocket-Version header.
-
-
-
-
- Gets the server endpoint as an IP address and a port number.
-
-
- A that represents the server endpoint.
-
-
-
-
- Gets the client information (identity, authentication, and security roles).
-
-
- A instance that represents the client information.
-
-
-
-
- Gets the client endpoint as an IP address and a port number.
-
-
- A that represents the client endpoint.
-
-
-
-
- Gets the instance used for
- two-way communication between client and server.
-
-
- A .
-
-
-
-
- Represents the event data for the HTTP request event that the emits.
-
-
-
- An HTTP request event occurs when the receives an HTTP request.
-
-
- If you would like to get the request data sent from a client,
- you should access the property.
-
-
- And if you would like to get the response data used to return a response,
- you should access the property.
-
-
-
-
-
- Gets the HTTP request data sent from a client.
-
-
- A that represents the request data.
-
-
-
-
- Gets the HTTP response data used to return a response to the client.
-
-
- A that represents the response data.
-
-
-
-
- Specifies the compression method used to compress a message on the WebSocket connection.
-
-
- The compression methods are defined in
-
- Compression Extensions for WebSocket.
-
-
-
-
- Specifies non compression.
-
-
-
-
- Specifies DEFLATE.
-
-
-
-
- The exception that is thrown when a gets a fatal error.
-
-
-
-
- Gets the status code indicating the cause of the exception.
-
-
- One of the enum values, represents the status code
- indicating the cause of the exception.
-
-
-
-
- Represents a log data used by the class.
-
-
-
-
- Returns a that represents the current .
-
-
- A that represents the current .
-
-
-
-
- Gets the information of the logging method caller.
-
-
- A that provides the information of the logging method caller.
-
-
-
-
- Gets the date and time when the log data was created.
-
-
- A that represents the date and time when the log data was created.
-
-
-
-
- Gets the logging level of the log data.
-
-
- One of the enum values, indicates the logging level of the log data.
-
-
-
-
- Gets the message of the log data.
-
-
- A that represents the message of the log data.
-
-
-
-
- Specifies the logging level.
-
-
-
-
- Specifies the bottom logging level.
-
-
-
-
- Specifies the 2nd logging level from the bottom.
-
-
-
-
- Specifies the 3rd logging level from the bottom.
-
-
-
-
- Specifies the 3rd logging level from the top.
-
-
-
-
- Specifies the 2nd logging level from the top.
-
-
-
-
- Specifies the top logging level.
-
-
-
-
- Provides a set of methods and properties for logging.
-
-
-
- If you output a log with lower than the value of the property,
- it cannot be outputted.
-
-
- The default output action writes a log to the standard output stream and the log file
- if the property has a valid path to it.
-
-
- If you would like to use the custom output action, you should set
- the property to any Action<LogData, string>
- delegate.
-
-
-
-
-
- Initializes a new instance of the class.
-
-
- This constructor initializes the current logging level with .
-
-
-
-
- Initializes a new instance of the class with
- the specified logging .
-
-
- One of the enum values.
-
-
-
-
- Initializes a new instance of the class with
- the specified logging , path to the log ,
- and action.
-
-
- One of the enum values.
-
-
- A that represents the path to the log file.
-
-
- An Action<LogData, string> delegate that references the method(s) used to
- output a log. A parameter passed to this delegate is
- .
-
-
-
-
- Outputs as a log with .
-
-
- If the current logging level is higher than ,
- this method doesn't output as a log.
-
-
- A that represents the message to output as a log.
-
-
-
-
- Outputs as a log with .
-
-
- If the current logging level is higher than ,
- this method doesn't output as a log.
-
-
- A that represents the message to output as a log.
-
-
-
-
- Outputs as a log with .
-
-
- A that represents the message to output as a log.
-
-
-
-
- Outputs as a log with .
-
-
- If the current logging level is higher than ,
- this method doesn't output as a log.
-
-
- A that represents the message to output as a log.
-
-
-
-
- Outputs as a log with .
-
-
- If the current logging level is higher than ,
- this method doesn't output as a log.
-
-
- A that represents the message to output as a log.
-
-
-
-
- Outputs as a log with .
-
-
- If the current logging level is higher than ,
- this method doesn't output as a log.
-
-
- A that represents the message to output as a log.
-
-
-
-
- Gets or sets the current path to the log file.
-
-
- A that represents the current path to the log file if any.
-
-
-
-
- Gets or sets the current logging level.
-
-
- A log with lower than the value of this property cannot be outputted.
-
-
- One of the enum values, specifies the current logging level.
-
-
-
-
- Gets or sets the current output action used to output a log.
-
-
-
- An Action<LogData, string> delegate that references the method(s) used to
- output a log. A parameter passed to this delegate is the value of
- the property.
-
-
- If the value to set is , the current output action is changed to
- the default output action.
-
-
-
-
-
- Indicates the state of a WebSocket connection.
-
-
- The values of this enumeration are defined in
- The WebSocket API.
-
-
-
-
- Equivalent to numeric value 0. Indicates that the connection hasn't yet been established.
-
-
-
-
- Equivalent to numeric value 1. Indicates that the connection has been established,
- and the communication is possible.
-
-
-
-
- Equivalent to numeric value 2. Indicates that the connection is going through
- the closing handshake, or the WebSocket.Close method has been invoked.
-
-
-
-
- Equivalent to numeric value 3. Indicates that the connection has been closed or
- couldn't be established.
-
-
-
-
- Exposes the properties used to access the information in a session in a WebSocket service.
-
-
-
-
- Gets the information in the connection request to the WebSocket service.
-
-
- A that provides the access to the connection request.
-
-
-
-
- Gets the unique ID of the session.
-
-
- A that represents the unique ID of the session.
-
-
-
-
- Gets the WebSocket subprotocol used in the session.
-
-
- A that represents the subprotocol if any.
-
-
-
-
- Gets the time that the session has started.
-
-
- A that represents the time that the session has started.
-
-
-
-
- Gets the state of the used in the session.
-
-
- One of the enum values, indicates the state of
- the used in the session.
-
-
-
-
- Manages the sessions in a Websocket service.
-
-
-
-
- Sends binary to every client in the WebSocket service.
-
-
- An array of that represents the binary data to send.
-
-
-
-
- Sends text to every client in the WebSocket service.
-
-
- A that represents the text data to send.
-
-
-
-
- Sends binary asynchronously to every client in
- the WebSocket service.
-
-
- This method doesn't wait for the send to be complete.
-
-
- An array of that represents the binary data to send.
-
-
- An delegate that references the method(s) called when
- the send is complete.
-
-
-
-
- Sends text asynchronously to every client in
- the WebSocket service.
-
-
- This method doesn't wait for the send to be complete.
-
-
- A that represents the text data to send.
-
-
- An delegate that references the method(s) called when
- the send is complete.
-
-
-
-
- Sends binary data from the specified asynchronously to
- every client in the WebSocket service.
-
-
- This method doesn't wait for the send to be complete.
-
-
- A from which contains the binary data to send.
-
-
- An that represents the number of bytes to send.
-
-
- An delegate that references the method(s) called when
- the send is complete.
-
-
-
-
- Sends a Ping to every client in the WebSocket service.
-
-
- A Dictionary<string, bool> that contains a collection of pairs of
- a session ID and a value indicating whether the manager received a Pong from
- each client in a time.
-
-
-
-
- Sends a Ping with the specified to every client in
- the WebSocket service.
-
-
- A Dictionary<string, bool> that contains a collection of pairs of
- a session ID and a value indicating whether the manager received a Pong from
- each client in a time.
-
-
- A that represents the message to send.
-
-
-
-
- Closes the session with the specified .
-
-
- A that represents the ID of the session to close.
-
-
-
-
- Closes the session with the specified , ,
- and .
-
-
- A that represents the ID of the session to close.
-
-
- A that represents the status code indicating the reason for the close.
-
-
- A that represents the reason for the close.
-
-
-
-
- Closes the session with the specified , ,
- and .
-
-
- A that represents the ID of the session to close.
-
-
- One of the enum values, represents the status code
- indicating the reason for the close.
-
-
- A that represents the reason for the close.
-
-
-
-
- Sends a Ping to the client on the session with the specified .
-
-
- true if the manager receives a Pong from the client in a time;
- otherwise, false.
-
-
- A that represents the ID of the session to find.
-
-
-
-
- Sends a Ping with the specified to the client on
- the session with the specified .
-
-
- true if the manager receives a Pong from the client in a time;
- otherwise, false.
-
-
- A that represents the message to send.
-
-
- A that represents the ID of the session to find.
-
-
-
-
- Sends binary to the client on the session with
- the specified .
-
-
- An array of that represents the binary data to send.
-
-
- A that represents the ID of the session to find.
-
-
-
-
- Sends text to the client on the session with
- the specified .
-
-
- A that represents the text data to send.
-
-
- A that represents the ID of the session to find.
-
-
-
-
- Sends binary asynchronously to the client on
- the session with the specified .
-
-
- This method doesn't wait for the send to be complete.
-
-
- An array of that represents the binary data to send.
-
-
- A that represents the ID of the session to find.
-
-
- An Action<bool> delegate that references the method(s) called when
- the send is complete. A passed to this delegate is true
- if the send is complete successfully.
-
-
-
-
- Sends text asynchronously to the client on
- the session with the specified .
-
-
- This method doesn't wait for the send to be complete.
-
-
- A that represents the text data to send.
-
-
- A that represents the ID of the session to find.
-
-
- An Action<bool> delegate that references the method(s) called when
- the send is complete. A passed to this delegate is true
- if the send is complete successfully.
-
-
-
-
- Sends binary data from the specified asynchronously to
- the client on the session with the specified .
-
-
- This method doesn't wait for the send to be complete.
-
-
- A from which contains the binary data to send.
-
-
- An that represents the number of bytes to send.
-
-
- A that represents the ID of the session to find.
-
-
- An Action<bool> delegate that references the method(s) called when
- the send is complete. A passed to this delegate is true
- if the send is complete successfully.
-
-
-
-
- Cleans up the inactive sessions in the WebSocket service.
-
-
-
-
- Tries to get the session with the specified .
-
-
- true if the session is successfully found; otherwise, false.
-
-
- A that represents the ID of the session to find.
-
-
- When this method returns, a instance that
- provides the access to the information in the session, or
- if it's not found. This parameter is passed uninitialized.
-
-
-
-
- Gets the IDs for the active sessions in the Websocket service.
-
-
- An IEnumerable<string> instance that provides an enumerator which
- supports the iteration over the collection of the IDs for the active sessions.
-
-
-
-
- Gets the number of the sessions in the Websocket service.
-
-
- An that represents the number of the sessions.
-
-
-
-
- Gets the IDs for the sessions in the Websocket service.
-
-
- An IEnumerable<string> instance that provides an enumerator which
- supports the iteration over the collection of the IDs for the sessions.
-
-
-
-
- Gets the IDs for the inactive sessions in the Websocket service.
-
-
- An IEnumerable<string> instance that provides an enumerator which
- supports the iteration over the collection of the IDs for the inactive sessions.
-
-
-
-
- Gets the session with the specified .
-
-
- A instance that provides the access to
- the information in the session, or if it's not found.
-
-
- A that represents the ID of the session to find.
-
-
-
-
- Gets a value indicating whether the manager cleans up the inactive sessions in
- the WebSocket service periodically.
-
-
- true if the manager cleans up the inactive sessions every 60 seconds;
- otherwise, false.
-
-
-
-
- Gets the sessions in the Websocket service.
-
-
- An IEnumerable<IWebSocketSession> instance that provides an enumerator
- which supports the iteration over the collection of the sessions in the service.
-
-
-
-
- Gets the wait time for the response to the WebSocket Ping or Close.
-
-
- A that represents the wait time.
-
-
-
-
- Holds the user name and password from the HTTP Basic authentication credentials.
-
-
-
-
- Gets the password from the HTTP Basic authentication credentials.
-
-
- A that represents the password.
-
-
-
-
- Holds the user name and other parameters from the HTTP Digest authentication credentials.
-
-
-
-
- Gets the algorithm parameter from the HTTP Digest authentication credentials.
-
-
- A that represents the algorithm parameter.
-
-
-
-
- Gets the cnonce parameter from the HTTP Digest authentication credentials.
-
-
- A that represents the cnonce parameter.
-
-
-
-
- Gets the nc parameter from the HTTP Digest authentication credentials.
-
-
- A that represents the nc parameter.
-
-
-
-
- Gets the nonce parameter from the HTTP Digest authentication credentials.
-
-
- A that represents the nonce parameter.
-
-
-
-
- Gets the opaque parameter from the HTTP Digest authentication credentials.
-
-
- A that represents the opaque parameter.
-
-
-
-
- Gets the qop parameter from the HTTP Digest authentication credentials.
-
-
- A that represents the qop parameter.
-
-
-
-
- Gets the realm parameter from the HTTP Digest authentication credentials.
-
-
- A that represents the realm parameter.
-
-
-
-
- Gets the response parameter from the HTTP Digest authentication credentials.
-
-
- A that represents the response parameter.
-
-
-
-
- Gets the uri parameter from the HTTP Digest authentication credentials.
-
-
- A that represents the uri parameter.
-
-
-
-
- Provides the credentials for the HTTP authentication (Basic/Digest).
-
-
-
-
- Initializes a new instance of the class with
- the specified user name and password.
-
-
- A that represents the user name associated with the credentials.
-
-
- A that represents the password for the user name associated with
- the credentials.
-
-
- is .
-
-
- is empty.
-
-
-
-
- Initializes a new instance of the class with
- the specified user name, password, domain, and roles.
-
-
- A that represents the user name associated with the credentials.
-
-
- A that represents the password for the user name associated with
- the credentials.
-
-
- A that represents the name of the user domain associated with
- the credentials.
-
-
- An array of that contains the role names to which
- the user associated with the credentials belongs if any.
-
-
- is .
-
-
- is empty.
-
-
-
-
- Gets the name of the user domain associated with the credentials.
-
-
- A that represents the name of the user domain associated with
- the credentials.
-
-
-
-
- Gets the password for the user name associated with the credentials.
-
-
- A that represents the password for the user name associated with
- the credentials.
-
-
-
-
- Gets the role names to which the user associated with the credentials belongs.
-
-
- An array of that contains the role names to which
- the user associated with the credentials belongs if any.
-
-
-
-
- Gets the user name associated with the credentials.
-
-
- A that represents the user name associated with the credentials.
-
-
-
-
- Manages the WebSocket services provided by the or
- .
-
-
-
-
- Sends binary to every client in the WebSocket services.
-
-
- An array of that represents the binary data to send.
-
-
-
-
- Sends text to every client in the WebSocket services.
-
-
- A that represents the text data to send.
-
-
-
-
- Sends binary asynchronously to every client in
- the WebSocket services.
-
-
- This method doesn't wait for the send to be complete.
-
-
- An array of that represents the binary data to send.
-
-
- An delegate that references the method(s) called when
- the send is complete.
-
-
-
-
- Sends text asynchronously to every client in
- the WebSocket services.
-
-
- This method doesn't wait for the send to be complete.
-
-
- A that represents the text data to send.
-
-
- An delegate that references the method(s) called when
- the send is complete.
-
-
-
-
- Sends binary data from the specified asynchronously to
- every client in the WebSocket services.
-
-
- This method doesn't wait for the send to be complete.
-
-
- A from which contains the binary data to send.
-
-
- An that represents the number of bytes to send.
-
-
- An delegate that references the method(s) called when
- the send is complete.
-
-
-
-
- Sends a Ping to every client in the WebSocket services.
-
-
- A Dictionary<string, Dictionary<string, bool>> that contains
- a collection of pairs of a service path and a collection of pairs of a session ID
- and a value indicating whether the manager received a Pong from each client in a time,
- or if this method isn't available.
-
-
-
-
- Sends a Ping with the specified to every client in
- the WebSocket services.
-
-
- A Dictionary<string, Dictionary<string, bool>> that contains
- a collection of pairs of a service path and a collection of pairs of a session ID
- and a value indicating whether the manager received a Pong from each client in a time,
- or if this method isn't available or
- is invalid.
-
-
- A that represents the message to send.
-
-
-
-
- Tries to get the WebSocket service host with the specified .
-
-
- true if the service is successfully found; otherwise, false.
-
-
- A that represents the absolute path to the service to find.
-
-
- When this method returns, a instance that
- provides the access to the information in the service, or
- if it's not found. This parameter is passed uninitialized.
-
-
-
-
- Gets the number of the WebSocket services.
-
-
- An that represents the number of the services.
-
-
-
-
- Gets the host instances for the Websocket services.
-
-
- An IEnumerable<WebSocketServiceHost> instance that provides an enumerator
- which supports the iteration over the collection of the host instances for the services.
-
-
-
-
- Gets the WebSocket service host with the specified .
-
-
- A instance that provides the access to
- the information in the service, or if it's not found.
-
-
- A that represents the absolute path to the service to find.
-
-
-
-
- Gets a value indicating whether the manager cleans up the inactive sessions
- in the WebSocket services periodically.
-
-
- true if the manager cleans up the inactive sessions every 60 seconds;
- otherwise, false.
-
-
-
-
- Gets the paths for the WebSocket services.
-
-
- An IEnumerable<string> instance that provides an enumerator which supports
- the iteration over the collection of the paths for the services.
-
-
-
-
- Gets the total number of the sessions in the WebSocket services.
-
-
- An that represents the total number of the sessions in the services.
-
-
-
-
- Gets the wait time for the response to the WebSocket Ping or Close.
-
-
- A that represents the wait time.
-
-
-
-
- Represents the ping frame without the payload data as an array of .
-
-
- The value of this field is created from a non masked frame, so it can only be used to
- send a ping from a server.
-
-
-
-
- Exposes the methods and properties used to define the behavior of a WebSocket service
- provided by the or .
-
-
- The WebSocketBehavior class is an abstract class.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Calls the method with the specified and
- .
-
-
- This method doesn't call the method if is
- or empty.
-
-
- A that represents the error message.
-
-
- An instance that represents the cause of the error if any.
-
-
-
-
- Called when the WebSocket connection used in a session has been closed.
-
-
- A that represents the event data passed to
- a event.
-
-
-
-
- Called when the used in a session gets an error.
-
-
- A that represents the event data passed to
- a event.
-
-
-
-
- Called when the used in a session receives a message.
-
-
- A that represents the event data passed to
- a event.
-
-
-
-
- Called when the WebSocket connection used in a session has been established.
-
-
-
-
- Sends binary to the client on a session.
-
-
- This method is available after the WebSocket connection has been established.
-
-
- An array of that represents the binary data to send.
-
-
-
-
- Sends the specified as binary data to the client on a session.
-
-
- This method is available after the WebSocket connection has been established.
-
-
- A that represents the file to send.
-
-
-
-
- Sends text to the client on a session.
-
-
- This method is available after the WebSocket connection has been established.
-
-
- A that represents the text data to send.
-
-
-
-
- Sends binary asynchronously to the client on a session.
-
-
-
- This method is available after the WebSocket connection has been established.
-
-
- This method doesn't wait for the send to be complete.
-
-
-
- An array of that represents the binary data to send.
-
-
- An Action<bool> delegate that references the method(s) called when
- the send is complete. A passed to this delegate is true
- if the send is complete successfully.
-
-
-
-
- Sends the specified as binary data asynchronously to
- the client on a session.
-
-
-
- This method is available after the WebSocket connection has been established.
-
-
- This method doesn't wait for the send to be complete.
-
-
-
- A that represents the file to send.
-
-
- An Action<bool> delegate that references the method(s) called when
- the send is complete. A passed to this delegate is true
- if the send is complete successfully.
-
-
-
-
- Sends text asynchronously to the client on a session.
-
-
-
- This method is available after the WebSocket connection has been established.
-
-
- This method doesn't wait for the send to be complete.
-
-
-
- A that represents the text data to send.
-
-
- An Action<bool> delegate that references the method(s) called when
- the send is complete. A passed to this delegate is true
- if the send is complete successfully.
-
-
-
-
- Sends binary data from the specified asynchronously to
- the client on a session.
-
-
-
- This method is available after the WebSocket connection has been established.
-
-
- This method doesn't wait for the send to be complete.
-
-
-
- A from which contains the binary data to send.
-
-
- An that represents the number of bytes to send.
-
-
- An Action<bool> delegate that references the method(s) called when
- the send is complete. A passed to this delegate is true
- if the send is complete successfully.
-
-
-
-
- Gets the logging functions.
-
-
- A that provides the logging functions,
- or if the WebSocket connection isn't established.
-
-
-
-
- Gets the access to the sessions in the WebSocket service.
-
-
- A that provides the access to the sessions,
- or if the WebSocket connection isn't established.
-
-
-
-
- Gets the information in a handshake request to the WebSocket service.
-
-
- A instance that provides the access to the handshake request,
- or if the WebSocket connection isn't established.
-
-
-
-
- Gets or sets the delegate called to validate the HTTP cookies included in
- a handshake request to the WebSocket service.
-
-
- This delegate is called when the used in a session validates
- the handshake request.
-
-
-
- A Func<CookieCollection, CookieCollection, bool> delegate that references
- the method(s) used to validate the cookies.
-
-
- 1st parameter passed to this delegate contains
- the cookies to validate if any.
-
-
- 2nd parameter passed to this delegate receives
- the cookies to send to the client.
-
-
- This delegate should return true if the cookies are valid.
-
-
- The default value is , and it does nothing to validate.
-
-
-
-
-
- Gets or sets a value indicating whether the used in a session emits
- a event when receives a Ping.
-
-
- true if the emits a event
- when receives a Ping; otherwise, false. The default value is false.
-
-
-
-
- Gets the unique ID of a session.
-
-
- A that represents the unique ID of the session,
- or if the WebSocket connection isn't established.
-
-
-
-
- Gets or sets a value indicating whether the WebSocket service ignores
- the Sec-WebSocket-Extensions header included in a handshake request.
-
-
- true if the WebSocket service ignores the extensions requested from
- a client; otherwise, false. The default value is false.
-
-
-
-
- Gets or sets the delegate called to validate the Origin header included in
- a handshake request to the WebSocket service.
-
-
- This delegate is called when the used in a session validates
- the handshake request.
-
-
-
- A Func<string, bool> delegate that references the method(s) used to
- validate the origin header.
-
-
- parameter passed to this delegate represents the value of
- the origin header to validate if any.
-
-
- This delegate should return true if the origin header is valid.
-
-
- The default value is , and it does nothing to validate.
-
-
-
-
-
- Gets or sets the WebSocket subprotocol used in the WebSocket service.
-
-
- Set operation of this property is available before the WebSocket connection has
- been established.
-
-
-
- A that represents the subprotocol if any.
- The default value is .
-
-
- The value to set must be a token defined in
- RFC 2616.
-
-
-
-
-
- Gets the time that a session has started.
-
-
- A that represents the time that the session has started,
- or if the WebSocket connection isn't established.
-
-
-
-
- Gets the state of the used in a session.
-
-
- One of the enum values, indicates the state of
- the .
-
-
-
-
- Initializes a new instance of the class with
- the specified .
-
-
- This constructor must be called after calling the CheckPrefix method.
-
-
- A that represents the URI prefix.
-
-
-
-
- Determines whether this instance and the specified have the same value.
-
-
- This method will be required to detect duplicates in any collection.
-
-
- An to compare to this instance.
-
-
- true if is a and
- its value is the same as this instance; otherwise, false.
-
-
-
-
- Gets the hash code for this instance.
-
-
- This method will be required to detect duplicates in any collection.
-
-
- An that represents the hash code.
-
-
-
-
- Stores the parameters used to configure a instance as a client.
-
-
-
-
- Stores the parameters used to configure a instance.
-
-
- The SslConfiguration class is an abstract class.
-
-
-
-
- Initializes a new instance of the class with
- the specified and
- .
-
-
- The enum value that represents the protocols used for
- authentication.
-
-
- true if the certificate revocation list is checked during authentication;
- otherwise, false.
-
-
-
-
- Gets or sets the callback used to select a certificate to supply to the remote party.
-
-
- If this callback returns , no certificate will be supplied.
-
-
- A delegate that references the method
- used to select a certificate. The default value is a function that only returns
- .
-
-
-
-
- Gets or sets the callback used to validate the certificate supplied by the remote party.
-
-
- If this callback returns true, the certificate will be valid.
-
-
- A delegate that references the method
- used to validate the certificate. The default value is a function that only returns
- true.
-
-
-
-
- Gets or sets a value indicating whether the certificate revocation list is checked
- during authentication.
-
-
- true if the certificate revocation list is checked; otherwise, false.
-
-
-
-
- Gets or sets the SSL protocols used for authentication.
-
-
- The enum value that represents the protocols used for
- authentication.
-
-
-
-
- Initializes a new instance of the class with
- the specified .
-
-
- A that represents the name of the server that shares
- a secure connection.
-
-
-
-
- Initializes a new instance of the class with
- the specified , ,
- , and .
-
-
- A that represents the name of the server that shares
- a secure connection.
-
-
- A that contains client certificates.
-
-
- The enum value that represents the protocols used for
- authentication.
-
-
- true if the certificate revocation list is checked during authentication;
- otherwise, false.
-
-
-
-
- Gets or sets the collection that contains client certificates.
-
-
- A that contains client certificates.
-
-
-
-
- Gets or sets the callback used to select a client certificate to supply to the server.
-
-
- If this callback returns , no client certificate will be supplied.
-
-
- A delegate that references the method
- used to select the client certificate. The default value is a function that only returns
- .
-
-
-
-
- Gets or sets the callback used to validate the certificate supplied by the server.
-
-
- If this callback returns true, the server certificate will be valid.
-
-
- A delegate that references the method
- used to validate the server certificate. The default value is a function that only returns
- true.
-
-
-
-
- Gets or sets the name of the server that shares a secure connection.
-
-
- A that represents the name of the server that shares
- a secure connection.
-
-
-
-
- Stores the parameters used to configure a instance as a server.
-
-
-
-
- Initializes a new instance of the class with
- the specified .
-
-
- A that represents the certificate used to authenticate
- the server.
-
-
-
-
- Initializes a new instance of the class with
- the specified ,
- , ,
- and .
-
-
- A that represents the certificate used to authenticate
- the server.
-
-
- true if the client must supply a certificate for authentication;
- otherwise, false.
-
-
- The enum value that represents the protocols used for
- authentication.
-
-
- true if the certificate revocation list is checked during authentication;
- otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether the client must supply a certificate for
- authentication.
-
-
- true if the client must supply a certificate; otherwise, false.
-
-
-
-
- Gets or sets the callback used to validate the certificate supplied by the client.
-
-
- If this callback returns true, the client certificate will be valid.
-
-
- A delegate that references the method
- used to validate the client certificate. The default value is a function that only returns
- true.
-
-
-
-
- Gets or sets the certificate used to authenticate the server for secure connection.
-
-
- A that represents the certificate used to authenticate
- the server.
-
-
-
-
- Contains the HTTP headers that may be specified in a client request.
-
-
- The HttpRequestHeader enumeration contains the HTTP request headers defined in
- RFC 2616 for the HTTP/1.1 and
- RFC 6455 for the WebSocket.
-
-
-
-
- Indicates the Cache-Control header.
-
-
-
-
- Indicates the Connection header.
-
-
-
-
- Indicates the Date header.
-
-
-
-
- Indicates the Keep-Alive header.
-
-
-
-
- Indicates the Pragma header.
-
-
-
-
- Indicates the Trailer header.
-
-
-
-
- Indicates the Transfer-Encoding header.
-
-
-
-
- Indicates the Upgrade header.
-
-
-
-
- Indicates the Via header.
-
-
-
-
- Indicates the Warning header.
-
-
-
-
- Indicates the Allow header.
-
-
-
-
- Indicates the Content-Length header.
-
-
-
-
- Indicates the Content-Type header.
-
-
-
-
- Indicates the Content-Encoding header.
-
-
-
-
- Indicates the Content-Language header.
-
-
-
-
- Indicates the Content-Location header.
-
-
-
-
- Indicates the Content-MD5 header.
-
-
-
-
- Indicates the Content-Range header.
-
-
-
-
- Indicates the Expires header.
-
-
-
-
- Indicates the Last-Modified header.
-
-
-
-
- Indicates the Accept header.
-
-
-
-
- Indicates the Accept-Charset header.
-
-
-
-
- Indicates the Accept-Encoding header.
-
-
-
-
- Indicates the Accept-Language header.
-
-
-
-
- Indicates the Authorization header.
-
-
-
-
- Indicates the Cookie header.
-
-
-
-
- Indicates the Expect header.
-
-
-
-
- Indicates the From header.
-
-
-
-
- Indicates the Host header.
-
-
-
-
- Indicates the If-Match header.
-
-
-
-
- Indicates the If-Modified-Since header.
-
-
-
-
- Indicates the If-None-Match header.
-
-
-
-
- Indicates the If-Range header.
-
-
-
-
- Indicates the If-Unmodified-Since header.
-
-
-
-
- Indicates the Max-Forwards header.
-
-
-
-
- Indicates the Proxy-Authorization header.
-
-
-
-
- Indicates the Referer header.
-
-
-
-
- Indicates the Range header.
-
-
-
-
- Indicates the TE header.
-
-
-
-
- Indicates the Translate header.
-
-
-
-
- Indicates the User-Agent header.
-
-
-
-
- Indicates the Sec-WebSocket-Key header.
-
-
-
-
- Indicates the Sec-WebSocket-Extensions header.
-
-
-
-
- Indicates the Sec-WebSocket-Protocol header.
-
-
-
-
- Indicates the Sec-WebSocket-Version header.
-
-
-
-
- Contains the HTTP headers that can be specified in a server response.
-
-
- The HttpResponseHeader enumeration contains the HTTP response headers defined in
- RFC 2616 for the HTTP/1.1 and
- RFC 6455 for the WebSocket.
-
-
-
-
- Indicates the Cache-Control header.
-
-
-
-
- Indicates the Connection header.
-
-
-
-
- Indicates the Date header.
-
-
-
-
- Indicates the Keep-Alive header.
-
-
-
-
- Indicates the Pragma header.
-
-
-
-
- Indicates the Trailer header.
-
-
-
-
- Indicates the Transfer-Encoding header.
-
-
-
-
- Indicates the Upgrade header.
-
-
-
-
- Indicates the Via header.
-
-
-
-
- Indicates the Warning header.
-
-
-
-
- Indicates the Allow header.
-
-
-
-
- Indicates the Content-Length header.
-
-
-
-
- Indicates the Content-Type header.
-
-
-
-
- Indicates the Content-Encoding header.
-
-
-
-
- Indicates the Content-Language header.
-
-
-
-
- Indicates the Content-Location header.
-
-
-
-
- Indicates the Content-MD5 header.
-
-
-
-
- Indicates the Content-Range header.
-
-
-
-
- Indicates the Expires header.
-
-
-
-
- Indicates the Last-Modified header.
-
-
-
-
- Indicates the Accept-Ranges header.
-
-
-
-
- Indicates the Age header.
-
-
-
-
- Indicates the ETag header.
-
-
-
-
- Indicates the Location header.
-
-
-
-
- Indicates the Proxy-Authenticate header.
-
-
-
-
- Indicates the Retry-After header.
-
-
-
-
- Indicates the Server header.
-
-
-
-
- Indicates the Set-Cookie header.
-
-
-
-
- Indicates the Vary header.
-
-
-
-
- Indicates the WWW-Authenticate header.
-
-
-
-
- Indicates the Sec-WebSocket-Extensions header.
-
-
-
-
- Indicates the Sec-WebSocket-Accept header.
-
-
-
-
- Indicates the Sec-WebSocket-Protocol header.
-
-
-
-
- Indicates the Sec-WebSocket-Version header.
-
-
-
-
diff --git a/Naticord/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/Naticord/obj/Debug/DesignTimeResolveAssemblyReferences.cache
deleted file mode 100644
index c94bb0c..0000000
Binary files a/Naticord/obj/Debug/DesignTimeResolveAssemblyReferences.cache and /dev/null differ
diff --git a/Naticord/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Naticord/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
deleted file mode 100644
index 0c9149c..0000000
Binary files a/Naticord/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ
diff --git a/Naticord/obj/Debug/Naticord.Login.resources b/Naticord/obj/Debug/Naticord.Login.resources
deleted file mode 100644
index e211995..0000000
Binary files a/Naticord/obj/Debug/Naticord.Login.resources and /dev/null differ
diff --git a/Naticord/obj/Debug/Naticord.Naticord.resources b/Naticord/obj/Debug/Naticord.Naticord.resources
deleted file mode 100644
index 7d5c0d2..0000000
Binary files a/Naticord/obj/Debug/Naticord.Naticord.resources and /dev/null differ
diff --git a/Naticord/obj/Debug/Naticord.Properties.Resources.resources b/Naticord/obj/Debug/Naticord.Properties.Resources.resources
deleted file mode 100644
index 6894083..0000000
Binary files a/Naticord/obj/Debug/Naticord.Properties.Resources.resources and /dev/null differ
diff --git a/Naticord/obj/Debug/Naticord.Settings.resources b/Naticord/obj/Debug/Naticord.Settings.resources
deleted file mode 100644
index e211995..0000000
Binary files a/Naticord/obj/Debug/Naticord.Settings.resources and /dev/null differ
diff --git a/Naticord/obj/Debug/Naticord.csproj.CopyComplete b/Naticord/obj/Debug/Naticord.csproj.CopyComplete
deleted file mode 100644
index e69de29..0000000
diff --git a/Naticord/obj/Debug/Naticord.csproj.CoreCompileInputs.cache b/Naticord/obj/Debug/Naticord.csproj.CoreCompileInputs.cache
deleted file mode 100644
index 44c181e..0000000
--- a/Naticord/obj/Debug/Naticord.csproj.CoreCompileInputs.cache
+++ /dev/null
@@ -1 +0,0 @@
-9bf190f85e3ebbd14b952de17514bab428daeb78
diff --git a/Naticord/obj/Debug/Naticord.csproj.FileListAbsolute.txt b/Naticord/obj/Debug/Naticord.csproj.FileListAbsolute.txt
deleted file mode 100644
index efcb481..0000000
--- a/Naticord/obj/Debug/Naticord.csproj.FileListAbsolute.txt
+++ /dev/null
@@ -1,31 +0,0 @@
-C:\Users\Patrick\naticord-c#\Naticord\Naticord\bin\Debug\Naticord.exe
-C:\Users\Patrick\naticord-c#\Naticord\Naticord\bin\Debug\Naticord.pdb
-C:\Users\Patrick\naticord-c#\Naticord\Naticord\bin\Debug\Newtonsoft.Json.dll
-C:\Users\Patrick\naticord-c#\Naticord\Naticord\bin\Debug\websocket-sharp.dll
-C:\Users\Patrick\naticord-c#\Naticord\Naticord\bin\Debug\Newtonsoft.Json.xml
-C:\Users\Patrick\naticord-c#\Naticord\Naticord\bin\Debug\websocket-sharp.xml
-C:\Users\Patrick\naticord-c#\Naticord\Naticord\obj\Debug\Naticord.Login.resources
-C:\Users\Patrick\naticord-c#\Naticord\Naticord\obj\Debug\Naticord.Naticord.resources
-C:\Users\Patrick\naticord-c#\Naticord\Naticord\obj\Debug\Naticord.Properties.Resources.resources
-C:\Users\Patrick\naticord-c#\Naticord\Naticord\obj\Debug\Naticord.Settings.resources
-C:\Users\Patrick\naticord-c#\Naticord\Naticord\obj\Debug\Naticord.csproj.GenerateResource.cache
-C:\Users\Patrick\naticord-c#\Naticord\Naticord\obj\Debug\Naticord.csproj.CoreCompileInputs.cache
-C:\Users\Patrick\naticord-c#\Naticord\Naticord\obj\Debug\Naticord.csproj.CopyComplete
-C:\Users\Patrick\naticord-c#\Naticord\Naticord\obj\Debug\Naticord.exe
-C:\Users\Patrick\naticord-c#\Naticord\Naticord\obj\Debug\Naticord.pdb
-C:\Users\admin\Documents\GitHub\naticord\Naticord\bin\Debug\Naticord.exe
-C:\Users\admin\Documents\GitHub\naticord\Naticord\bin\Debug\Naticord.pdb
-C:\Users\admin\Documents\GitHub\naticord\Naticord\bin\Debug\Newtonsoft.Json.dll
-C:\Users\admin\Documents\GitHub\naticord\Naticord\bin\Debug\websocket-sharp.dll
-C:\Users\admin\Documents\GitHub\naticord\Naticord\bin\Debug\Newtonsoft.Json.xml
-C:\Users\admin\Documents\GitHub\naticord\Naticord\bin\Debug\websocket-sharp.xml
-C:\Users\admin\Documents\GitHub\naticord\Naticord\obj\Debug\Naticord.csprojAssemblyReference.cache
-C:\Users\admin\Documents\GitHub\naticord\Naticord\obj\Debug\Naticord.Login.resources
-C:\Users\admin\Documents\GitHub\naticord\Naticord\obj\Debug\Naticord.Naticord.resources
-C:\Users\admin\Documents\GitHub\naticord\Naticord\obj\Debug\Naticord.Properties.Resources.resources
-C:\Users\admin\Documents\GitHub\naticord\Naticord\obj\Debug\Naticord.Settings.resources
-C:\Users\admin\Documents\GitHub\naticord\Naticord\obj\Debug\Naticord.csproj.GenerateResource.cache
-C:\Users\admin\Documents\GitHub\naticord\Naticord\obj\Debug\Naticord.csproj.CoreCompileInputs.cache
-C:\Users\admin\Documents\GitHub\naticord\Naticord\obj\Debug\Naticord.csproj.CopyComplete
-C:\Users\admin\Documents\GitHub\naticord\Naticord\obj\Debug\Naticord.exe
-C:\Users\admin\Documents\GitHub\naticord\Naticord\obj\Debug\Naticord.pdb
diff --git a/Naticord/obj/Debug/Naticord.csproj.GenerateResource.cache b/Naticord/obj/Debug/Naticord.csproj.GenerateResource.cache
deleted file mode 100644
index 1d3d1f0..0000000
Binary files a/Naticord/obj/Debug/Naticord.csproj.GenerateResource.cache and /dev/null differ
diff --git a/Naticord/obj/Debug/Naticord.csprojAssemblyReference.cache b/Naticord/obj/Debug/Naticord.csprojAssemblyReference.cache
deleted file mode 100644
index 5269774..0000000
Binary files a/Naticord/obj/Debug/Naticord.csprojAssemblyReference.cache and /dev/null differ
diff --git a/Naticord/obj/Debug/Naticord.exe b/Naticord/obj/Debug/Naticord.exe
deleted file mode 100644
index 170fbc8..0000000
Binary files a/Naticord/obj/Debug/Naticord.exe and /dev/null differ
diff --git a/Naticord/obj/Debug/Naticord.pdb b/Naticord/obj/Debug/Naticord.pdb
deleted file mode 100644
index e14e073..0000000
Binary files a/Naticord/obj/Debug/Naticord.pdb and /dev/null differ
diff --git a/Naticord/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll b/Naticord/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll
deleted file mode 100644
index bfe2b2b..0000000
Binary files a/Naticord/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll and /dev/null differ
diff --git a/packages/Alchemy.2.2.1/.signature.p7s b/packages/Alchemy.2.2.1/.signature.p7s
deleted file mode 100644
index b2f9bf8..0000000
Binary files a/packages/Alchemy.2.2.1/.signature.p7s and /dev/null differ
diff --git a/packages/Alchemy.2.2.1/Alchemy.2.2.1.nupkg b/packages/Alchemy.2.2.1/Alchemy.2.2.1.nupkg
deleted file mode 100644
index 85ca0e1..0000000
Binary files a/packages/Alchemy.2.2.1/Alchemy.2.2.1.nupkg and /dev/null differ
diff --git a/packages/Alchemy.2.2.1/lib/net40/Alchemy.dll b/packages/Alchemy.2.2.1/lib/net40/Alchemy.dll
deleted file mode 100644
index 6326d32..0000000
Binary files a/packages/Alchemy.2.2.1/lib/net40/Alchemy.dll and /dev/null differ
diff --git a/packages/Newtonsoft.Json.13.0.3/.signature.p7s b/packages/Newtonsoft.Json.13.0.3/.signature.p7s
deleted file mode 100644
index d55e472..0000000
Binary files a/packages/Newtonsoft.Json.13.0.3/.signature.p7s and /dev/null differ
diff --git a/packages/Newtonsoft.Json.13.0.3/LICENSE.md b/packages/Newtonsoft.Json.13.0.3/LICENSE.md
deleted file mode 100644
index dfaadbe..0000000
--- a/packages/Newtonsoft.Json.13.0.3/LICENSE.md
+++ /dev/null
@@ -1,20 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) 2007 James Newton-King
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the "Software"), to deal in
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
-the Software, and to permit persons to whom the Software is furnished to do so,
-subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/packages/Newtonsoft.Json.13.0.3/Newtonsoft.Json.13.0.3.nupkg b/packages/Newtonsoft.Json.13.0.3/Newtonsoft.Json.13.0.3.nupkg
deleted file mode 100644
index 5829e3d..0000000
Binary files a/packages/Newtonsoft.Json.13.0.3/Newtonsoft.Json.13.0.3.nupkg and /dev/null differ
diff --git a/packages/Newtonsoft.Json.13.0.3/README.md b/packages/Newtonsoft.Json.13.0.3/README.md
deleted file mode 100644
index 9982a45..0000000
--- a/packages/Newtonsoft.Json.13.0.3/README.md
+++ /dev/null
@@ -1,71 +0,0 @@
-# ![Logo](https://raw.githubusercontent.com/JamesNK/Newtonsoft.Json/master/Doc/icons/logo.jpg) Json.NET
-
-[![NuGet version (Newtonsoft.Json)](https://img.shields.io/nuget/v/Newtonsoft.Json.svg?style=flat-square)](https://www.nuget.org/packages/Newtonsoft.Json/)
-[![Build status](https://dev.azure.com/jamesnk/Public/_apis/build/status/JamesNK.Newtonsoft.Json?branchName=master)](https://dev.azure.com/jamesnk/Public/_build/latest?definitionId=8)
-
-Json.NET is a popular high-performance JSON framework for .NET
-
-## Serialize JSON
-
-```csharp
-Product product = new Product();
-product.Name = "Apple";
-product.Expiry = new DateTime(2008, 12, 28);
-product.Sizes = new string[] { "Small" };
-
-string json = JsonConvert.SerializeObject(product);
-// {
-// "Name": "Apple",
-// "Expiry": "2008-12-28T00:00:00",
-// "Sizes": [
-// "Small"
-// ]
-// }
-```
-
-## Deserialize JSON
-
-```csharp
-string json = @"{
- 'Name': 'Bad Boys',
- 'ReleaseDate': '1995-4-7T00:00:00',
- 'Genres': [
- 'Action',
- 'Comedy'
- ]
-}";
-
-Movie m = JsonConvert.DeserializeObject(json);
-
-string name = m.Name;
-// Bad Boys
-```
-
-## LINQ to JSON
-
-```csharp
-JArray array = new JArray();
-array.Add("Manual text");
-array.Add(new DateTime(2000, 5, 23));
-
-JObject o = new JObject();
-o["MyArray"] = array;
-
-string json = o.ToString();
-// {
-// "MyArray": [
-// "Manual text",
-// "2000-05-23T00:00:00"
-// ]
-// }
-```
-
-## Links
-
-- [Homepage](https://www.newtonsoft.com/json)
-- [Documentation](https://www.newtonsoft.com/json/help)
-- [NuGet Package](https://www.nuget.org/packages/Newtonsoft.Json)
-- [Release Notes](https://github.com/JamesNK/Newtonsoft.Json/releases)
-- [Contributing Guidelines](https://github.com/JamesNK/Newtonsoft.Json/blob/master/CONTRIBUTING.md)
-- [License](https://github.com/JamesNK/Newtonsoft.Json/blob/master/LICENSE.md)
-- [Stack Overflow](https://stackoverflow.com/questions/tagged/json.net)
diff --git a/packages/Newtonsoft.Json.13.0.3/lib/net20/Newtonsoft.Json.dll b/packages/Newtonsoft.Json.13.0.3/lib/net20/Newtonsoft.Json.dll
deleted file mode 100644
index 9c0a335..0000000
Binary files a/packages/Newtonsoft.Json.13.0.3/lib/net20/Newtonsoft.Json.dll and /dev/null differ
diff --git a/packages/Newtonsoft.Json.13.0.3/lib/net20/Newtonsoft.Json.xml b/packages/Newtonsoft.Json.13.0.3/lib/net20/Newtonsoft.Json.xml
deleted file mode 100644
index bdc4622..0000000
--- a/packages/Newtonsoft.Json.13.0.3/lib/net20/Newtonsoft.Json.xml
+++ /dev/null
@@ -1,10393 +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 BSON data.
-
-
-
-
- Gets or sets a value indicating whether binary data reading should be compatible with incorrect Json.NET 3.5 written binary.
-
-
- true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether the root object will be read as a JSON array.
-
-
- true if the root object will be read as a JSON array; otherwise, false.
-
-
-
-
- Gets or sets the used when reading values from BSON.
-
- The used when reading values from BSON.
-
-
-
- Initializes a new instance of the class.
-
- The containing the BSON data to read.
-
-
-
- Initializes a new instance of the class.
-
- The containing the BSON data to read.
-
-
-
- Initializes a new instance of the class.
-
- The containing the BSON data to read.
- if set to true the root object will be read as a JSON array.
- The used when reading values from BSON.
-
-
-
- Initializes a new instance of the class.
-
- The containing the BSON data to read.
- if set to true the root object will be read as a JSON array.
- The used when reading values from BSON.
-
-
-
- Reads the next JSON token from the underlying .
-
-
- true if the next token was read successfully; false if there are no more tokens to read.
-
-
-
-
- Changes the reader's state to .
- If is set to true, the underlying is also closed.
-
-
-
-
- Represents a writer that provides a fast, non-cached, forward-only way of generating BSON data.
-
-
-
-
- Gets or sets the used when writing values to BSON.
- When set to no conversion will occur.
-
- The used when writing values to BSON.
-
-
-
- Initializes a new instance of the class.
-
- The to write to.
-
-
-
- Initializes a new instance of the class.
-
- The to write to.
-
-
-
- Flushes whatever is in the buffer to the underlying and also flushes the underlying stream.
-
-
-
-
- Writes the end.
-
- The token.
-
-
-
- Writes a comment /*...*/ containing the specified text.
-
- Text to place inside the comment.
-
-
-
- Writes the start of a constructor with the given name.
-
- The name of the constructor.
-
-
-
- Writes raw JSON.
-
- The raw JSON to write.
-
-
-
- Writes raw JSON where a value is expected and updates the writer's state.
-
- The raw JSON to write.
-
-
-
- Writes the beginning of a JSON array.
-
-
-
-
- Writes the beginning of a JSON object.
-
-
-
-
- Writes the property name of a name/value pair on a JSON object.
-
- The name of the property.
-
-
-
- Closes this writer.
- If is set to true, the underlying is also closed.
- If is set to true, the JSON is auto-completed.
-
-
-
-
- Writes a value.
- An error will raised if the value cannot be written as a single JSON token.
-
- The value to write.
-
-
-
- Writes a null value.
-
-
-
-
- Writes an undefined value.
-
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a [] value.
-
- The [] value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a [] value that represents a BSON object id.
-
- The Object ID value to write.
-
-
-
- Writes a BSON regex.
-
- The regex pattern.
- The regex options.
-
-
-
- Specifies how constructors are used when initializing objects during deserialization by the .
-
-
-
-
- First attempt to use the public default constructor, then fall back to a single parameterized constructor, then to the non-public default constructor.
-
-
-
-
- Json.NET will use a non-public default constructor before falling back to a parameterized constructor.
-
-
-
-
- Converts a binary value to and from a base 64 string value.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts a to and from JSON and BSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Creates a custom object.
-
- The object type to convert.
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Creates an object which will then be populated by the serializer.
-
- Type of the object.
- The created object.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Gets a value indicating whether this can write JSON.
-
-
- true if this can write JSON; otherwise, false.
-
-
-
-
- Converts a to and from JSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified value type.
-
- Type of the value.
-
- true if this instance can convert the specified value type; otherwise, false.
-
-
-
-
- Converts a to and from JSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified value type.
-
- Type of the value.
-
- true if this instance can convert the specified value type; otherwise, false.
-
-
-
-
- Provides a base class for converting a to and from JSON.
-
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts a to and from the ISO 8601 date format (e.g. "2008-04-12T12:53Z").
-
-
-
-
- Gets or sets the date time styles used when converting a date to and from JSON.
-
- The date time styles used when converting a date to and from JSON.
-
-
-
- Gets or sets the date time format used when converting a date to and from JSON.
-
- The date time format used when converting a date to and from JSON.
-
-
-
- Gets or sets the culture used when converting a date to and from JSON.
-
- The culture used when converting a date to and from JSON.
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Converts a to and from a JavaScript Date constructor (e.g. new Date(52231943)).
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing property value of the JSON that is being converted.
- The calling serializer.
- The object value.
-
-
-
- Converts a to and from JSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts a to and from JSON and BSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts an to and from its name string value.
-
-
-
-
- Gets or sets a value indicating whether the written enum text should be camel case.
- The default value is false.
-
- true if the written enum text will be camel case; otherwise, false.
-
-
-
- Gets or sets the naming strategy used to resolve how enum text is written.
-
- The naming strategy used to resolve how enum text is written.
-
-
-
- Gets or sets a value indicating whether integer values are allowed when serializing and deserializing.
- The default value is true.
-
- true if integers are allowed when serializing and deserializing; otherwise, false.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- true if the written enum text will be camel case; otherwise, false.
-
-
-
- Initializes a new instance of the class.
-
- The naming strategy used to resolve how enum text is written.
- true if integers are allowed when serializing and deserializing; otherwise, false.
-
-
-
- Initializes a new instance of the class.
-
- The of the used to write enum text.
-
-
-
- Initializes a new instance of the class.
-
- The of the used to write enum text.
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
- When non-null, there must be a constructor defined in the that exactly matches the number,
- order, and type of these parameters.
-
-
-
-
- Initializes a new instance of the class.
-
- The of the used to write enum text.
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
- When non-null, there must be a constructor defined in the that exactly matches the number,
- order, and type of these parameters.
-
- true if integers are allowed when serializing and deserializing; otherwise, false.
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts a to and from Unix epoch time
-
-
-
-
- Gets or sets a value indicating whether the dates before Unix epoch
- should converted to and from JSON.
-
-
- true to allow converting dates before Unix epoch to and from JSON;
- false to throw an exception when a date being converted to or from JSON
- occurred before Unix epoch. The default value is false.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
-
- true to allow converting dates before Unix epoch to and from JSON;
- false to throw an exception when a date being converted to or from JSON
- occurred before Unix epoch. The default value is 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 property value of the JSON that is being converted.
- The calling serializer.
- The object value.
-
-
-
- Converts a to and from a string (e.g. "1.2.3.4").
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing property value of the JSON that is being converted.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts XML to and from JSON.
-
-
-
-
- Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produced multiple root elements.
-
- The name of the deserialized root element.
-
-
-
- Gets or sets a value to indicate whether to write the Json.NET array attribute.
- This attribute helps preserve arrays when converting the written XML back to JSON.
-
- true if the array attribute is written to the XML; otherwise, false.
-
-
-
- Gets or sets a value indicating whether to write the root JSON object.
-
- true if the JSON root object is omitted; otherwise, false.
-
-
-
- Gets or sets a value indicating whether to encode special characters when converting JSON to XML.
- If true, special characters like ':', '@', '?', '#' and '$' in JSON property names aren't used to specify
- XML namespaces, attributes or processing directives. Instead special characters are encoded and written
- as part of the XML element name.
-
- true if special characters are encoded; otherwise, false.
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The calling serializer.
- The value.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Checks if the is a namespace attribute.
-
- Attribute name to test.
- The attribute name prefix if it has one, otherwise an empty string.
- true if attribute name is for a namespace attribute, otherwise false.
-
-
-
- Determines whether this instance can convert the specified value type.
-
- Type of the value.
-
- true if this instance can convert the specified value type; otherwise, false.
-
-
-
-
- Specifies how dates are formatted when writing JSON text.
-
-
-
-
- Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z".
-
-
-
-
- Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/".
-
-
-
-
- Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text.
-
-
-
-
- Date formatted strings are not parsed to a date type and are read as strings.
-
-
-
-
- Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to .
-
-
-
-
- Specifies how to treat the time value when converting between string and .
-
-
-
-
- Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time.
-
-
-
-
- Treat as a UTC. If the object represents a local time, it is converted to a UTC.
-
-
-
-
- Treat as a local time if a is being converted to a string.
- If a string is being converted to , convert to a local time if a time zone is specified.
-
-
-
-
- Time zone information should be preserved when converting.
-
-
-
-
- The default JSON name table implementation.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets a string containing the same characters as the specified range of characters in the given array.
-
- The character array containing the name to find.
- The zero-based index into the array specifying the first character of the name.
- The number of characters in the name.
- A string containing the same characters as the specified range of characters in the given array.
-
-
-
- Adds the specified string into name table.
-
- The string to add.
- This method is not thread-safe.
- The resolved string.
-
-
-
- Specifies default value handling options for the .
-
-
-
-
-
-
-
-
- Include members where the member value is the same as the member's default value when serializing objects.
- Included members are written to JSON. Has no effect when deserializing.
-
-
-
-
- Ignore members where the member value is the same as the member's default value when serializing objects
- so that it is not written to JSON.
- This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers,
- decimals and floating point numbers; and false for booleans). The default value ignored can be changed by
- placing the on the property.
-
-
-
-
- Members with a default value but no JSON will be set to their default value when deserializing.
-
-
-
-
- Ignore members where the member value is the same as the member's default value when serializing objects
- and set members to their default value when deserializing.
-
-
-
-
- Specifies float format handling options when writing special floating point numbers, e.g. ,
- and with .
-
-
-
-
- Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity".
-
-
-
-
- Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity.
- Note that this will produce non-valid JSON.
-
-
-
-
- Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a of property.
-
-
-
-
- Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
-
-
-
-
- Floating point numbers are parsed to .
-
-
-
-
- Floating point numbers are parsed to .
-
-
-
-
- Specifies formatting options for the .
-
-
-
-
- No special formatting is applied. This is the default.
-
-
-
-
- Causes child objects to be indented according to the and settings.
-
-
-
-
- Provides an interface for using pooled arrays.
-
- The array type content.
-
-
-
- Rent an array from the pool. This array must be returned when it is no longer needed.
-
- The minimum required length of the array. The returned array may be longer.
- The rented array from the pool. This array must be returned when it is no longer needed.
-
-
-
- Return an array to the pool.
-
- The array that is being returned.
-
-
-
- Provides an interface to enable a class to return line and position information.
-
-
-
-
- Gets a value indicating whether the class can return line information.
-
-
- true if and can be provided; otherwise, false.
-
-
-
-
- Gets the current line number.
-
- The current line number or 0 if no line information is available (for example, when returns false).
-
-
-
- Gets the current line position.
-
- The current line position or 0 if no line information is available (for example, when returns false).
-
-
-
- Instructs the how to serialize the collection.
-
-
-
-
- Gets or sets a value indicating whether null items are allowed in the collection.
-
- true if null items are allowed in the collection; otherwise, false.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class with a flag indicating whether the array can contain null items.
-
- A flag indicating whether the array can contain null items.
-
-
-
- Initializes a new instance of the class with the specified container Id.
-
- The container Id.
-
-
-
- Instructs the to use the specified constructor when deserializing that object.
-
-
-
-
- Instructs the how to serialize the object.
-
-
-
-
- Gets or sets the id.
-
- The id.
-
-
-
- Gets or sets the title.
-
- The title.
-
-
-
- Gets or sets the description.
-
- The description.
-
-
-
- Gets or sets the collection's items converter.
-
- The collection's items converter.
-
-
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
- When non-null, there must be a constructor defined in the that exactly matches the number,
- order, and type of these parameters.
-
-
-
- [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })]
-
-
-
-
-
- Gets or sets the of the .
-
- The of the .
-
-
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
- When non-null, there must be a constructor defined in the that exactly matches the number,
- order, and type of these parameters.
-
-
-
- [JsonContainer(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })]
-
-
-
-
-
- Gets or sets a value that indicates whether to preserve object references.
-
-
- true to keep object reference; otherwise, false. The default is false.
-
-
-
-
- Gets or sets a value that indicates whether to preserve collection's items references.
-
-
- true to keep collection's items object references; otherwise, false. The default is false.
-
-
-
-
- Gets or sets the reference loop handling used when serializing the collection's items.
-
- The reference loop handling.
-
-
-
- Gets or sets the type name handling used when serializing the collection's items.
-
- The type name handling.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class with the specified container Id.
-
- The container Id.
-
-
-
- Provides methods for converting between .NET types and JSON types.
-
-
-
-
-
-
-
- Gets or sets a function that creates default .
- Default settings are automatically used by serialization methods on ,
- and and on .
- To serialize without using any default settings create a with
- .
-
-
-
-
- Represents JavaScript's boolean value true as a string. This field is read-only.
-
-
-
-
- Represents JavaScript's boolean value false as a string. This field is read-only.
-
-
-
-
- Represents JavaScript's null as a string. This field is read-only.
-
-
-
-
- Represents JavaScript's undefined as a string. This field is read-only.
-
-
-
-
- Represents JavaScript's positive infinity as a string. This field is read-only.
-
-
-
-
- Represents JavaScript's negative infinity as a string. This field is read-only.
-
-
-
-
- Represents JavaScript's NaN as a string. This field is read-only.
-
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation using the specified.
-
- The value to convert.
- The format the date will be converted to.
- The time zone handling when the date is converted to a string.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- The string delimiter character.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- The string delimiter character.
- The string escape handling.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Serializes the specified object to a JSON string.
-
- The object to serialize.
- A JSON string representation of the object.
-
-
-
- Serializes the specified object to a JSON string using formatting.
-
- The object to serialize.
- Indicates how the output should be formatted.
-
- A JSON string representation of the object.
-
-
-
-
- Serializes the specified object to a JSON string using a collection of .
-
- The object to serialize.
- A collection of converters used while serializing.
- A JSON string representation of the object.
-
-
-
- Serializes the specified object to a JSON string using formatting and a collection of .
-
- The object to serialize.
- Indicates how the output should be formatted.
- A collection of converters used while serializing.
- A JSON string representation of the object.
-
-
-
- Serializes the specified object to a JSON string using .
-
- The object to serialize.
- The used to serialize the object.
- If this is null, default serialization settings will be used.
-
- A JSON string representation of the object.
-
-
-
-
- Serializes the specified object to a JSON string using a type, formatting and .
-
- The object to serialize.
- The used to serialize the object.
- If this is null, default serialization settings will be used.
-
- The type of the value being serialized.
- This parameter is used when is to write out the type name if the type of the value does not match.
- Specifying the type is optional.
-
-
- A JSON string representation of the object.
-
-
-
-
- Serializes the specified object to a JSON string using formatting and .
-
- The object to serialize.
- Indicates how the output should be formatted.
- The used to serialize the object.
- If this is null, default serialization settings will be used.
-
- A JSON string representation of the object.
-
-
-
-
- Serializes the specified object to a JSON string using a type, formatting and .
-
- The object to serialize.
- Indicates how the output should be formatted.
- The used to serialize the object.
- If this is null, default serialization settings will be used.
-
- The type of the value being serialized.
- This parameter is used when is to write out the type name if the type of the value does not match.
- Specifying the type is optional.
-
-
- A JSON string representation of the object.
-
-
-
-
- Deserializes the JSON to a .NET object.
-
- The JSON to deserialize.
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to a .NET object using .
-
- The JSON to deserialize.
-
- The used to deserialize the object.
- If this is null, default serialization settings will be used.
-
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to the specified .NET type.
-
- The JSON to deserialize.
- The of object being deserialized.
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to the specified .NET type.
-
- The type of the object to deserialize to.
- The JSON to deserialize.
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to the given anonymous type.
-
-
- The anonymous type to deserialize to. This can't be specified
- traditionally and must be inferred from the anonymous type passed
- as a parameter.
-
- The JSON to deserialize.
- The anonymous type object.
- The deserialized anonymous type from the JSON string.
-
-
-
- Deserializes the JSON to the given anonymous type using .
-
-
- The anonymous type to deserialize to. This can't be specified
- traditionally and must be inferred from the anonymous type passed
- as a parameter.
-
- The JSON to deserialize.
- The anonymous type object.
-
- The used to deserialize the object.
- If this is null, default serialization settings will be used.
-
- The deserialized anonymous type from the JSON string.
-
-
-
- Deserializes the JSON to the specified .NET type using a collection of .
-
- The type of the object to deserialize to.
- The JSON to deserialize.
- Converters to use while deserializing.
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to the specified .NET type using .
-
- The type of the object to deserialize to.
- The object to deserialize.
-
- The used to deserialize the object.
- If this is null, default serialization settings will be used.
-
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to the specified .NET type using a collection of .
-
- The JSON to deserialize.
- The type of the object to deserialize.
- Converters to use while deserializing.
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to the specified .NET type using .
-
- The JSON to deserialize.
- The type of the object to deserialize to.
-
- The used to deserialize the object.
- If this is null, default serialization settings will be used.
-
- The deserialized object from the JSON string.
-
-
-
- Populates the object with values from the JSON string.
-
- The JSON to populate values from.
- The target object to populate values onto.
-
-
-
- Populates the object with values from the JSON string using .
-
- The JSON to populate values from.
- The target object to populate values onto.
-
- The used to deserialize the object.
- If this is null, default serialization settings will be used.
-
-
-
-
- Serializes the to a JSON string.
-
- The node to serialize.
- A JSON string of the .
-
-
-
- Serializes the to a JSON string using formatting.
-
- The node to serialize.
- Indicates how the output should be formatted.
- A JSON string of the .
-
-
-
- Serializes the to a JSON string using formatting and omits the root object if is true.
-
- The node to serialize.
- Indicates how the output should be formatted.
- Omits writing the root object.
- A JSON string of the .
-
-
-
- Deserializes the from a JSON string.
-
- The JSON string.
- The deserialized .
-
-
-
- Deserializes the from a JSON string nested in a root element specified by .
-
- The JSON string.
- The name of the root element to append when deserializing.
- The deserialized .
-
-
-
- Deserializes the from a JSON string nested in a root element specified by
- and writes a Json.NET array attribute for collections.
-
- The JSON string.
- The name of the root element to append when deserializing.
-
- A value to indicate whether to write the Json.NET array attribute.
- This attribute helps preserve arrays when converting the written XML back to JSON.
-
- The deserialized .
-
-
-
- Deserializes the from a JSON string nested in a root element specified by ,
- writes a Json.NET array attribute for collections, and encodes special characters.
-
- The JSON string.
- The name of the root element to append when deserializing.
-
- A value to indicate whether to write the Json.NET array attribute.
- This attribute helps preserve arrays when converting the written XML back to JSON.
-
-
- A value to indicate whether to encode special characters when converting JSON to XML.
- If true, special characters like ':', '@', '?', '#' and '$' in JSON property names aren't used to specify
- XML namespaces, attributes or processing directives. Instead special characters are encoded and written
- as part of the XML element name.
-
- The deserialized .
-
-
-
- Converts an object to and from JSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Gets a value indicating whether this can read JSON.
-
- true if this can read JSON; otherwise, false.
-
-
-
- Gets a value indicating whether this can write JSON.
-
- true if this can write JSON; otherwise, false.
-
-
-
- Converts an object to and from JSON.
-
- The object type to convert.
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read. If there is no existing value then null will be used.
- The existing value has a value.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Instructs the to use the specified when serializing the member or class.
-
-
-
-
- Gets the of the .
-
- The of the .
-
-
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
-
-
-
-
- Initializes a new instance of the class.
-
- Type of the .
-
-
-
- Initializes a new instance of the class.
-
- Type of the .
- Parameter list to use when constructing the . Can be null.
-
-
-
- Represents a collection of .
-
-
-
-
- Instructs the how to serialize the collection.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class with the specified container Id.
-
- The container Id.
-
-
-
- The exception thrown when an error occurs during JSON serialization or deserialization.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- with a specified error message.
-
- The error message that explains the reason for the exception.
-
-
-
- Initializes a new instance of the class
- with a specified error message and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Initializes a new instance of the class.
-
- The that holds the serialized object data about the exception being thrown.
- The that contains contextual information about the source or destination.
- The parameter is null.
- The class name is null or is zero (0).
-
-
-
- Instructs the to deserialize properties with no matching class member into the specified collection
- and write values during serialization.
-
-
-
-
- Gets or sets a value that indicates whether to write extension data when serializing the object.
-
-
- true to write extension data when serializing the object; otherwise, false. The default is true.
-
-
-
-
- Gets or sets a value that indicates whether to read extension data when deserializing the object.
-
-
- true to read extension data when deserializing the object; otherwise, false. The default is true.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Instructs the not to serialize the public field or public read/write property value.
-
-
-
-
- Base class for a table of atomized string objects.
-
-
-
-
- Gets a string containing the same characters as the specified range of characters in the given array.
-
- The character array containing the name to find.
- The zero-based index into the array specifying the first character of the name.
- The number of characters in the name.
- A string containing the same characters as the specified range of characters in the given array.
-
-
-
- Instructs the how to serialize the object.
-
-
-
-
- Gets or sets the member serialization.
-
- The member serialization.
-
-
-
- Gets or sets the missing member handling used when deserializing this object.
-
- The missing member handling.
-
-
-
- Gets or sets how the object's properties with null values are handled during serialization and deserialization.
-
- How the object's properties with null values are handled during serialization and deserialization.
-
-
-
- Gets or sets a value that indicates whether the object's properties are required.
-
-
- A value indicating whether the object's properties are required.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class with the specified member serialization.
-
- The member serialization.
-
-
-
- Initializes a new instance of the class with the specified container Id.
-
- The container Id.
-
-
-
- Instructs the to always serialize the member with the specified name.
-
-
-
-
- Gets or sets the type used when serializing the property's collection items.
-
- The collection's items type.
-
-
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
- When non-null, there must be a constructor defined in the that exactly matches the number,
- order, and type of these parameters.
-
-
-
- [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })]
-
-
-
-
-
- Gets or sets the of the .
-
- The of the .
-
-
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
- When non-null, there must be a constructor defined in the that exactly matches the number,
- order, and type of these parameters.
-
-
-
- [JsonProperty(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })]
-
-
-
-
-
- Gets or sets the null value handling used when serializing this property.
-
- The null value handling.
-
-
-
- Gets or sets the default value handling used when serializing this property.
-
- The default value handling.
-
-
-
- Gets or sets the reference loop handling used when serializing this property.
-
- The reference loop handling.
-
-
-
- Gets or sets the object creation handling used when deserializing this property.
-
- The object creation handling.
-
-
-
- Gets or sets the type name handling used when serializing this property.
-
- The type name handling.
-
-
-
- Gets or sets whether this property's value is serialized as a reference.
-
- Whether this property's value is serialized as a reference.
-
-
-
- Gets or sets the order of serialization of a member.
-
- The numeric order of serialization.
-
-
-
- Gets or sets a value indicating whether this property is required.
-
-
- A value indicating whether this property is required.
-
-
-
-
- Gets or sets the name of the property.
-
- The name of the property.
-
-
-
- Gets or sets the reference loop handling used when serializing the property's collection items.
-
- The collection's items reference loop handling.
-
-
-
- Gets or sets the type name handling used when serializing the property's collection items.
-
- The collection's items type name handling.
-
-
-
- Gets or sets whether this property's collection items are serialized as a reference.
-
- Whether this property's collection items are serialized as a reference.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class with the specified name.
-
- Name of the property.
-
-
-
- Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data.
-
-
-
-
- Specifies the state of the reader.
-
-
-
-
- A read method has not been called.
-
-
-
-
- The end of the file has been reached successfully.
-
-
-
-
- Reader is at a property.
-
-
-
-
- Reader is at the start of an object.
-
-
-
-
- Reader is in an object.
-
-
-
-
- Reader is at the start of an array.
-
-
-
-
- Reader is in an array.
-
-
-
-
- The method has been called.
-
-
-
-
- Reader has just read a value.
-
-
-
-
- Reader is at the start of a constructor.
-
-
-
-
- Reader is in a constructor.
-
-
-
-
- An error occurred that prevents the read operation from continuing.
-
-
-
-
- The end of the file has been reached successfully.
-
-
-
-
- Gets the current reader state.
-
- The current reader state.
-
-
-
- Gets or sets a value indicating whether the source should be closed when this reader is closed.
-
-
- true to close the source when this reader is closed; otherwise false. The default is true.
-
-
-
-
- Gets or sets a value indicating whether multiple pieces of JSON content can
- be read from a continuous stream without erroring.
-
-
- true to support reading multiple pieces of JSON content; otherwise false.
- The default is false.
-
-
-
-
- Gets the quotation mark character used to enclose the value of a string.
-
-
-
-
- Gets or sets how time zones are handled when reading JSON.
-
-
-
-
- Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON.
-
-
-
-
- Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
-
-
-
-
- Gets or sets how custom date formatted strings are parsed when reading JSON.
-
-
-
-
- Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a .
- A null value means there is no maximum.
- The default value is 64.
-
-
-
-
- Gets the type of the current JSON token.
-
-
-
-
- Gets the text value of the current JSON token.
-
-
-
-
- Gets the .NET type for the current JSON token.
-
-
-
-
- Gets the depth of the current token in the JSON document.
-
- The depth of the current token in the JSON document.
-
-
-
- Gets the path of the current JSON token.
-
-
-
-
- Gets or sets the culture used when reading JSON. Defaults to .
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Reads the next JSON token from the source.
-
- true if the next token was read successfully; false if there are no more tokens to read.
-
-
-
- Reads the next JSON token from the source as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a .
-
- A . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a [].
-
- A [] or null if the next JSON token is null. This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Skips the children of the current token.
-
-
-
-
- Sets the current token.
-
- The new token.
-
-
-
- Sets the current token and value.
-
- The new token.
- The value.
-
-
-
- Sets the current token and value.
-
- The new token.
- The value.
- A flag indicating whether the position index inside an array should be updated.
-
-
-
- Sets the state based on current token type.
-
-
-
-
- Releases unmanaged and - optionally - managed resources.
-
- true to release both managed and unmanaged resources; false to release only unmanaged resources.
-
-
-
- Changes the reader's state to .
- If is set to true, the source is also closed.
-
-
-
-
- The exception thrown when an error occurs while reading JSON text.
-
-
-
-
- Gets the line number indicating where the error occurred.
-
- The line number indicating where the error occurred.
-
-
-
- Gets the line position indicating where the error occurred.
-
- The line position indicating where the error occurred.
-
-
-
- Gets the path to the JSON where the error occurred.
-
- The path to the JSON where the error occurred.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- with a specified error message.
-
- The error message that explains the reason for the exception.
-
-
-
- Initializes a new instance of the class
- with a specified error message and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Initializes a new instance of the class.
-
- The that holds the serialized object data about the exception being thrown.
- The that contains contextual information about the source or destination.
- The parameter is null.
- The class name is null or is zero (0).
-
-
-
- Initializes a new instance of the class
- with a specified error message, JSON path, line number, line position, and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The path to the JSON where the error occurred.
- The line number indicating where the error occurred.
- The line position indicating where the error occurred.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Instructs the to always serialize the member, and to require that the member has a value.
-
-
-
-
- The exception thrown when an error occurs during JSON serialization or deserialization.
-
-
-
-
- Gets the line number indicating where the error occurred.
-
- The line number indicating where the error occurred.
-
-
-
- Gets the line position indicating where the error occurred.
-
- The line position indicating where the error occurred.
-
-
-
- Gets the path to the JSON where the error occurred.
-
- The path to the JSON where the error occurred.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- with a specified error message.
-
- The error message that explains the reason for the exception.
-
-
-
- Initializes a new instance of the class
- with a specified error message and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Initializes a new instance of the class.
-
- The that holds the serialized object data about the exception being thrown.
- The that contains contextual information about the source or destination.
- The parameter is null.
- The class name is null or is zero (0).
-
-
-
- Initializes a new instance of the class
- with a specified error message, JSON path, line number, line position, and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The path to the JSON where the error occurred.
- The line number indicating where the error occurred.
- The line position indicating where the error occurred.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Serializes and deserializes objects into and from the JSON format.
- The enables you to control how objects are encoded into JSON.
-
-
-
-
- Occurs when the errors during serialization and deserialization.
-
-
-
-
- Gets or sets the used by the serializer when resolving references.
-
-
-
-
- Gets or sets the used by the serializer when resolving type names.
-
-
-
-
- Gets or sets the used by the serializer when resolving type names.
-
-
-
-
- Gets or sets the used by the serializer when writing trace messages.
-
- The trace writer.
-
-
-
- Gets or sets the equality comparer used by the serializer when comparing references.
-
- The equality comparer.
-
-
-
- Gets or sets how type name writing and reading is handled by the serializer.
- The default value is .
-
-
- should be used with caution when your application deserializes JSON from an external source.
- Incoming types should be validated with a custom
- when deserializing with a value other than .
-
-
-
-
- Gets or sets how a type name assembly is written and resolved by the serializer.
- The default value is .
-
- The type name assembly format.
-
-
-
- Gets or sets how a type name assembly is written and resolved by the serializer.
- The default value is .
-
- The type name assembly format.
-
-
-
- Gets or sets how object references are preserved by the serializer.
- The default value is .
-
-
-
-
- Gets or sets how reference loops (e.g. a class referencing itself) is handled.
- The default value is .
-
-
-
-
- Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization.
- The default value is .
-
-
-
-
- Gets or sets how null values are handled during serialization and deserialization.
- The default value is .
-
-
-
-
- Gets or sets how default values are handled during serialization and deserialization.
- The default value is .
-
-
-
-
- Gets or sets how objects are created during deserialization.
- The default value is .
-
- The object creation handling.
-
-
-
- Gets or sets how constructors are used during deserialization.
- The default value is .
-
- The constructor handling.
-
-
-
- Gets or sets how metadata properties are used during deserialization.
- The default value is .
-
- The metadata properties handling.
-
-
-
- Gets a collection that will be used during serialization.
-
- Collection that will be used during serialization.
-
-
-
- Gets or sets the contract resolver used by the serializer when
- serializing .NET objects to JSON and vice versa.
-
-
-
-
- Gets or sets the used by the serializer when invoking serialization callback methods.
-
- The context.
-
-
-
- Indicates how JSON text output is formatted.
- The default value is .
-
-
-
-
- Gets or sets how dates are written to JSON text.
- The default value is .
-
-
-
-
- Gets or sets how time zones are handled during serialization and deserialization.
- The default value is .
-
-
-
-
- Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON.
- The default value is .
-
-
-
-
- Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
- The default value is .
-
-
-
-
- Gets or sets how special floating point numbers, e.g. ,
- and ,
- are written as JSON text.
- The default value is .
-
-
-
-
- Gets or sets how strings are escaped when writing JSON text.
- The default value is .
-
-
-
-
- Gets or sets how and values are formatted when writing JSON text,
- and the expected date format when reading JSON text.
- The default value is "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK".
-
-
-
-
- Gets or sets the culture used when reading JSON.
- The default value is .
-
-
-
-
- Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a .
- A null value means there is no maximum.
- The default value is 64.
-
-
-
-
- Gets a value indicating whether there will be a check for additional JSON content after deserializing an object.
- The default value is false.
-
-
- true if there will be a check for additional JSON content after deserializing an object; otherwise, false.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Creates a new instance.
- The will not use default settings
- from .
-
-
- A new instance.
- The will not use default settings
- from .
-
-
-
-
- Creates a new instance using the specified .
- The will not use default settings
- from .
-
- The settings to be applied to the .
-
- A new instance using the specified .
- The will not use default settings
- from .
-
-
-
-
- Creates a new instance.
- The will use default settings
- from .
-
-
- A new instance.
- The will use default settings
- from .
-
-
-
-
- Creates a new instance using the specified .
- The will use default settings
- from as well as the specified .
-
- The settings to be applied to the .
-
- A new instance using the specified .
- The will use default settings
- from as well as the specified .
-
-
-
-
- Populates the JSON values onto the target object.
-
- The that contains the JSON structure to read values from.
- The target object to populate values onto.
-
-
-
- Populates the JSON values onto the target object.
-
- The that contains the JSON structure to read values from.
- The target object to populate values onto.
-
-
-
- Deserializes the JSON structure contained by the specified .
-
- The that contains the JSON structure to deserialize.
- The being deserialized.
-
-
-
- Deserializes the JSON structure contained by the specified
- into an instance of the specified type.
-
- The containing the object.
- The of object being deserialized.
- The instance of being deserialized.
-
-
-
- Deserializes the JSON structure contained by the specified
- into an instance of the specified type.
-
- The containing the object.
- The type of the object to deserialize.
- The instance of being deserialized.
-
-
-
- Deserializes the JSON structure contained by the specified
- into an instance of the specified type.
-
- The containing the object.
- The of object being deserialized.
- The instance of being deserialized.
-
-
-
- Serializes the specified and writes the JSON structure
- using the specified .
-
- The used to write the JSON structure.
- The to serialize.
-
-
-
- Serializes the specified and writes the JSON structure
- using the specified .
-
- The used to write the JSON structure.
- The to serialize.
-
- The type of the value being serialized.
- This parameter is used when is to write out the type name if the type of the value does not match.
- Specifying the type is optional.
-
-
-
-
- Serializes the specified and writes the JSON structure
- using the specified .
-
- The used to write the JSON structure.
- The to serialize.
-
- The type of the value being serialized.
- This parameter is used when is Auto to write out the type name if the type of the value does not match.
- Specifying the type is optional.
-
-
-
-
- Serializes the specified and writes the JSON structure
- using the specified .
-
- The used to write the JSON structure.
- The to serialize.
-
-
-
- Specifies the settings on a object.
-
-
-
-
- Gets or sets how reference loops (e.g. a class referencing itself) are handled.
- The default value is .
-
- Reference loop handling.
-
-
-
- Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization.
- The default value is .
-
- Missing member handling.
-
-
-
- Gets or sets how objects are created during deserialization.
- The default value is .
-
- The object creation handling.
-
-
-
- Gets or sets how null values are handled during serialization and deserialization.
- The default value is .
-
- Null value handling.
-
-
-
- Gets or sets how default values are handled during serialization and deserialization.
- The default value is .
-
- The default value handling.
-
-
-
- Gets or sets a collection that will be used during serialization.
-
- The converters.
-
-
-
- Gets or sets how object references are preserved by the serializer.
- The default value is .
-
- The preserve references handling.
-
-
-
- Gets or sets how type name writing and reading is handled by the serializer.
- The default value is .
-
-
- should be used with caution when your application deserializes JSON from an external source.
- Incoming types should be validated with a custom
- when deserializing with a value other than .
-
- The type name handling.
-
-
-
- Gets or sets how metadata properties are used during deserialization.
- The default value is .
-
- The metadata properties handling.
-
-
-
- Gets or sets how a type name assembly is written and resolved by the serializer.
- The default value is .
-
- The type name assembly format.
-
-
-
- Gets or sets how a type name assembly is written and resolved by the serializer.
- The default value is .
-
- The type name assembly format.
-
-
-
- Gets or sets how constructors are used during deserialization.
- The default value is .
-
- The constructor handling.
-
-
-
- Gets or sets the contract resolver used by the serializer when
- serializing .NET objects to JSON and vice versa.
-
- The contract resolver.
-
-
-
- Gets or sets the equality comparer used by the serializer when comparing references.
-
- The equality comparer.
-
-
-
- Gets or sets the used by the serializer when resolving references.
-
- The reference resolver.
-
-
-
- Gets or sets a function that creates the used by the serializer when resolving references.
-
- A function that creates the used by the serializer when resolving references.
-
-
-
- Gets or sets the used by the serializer when writing trace messages.
-
- The trace writer.
-
-
-
- Gets or sets the used by the serializer when resolving type names.
-
- The binder.
-
-
-
- Gets or sets the used by the serializer when resolving type names.
-
- The binder.
-
-
-
- Gets or sets the error handler called during serialization and deserialization.
-
- The error handler called during serialization and deserialization.
-
-
-
- Gets or sets the used by the serializer when invoking serialization callback methods.
-
- The context.
-
-
-
- Gets or sets how and values are formatted when writing JSON text,
- and the expected date format when reading JSON text.
- The default value is "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK".
-
-
-
-
- Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a .
- A null value means there is no maximum.
- The default value is 64.
-
-
-
-
- Indicates how JSON text output is formatted.
- The default value is .
-
-
-
-
- Gets or sets how dates are written to JSON text.
- The default value is .
-
-
-
-
- Gets or sets how time zones are handled during serialization and deserialization.
- The default value is .
-
-
-
-
- Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON.
- The default value is .
-
-
-
-
- Gets or sets how special floating point numbers, e.g. ,
- and ,
- are written as JSON.
- The default value is .
-
-
-
-
- Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
- The default value is .
-
-
-
-
- Gets or sets how strings are escaped when writing JSON text.
- The default value is .
-
-
-
-
- Gets or sets the culture used when reading JSON.
- The default value is .
-
-
-
-
- Gets a value indicating whether there will be a check for additional content after deserializing an object.
- The default value is false.
-
-
- true if there will be a check for additional content after deserializing an object; otherwise, false.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- using values copied from the passed in .
-
-
-
-
- Represents a reader that provides fast, non-cached, forward-only access to JSON text data.
-
-
-
-
- Initializes a new instance of the class with the specified .
-
- The containing the JSON data to read.
-
-
-
- Gets or sets the reader's property name table.
-
-
-
-
- Gets or sets the reader's character buffer pool.
-
-
-
-
- Reads the next JSON token from the underlying .
-
-
- true if the next token was read successfully; false if there are no more tokens to read.
-
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a .
-
- A . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a [].
-
- A [] or null if the next JSON token is null. This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Changes the reader's state to .
- If is set to true, the underlying is also closed.
-
-
-
-
- Gets a value indicating whether the class can return line information.
-
-
- true if and can be provided; otherwise, false.
-
-
-
-
- Gets the current line number.
-
-
- The current line number or 0 if no line information is available (for example, returns false).
-
-
-
-
- Gets the current line position.
-
-
- The current line position or 0 if no line information is available (for example, returns false).
-
-
-
-
- Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
-
-
-
-
- Gets or sets the writer's character array pool.
-
-
-
-
- Gets or sets how many s to write for each level in the hierarchy when is set to .
-
-
-
-
- Gets or sets which character to use to quote attribute values.
-
-
-
-
- Gets or sets which character to use for indenting when is set to .
-
-
-
-
- Gets or sets a value indicating whether object names will be surrounded with quotes.
-
-
-
-
- Initializes a new instance of the class using the specified .
-
- The to write to.
-
-
-
- Flushes whatever is in the buffer to the underlying and also flushes the underlying .
-
-
-
-
- Closes this writer.
- If is set to true, the underlying is also closed.
- If is set to true, the JSON is auto-completed.
-
-
-
-
- Writes the beginning of a JSON object.
-
-
-
-
- Writes the beginning of a JSON array.
-
-
-
-
- Writes the start of a constructor with the given name.
-
- The name of the constructor.
-
-
-
- Writes the specified end token.
-
- The end token to write.
-
-
-
- Writes the property name of a name/value pair on a JSON object.
-
- The name of the property.
-
-
-
- Writes the property name of a name/value pair on a JSON object.
-
- The name of the property.
- A flag to indicate whether the text should be escaped when it is written as a JSON property name.
-
-
-
- Writes indent characters.
-
-
-
-
- Writes the JSON value delimiter.
-
-
-
-
- Writes an indent space.
-
-
-
-
- Writes a value.
- An error will raised if the value cannot be written as a single JSON token.
-
- The value to write.
-
-
-
- Writes a null value.
-
-
-
-
- Writes an undefined value.
-
-
-
-
- Writes raw JSON.
-
- The raw JSON to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a [] value.
-
- The [] value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a comment /*...*/ containing the specified text.
-
- Text to place inside the comment.
-
-
-
- Writes the given white space.
-
- The string of white space characters.
-
-
-
- Specifies the type of JSON token.
-
-
-
-
- This is returned by the if a read method has not been called.
-
-
-
-
- An object start token.
-
-
-
-
- An array start token.
-
-
-
-
- A constructor start token.
-
-
-
-
- An object property name.
-
-
-
-
- A comment.
-
-
-
-
- Raw JSON.
-
-
-
-
- An integer.
-
-
-
-
- A float.
-
-
-
-
- A string.
-
-
-
-
- A boolean.
-
-
-
-
- A null token.
-
-
-
-
- An undefined token.
-
-
-
-
- An object end token.
-
-
-
-
- An array end token.
-
-
-
-
- A constructor end token.
-
-
-
-
- A Date.
-
-
-
-
- Byte data.
-
-
-
-
-
- Represents a reader that provides validation.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Sets an event handler for receiving schema validation errors.
-
-
-
-
- Gets the text value of the current JSON token.
-
-
-
-
-
- Gets the depth of the current token in the JSON document.
-
- The depth of the current token in the JSON document.
-
-
-
- Gets the path of the current JSON token.
-
-
-
-
- Gets the quotation mark character used to enclose the value of a string.
-
-
-
-
-
- Gets the type of the current JSON token.
-
-
-
-
-
- Gets the .NET type for the current JSON token.
-
-
-
-
-
- Initializes a new instance of the class that
- validates the content returned from the given .
-
- The to read from while validating.
-
-
-
- Gets or sets the schema.
-
- The schema.
-
-
-
- Gets the used to construct this .
-
- The specified in the constructor.
-
-
-
- Changes the reader's state to .
- If is set to true, the underlying is also closed.
-
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of .
-
-
-
- Reads the next JSON token from the underlying as a [].
-
-
- A [] or null if the next JSON token is null.
-
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of .
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of .
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of .
-
-
-
- Reads the next JSON token from the underlying as a .
-
- A . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying .
-
-
- 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 destination should be closed when this writer is closed.
-
-
- true to close the destination when this writer is closed; otherwise false. The default is true.
-
-
-
-
- Gets or sets a value indicating whether the JSON should be auto-completed when this writer is closed.
-
-
- true to auto-complete the JSON when this writer is closed; otherwise false. The default is true.
-
-
-
-
- Gets the top.
-
- The top.
-
-
-
- Gets the state of the writer.
-
-
-
-
- Gets the path of the writer.
-
-
-
-
- Gets or sets a value indicating how JSON text output should be formatted.
-
-
-
-
- Gets or sets how dates are written to JSON text.
-
-
-
-
- Gets or sets how time zones are handled when writing JSON text.
-
-
-
-
- Gets or sets how strings are escaped when writing JSON text.
-
-
-
-
- Gets or sets how special floating point numbers, e.g. ,
- and ,
- are written to JSON text.
-
-
-
-
- Gets or sets how and values are formatted when writing JSON text.
-
-
-
-
- Gets or sets the culture used when writing JSON. Defaults to .
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Flushes whatever is in the buffer to the destination and also flushes the destination.
-
-
-
-
- Closes this writer.
- If is set to true, the destination is also closed.
- If is set to true, the JSON is auto-completed.
-
-
-
-
- Writes the beginning of a JSON object.
-
-
-
-
- Writes the end of a JSON object.
-
-
-
-
- Writes the beginning of a JSON array.
-
-
-
-
- Writes the end of an array.
-
-
-
-
- Writes the start of a constructor with the given name.
-
- The name of the constructor.
-
-
-
- Writes the end constructor.
-
-
-
-
- Writes the property name of a name/value pair of a JSON object.
-
- The name of the property.
-
-
-
- Writes the property name of a name/value pair of a JSON object.
-
- The name of the property.
- A flag to indicate whether the text should be escaped when it is written as a JSON property name.
-
-
-
- Writes the end of the current JSON object or array.
-
-
-
-
- Writes the current token and its children.
-
- The to read the token from.
-
-
-
- Writes the current token.
-
- The to read the token from.
- A flag indicating whether the current token's children should be written.
-
-
-
- Writes the token and its value.
-
- The to write.
-
- The value to write.
- A value is only required for tokens that have an associated value, e.g. the property name for .
- null can be passed to the method for tokens that don't have a value, e.g. .
-
-
-
-
- Writes the token.
-
- The to write.
-
-
-
- Writes the specified end token.
-
- The end token to write.
-
-
-
- Writes indent characters.
-
-
-
-
- Writes the JSON value delimiter.
-
-
-
-
- Writes an indent space.
-
-
-
-
- Writes a null value.
-
-
-
-
- Writes an undefined value.
-
-
-
-
- Writes raw JSON without changing the writer's state.
-
- The raw JSON to write.
-
-
-
- Writes raw JSON where a value is expected and updates the writer's state.
-
- The raw JSON to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a [] value.
-
- The [] value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
- An error will raised if the value cannot be written as a single JSON token.
-
- The value to write.
-
-
-
- Writes a comment /*...*/ containing the specified text.
-
- Text to place inside the comment.
-
-
-
- Writes the given white space.
-
- The string of white space characters.
-
-
-
- Releases unmanaged and - optionally - managed resources.
-
- true to release both managed and unmanaged resources; false to release only unmanaged resources.
-
-
-
- Sets the state of the .
-
- The being written.
- The value being written.
-
-
-
- The exception thrown when an error occurs while writing JSON text.
-
-
-
-
- Gets the path to the JSON where the error occurred.
-
- The path to the JSON where the error occurred.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- with a specified error message.
-
- The error message that explains the reason for the exception.
-
-
-
- Initializes a new instance of the class
- with a specified error message and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Initializes a new instance of the class.
-
- The that holds the serialized object data about the exception being thrown.
- The that contains contextual information about the source or destination.
- The parameter is null.
- The class name is null or is zero (0).
-
-
-
- Initializes a new instance of the class
- with a specified error message, JSON path and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The path to the JSON where the error occurred.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Specifies how JSON comments are handled when loading JSON.
-
-
-
-
- Ignore comments.
-
-
-
-
- Load comments as a with type .
-
-
-
-
- Specifies how duplicate property names are handled when loading JSON.
-
-
-
-
- Replace the existing value when there is a duplicate property. The value of the last property in the JSON object will be used.
-
-
-
-
- Ignore the new value when there is a duplicate property. The value of the first property in the JSON object will be used.
-
-
-
-
- Throw a when a duplicate property is encountered.
-
-
-
-
- Contains the LINQ to JSON extension methods.
-
-
-
-
- Returns a collection of tokens that contains the ancestors of every token in the source collection.
-
- The type of the objects in source, constrained to .
- An of that contains the source collection.
- An of that contains the ancestors of every token in the source collection.
-
-
-
- Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection.
-
- The type of the objects in source, constrained to .
- An of that contains the source collection.
- An of that contains every token in the source collection, the ancestors of every token in the source collection.
-
-
-
- Returns a collection of tokens that contains the descendants of every token in the source collection.
-
- The type of the objects in source, constrained to .
- An of that contains the source collection.
- An of that contains the descendants of every token in the source collection.
-
-
-
- Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection.
-
- The type of the objects in source, constrained to .
- An of that contains the source collection.
- An of that contains every token in the source collection, and the descendants of every token in the source collection.
-
-
-
- Returns a collection of child properties of every object in the source collection.
-
- An of that contains the source collection.
- An of that contains the properties of every object in the source collection.
-
-
-
- Returns a collection of child values of every object in the source collection with the given key.
-
- An of that contains the source collection.
- The token key.
- An of that contains the values of every token in the source collection with the given key.
-
-
-
- Returns a collection of child values of every object in the source collection.
-
- An of that contains the source collection.
- An of that contains the values of every token in the source collection.
-
-
-
- Returns a collection of converted child values of every object in the source collection with the given key.
-
- The type to convert the values to.
- An of that contains the source collection.
- The token key.
- An that contains the converted values of every token in the source collection with the given key.
-
-
-
- Returns a collection of converted child values of every object in the source collection.
-
- The type to convert the values to.
- An of that contains the source collection.
- An that contains the converted values of every token in the source collection.
-
-
-
- Converts the value.
-
- The type to convert the value to.
- A cast as a of .
- A converted value.
-
-
-
- Converts the value.
-
- The source collection type.
- The type to convert the value to.
- A cast as a of .
- A converted value.
-
-
-
- Returns a collection of child tokens of every array in the source collection.
-
- The source collection type.
- An of that contains the source collection.
- An of that contains the values of every token in the source collection.
-
-
-
- Returns a collection of converted child tokens of every array in the source collection.
-
- An of that contains the source collection.
- The type to convert the values to.
- The source collection type.
- An that contains the converted values of every token in the source collection.
-
-
-
- Returns the input typed as .
-
- An of that contains the source collection.
- The input typed as .
-
-
-
- Returns the input typed as .
-
- The source collection type.
- An of that contains the source collection.
- The input typed as .
-
-
-
- Represents a collection of objects.
-
- The type of token.
-
-
-
- Gets the of with the specified key.
-
-
-
-
-
- Represents a JSON array.
-
-
-
-
-
-
-
- Gets the container's children tokens.
-
- The container's children tokens.
-
-
-
- Gets the node type for this .
-
- The type.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class from another object.
-
- A object to copy from.
-
-
-
- Initializes a new instance of the class with the specified content.
-
- The contents of the array.
-
-
-
- Initializes a new instance of the class with the specified content.
-
- The contents of the array.
-
-
-
- Loads an from a .
-
- A that will be read for the content of the .
- A that contains the JSON that was read from the specified .
-
-
-
- Loads an from a .
-
- A that will be read for the content of the .
- The used to load the JSON.
- If this is null, default load settings will be used.
- A that contains the JSON that was read from the specified .
-
-
-
- Load a from a string that contains JSON.
-
- A that contains JSON.
- A populated from the string that contains JSON.
-
-
-
-
-
-
- Load a from a string that contains JSON.
-
- A that contains JSON.
- The used to load the JSON.
- If this is null, default load settings will be used.
- A populated from the string that contains JSON.
-
-
-
-
-
-
- Creates a from an object.
-
- The object that will be used to create .
- A with the values of the specified object.
-
-
-
- Creates a from an object.
-
- The object that will be used to create .
- The that will be used to read the object.
- A with the values of the specified object.
-
-
-
- Writes this token to a .
-
- A into which this method will write.
- A collection of which will be used when writing the token.
-
-
-
- Gets the with the specified key.
-
- The with the specified key.
-
-
-
- Gets or sets the at the specified index.
-
-
-
-
-
- Determines the index of a specific item in the .
-
- The object to locate in the .
-
- The index of if found in the list; otherwise, -1.
-
-
-
-
- Inserts an item to the at the specified index.
-
- The zero-based index at which should be inserted.
- The object to insert into the .
-
- is not a valid index in the .
-
-
-
-
- Removes the item at the specified index.
-
- The zero-based index of the item to remove.
-
- is not a valid index in the .
-
-
-
-
- Returns an enumerator that iterates through the collection.
-
-
- A of that can be used to iterate through the collection.
-
-
-
-
- Adds an item to the .
-
- The object to add to the .
-
-
-
- Removes all items from the .
-
-
-
-
- Determines whether the contains a specific value.
-
- The object to locate in the .
-
- true if is found in the ; otherwise, false.
-
-
-
-
- Copies the elements of the to an array, starting at a particular array index.
-
- The array.
- Index of the array.
-
-
-
- Gets a value indicating whether the is read-only.
-
- true if the is read-only; otherwise, false.
-
-
-
- Removes the first occurrence of a specific object from the .
-
- The object to remove from the .
-
- true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original .
-
-
-
-
- Represents a JSON constructor.
-
-
-
-
- Gets the container's children tokens.
-
- The container's children tokens.
-
-
-
- Gets or sets the name of this constructor.
-
- The constructor name.
-
-
-
- Gets the node type for this .
-
- The type.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class from another object.
-
- A object to copy from.
-
-
-
- Initializes a new instance of the class with the specified name and content.
-
- The constructor name.
- The contents of the constructor.
-
-
-
- Initializes a new instance of the class with the specified name and content.
-
- The constructor name.
- The contents of the constructor.
-
-
-
- Initializes a new instance of the class with the specified name.
-
- The constructor name.
-
-
-
- Writes this token to a .
-
- A into which this method will write.
- A collection of which will be used when writing the token.
-
-
-
- Gets the with the specified key.
-
- The with the specified key.
-
-
-
- Loads a from a .
-
- A that will be read for the content of the .
- A that contains the JSON that was read from the specified .
-
-
-
- Loads a from a .
-
- A that will be read for the content of the .
- The used to load the JSON.
- If this is null, default load settings will be used.
- A that contains the JSON that was read from the specified .
-
-
-
- Represents a token that can contain other tokens.
-
-
-
-
- Occurs when the list changes or an item in the list changes.
-
-
-
-
- Occurs before an item is added to the collection.
-
-
-
-
- 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 of containing the descendant tokens of the .
-
-
-
- Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order.
-
- An of containing this token, and all the descendant tokens of the .
-
-
-
- Adds the specified content as children of this .
-
- The content to be added.
-
-
-
- Adds the specified content as the first children of this .
-
- The content to be added.
-
-
-
- Creates a that can be used to add tokens to the .
-
- A that is ready to have content written to it.
-
-
-
- Replaces the child nodes of this token with the specified content.
-
- The content.
-
-
-
- Removes the child nodes from this token.
-
-
-
-
- Merge the specified content into this .
-
- The content to be merged.
-
-
-
- Merge the specified content into this using .
-
- The content to be merged.
- The used to merge the content.
-
-
-
- Gets the count of child JSON tokens.
-
- The count of child JSON tokens.
-
-
-
- Represents a collection of objects.
-
- The type of token.
-
-
-
- An empty collection of objects.
-
-
-
-
- Initializes a new instance of the struct.
-
- The enumerable.
-
-
-
- Returns an enumerator that can be used to iterate through the collection.
-
-
- A that can be used to iterate through the collection.
-
-
-
-
- Gets the of with the specified key.
-
-
-
-
-
- Determines whether the specified is equal to this instance.
-
- The to compare with this instance.
-
- true if the specified is equal to this instance; otherwise, false.
-
-
-
-
- Determines whether the specified is equal to this instance.
-
- The to compare with this instance.
-
- true if the specified is equal to this instance; otherwise, false.
-
-
-
-
- Returns a hash code for this instance.
-
-
- A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
-
-
-
-
- Represents a JSON object.
-
-
-
-
-
-
-
- Gets the container's children tokens.
-
- The container's children tokens.
-
-
-
- Occurs when a property value changes.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class from another object.
-
- A object to copy from.
-
-
-
- Initializes a new instance of the class with the specified content.
-
- The contents of the object.
-
-
-
- Initializes a new instance of the class with the specified content.
-
- The contents of the object.
-
-
-
- Gets the node type for this .
-
- The type.
-
-
-
- Gets an of of this object's properties.
-
- An of of this object's properties.
-
-
-
- Gets a with the specified name.
-
- The property name.
- A with the specified name or null.
-
-
-
- Gets the with the specified name.
- The exact name will be searched for first and if no matching property is found then
- the will be used to match a property.
-
- The property name.
- One of the enumeration values that specifies how the strings will be compared.
- A matched with the specified name or null.
-
-
-
- Gets a of of this object's property values.
-
- A of of this object's property values.
-
-
-
- Gets the with the specified key.
-
- The with the specified key.
-
-
-
- Gets or sets the with the specified property name.
-
-
-
-
-
- Loads a from a .
-
- A that will be read for the content of the .
- A that contains the JSON that was read from the specified .
-
- is not valid JSON.
-
-
-
-
- Loads a from a .
-
- A that will be read for the content of the .
- The used to load the JSON.
- If this is null, default load settings will be used.
- A that contains the JSON that was read from the specified .
-
- is not valid JSON.
-
-
-
-
- Load a from a string that contains JSON.
-
- A that contains JSON.
- A populated from the string that contains JSON.
-
- is not valid JSON.
-
-
-
-
-
-
-
- Load a from a string that contains JSON.
-
- A that contains JSON.
- The used to load the JSON.
- If this is null, default load settings will be used.
- A populated from the string that contains JSON.
-
- is not valid JSON.
-
-
-
-
-
-
-
- Creates a from an object.
-
- The object that will be used to create .
- A with the values of the specified object.
-
-
-
- Creates a from an object.
-
- The object that will be used to create .
- The that will be used to read the object.
- A with the values of the specified object.
-
-
-
- Writes this token to a .
-
- A into which this method will write.
- A collection of which will be used when writing the token.
-
-
-
- Gets the with the specified property name.
-
- Name of the property.
- The with the specified property name.
-
-
-
- Gets the with the specified property name.
- The exact property name will be searched for first and if no matching property is found then
- the will be used to match a property.
-
- Name of the property.
- One of the enumeration values that specifies how the strings will be compared.
- The with the specified property name.
-
-
-
- Tries to get the with the specified property name.
- The exact property name will be searched for first and if no matching property is found then
- the will be used to match a property.
-
- Name of the property.
- The value.
- One of the enumeration values that specifies how the strings will be compared.
- true if a value was successfully retrieved; otherwise, false.
-
-
-
- Adds the specified property name.
-
- Name of the property.
- The value.
-
-
-
- Determines whether the JSON object has the specified property name.
-
- Name of the property.
- true if the JSON object has the specified property name; otherwise, false.
-
-
-
- Removes the property with the specified name.
-
- Name of the property.
- true if item was successfully removed; otherwise, false.
-
-
-
- Tries to get the with the specified property name.
-
- Name of the property.
- The value.
- true if a value was successfully retrieved; otherwise, false.
-
-
-
- Returns an enumerator that can be used to iterate through the collection.
-
-
- A that can be used to iterate through the collection.
-
-
-
-
- Raises the event with the provided arguments.
-
- Name of the property.
-
-
-
- Represents a JSON property.
-
-
-
-
- Gets the container's children tokens.
-
- The container's children tokens.
-
-
-
- Gets the property name.
-
- The property name.
-
-
-
- Gets or sets the property value.
-
- The property value.
-
-
-
- Initializes a new instance of the class from another object.
-
- A object to copy from.
-
-
-
- Gets the node type for this .
-
- The type.
-
-
-
- Initializes a new instance of the class.
-
- The property name.
- The property content.
-
-
-
- Initializes a new instance of the class.
-
- The property name.
- The property content.
-
-
-
- Writes this token to a .
-
- A into which this method will write.
- A collection of which will be used when writing the token.
-
-
-
- Loads a from a .
-
- A that will be read for the content of the .
- A that contains the JSON that was read from the specified .
-
-
-
- Loads a from a .
-
- A that will be read for the content of the .
- The used to load the JSON.
- If this is null, default load settings will be used.
- A that contains the JSON that was read from the specified .
-
-
-
- Represents a view of a .
-
-
-
-
- Initializes a new instance of the class.
-
- The name.
-
-
-
- When overridden in a derived class, returns whether resetting an object changes its value.
-
-
- true if resetting the component changes its value; otherwise, false.
-
- The component to test for reset capability.
-
-
-
- When overridden in a derived class, gets the current value of the property on a component.
-
-
- The value of a property for a given component.
-
- The component with the property for which to retrieve the value.
-
-
-
- When overridden in a derived class, resets the value for this property of the component to the default value.
-
- The component with the property value that is to be reset to the default value.
-
-
-
- When overridden in a derived class, sets the value of the component to a different value.
-
- The component with the property value that is to be set.
- The new value.
-
-
-
- When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted.
-
-
- true if the property should be persisted; otherwise, false.
-
- The component with the property to be examined for persistence.
-
-
-
- When overridden in a derived class, gets the type of the component this property is bound to.
-
-
- A that represents the type of component this property is bound to.
- When the or
-
- methods are invoked, the object specified might be an instance of this type.
-
-
-
-
- When overridden in a derived class, gets a value indicating whether this property is read-only.
-
-
- true if the property is read-only; otherwise, false.
-
-
-
-
- When overridden in a derived class, gets the type of the property.
-
-
- A that represents the type of the property.
-
-
-
-
- Gets the hash code for the name of the member.
-
-
-
- The hash code for the name of the member.
-
-
-
-
- Represents a raw JSON string.
-
-
-
-
- Initializes a new instance of the class from another object.
-
- A object to copy from.
-
-
-
- Initializes a new instance of the class.
-
- The raw json.
-
-
-
- Creates an instance of with the content of the reader's current token.
-
- The reader.
- An instance of with the content of the reader's current token.
-
-
-
- Specifies the settings used when cloning JSON.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets a flag that indicates whether to copy annotations when cloning a .
- The default value is true.
-
-
- A flag that indicates whether to copy annotations when cloning a .
-
-
-
-
- Specifies the settings used when loading JSON.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets how JSON comments are handled when loading JSON.
- The default value is .
-
- The JSON comment handling.
-
-
-
- Gets or sets how JSON line info is handled when loading JSON.
- The default value is .
-
- The JSON line info handling.
-
-
-
- Gets or sets how duplicate property names in JSON objects are handled when loading JSON.
- The default value is .
-
- The JSON duplicate property name handling.
-
-
-
- Specifies the settings used when merging JSON.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets the method used when merging JSON arrays.
-
- The method used when merging JSON arrays.
-
-
-
- Gets or sets how null value properties are merged.
-
- How null value properties are merged.
-
-
-
- Gets or sets the comparison used to match property names while merging.
- The exact property name will be searched for first and if no matching property is found then
- the will be used to match a property.
-
- The comparison used to match property names while merging.
-
-
-
- Specifies the settings used when selecting JSON.
-
-
-
-
- Gets or sets a flag that indicates whether an error should be thrown if
- no tokens are found when evaluating part of the expression.
-
-
- A flag that indicates whether an error should be thrown if
- no tokens are found when evaluating part of the expression.
-
-
-
-
- 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.
-
-
- ToString() returns a non-JSON string value for tokens with a type of .
- If you want the JSON for all token types then you should use .
-
-
- The indented JSON for this token.
-
-
-
-
- Returns the JSON for this token using the given formatting and converters.
-
- Indicates how the output should be formatted.
- A collection of s which will be used when writing the token.
- The JSON for this token using the given formatting and converters.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to [].
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from [] to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Creates a for this token.
-
- A that can be used to read this token and its descendants.
-
-
-
- Creates a from an object.
-
- The object that will be used to create .
- A with the value of the specified object.
-
-
-
- Creates a from an object using the specified .
-
- The object that will be used to create .
- The that will be used when reading the object.
- A with the value of the specified object.
-
-
-
- Creates an instance of the specified .NET type from the .
-
- The object type that the token will be deserialized to.
- The new object created from the JSON value.
-
-
-
- Creates an instance of the specified .NET type from the .
-
- The object type that the token will be deserialized to.
- The new object created from the JSON value.
-
-
-
- Creates an instance of the specified .NET type from the using the specified .
-
- The object type that the token will be deserialized to.
- The that will be used when creating the object.
- The new object created from the JSON value.
-
-
-
- Creates an instance of the specified .NET type from the using the specified .
-
- The object type that the token will be deserialized to.
- The that will be used when creating the object.
- The new object created from the JSON value.
-
-
-
- Creates a from a .
-
- A positioned at the token to read into this .
-
- A that contains the token and its descendant tokens
- that were read from the reader. The runtime type of the token is determined
- by the token type of the first token encountered in the reader.
-
-
-
-
- Creates a from a .
-
- An positioned at the token to read into this .
- The used to load the JSON.
- If this is null, default load settings will be used.
-
- A that contains the token and its descendant tokens
- that were read from the reader. The runtime type of the token is determined
- by the token type of the first token encountered in the reader.
-
-
-
-
- Load a from a string that contains JSON.
-
- A that contains JSON.
- A populated from the string that contains JSON.
-
-
-
- Load a from a string that contains JSON.
-
- A that contains JSON.
- The used to load the JSON.
- If this is null, default load settings will be used.
- A populated from the string that contains JSON.
-
-
-
- Creates a from a .
-
- A positioned at the token to read into this .
- The used to load the JSON.
- If this is null, default load settings will be used.
-
- A that contains the token and its descendant tokens
- that were read from the reader. The runtime type of the token is determined
- by the token type of the first token encountered in the reader.
-
-
-
-
- Creates a from a .
-
- A positioned at the token to read into this .
-
- A that contains the token and its descendant tokens
- that were read from the reader. The runtime type of the token is determined
- by the token type of the first token encountered in the reader.
-
-
-
-
- Selects a using a JSONPath expression. Selects the token that matches the object path.
-
-
- A that contains a JSONPath expression.
-
- A , or null.
-
-
-
- Selects a using a JSONPath expression. Selects the token that matches the object path.
-
-
- A that contains a JSONPath expression.
-
- A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression.
- A .
-
-
-
- Selects a using a JSONPath expression. Selects the token that matches the object path.
-
-
- A that contains a JSONPath expression.
-
- The used to select tokens.
- A .
-
-
-
- Selects a collection of elements using a JSONPath expression.
-
-
- A that contains a JSONPath expression.
-
- An of that contains the selected elements.
-
-
-
- Selects a collection of elements using a JSONPath expression.
-
-
- A that contains a JSONPath expression.
-
- A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression.
- An of that contains the selected elements.
-
-
-
- Selects a collection of elements using a JSONPath expression.
-
-
- A that contains a JSONPath expression.
-
- The used to select tokens.
- An of that contains the selected elements.
-
-
-
- Creates a new instance of the . All child tokens are recursively cloned.
-
- A new instance of the .
-
-
-
- Creates a new instance of the . All child tokens are recursively cloned.
-
- A object to configure cloning settings.
- A new instance of the .
-
-
-
- Adds an object to the annotation list of this .
-
- The annotation to add.
-
-
-
- Get the first annotation object of the specified type from this .
-
- The type of the annotation to retrieve.
- The first annotation object that matches the specified type, or null if no annotation is of the specified type.
-
-
-
- Gets the first annotation object of the specified type from this .
-
- The of the annotation to retrieve.
- The first annotation object that matches the specified type, or null if no annotation is of the specified type.
-
-
-
- Gets a collection of annotations of the specified type for this .
-
- The type of the annotations to retrieve.
- An that contains the annotations for this .
-
-
-
- Gets a collection of annotations of the specified type for this .
-
- The of the annotations to retrieve.
- An of that contains the annotations that match the specified type for this .
-
-
-
- Removes the annotations of the specified type from this .
-
- The type of annotations to remove.
-
-
-
- Removes the annotations of the specified type from this .
-
- The of annotations to remove.
-
-
-
- Compares tokens to determine whether they are equal.
-
-
-
-
- Determines whether the specified objects are equal.
-
- The first object of type to compare.
- The second object of type to compare.
-
- true if the specified objects are equal; otherwise, false.
-
-
-
-
- Returns a hash code for the specified object.
-
- The for which a hash code is to be returned.
- A hash code for the specified object.
- The type of is a reference type and is null.
-
-
-
- Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data.
-
-
-
-
- Gets the at the reader's current position.
-
-
-
-
- Initializes a new instance of the class.
-
- The token to read from.
-
-
-
- Initializes a new instance of the class.
-
- The token to read from.
- The initial path of the token. It is prepended to the returned .
-
-
-
- Reads the next JSON token from the underlying .
-
-
- true if the next token was read successfully; false if there are no more tokens to read.
-
-
-
-
- Gets the path of the current JSON token.
-
-
-
-
- Specifies the type of token.
-
-
-
-
- No token type has been set.
-
-
-
-
- A JSON object.
-
-
-
-
- A JSON array.
-
-
-
-
- A JSON constructor.
-
-
-
-
- A JSON object property.
-
-
-
-
- A comment.
-
-
-
-
- An integer value.
-
-
-
-
- A float value.
-
-
-
-
- A string value.
-
-
-
-
- A boolean value.
-
-
-
-
- A null value.
-
-
-
-
- An undefined value.
-
-
-
-
- A date value.
-
-
-
-
- A raw JSON value.
-
-
-
-
- A collection of bytes value.
-
-
-
-
- A Guid value.
-
-
-
-
- A Uri value.
-
-
-
-
- A TimeSpan value.
-
-
-
-
- Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
-
-
-
-
- Gets the at the writer's current position.
-
-
-
-
- Gets the token being written.
-
- The token being written.
-
-
-
- Initializes a new instance of the class writing to the given .
-
- The container being written to.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Flushes whatever is in the buffer to the underlying .
-
-
-
-
- Closes this writer.
- If is set to true, the JSON is auto-completed.
-
-
- Setting to true has no additional effect, since the underlying is a type that cannot be closed.
-
-
-
-
- Writes the beginning of a JSON object.
-
-
-
-
- Writes the beginning of a JSON array.
-
-
-
-
- Writes the start of a constructor with the given name.
-
- The name of the constructor.
-
-
-
- Writes the end.
-
- The token.
-
-
-
- Writes the property name of a name/value pair on a JSON object.
-
- The name of the property.
-
-
-
- Writes a value.
- An error will be raised if the value cannot be written as a single JSON token.
-
- The value to write.
-
-
-
- Writes a null value.
-
-
-
-
- Writes an undefined value.
-
-
-
-
- Writes raw JSON.
-
- The raw JSON to write.
-
-
-
- Writes a comment /*...*/ containing the specified text.
-
- Text to place inside the comment.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a [] value.
-
- The [] value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- 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 s which will be used when writing the token.
-
-
-
- Indicates whether the current object is equal to another object of the same type.
-
-
- true if the current object is equal to the parameter; otherwise, false.
-
- An object to compare with this object.
-
-
-
- Determines whether the specified is equal to the current .
-
- The to compare with the current .
-
- true if the specified is equal to the current ; otherwise, false.
-
-
-
-
- Serves as a hash function for a particular type.
-
-
- A hash code for the current .
-
-
-
-
- Returns a that represents this instance.
-
-
- ToString() returns a non-JSON string value for tokens with a type of .
- If you want the JSON for all token types then you should use .
-
-
- A that represents this instance.
-
-
-
-
- Returns a that represents this instance.
-
- The format.
-
- A that represents this instance.
-
-
-
-
- Returns a that represents this instance.
-
- The format provider.
-
- A that represents this instance.
-
-
-
-
- Returns a that represents this instance.
-
- The format.
- The format provider.
-
- A that represents this instance.
-
-
-
-
- Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
-
- An object to compare with this instance.
-
- A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings:
- Value
- Meaning
- Less than zero
- This instance is less than .
- Zero
- This instance is equal to .
- Greater than zero
- This instance is greater than .
-
-
- is not of the same type as this instance.
-
-
-
-
- Specifies how line information is handled when loading JSON.
-
-
-
-
- Ignore line information.
-
-
-
-
- Load line information.
-
-
-
-
- Specifies how JSON arrays are merged together.
-
-
-
- Concatenate arrays.
-
-
- Union arrays, skipping items that already exist.
-
-
- Replace all array items.
-
-
- Merge array items together, matched by index.
-
-
-
- Specifies how null value properties are merged.
-
-
-
-
- The content's null value properties will be ignored during merging.
-
-
-
-
- The content's null value properties will be merged.
-
-
-
-
- Specifies the member serialization options for the .
-
-
-
-
- All public members are serialized by default. Members can be excluded using or .
- This is the default member serialization mode.
-
-
-
-
- Only members marked with or are serialized.
- This member serialization mode can also be set by marking the class with .
-
-
-
-
- All public and private fields are serialized. Members can be excluded using or .
- This member serialization mode can also be set by marking the class with
- and setting IgnoreSerializableAttribute on to false.
-
-
-
-
- Specifies metadata property handling options for the .
-
-
-
-
- Read metadata properties located at the start of a JSON object.
-
-
-
-
- Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance.
-
-
-
-
- Do not try to read metadata properties.
-
-
-
-
- Specifies missing member handling options for the .
-
-
-
-
- Ignore a missing member and do not attempt to deserialize it.
-
-
-
-
- Throw a when a missing member is encountered during deserialization.
-
-
-
-
- Specifies null value handling options for the .
-
-
-
-
-
-
-
-
- Include null values when serializing and deserializing objects.
-
-
-
-
- Ignore null values when serializing and deserializing objects.
-
-
-
-
- Specifies how object creation is handled by the .
-
-
-
-
- Reuse existing objects, create new objects when needed.
-
-
-
-
- Only reuse existing objects.
-
-
-
-
- Always create new objects.
-
-
-
-
- Specifies reference handling options for the .
- Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement .
-
-
-
-
-
-
-
- Do not preserve references when serializing types.
-
-
-
-
- Preserve references when serializing into a JSON object structure.
-
-
-
-
- Preserve references when serializing into a JSON array structure.
-
-
-
-
- Preserve references when serializing.
-
-
-
-
- Specifies reference loop handling options for the .
-
-
-
-
- Throw a when a loop is encountered.
-
-
-
-
- Ignore loop references and do not serialize.
-
-
-
-
- Serialize loop references.
-
-
-
-
- Indicating whether a property is required.
-
-
-
-
- The property is not required. The default state.
-
-
-
-
- The property must be defined in JSON but can be a null value.
-
-
-
-
- The property must be defined in JSON and cannot be a null value.
-
-
-
-
- The property is not required but it cannot be a null value.
-
-
-
-
-
- Contains the JSON schema extension methods.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
-
- Determines whether the is valid.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
- The source to test.
- The schema to test with.
-
- true if the specified is valid; otherwise, false.
-
-
-
-
-
- Determines whether the is valid.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
- The source to test.
- The schema to test with.
- When this method returns, contains any error messages generated while validating.
-
- true if the specified is valid; otherwise, false.
-
-
-
-
-
- Validates the specified .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
- The source to test.
- The schema to test with.
-
-
-
-
- Validates the specified .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
- The source to test.
- The schema to test with.
- The validation event handler.
-
-
-
-
- An in-memory representation of a JSON Schema.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Gets or sets the id.
-
-
-
-
- Gets or sets the title.
-
-
-
-
- Gets or sets whether the object is required.
-
-
-
-
- Gets or sets whether the object is read-only.
-
-
-
-
- Gets or sets whether the object is visible to users.
-
-
-
-
- Gets or sets whether the object is transient.
-
-
-
-
- Gets or sets the description of the object.
-
-
-
-
- Gets or sets the types of values allowed by the object.
-
- The type.
-
-
-
- Gets or sets the pattern.
-
- The pattern.
-
-
-
- Gets or sets the minimum length.
-
- The minimum length.
-
-
-
- Gets or sets the maximum length.
-
- The maximum length.
-
-
-
- Gets or sets a number that the value should be divisible by.
-
- A number that the value should be divisible by.
-
-
-
- Gets or sets the minimum.
-
- The minimum.
-
-
-
- Gets or sets the maximum.
-
- The maximum.
-
-
-
- Gets or sets a flag indicating whether the value can not equal the number defined by the minimum attribute ().
-
- A flag indicating whether the value can not equal the number defined by the minimum attribute ().
-
-
-
- Gets or sets a flag indicating whether the value can not equal the number defined by the maximum attribute ().
-
- A flag indicating whether the value can not equal the number defined by the maximum attribute ().
-
-
-
- Gets or sets the minimum number of items.
-
- The minimum number of items.
-
-
-
- Gets or sets the maximum number of items.
-
- The maximum number of items.
-
-
-
- Gets or sets the of items.
-
- The of items.
-
-
-
- Gets or sets a value indicating whether items in an array are validated using the instance at their array position from .
-
-
- true if items are validated using their array position; otherwise, false.
-
-
-
-
- Gets or sets the of additional items.
-
- The of additional items.
-
-
-
- Gets or sets a value indicating whether additional items are allowed.
-
-
- true if additional items are allowed; otherwise, false.
-
-
-
-
- Gets or sets whether the array items must be unique.
-
-
-
-
- Gets or sets the of properties.
-
- The of properties.
-
-
-
- Gets or sets the of additional properties.
-
- The of additional properties.
-
-
-
- Gets or sets the pattern properties.
-
- The pattern properties.
-
-
-
- Gets or sets a value indicating whether additional properties are allowed.
-
-
- true if additional properties are allowed; otherwise, false.
-
-
-
-
- Gets or sets the required property if this property is present.
-
- The required property if this property is present.
-
-
-
- Gets or sets the a collection of valid enum values allowed.
-
- A collection of valid enum values allowed.
-
-
-
- Gets or sets disallowed types.
-
- The disallowed types.
-
-
-
- Gets or sets the default value.
-
- The default value.
-
-
-
- Gets or sets the collection of that this schema extends.
-
- The collection of that this schema extends.
-
-
-
- Gets or sets the format.
-
- The format.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Reads a from the specified .
-
- The containing the JSON Schema to read.
- The object representing the JSON Schema.
-
-
-
- Reads a from the specified .
-
- The containing the JSON Schema to read.
- The to use when resolving schema references.
- The object representing the JSON Schema.
-
-
-
- Load a from a string that contains JSON Schema.
-
- A that contains JSON Schema.
- A populated from the string that contains JSON Schema.
-
-
-
- Load a from a string that contains JSON Schema using the specified .
-
- A that contains JSON Schema.
- The resolver.
- A populated from the string that contains JSON Schema.
-
-
-
- Writes this schema to a .
-
- A into which this method will write.
-
-
-
- Writes this schema to a using the specified .
-
- A into which this method will write.
- The resolver used.
-
-
-
- Returns a that represents the current .
-
-
- A that represents the current .
-
-
-
-
-
- Returns detailed information about the schema exception.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Gets the line number indicating where the error occurred.
-
- The line number indicating where the error occurred.
-
-
-
- Gets the line position indicating where the error occurred.
-
- The line position indicating where the error occurred.
-
-
-
- Gets the path to the JSON where the error occurred.
-
- The path to the JSON where the error occurred.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- with a specified error message.
-
- The error message that explains the reason for the exception.
-
-
-
- Initializes a new instance of the class
- with a specified error message and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Initializes a new instance of the class.
-
- The that holds the serialized object data about the exception being thrown.
- The that contains contextual information about the source or destination.
- The parameter is null.
- The class name is null or is zero (0).
-
-
-
-
- Generates a from a specified .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Gets or sets how undefined schemas are handled by the serializer.
-
-
-
-
- Gets or sets the contract resolver.
-
- The contract resolver.
-
-
-
- Generate a from the specified type.
-
- The type to generate a from.
- A generated from the specified type.
-
-
-
- Generate a from the specified type.
-
- The type to generate a from.
- The used to resolve schema references.
- A generated from the specified type.
-
-
-
- Generate a from the specified type.
-
- The type to generate a from.
- Specify whether the generated root will be nullable.
- A generated from the specified type.
-
-
-
- Generate a from the specified type.
-
- The type to generate a from.
- The used to resolve schema references.
- Specify whether the generated root will be nullable.
- A generated from the specified type.
-
-
-
-
- Resolves from an id.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Gets or sets the loaded schemas.
-
- The loaded schemas.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets a for the specified reference.
-
- The id.
- A for the specified reference.
-
-
-
-
- The value types allowed by the .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- No type specified.
-
-
-
-
- String type.
-
-
-
-
- Float type.
-
-
-
-
- Integer type.
-
-
-
-
- Boolean type.
-
-
-
-
- Object type.
-
-
-
-
- Array type.
-
-
-
-
- Null type.
-
-
-
-
- Any type.
-
-
-
-
-
- Specifies undefined schema Id handling options for the .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Do not infer a schema Id.
-
-
-
-
- Use the .NET type name as the schema Id.
-
-
-
-
- Use the assembly qualified .NET type name as the schema Id.
-
-
-
-
-
- Returns detailed information related to the .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Gets the associated with the validation error.
-
- The JsonSchemaException associated with the validation error.
-
-
-
- Gets the path of the JSON location where the validation error occurred.
-
- The path of the JSON location where the validation error occurred.
-
-
-
- Gets the text description corresponding to the validation error.
-
- The text description.
-
-
-
-
- Represents the callback method that will handle JSON schema validation events and the .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- A camel case naming strategy.
-
-
-
-
- Initializes a new instance of the class.
-
-
- A flag indicating whether dictionary keys should be processed.
-
-
- A flag indicating whether explicitly specified property names should be processed,
- e.g. a property name customized with a .
-
-
-
-
- Initializes a new instance of the class.
-
-
- A flag indicating whether dictionary keys should be processed.
-
-
- A flag indicating whether explicitly specified property names should be processed,
- e.g. a property name customized with a .
-
-
- A flag indicating whether extension data names should be processed.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Resolves the specified property name.
-
- The property name to resolve.
- The resolved property name.
-
-
-
- Resolves member mappings for a type, camel casing property names.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Resolves the contract for a given type.
-
- The type to resolve a contract for.
- The contract for a given type.
-
-
-
- Used by to resolve a for a given .
-
-
-
-
- Gets a value indicating whether members are being get and set using dynamic code generation.
- This value is determined by the runtime permissions available.
-
-
- true if using dynamic code generation; otherwise, false.
-
-
-
-
- Gets or sets the default members search flags.
-
- The default members search flags.
-
-
-
- Gets or sets a value indicating whether compiler generated members should be serialized.
-
-
- true if serialized compiler generated members; otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether to ignore the interface when serializing and deserializing types.
-
-
- true if the interface will be ignored when serializing and deserializing types; otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether to ignore the attribute when serializing and deserializing types.
-
-
- true if the attribute will be ignored when serializing and deserializing types; otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether to ignore IsSpecified members when serializing and deserializing types.
-
-
- true if the IsSpecified members will be ignored when serializing and deserializing types; otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether to ignore ShouldSerialize members when serializing and deserializing types.
-
-
- true if the ShouldSerialize members will be ignored when serializing and deserializing types; otherwise, false.
-
-
-
-
- Gets or sets the naming strategy used to resolve how property names and dictionary keys are serialized.
-
- The naming strategy used to resolve how property names and dictionary keys are serialized.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Resolves the contract for a given type.
-
- The type to resolve a contract for.
- The contract for a given type.
-
-
-
- Gets the serializable members for the type.
-
- The type to get serializable members for.
- The serializable members for the type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates the constructor parameters.
-
- The constructor to create properties for.
- The type's member properties.
- Properties for the given .
-
-
-
- Creates a for the given .
-
- The matching member property.
- The constructor parameter.
- A created for the given .
-
-
-
- Resolves the default for the contract.
-
- Type of the object.
- The contract's default .
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Determines which contract type is created for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates properties for the given .
-
- The type to create properties for.
- /// The member serialization mode for the type.
- Properties for the given .
-
-
-
- Creates the used by the serializer to get and set values from a member.
-
- The member.
- The used by the serializer to get and set values from a member.
-
-
-
- Creates a for the given .
-
- The member's parent .
- The member to create a for.
- A created for the given .
-
-
-
- Resolves the name of the property.
-
- Name of the property.
- Resolved name of the property.
-
-
-
- Resolves the name of the extension data. By default no changes are made to extension data names.
-
- Name of the extension data.
- Resolved name of the extension data.
-
-
-
- Resolves the key of the dictionary. By default is used to resolve dictionary keys.
-
- Key of the dictionary.
- Resolved key of the dictionary.
-
-
-
- Gets the resolved name of the property.
-
- Name of the property.
- Name of the property.
-
-
-
- The default naming strategy. Property names and dictionary keys are unchanged.
-
-
-
-
- Resolves the specified property name.
-
- The property name to resolve.
- The resolved property name.
-
-
-
- The default serialization binder used when resolving and loading classes from type names.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- When overridden in a derived class, controls the binding of a serialized object to a type.
-
- Specifies the name of the serialized object.
- Specifies the name of the serialized object.
-
- The type of the object the formatter creates a new instance of.
-
-
-
-
- When overridden in a derived class, controls the binding of a serialized object to a type.
-
- The type of the object the formatter creates a new instance of.
- Specifies the name of the serialized object.
- Specifies the name of the serialized object.
-
-
-
- Represents a trace writer that writes to the application's instances.
-
-
-
-
- Gets the that will be used to filter the trace messages passed to the writer.
- For example a filter level of will exclude messages and include ,
- and messages.
-
-
- The that will be used to filter the trace messages passed to the writer.
-
-
-
-
- Writes the specified trace level, message and optional exception.
-
- The at which to write this trace.
- The trace message.
- The trace exception. This parameter is optional.
-
-
-
- Get and set values for a using dynamic methods.
-
-
-
-
- Initializes a new instance of the class.
-
- The member info.
-
-
-
- Sets the value.
-
- The target to set the value on.
- The value to set on the target.
-
-
-
- Gets the value.
-
- The target to get the value from.
- The value.
-
-
-
- Provides information surrounding an error.
-
-
-
-
- Gets the error.
-
- The error.
-
-
-
- Gets the original object that caused the error.
-
- The original object that caused the error.
-
-
-
- Gets the member that caused the error.
-
- The member that caused the error.
-
-
-
- Gets the path of the JSON location where the error occurred.
-
- The path of the JSON location where the error occurred.
-
-
-
- Gets or sets a value indicating whether this is handled.
-
- true if handled; otherwise, false.
-
-
-
- Provides data for the Error event.
-
-
-
-
- Gets the current object the error event is being raised against.
-
- The current object the error event is being raised against.
-
-
-
- Gets the error context.
-
- The error context.
-
-
-
- Initializes a new instance of the class.
-
- The current object.
- The error context.
-
-
-
- Provides methods to get attributes.
-
-
-
-
- Returns a collection of all of the attributes, or an empty collection if there are no attributes.
-
- When true, look up the hierarchy chain for the inherited custom attribute.
- A collection of s, or an empty collection.
-
-
-
- Returns a collection of attributes, identified by type, or an empty collection if there are no attributes.
-
- The type of the attributes.
- When true, look up the hierarchy chain for the inherited custom attribute.
- A collection of s, or an empty collection.
-
-
-
- Used by to resolve a for a given .
-
-
-
-
-
-
-
-
- Resolves the contract for a given type.
-
- The type to resolve a contract for.
- The contract for a given type.
-
-
-
- Used to resolve references when serializing and deserializing JSON by the .
-
-
-
-
- Resolves a reference to its object.
-
- The serialization context.
- The reference to resolve.
- The object that was resolved from the reference.
-
-
-
- Gets the reference for the specified object.
-
- The serialization context.
- The object to get a reference for.
- The reference to the object.
-
-
-
- Determines whether the specified object is referenced.
-
- The serialization context.
- The object to test for a reference.
-
- true if the specified object is referenced; otherwise, false.
-
-
-
-
- Adds a reference to the specified object.
-
- The serialization context.
- The reference.
- The object to reference.
-
-
-
- Allows users to control class loading and mandate what class to load.
-
-
-
-
- When implemented, controls the binding of a serialized object to a type.
-
- Specifies the name of the serialized object.
- Specifies the name of the serialized object
- The type of the object the formatter creates a new instance of.
-
-
-
- When implemented, controls the binding of a serialized object to a type.
-
- The type of the object the formatter creates a new instance of.
- Specifies the name of the serialized object.
- Specifies the name of the serialized object.
-
-
-
- Represents a trace writer.
-
-
-
-
- Gets the that will be used to filter the trace messages passed to the writer.
- For example a filter level of will exclude messages and include ,
- and messages.
-
- The that will be used to filter the trace messages passed to the writer.
-
-
-
- Writes the specified trace level, message and optional exception.
-
- The at which to write this trace.
- The trace message.
- The trace exception. This parameter is optional.
-
-
-
- Provides methods to get and set values.
-
-
-
-
- Sets the value.
-
- The target to set the value on.
- The value to set on the target.
-
-
-
- Gets the value.
-
- The target to get the value from.
- The value.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Gets the of the collection items.
-
- The of the collection items.
-
-
-
- Gets a value indicating whether the collection type is a multidimensional array.
-
- true if the collection type is a multidimensional array; otherwise, false.
-
-
-
- Gets or sets the function used to create the object. When set this function will override .
-
- The function used to create the object.
-
-
-
- Gets a value indicating whether the creator has a parameter with the collection values.
-
- true if the creator has a parameter with the collection values; otherwise, false.
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Gets or sets the default collection items .
-
- The converter.
-
-
-
- Gets or sets a value indicating whether the collection items preserve object references.
-
- true if collection items preserve object references; otherwise, false.
-
-
-
- Gets or sets the collection item reference loop handling.
-
- The reference loop handling.
-
-
-
- Gets or sets the collection item type name handling.
-
- The type name handling.
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Handles serialization callback events.
-
- The object that raised the callback event.
- The streaming context.
-
-
-
- Handles serialization error callback events.
-
- The object that raised the callback event.
- The streaming context.
- The error context.
-
-
-
- Sets extension data for an object during deserialization.
-
- The object to set extension data on.
- The extension data key.
- The extension data value.
-
-
-
- Gets extension data for an object during serialization.
-
- The object to set extension data on.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Gets the underlying type for the contract.
-
- The underlying type for the contract.
-
-
-
- Gets or sets the type created during deserialization.
-
- The type created during deserialization.
-
-
-
- Gets or sets whether this type contract is serialized as a reference.
-
- Whether this type contract is serialized as a reference.
-
-
-
- Gets or sets the default for this contract.
-
- The converter.
-
-
-
- Gets the internally resolved for the contract's type.
- This converter is used as a fallback converter when no other converter is resolved.
- Setting will always override this converter.
-
-
-
-
- Gets or sets all methods called immediately after deserialization of the object.
-
- The methods called immediately after deserialization of the object.
-
-
-
- Gets or sets all methods called during deserialization of the object.
-
- The methods called during deserialization of the object.
-
-
-
- Gets or sets all methods called after serialization of the object graph.
-
- The methods called after serialization of the object graph.
-
-
-
- Gets or sets all methods called before serialization of the object.
-
- The methods called before serialization of the object.
-
-
-
- Gets or sets all method called when an error is thrown during the serialization of the object.
-
- The methods called when an error is thrown during the serialization of the object.
-
-
-
- Gets or sets the default creator method used to create the object.
-
- The default creator method used to create the object.
-
-
-
- Gets or sets a value indicating whether the default creator is non-public.
-
- true if the default object creator is non-public; otherwise, false.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Gets or sets the dictionary key resolver.
-
- The dictionary key resolver.
-
-
-
- Gets the of the dictionary keys.
-
- The of the dictionary keys.
-
-
-
- Gets the of the dictionary values.
-
- The of the dictionary values.
-
-
-
- Gets or sets the function used to create the object. When set this function will override .
-
- The function used to create the object.
-
-
-
- Gets a value indicating whether the creator has a parameter with the dictionary values.
-
- true if the creator has a parameter with the dictionary values; otherwise, false.
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Gets or sets the object constructor.
-
- The object constructor.
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Gets or sets the object member serialization.
-
- The member object serialization.
-
-
-
- Gets or sets the missing member handling used when deserializing this object.
-
- The missing member handling.
-
-
-
- Gets or sets a value that indicates whether the object's properties are required.
-
-
- A value indicating whether the object's properties are required.
-
-
-
-
- Gets or sets how the object's properties with null values are handled during serialization and deserialization.
-
- How the object's properties with null values are handled during serialization and deserialization.
-
-
-
- Gets the object's properties.
-
- The object's properties.
-
-
-
- Gets a collection of instances that define the parameters used with .
-
-
-
-
- Gets or sets the function used to create the object. When set this function will override .
- This function is called with a collection of arguments which are defined by the collection.
-
- The function used to create the object.
-
-
-
- Gets or sets the extension data setter.
-
-
-
-
- Gets or sets the extension data getter.
-
-
-
-
- Gets or sets the extension data value type.
-
-
-
-
- Gets or sets the extension data name resolver.
-
- The extension data name resolver.
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Maps a JSON property to a .NET member or constructor parameter.
-
-
-
-
- Gets or sets the name of the property.
-
- The name of the property.
-
-
-
- Gets or sets the type that declared this property.
-
- The type that declared this property.
-
-
-
- Gets or sets the order of serialization of a member.
-
- The numeric order of serialization.
-
-
-
- Gets or sets the name of the underlying member or parameter.
-
- The name of the underlying member or parameter.
-
-
-
- Gets the that will get and set the during serialization.
-
- The that will get and set the during serialization.
-
-
-
- Gets or sets the for this property.
-
- The for this property.
-
-
-
- Gets or sets the type of the property.
-
- The type of the property.
-
-
-
- Gets or sets the for the property.
- If set this converter takes precedence over the contract converter for the property type.
-
- The converter.
-
-
-
- Gets or sets the member converter.
-
- The member converter.
-
-
-
- Gets or sets a value indicating whether this is ignored.
-
- true if ignored; otherwise, false.
-
-
-
- Gets or sets a value indicating whether this is readable.
-
- true if readable; otherwise, false.
-
-
-
- Gets or sets a value indicating whether this is writable.
-
- true if writable; otherwise, false.
-
-
-
- Gets or sets a value indicating whether this has a member attribute.
-
- true if has a member attribute; otherwise, false.
-
-
-
- Gets the default value.
-
- The default value.
-
-
-
- Gets or sets a value indicating whether this is required.
-
- A value indicating whether this is required.
-
-
-
- Gets a value indicating whether has a value specified.
-
-
-
-
- Gets or sets a value indicating whether this property preserves object references.
-
-
- true if this instance is reference; otherwise, false.
-
-
-
-
- Gets or sets the property null value handling.
-
- The null value handling.
-
-
-
- Gets or sets the property default value handling.
-
- The default value handling.
-
-
-
- Gets or sets the property reference loop handling.
-
- The reference loop handling.
-
-
-
- Gets or sets the property object creation handling.
-
- The object creation handling.
-
-
-
- Gets or sets or sets the type name handling.
-
- The type name handling.
-
-
-
- Gets or sets a predicate used to determine whether the property should be serialized.
-
- A predicate used to determine whether the property should be serialized.
-
-
-
- Gets or sets a predicate used to determine whether the property should be deserialized.
-
- A predicate used to determine whether the property should be deserialized.
-
-
-
- Gets or sets a predicate used to determine whether the property should be serialized.
-
- A predicate used to determine whether the property should be serialized.
-
-
-
- Gets or sets an action used to set whether the property has been deserialized.
-
- An action used to set whether the property has been deserialized.
-
-
-
- Returns a that represents this instance.
-
-
- A that represents this instance.
-
-
-
-
- Gets or sets the converter used when serializing the property's collection items.
-
- The collection's items converter.
-
-
-
- Gets or sets whether this property's collection items are serialized as a reference.
-
- Whether this property's collection items are serialized as a reference.
-
-
-
- Gets or sets the type name handling used when serializing the property's collection items.
-
- The collection's items type name handling.
-
-
-
- Gets or sets the reference loop handling used when serializing the property's collection items.
-
- The collection's items reference loop handling.
-
-
-
- A collection of objects.
-
-
-
-
- Initializes a new instance of the class.
-
- The type.
-
-
-
- When implemented in a derived class, extracts the key from the specified element.
-
- The element from which to extract the key.
- The key for the specified element.
-
-
-
- Adds a object.
-
- The property to add to the collection.
-
-
-
- Gets the closest matching object.
- First attempts to get an exact case match of and then
- a case insensitive match.
-
- Name of the property.
- A matching property if found.
-
-
-
- Gets a property by property name.
-
- The name of the property to get.
- Type property name string comparison.
- A matching property if found.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Lookup and create an instance of the type described by the argument.
-
- The type to create.
- Optional arguments to pass to an initializing constructor of the JsonConverter.
- If null, the default constructor is used.
-
-
-
- A kebab case naming strategy.
-
-
-
-
- Initializes a new instance of the class.
-
-
- A flag indicating whether dictionary keys should be processed.
-
-
- A flag indicating whether explicitly specified property names should be processed,
- e.g. a property name customized with a .
-
-
-
-
- Initializes a new instance of the class.
-
-
- A flag indicating whether dictionary keys should be processed.
-
-
- A flag indicating whether explicitly specified property names should be processed,
- e.g. a property name customized with a .
-
-
- A flag indicating whether extension data names should be processed.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Resolves the specified property name.
-
- The property name to resolve.
- The resolved property name.
-
-
-
- Represents a trace writer that writes to memory. When the trace message limit is
- reached then old trace messages will be removed as new messages are added.
-
-
-
-
- Gets the that will be used to filter the trace messages passed to the writer.
- For example a filter level of will exclude messages and include ,
- and messages.
-
-
- The that will be used to filter the trace messages passed to the writer.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Writes the specified trace level, message and optional exception.
-
- The at which to write this trace.
- The trace message.
- The trace exception. This parameter is optional.
-
-
-
- Returns an enumeration of the most recent trace messages.
-
- An enumeration of the most recent trace messages.
-
-
-
- Returns a of the most recent trace messages.
-
-
- A of the most recent trace messages.
-
-
-
-
- A base class for resolving how property names and dictionary keys are serialized.
-
-
-
-
- A flag indicating whether dictionary keys should be processed.
- Defaults to false.
-
-
-
-
- A flag indicating whether extension data names should be processed.
- Defaults to false.
-
-
-
-
- A flag indicating whether explicitly specified property names,
- e.g. a property name customized with a , should be processed.
- Defaults to false.
-
-
-
-
- Gets the serialized name for a given property name.
-
- The initial property name.
- A flag indicating whether the property has had a name explicitly specified.
- The serialized property name.
-
-
-
- Gets the serialized name for a given extension data name.
-
- The initial extension data name.
- The serialized extension data name.
-
-
-
- Gets the serialized key for a given dictionary key.
-
- The initial dictionary key.
- The serialized dictionary key.
-
-
-
- Resolves the specified property name.
-
- The property name to resolve.
- The resolved property name.
-
-
-
- Hash code calculation
-
-
-
-
-
- Object equality implementation
-
-
-
-
-
-
- Compare to another NamingStrategy
-
-
-
-
-
-
- Represents a method that constructs an object.
-
- The object type to create.
-
-
-
- When applied to a method, specifies that the method is called when an error occurs serializing an object.
-
-
-
-
- Provides methods to get attributes from a , , or .
-
-
-
-
- Initializes a new instance of the class.
-
- The instance to get attributes for. This parameter should be a , , or .
-
-
-
- Returns a collection of all of the attributes, or an empty collection if there are no attributes.
-
- When true, look up the hierarchy chain for the inherited custom attribute.
- A collection of s, or an empty collection.
-
-
-
- Returns a collection of attributes, identified by type, or an empty collection if there are no attributes.
-
- The type of the attributes.
- When true, look up the hierarchy chain for the inherited custom attribute.
- A collection of s, or an empty collection.
-
-
-
- Get and set values for a using reflection.
-
-
-
-
- Initializes a new instance of the class.
-
- The member info.
-
-
-
- Sets the value.
-
- The target to set the value on.
- The value to set on the target.
-
-
-
- Gets the value.
-
- The target to get the value from.
- The value.
-
-
-
- A snake case naming strategy.
-
-
-
-
- Initializes a new instance of the class.
-
-
- A flag indicating whether dictionary keys should be processed.
-
-
- A flag indicating whether explicitly specified property names should be processed,
- e.g. a property name customized with a .
-
-
-
-
- Initializes a new instance of the class.
-
-
- A flag indicating whether dictionary keys should be processed.
-
-
- A flag indicating whether explicitly specified property names should be processed,
- e.g. a property name customized with a .
-
-
- A flag indicating whether extension data names should be processed.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Resolves the specified property name.
-
- The property name to resolve.
- The resolved property name.
-
-
-
- Specifies how strings are escaped when writing JSON text.
-
-
-
-
- Only control characters (e.g. newline) are escaped.
-
-
-
-
- All non-ASCII and control characters (e.g. newline) are escaped.
-
-
-
-
- HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped.
-
-
-
-
- Indicates the method that will be used during deserialization for locating and loading assemblies.
-
-
-
-
- In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the LoadWithPartialName method of the class is used to load the assembly.
-
-
-
-
- In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The Load method of the class is used to load the assembly.
-
-
-
-
- Specifies type name handling options for the .
-
-
- should be used with caution when your application deserializes JSON from an external source.
- Incoming types should be validated with a custom
- when deserializing with a value other than .
-
-
-
-
- Do not include the .NET type name when serializing types.
-
-
-
-
- Include the .NET type name when serializing into a JSON object structure.
-
-
-
-
- Include the .NET type name when serializing into a JSON array structure.
-
-
-
-
- Always include the .NET type name when serializing.
-
-
-
-
- Include the .NET type name when the type of the object being serialized is not the same as its declared type.
- Note that this doesn't include the root serialized object by default. To include the root object's type name in JSON
- you must specify a root type object with
- or .
-
-
-
-
- Determines whether the collection is null or empty.
-
- The collection.
-
- true if the collection is null or empty; otherwise, false.
-
-
-
-
- Adds the elements of the specified collection to the specified generic .
-
- The list to add to.
- The collection of elements to add.
-
-
-
- Converts the value to the specified type. If the value is unable to be converted, the
- value is checked whether it assignable to the specified type.
-
- The value to convert.
- The culture to use when converting.
- The type to convert or cast the value to.
-
- The converted type. If conversion was unsuccessful, the initial value
- is returned if assignable to the target type.
-
-
-
-
- Helper class for serializing immutable collections.
- Note that this is used by all builds, even those that don't support immutable collections, in case the DLL is GACed
- https://github.com/JamesNK/Newtonsoft.Json/issues/652
-
-
-
-
- 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 a that represents the total number
- of elements in a sequence.
-
-
-
-
- Returns a 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 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.
-
-
-
-
- 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.
-
-
-
-
- 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 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.
-
-
-
-
- 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.
-
-
-
-
- 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
- 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.
-
-
-
-
- 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.
-
-
-
-
- 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 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.
-
-
-
-
- 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.
-
-
-
-
- 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 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.
-
-
-
-
- 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.
-
-
-
-
- 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.
-
-
-
-
- Gets the type of the typed collection's items.
-
- The type.
- The type of the typed collection's items.
-
-
-
- Gets the member's underlying type.
-
- The member.
- The underlying type of the member.
-
-
-
- Determines whether the property is an indexed property.
-
- The property.
-
- true if the property is an indexed property; otherwise, false.
-
-
-
-
- Gets the member's value on the object.
-
- The member.
- The target object.
- The member's value on the object.
-
-
-
- Sets the member's value on the target object.
-
- The member.
- The target.
- The value.
-
-
-
- Determines whether the specified MemberInfo can be read.
-
- The MemberInfo to determine whether can be read.
- /// if set to true then allow the member to be gotten non-publicly.
-
- true if the specified MemberInfo can be read; otherwise, false.
-
-
-
-
- Determines whether the specified MemberInfo can be set.
-
- The MemberInfo to determine whether can be set.
- if set to true then allow the member to be set non-publicly.
- if set to true then allow the member to be set if read-only.
-
- true if the specified MemberInfo can be set; otherwise, false.
-
-
-
-
- Builds a string. Unlike this class lets you reuse its internal buffer.
-
-
-
-
- Determines whether the string is all white space. Empty string will return false.
-
- The string to test whether it is all white space.
-
- true if the string is all white space; otherwise, false.
-
-
-
-
- Specifies the state of the .
-
-
-
-
- An exception has been thrown, which has left the in an invalid state.
- You may call the method to put the in the Closed state.
- Any other method calls result in an being thrown.
-
-
-
-
- The method has been called.
-
-
-
-
- An object is being written.
-
-
-
-
- An array is being written.
-
-
-
-
- A constructor is being written.
-
-
-
-
- A property is being written.
-
-
-
-
- A write method has not been called.
-
-
-
-
- This attribute allows us to define extension methods without
- requiring .NET Framework 3.5. For more information, see the section,
- Extension Methods in .NET Framework 2.0 Apps,
- of Basic Instincts: Extension Methods
- column in MSDN Magazine,
- issue Nov 2007.
-
-
-
- Specifies that an output will not be null even if the corresponding type allows it.
-
-
- Specifies that when a method returns , the parameter will not be null even if the corresponding type allows it.
-
-
- Initializes the attribute with the specified return value condition.
-
- The return value condition. If the method returns this value, the associated parameter will not be null.
-
-
-
- Gets the return value condition.
-
-
- Specifies that an output may be null even if the corresponding type disallows it.
-
-
- Specifies that null is allowed as an input even if the corresponding type disallows it.
-
-
-
- Specifies that the method will not return if the associated Boolean parameter is passed the specified value.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The condition parameter value. Code after the method will be considered unreachable by diagnostics if the argument to
- the associated parameter matches this value.
-
-
-
- Gets the condition parameter value.
-
-
-
diff --git a/packages/Newtonsoft.Json.13.0.3/lib/net35/Newtonsoft.Json.dll b/packages/Newtonsoft.Json.13.0.3/lib/net35/Newtonsoft.Json.dll
deleted file mode 100644
index cd6d483..0000000
Binary files a/packages/Newtonsoft.Json.13.0.3/lib/net35/Newtonsoft.Json.dll and /dev/null differ
diff --git a/packages/Newtonsoft.Json.13.0.3/lib/net35/Newtonsoft.Json.xml b/packages/Newtonsoft.Json.13.0.3/lib/net35/Newtonsoft.Json.xml
deleted file mode 100644
index 1934448..0000000
--- a/packages/Newtonsoft.Json.13.0.3/lib/net35/Newtonsoft.Json.xml
+++ /dev/null
@@ -1,9541 +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 BSON data.
-
-
-
-
- Gets or sets a value indicating whether binary data reading should be compatible with incorrect Json.NET 3.5 written binary.
-
-
- true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether the root object will be read as a JSON array.
-
-
- true if the root object will be read as a JSON array; otherwise, false.
-
-
-
-
- Gets or sets the used when reading values from BSON.
-
- The used when reading values from BSON.
-
-
-
- Initializes a new instance of the class.
-
- The containing the BSON data to read.
-
-
-
- Initializes a new instance of the class.
-
- The containing the BSON data to read.
-
-
-
- Initializes a new instance of the class.
-
- The containing the BSON data to read.
- if set to true the root object will be read as a JSON array.
- The used when reading values from BSON.
-
-
-
- Initializes a new instance of the class.
-
- The containing the BSON data to read.
- if set to true the root object will be read as a JSON array.
- The used when reading values from BSON.
-
-
-
- Reads the next JSON token from the underlying .
-
-
- true if the next token was read successfully; false if there are no more tokens to read.
-
-
-
-
- Changes the reader's state to .
- If is set to true, the underlying is also closed.
-
-
-
-
- Represents a writer that provides a fast, non-cached, forward-only way of generating BSON data.
-
-
-
-
- Gets or sets the used when writing values to BSON.
- When set to no conversion will occur.
-
- The used when writing values to BSON.
-
-
-
- Initializes a new instance of the class.
-
- The to write to.
-
-
-
- Initializes a new instance of the class.
-
- The to write to.
-
-
-
- Flushes whatever is in the buffer to the underlying and also flushes the underlying stream.
-
-
-
-
- Writes the end.
-
- The token.
-
-
-
- Writes a comment /*...*/ containing the specified text.
-
- Text to place inside the comment.
-
-
-
- Writes the start of a constructor with the given name.
-
- The name of the constructor.
-
-
-
- Writes raw JSON.
-
- The raw JSON to write.
-
-
-
- Writes raw JSON where a value is expected and updates the writer's state.
-
- The raw JSON to write.
-
-
-
- Writes the beginning of a JSON array.
-
-
-
-
- Writes the beginning of a JSON object.
-
-
-
-
- Writes the property name of a name/value pair on a JSON object.
-
- The name of the property.
-
-
-
- Closes this writer.
- If is set to true, the underlying is also closed.
- If is set to true, the JSON is auto-completed.
-
-
-
-
- Writes a value.
- An error will raised if the value cannot be written as a single JSON token.
-
- The value to write.
-
-
-
- Writes a null value.
-
-
-
-
- Writes an undefined value.
-
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a [] value.
-
- The [] value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a [] value that represents a BSON object id.
-
- The Object ID value to write.
-
-
-
- Writes a BSON regex.
-
- The regex pattern.
- The regex options.
-
-
-
- Specifies how constructors are used when initializing objects during deserialization by the .
-
-
-
-
- First attempt to use the public default constructor, then fall back to a single parameterized constructor, then to the non-public default constructor.
-
-
-
-
- Json.NET will use a non-public default constructor before falling back to a parameterized constructor.
-
-
-
-
- Converts a binary value to and from a base 64 string value.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts a to and from JSON and BSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Creates a custom object.
-
- The object type to convert.
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Creates an object which will then be populated by the serializer.
-
- Type of the object.
- The created object.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Gets a value indicating whether this can write JSON.
-
-
- true if this can write JSON; otherwise, false.
-
-
-
-
- Converts a to and from JSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified value type.
-
- Type of the value.
-
- true if this instance can convert the specified value type; otherwise, false.
-
-
-
-
- Converts a to and from JSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified value type.
-
- Type of the value.
-
- true if this instance can convert the specified value type; otherwise, false.
-
-
-
-
- Provides a base class for converting a to and from JSON.
-
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts an Entity Framework to and from JSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts a to and from the ISO 8601 date format (e.g. "2008-04-12T12:53Z").
-
-
-
-
- Gets or sets the date time styles used when converting a date to and from JSON.
-
- The date time styles used when converting a date to and from JSON.
-
-
-
- Gets or sets the date time format used when converting a date to and from JSON.
-
- The date time format used when converting a date to and from JSON.
-
-
-
- Gets or sets the culture used when converting a date to and from JSON.
-
- The culture used when converting a date to and from JSON.
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Converts a to and from a JavaScript Date constructor (e.g. new Date(52231943)).
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing property value of the JSON that is being converted.
- The calling serializer.
- The object value.
-
-
-
- Converts a to and from JSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts a to and from JSON and BSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts an to and from its name string value.
-
-
-
-
- Gets or sets a value indicating whether the written enum text should be camel case.
- The default value is false.
-
- true if the written enum text will be camel case; otherwise, false.
-
-
-
- Gets or sets the naming strategy used to resolve how enum text is written.
-
- The naming strategy used to resolve how enum text is written.
-
-
-
- Gets or sets a value indicating whether integer values are allowed when serializing and deserializing.
- The default value is true.
-
- true if integers are allowed when serializing and deserializing; otherwise, false.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- true if the written enum text will be camel case; otherwise, false.
-
-
-
- Initializes a new instance of the class.
-
- The naming strategy used to resolve how enum text is written.
- true if integers are allowed when serializing and deserializing; otherwise, false.
-
-
-
- Initializes a new instance of the class.
-
- The of the used to write enum text.
-
-
-
- Initializes a new instance of the class.
-
- The of the used to write enum text.
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
- When non-null, there must be a constructor defined in the that exactly matches the number,
- order, and type of these parameters.
-
-
-
-
- Initializes a new instance of the class.
-
- The of the used to write enum text.
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
- When non-null, there must be a constructor defined in the that exactly matches the number,
- order, and type of these parameters.
-
- true if integers are allowed when serializing and deserializing; otherwise, false.
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts a to and from Unix epoch time
-
-
-
-
- Gets or sets a value indicating whether the dates before Unix epoch
- should converted to and from JSON.
-
-
- true to allow converting dates before Unix epoch to and from JSON;
- false to throw an exception when a date being converted to or from JSON
- occurred before Unix epoch. The default value is false.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
-
- true to allow converting dates before Unix epoch to and from JSON;
- false to throw an exception when a date being converted to or from JSON
- occurred before Unix epoch. The default value is 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 property value of the JSON that is being converted.
- The calling serializer.
- The object value.
-
-
-
- Converts a to and from a string (e.g. "1.2.3.4").
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing property value of the JSON that is being converted.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts XML to and from JSON.
-
-
-
-
- Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produced multiple root elements.
-
- The name of the deserialized root element.
-
-
-
- Gets or sets a value to indicate whether to write the Json.NET array attribute.
- This attribute helps preserve arrays when converting the written XML back to JSON.
-
- true if the array attribute is written to the XML; otherwise, false.
-
-
-
- Gets or sets a value indicating whether to write the root JSON object.
-
- true if the JSON root object is omitted; otherwise, false.
-
-
-
- Gets or sets a value indicating whether to encode special characters when converting JSON to XML.
- If true, special characters like ':', '@', '?', '#' and '$' in JSON property names aren't used to specify
- XML namespaces, attributes or processing directives. Instead special characters are encoded and written
- as part of the XML element name.
-
- true if special characters are encoded; otherwise, false.
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The calling serializer.
- The value.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Checks if the is a namespace attribute.
-
- Attribute name to test.
- The attribute name prefix if it has one, otherwise an empty string.
- true if attribute name is for a namespace attribute, otherwise false.
-
-
-
- Determines whether this instance can convert the specified value type.
-
- Type of the value.
-
- true if this instance can convert the specified value type; otherwise, false.
-
-
-
-
- Specifies how dates are formatted when writing JSON text.
-
-
-
-
- Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z".
-
-
-
-
- Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/".
-
-
-
-
- Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text.
-
-
-
-
- Date formatted strings are not parsed to a date type and are read as strings.
-
-
-
-
- Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to .
-
-
-
-
- Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to .
-
-
-
-
- Specifies how to treat the time value when converting between string and .
-
-
-
-
- Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time.
-
-
-
-
- Treat as a UTC. If the object represents a local time, it is converted to a UTC.
-
-
-
-
- Treat as a local time if a is being converted to a string.
- If a string is being converted to , convert to a local time if a time zone is specified.
-
-
-
-
- Time zone information should be preserved when converting.
-
-
-
-
- The default JSON name table implementation.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets a string containing the same characters as the specified range of characters in the given array.
-
- The character array containing the name to find.
- The zero-based index into the array specifying the first character of the name.
- The number of characters in the name.
- A string containing the same characters as the specified range of characters in the given array.
-
-
-
- Adds the specified string into name table.
-
- The string to add.
- This method is not thread-safe.
- The resolved string.
-
-
-
- Specifies default value handling options for the .
-
-
-
-
-
-
-
-
- Include members where the member value is the same as the member's default value when serializing objects.
- Included members are written to JSON. Has no effect when deserializing.
-
-
-
-
- Ignore members where the member value is the same as the member's default value when serializing objects
- so that it is not written to JSON.
- This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers,
- decimals and floating point numbers; and false for booleans). The default value ignored can be changed by
- placing the on the property.
-
-
-
-
- Members with a default value but no JSON will be set to their default value when deserializing.
-
-
-
-
- Ignore members where the member value is the same as the member's default value when serializing objects
- and set members to their default value when deserializing.
-
-
-
-
- Specifies float format handling options when writing special floating point numbers, e.g. ,
- and with .
-
-
-
-
- Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity".
-
-
-
-
- Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity.
- Note that this will produce non-valid JSON.
-
-
-
-
- Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a of property.
-
-
-
-
- Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
-
-
-
-
- Floating point numbers are parsed to .
-
-
-
-
- Floating point numbers are parsed to .
-
-
-
-
- Specifies formatting options for the .
-
-
-
-
- No special formatting is applied. This is the default.
-
-
-
-
- Causes child objects to be indented according to the and settings.
-
-
-
-
- Provides an interface for using pooled arrays.
-
- The array type content.
-
-
-
- Rent an array from the pool. This array must be returned when it is no longer needed.
-
- The minimum required length of the array. The returned array may be longer.
- The rented array from the pool. This array must be returned when it is no longer needed.
-
-
-
- Return an array to the pool.
-
- The array that is being returned.
-
-
-
- Provides an interface to enable a class to return line and position information.
-
-
-
-
- Gets a value indicating whether the class can return line information.
-
-
- true if and can be provided; otherwise, false.
-
-
-
-
- Gets the current line number.
-
- The current line number or 0 if no line information is available (for example, when returns false).
-
-
-
- Gets the current line position.
-
- The current line position or 0 if no line information is available (for example, when returns false).
-
-
-
- Instructs the how to serialize the collection.
-
-
-
-
- Gets or sets a value indicating whether null items are allowed in the collection.
-
- true if null items are allowed in the collection; otherwise, false.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class with a flag indicating whether the array can contain null items.
-
- A flag indicating whether the array can contain null items.
-
-
-
- Initializes a new instance of the class with the specified container Id.
-
- The container Id.
-
-
-
- Instructs the to use the specified constructor when deserializing that object.
-
-
-
-
- Instructs the how to serialize the object.
-
-
-
-
- Gets or sets the id.
-
- The id.
-
-
-
- Gets or sets the title.
-
- The title.
-
-
-
- Gets or sets the description.
-
- The description.
-
-
-
- Gets or sets the collection's items converter.
-
- The collection's items converter.
-
-
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
- When non-null, there must be a constructor defined in the that exactly matches the number,
- order, and type of these parameters.
-
-
-
- [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })]
-
-
-
-
-
- Gets or sets the of the .
-
- The of the .
-
-
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
- When non-null, there must be a constructor defined in the that exactly matches the number,
- order, and type of these parameters.
-
-
-
- [JsonContainer(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })]
-
-
-
-
-
- Gets or sets a value that indicates whether to preserve object references.
-
-
- true to keep object reference; otherwise, false. The default is false.
-
-
-
-
- Gets or sets a value that indicates whether to preserve collection's items references.
-
-
- true to keep collection's items object references; otherwise, false. The default is false.
-
-
-
-
- Gets or sets the reference loop handling used when serializing the collection's items.
-
- The reference loop handling.
-
-
-
- Gets or sets the type name handling used when serializing the collection's items.
-
- The type name handling.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class with the specified container Id.
-
- The container Id.
-
-
-
- Provides methods for converting between .NET types and JSON types.
-
-
-
-
-
-
-
- Gets or sets a function that creates default .
- Default settings are automatically used by serialization methods on ,
- and and on .
- To serialize without using any default settings create a with
- .
-
-
-
-
- Represents JavaScript's boolean value true as a string. This field is read-only.
-
-
-
-
- Represents JavaScript's boolean value false as a string. This field is read-only.
-
-
-
-
- Represents JavaScript's null as a string. This field is read-only.
-
-
-
-
- Represents JavaScript's undefined as a string. This field is read-only.
-
-
-
-
- Represents JavaScript's positive infinity as a string. This field is read-only.
-
-
-
-
- Represents JavaScript's negative infinity as a string. This field is read-only.
-
-
-
-
- Represents JavaScript's NaN as a string. This field is read-only.
-
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation using the specified.
-
- The value to convert.
- The format the date will be converted to.
- The time zone handling when the date is converted to a string.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation using the specified.
-
- The value to convert.
- The format the date will be converted to.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- The string delimiter character.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- The string delimiter character.
- The string escape handling.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Serializes the specified object to a JSON string.
-
- The object to serialize.
- A JSON string representation of the object.
-
-
-
- Serializes the specified object to a JSON string using formatting.
-
- The object to serialize.
- Indicates how the output should be formatted.
-
- A JSON string representation of the object.
-
-
-
-
- Serializes the specified object to a JSON string using a collection of .
-
- The object to serialize.
- A collection of converters used while serializing.
- A JSON string representation of the object.
-
-
-
- Serializes the specified object to a JSON string using formatting and a collection of .
-
- The object to serialize.
- Indicates how the output should be formatted.
- A collection of converters used while serializing.
- A JSON string representation of the object.
-
-
-
- Serializes the specified object to a JSON string using .
-
- The object to serialize.
- The used to serialize the object.
- If this is null, default serialization settings will be used.
-
- A JSON string representation of the object.
-
-
-
-
- Serializes the specified object to a JSON string using a type, formatting and .
-
- The object to serialize.
- The used to serialize the object.
- If this is null, default serialization settings will be used.
-
- The type of the value being serialized.
- This parameter is used when is to write out the type name if the type of the value does not match.
- Specifying the type is optional.
-
-
- A JSON string representation of the object.
-
-
-
-
- Serializes the specified object to a JSON string using formatting and .
-
- The object to serialize.
- Indicates how the output should be formatted.
- The used to serialize the object.
- If this is null, default serialization settings will be used.
-
- A JSON string representation of the object.
-
-
-
-
- Serializes the specified object to a JSON string using a type, formatting and .
-
- The object to serialize.
- Indicates how the output should be formatted.
- The used to serialize the object.
- If this is null, default serialization settings will be used.
-
- The type of the value being serialized.
- This parameter is used when is to write out the type name if the type of the value does not match.
- Specifying the type is optional.
-
-
- A JSON string representation of the object.
-
-
-
-
- Deserializes the JSON to a .NET object.
-
- The JSON to deserialize.
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to a .NET object using .
-
- The JSON to deserialize.
-
- The used to deserialize the object.
- If this is null, default serialization settings will be used.
-
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to the specified .NET type.
-
- The JSON to deserialize.
- The of object being deserialized.
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to the specified .NET type.
-
- The type of the object to deserialize to.
- The JSON to deserialize.
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to the given anonymous type.
-
-
- The anonymous type to deserialize to. This can't be specified
- traditionally and must be inferred from the anonymous type passed
- as a parameter.
-
- The JSON to deserialize.
- The anonymous type object.
- The deserialized anonymous type from the JSON string.
-
-
-
- Deserializes the JSON to the given anonymous type using .
-
-
- The anonymous type to deserialize to. This can't be specified
- traditionally and must be inferred from the anonymous type passed
- as a parameter.
-
- The JSON to deserialize.
- The anonymous type object.
-
- The used to deserialize the object.
- If this is null, default serialization settings will be used.
-
- The deserialized anonymous type from the JSON string.
-
-
-
- Deserializes the JSON to the specified .NET type using a collection of .
-
- The type of the object to deserialize to.
- The JSON to deserialize.
- Converters to use while deserializing.
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to the specified .NET type using .
-
- The type of the object to deserialize to.
- The object to deserialize.
-
- The used to deserialize the object.
- If this is null, default serialization settings will be used.
-
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to the specified .NET type using a collection of .
-
- The JSON to deserialize.
- The type of the object to deserialize.
- Converters to use while deserializing.
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to the specified .NET type using .
-
- The JSON to deserialize.
- The type of the object to deserialize to.
-
- The used to deserialize the object.
- If this is null, default serialization settings will be used.
-
- The deserialized object from the JSON string.
-
-
-
- Populates the object with values from the JSON string.
-
- The JSON to populate values from.
- The target object to populate values onto.
-
-
-
- Populates the object with values from the JSON string using .
-
- The JSON to populate values from.
- The target object to populate values onto.
-
- The used to deserialize the object.
- If this is null, default serialization settings will be used.
-
-
-
-
- Serializes the to a JSON string.
-
- The node to serialize.
- A JSON string of the .
-
-
-
- Serializes the to a JSON string using formatting.
-
- The node to serialize.
- Indicates how the output should be formatted.
- A JSON string of the .
-
-
-
- Serializes the to a JSON string using formatting and omits the root object if is true.
-
- The node to serialize.
- Indicates how the output should be formatted.
- Omits writing the root object.
- A JSON string of the .
-
-
-
- Deserializes the from a JSON string.
-
- The JSON string.
- The deserialized .
-
-
-
- Deserializes the from a JSON string nested in a root element specified by .
-
- The JSON string.
- The name of the root element to append when deserializing.
- The deserialized .
-
-
-
- Deserializes the from a JSON string nested in a root element specified by
- and writes a Json.NET array attribute for collections.
-
- The JSON string.
- The name of the root element to append when deserializing.
-
- A value to indicate whether to write the Json.NET array attribute.
- This attribute helps preserve arrays when converting the written XML back to JSON.
-
- The deserialized .
-
-
-
- Deserializes the from a JSON string nested in a root element specified by ,
- writes a Json.NET array attribute for collections, and encodes special characters.
-
- The JSON string.
- The name of the root element to append when deserializing.
-
- A value to indicate whether to write the Json.NET array attribute.
- This attribute helps preserve arrays when converting the written XML back to JSON.
-
-
- A value to indicate whether to encode special characters when converting JSON to XML.
- If true, special characters like ':', '@', '?', '#' and '$' in JSON property names aren't used to specify
- XML namespaces, attributes or processing directives. Instead special characters are encoded and written
- as part of the XML element name.
-
- The deserialized .
-
-
-
- Serializes the to a JSON string.
-
- The node to convert to JSON.
- A JSON string of the .
-
-
-
- Serializes the to a JSON string using formatting.
-
- The node to convert to JSON.
- Indicates how the output should be formatted.
- A JSON string of the .
-
-
-
- Serializes the to a JSON string using formatting and omits the root object if is true.
-
- The node to serialize.
- Indicates how the output should be formatted.
- Omits writing the root object.
- A JSON string of the .
-
-
-
- Deserializes the from a JSON string.
-
- The JSON string.
- The deserialized .
-
-
-
- Deserializes the from a JSON string nested in a root element specified by .
-
- The JSON string.
- The name of the root element to append when deserializing.
- The deserialized .
-
-
-
- Deserializes the from a JSON string nested in a root element specified by
- and writes a Json.NET array attribute for collections.
-
- The JSON string.
- The name of the root element to append when deserializing.
-
- A value to indicate whether to write the Json.NET array attribute.
- This attribute helps preserve arrays when converting the written XML back to JSON.
-
- The deserialized .
-
-
-
- Deserializes the from a JSON string nested in a root element specified by ,
- writes a Json.NET array attribute for collections, and encodes special characters.
-
- The JSON string.
- The name of the root element to append when deserializing.
-
- A value to indicate whether to write the Json.NET array attribute.
- This attribute helps preserve arrays when converting the written XML back to JSON.
-
-
- A value to indicate whether to encode special characters when converting JSON to XML.
- If true, special characters like ':', '@', '?', '#' and '$' in JSON property names aren't used to specify
- XML namespaces, attributes or processing directives. Instead special characters are encoded and written
- as part of the XML element name.
-
- The deserialized .
-
-
-
- Converts an object to and from JSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Gets a value indicating whether this can read JSON.
-
- true if this can read JSON; otherwise, false.
-
-
-
- Gets a value indicating whether this can write JSON.
-
- true if this can write JSON; otherwise, false.
-
-
-
- Converts an object to and from JSON.
-
- The object type to convert.
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read. If there is no existing value then null will be used.
- The existing value has a value.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Instructs the to use the specified when serializing the member or class.
-
-
-
-
- Gets the of the .
-
- The of the .
-
-
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
-
-
-
-
- Initializes a new instance of the class.
-
- Type of the .
-
-
-
- Initializes a new instance of the class.
-
- Type of the .
- Parameter list to use when constructing the . Can be null.
-
-
-
- Represents a collection of .
-
-
-
-
- Instructs the how to serialize the collection.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class with the specified container Id.
-
- The container Id.
-
-
-
- The exception thrown when an error occurs during JSON serialization or deserialization.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- with a specified error message.
-
- The error message that explains the reason for the exception.
-
-
-
- Initializes a new instance of the class
- with a specified error message and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Initializes a new instance of the class.
-
- The that holds the serialized object data about the exception being thrown.
- The that contains contextual information about the source or destination.
- The parameter is null.
- The class name is null or is zero (0).
-
-
-
- Instructs the to deserialize properties with no matching class member into the specified collection
- and write values during serialization.
-
-
-
-
- Gets or sets a value that indicates whether to write extension data when serializing the object.
-
-
- true to write extension data when serializing the object; otherwise, false. The default is true.
-
-
-
-
- Gets or sets a value that indicates whether to read extension data when deserializing the object.
-
-
- true to read extension data when deserializing the object; otherwise, false. The default is true.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Instructs the not to serialize the public field or public read/write property value.
-
-
-
-
- Base class for a table of atomized string objects.
-
-
-
-
- Gets a string containing the same characters as the specified range of characters in the given array.
-
- The character array containing the name to find.
- The zero-based index into the array specifying the first character of the name.
- The number of characters in the name.
- A string containing the same characters as the specified range of characters in the given array.
-
-
-
- Instructs the how to serialize the object.
-
-
-
-
- Gets or sets the member serialization.
-
- The member serialization.
-
-
-
- Gets or sets the missing member handling used when deserializing this object.
-
- The missing member handling.
-
-
-
- Gets or sets how the object's properties with null values are handled during serialization and deserialization.
-
- How the object's properties with null values are handled during serialization and deserialization.
-
-
-
- Gets or sets a value that indicates whether the object's properties are required.
-
-
- A value indicating whether the object's properties are required.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class with the specified member serialization.
-
- The member serialization.
-
-
-
- Initializes a new instance of the class with the specified container Id.
-
- The container Id.
-
-
-
- Instructs the to always serialize the member with the specified name.
-
-
-
-
- Gets or sets the type used when serializing the property's collection items.
-
- The collection's items type.
-
-
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
- When non-null, there must be a constructor defined in the that exactly matches the number,
- order, and type of these parameters.
-
-
-
- [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })]
-
-
-
-
-
- Gets or sets the of the .
-
- The of the .
-
-
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
- When non-null, there must be a constructor defined in the that exactly matches the number,
- order, and type of these parameters.
-
-
-
- [JsonProperty(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })]
-
-
-
-
-
- Gets or sets the null value handling used when serializing this property.
-
- The null value handling.
-
-
-
- Gets or sets the default value handling used when serializing this property.
-
- The default value handling.
-
-
-
- Gets or sets the reference loop handling used when serializing this property.
-
- The reference loop handling.
-
-
-
- Gets or sets the object creation handling used when deserializing this property.
-
- The object creation handling.
-
-
-
- Gets or sets the type name handling used when serializing this property.
-
- The type name handling.
-
-
-
- Gets or sets whether this property's value is serialized as a reference.
-
- Whether this property's value is serialized as a reference.
-
-
-
- Gets or sets the order of serialization of a member.
-
- The numeric order of serialization.
-
-
-
- Gets or sets a value indicating whether this property is required.
-
-
- A value indicating whether this property is required.
-
-
-
-
- Gets or sets the name of the property.
-
- The name of the property.
-
-
-
- Gets or sets the reference loop handling used when serializing the property's collection items.
-
- The collection's items reference loop handling.
-
-
-
- Gets or sets the type name handling used when serializing the property's collection items.
-
- The collection's items type name handling.
-
-
-
- Gets or sets whether this property's collection items are serialized as a reference.
-
- Whether this property's collection items are serialized as a reference.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class with the specified name.
-
- Name of the property.
-
-
-
- Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data.
-
-
-
-
- Specifies the state of the reader.
-
-
-
-
- A read method has not been called.
-
-
-
-
- The end of the file has been reached successfully.
-
-
-
-
- Reader is at a property.
-
-
-
-
- Reader is at the start of an object.
-
-
-
-
- Reader is in an object.
-
-
-
-
- Reader is at the start of an array.
-
-
-
-
- Reader is in an array.
-
-
-
-
- The method has been called.
-
-
-
-
- Reader has just read a value.
-
-
-
-
- Reader is at the start of a constructor.
-
-
-
-
- Reader is in a constructor.
-
-
-
-
- An error occurred that prevents the read operation from continuing.
-
-
-
-
- The end of the file has been reached successfully.
-
-
-
-
- Gets the current reader state.
-
- The current reader state.
-
-
-
- Gets or sets a value indicating whether the source should be closed when this reader is closed.
-
-
- true to close the source when this reader is closed; otherwise false. The default is true.
-
-
-
-
- Gets or sets a value indicating whether multiple pieces of JSON content can
- be read from a continuous stream without erroring.
-
-
- true to support reading multiple pieces of JSON content; otherwise false.
- The default is false.
-
-
-
-
- Gets the quotation mark character used to enclose the value of a string.
-
-
-
-
- Gets or sets how time zones are handled when reading JSON.
-
-
-
-
- Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON.
-
-
-
-
- Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
-
-
-
-
- Gets or sets how custom date formatted strings are parsed when reading JSON.
-
-
-
-
- Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a .
- A null value means there is no maximum.
- The default value is 64.
-
-
-
-
- Gets the type of the current JSON token.
-
-
-
-
- Gets the text value of the current JSON token.
-
-
-
-
- Gets the .NET type for the current JSON token.
-
-
-
-
- Gets the depth of the current token in the JSON document.
-
- The depth of the current token in the JSON document.
-
-
-
- Gets the path of the current JSON token.
-
-
-
-
- Gets or sets the culture used when reading JSON. Defaults to .
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Reads the next JSON token from the source.
-
- true if the next token was read successfully; false if there are no more tokens to read.
-
-
-
- Reads the next JSON token from the source as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a .
-
- A . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a [].
-
- A [] or null if the next JSON token is null. This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Skips the children of the current token.
-
-
-
-
- Sets the current token.
-
- The new token.
-
-
-
- Sets the current token and value.
-
- The new token.
- The value.
-
-
-
- Sets the current token and value.
-
- The new token.
- The value.
- A flag indicating whether the position index inside an array should be updated.
-
-
-
- Sets the state based on current token type.
-
-
-
-
- Releases unmanaged and - optionally - managed resources.
-
- true to release both managed and unmanaged resources; false to release only unmanaged resources.
-
-
-
- Changes the reader's state to .
- If is set to true, the source is also closed.
-
-
-
-
- The exception thrown when an error occurs while reading JSON text.
-
-
-
-
- Gets the line number indicating where the error occurred.
-
- The line number indicating where the error occurred.
-
-
-
- Gets the line position indicating where the error occurred.
-
- The line position indicating where the error occurred.
-
-
-
- Gets the path to the JSON where the error occurred.
-
- The path to the JSON where the error occurred.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- with a specified error message.
-
- The error message that explains the reason for the exception.
-
-
-
- Initializes a new instance of the class
- with a specified error message and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Initializes a new instance of the class.
-
- The that holds the serialized object data about the exception being thrown.
- The that contains contextual information about the source or destination.
- The parameter is null.
- The class name is null or is zero (0).
-
-
-
- Initializes a new instance of the class
- with a specified error message, JSON path, line number, line position, and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The path to the JSON where the error occurred.
- The line number indicating where the error occurred.
- The line position indicating where the error occurred.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Instructs the to always serialize the member, and to require that the member has a value.
-
-
-
-
- The exception thrown when an error occurs during JSON serialization or deserialization.
-
-
-
-
- Gets the line number indicating where the error occurred.
-
- The line number indicating where the error occurred.
-
-
-
- Gets the line position indicating where the error occurred.
-
- The line position indicating where the error occurred.
-
-
-
- Gets the path to the JSON where the error occurred.
-
- The path to the JSON where the error occurred.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- with a specified error message.
-
- The error message that explains the reason for the exception.
-
-
-
- Initializes a new instance of the class
- with a specified error message and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Initializes a new instance of the class.
-
- The that holds the serialized object data about the exception being thrown.
- The that contains contextual information about the source or destination.
- The parameter is null.
- The class name is null or is zero (0).
-
-
-
- Initializes a new instance of the class
- with a specified error message, JSON path, line number, line position, and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The path to the JSON where the error occurred.
- The line number indicating where the error occurred.
- The line position indicating where the error occurred.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Serializes and deserializes objects into and from the JSON format.
- The enables you to control how objects are encoded into JSON.
-
-
-
-
- Occurs when the errors during serialization and deserialization.
-
-
-
-
- Gets or sets the used by the serializer when resolving references.
-
-
-
-
- Gets or sets the used by the serializer when resolving type names.
-
-
-
-
- Gets or sets the used by the serializer when resolving type names.
-
-
-
-
- Gets or sets the used by the serializer when writing trace messages.
-
- The trace writer.
-
-
-
- Gets or sets the equality comparer used by the serializer when comparing references.
-
- The equality comparer.
-
-
-
- Gets or sets how type name writing and reading is handled by the serializer.
- The default value is .
-
-
- should be used with caution when your application deserializes JSON from an external source.
- Incoming types should be validated with a custom
- when deserializing with a value other than .
-
-
-
-
- Gets or sets how a type name assembly is written and resolved by the serializer.
- The default value is .
-
- The type name assembly format.
-
-
-
- Gets or sets how a type name assembly is written and resolved by the serializer.
- The default value is .
-
- The type name assembly format.
-
-
-
- Gets or sets how object references are preserved by the serializer.
- The default value is .
-
-
-
-
- Gets or sets how reference loops (e.g. a class referencing itself) is handled.
- The default value is .
-
-
-
-
- Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization.
- The default value is .
-
-
-
-
- Gets or sets how null values are handled during serialization and deserialization.
- The default value is .
-
-
-
-
- Gets or sets how default values are handled during serialization and deserialization.
- The default value is .
-
-
-
-
- Gets or sets how objects are created during deserialization.
- The default value is .
-
- The object creation handling.
-
-
-
- Gets or sets how constructors are used during deserialization.
- The default value is .
-
- The constructor handling.
-
-
-
- Gets or sets how metadata properties are used during deserialization.
- The default value is .
-
- The metadata properties handling.
-
-
-
- Gets a collection that will be used during serialization.
-
- Collection that will be used during serialization.
-
-
-
- Gets or sets the contract resolver used by the serializer when
- serializing .NET objects to JSON and vice versa.
-
-
-
-
- Gets or sets the used by the serializer when invoking serialization callback methods.
-
- The context.
-
-
-
- Indicates how JSON text output is formatted.
- The default value is .
-
-
-
-
- Gets or sets how dates are written to JSON text.
- The default value is .
-
-
-
-
- Gets or sets how time zones are handled during serialization and deserialization.
- The default value is .
-
-
-
-
- Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON.
- The default value is .
-
-
-
-
- Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
- The default value is .
-
-
-
-
- Gets or sets how special floating point numbers, e.g. ,
- and ,
- are written as JSON text.
- The default value is .
-
-
-
-
- Gets or sets how strings are escaped when writing JSON text.
- The default value is .
-
-
-
-
- Gets or sets how and values are formatted when writing JSON text,
- and the expected date format when reading JSON text.
- The default value is "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK".
-
-
-
-
- Gets or sets the culture used when reading JSON.
- The default value is .
-
-
-
-
- Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a .
- A null value means there is no maximum.
- The default value is 64.
-
-
-
-
- Gets a value indicating whether there will be a check for additional JSON content after deserializing an object.
- The default value is false.
-
-
- true if there will be a check for additional JSON content after deserializing an object; otherwise, false.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Creates a new instance.
- The will not use default settings
- from .
-
-
- A new instance.
- The will not use default settings
- from .
-
-
-
-
- Creates a new instance using the specified .
- The will not use default settings
- from .
-
- The settings to be applied to the .
-
- A new instance using the specified .
- The will not use default settings
- from .
-
-
-
-
- Creates a new instance.
- The will use default settings
- from .
-
-
- A new instance.
- The will use default settings
- from .
-
-
-
-
- Creates a new instance using the specified .
- The will use default settings
- from as well as the specified .
-
- The settings to be applied to the .
-
- A new instance using the specified .
- The will use default settings
- from as well as the specified .
-
-
-
-
- Populates the JSON values onto the target object.
-
- The that contains the JSON structure to read values from.
- The target object to populate values onto.
-
-
-
- Populates the JSON values onto the target object.
-
- The that contains the JSON structure to read values from.
- The target object to populate values onto.
-
-
-
- Deserializes the JSON structure contained by the specified .
-
- The that contains the JSON structure to deserialize.
- The being deserialized.
-
-
-
- Deserializes the JSON structure contained by the specified
- into an instance of the specified type.
-
- The containing the object.
- The of object being deserialized.
- The instance of being deserialized.
-
-
-
- Deserializes the JSON structure contained by the specified
- into an instance of the specified type.
-
- The containing the object.
- The type of the object to deserialize.
- The instance of being deserialized.
-
-
-
- Deserializes the JSON structure contained by the specified
- into an instance of the specified type.
-
- The containing the object.
- The of object being deserialized.
- The instance of being deserialized.
-
-
-
- Serializes the specified and writes the JSON structure
- using the specified .
-
- The used to write the JSON structure.
- The to serialize.
-
-
-
- Serializes the specified and writes the JSON structure
- using the specified .
-
- The used to write the JSON structure.
- The to serialize.
-
- The type of the value being serialized.
- This parameter is used when is to write out the type name if the type of the value does not match.
- Specifying the type is optional.
-
-
-
-
- Serializes the specified and writes the JSON structure
- using the specified .
-
- The used to write the JSON structure.
- The to serialize.
-
- The type of the value being serialized.
- This parameter is used when is Auto to write out the type name if the type of the value does not match.
- Specifying the type is optional.
-
-
-
-
- Serializes the specified and writes the JSON structure
- using the specified .
-
- The used to write the JSON structure.
- The to serialize.
-
-
-
- Specifies the settings on a object.
-
-
-
-
- Gets or sets how reference loops (e.g. a class referencing itself) are handled.
- The default value is .
-
- Reference loop handling.
-
-
-
- Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization.
- The default value is .
-
- Missing member handling.
-
-
-
- Gets or sets how objects are created during deserialization.
- The default value is .
-
- The object creation handling.
-
-
-
- Gets or sets how null values are handled during serialization and deserialization.
- The default value is .
-
- Null value handling.
-
-
-
- Gets or sets how default values are handled during serialization and deserialization.
- The default value is .
-
- The default value handling.
-
-
-
- Gets or sets a collection that will be used during serialization.
-
- The converters.
-
-
-
- Gets or sets how object references are preserved by the serializer.
- The default value is .
-
- The preserve references handling.
-
-
-
- Gets or sets how type name writing and reading is handled by the serializer.
- The default value is .
-
-
- should be used with caution when your application deserializes JSON from an external source.
- Incoming types should be validated with a custom
- when deserializing with a value other than .
-
- The type name handling.
-
-
-
- Gets or sets how metadata properties are used during deserialization.
- The default value is .
-
- The metadata properties handling.
-
-
-
- Gets or sets how a type name assembly is written and resolved by the serializer.
- The default value is .
-
- The type name assembly format.
-
-
-
- Gets or sets how a type name assembly is written and resolved by the serializer.
- The default value is .
-
- The type name assembly format.
-
-
-
- Gets or sets how constructors are used during deserialization.
- The default value is .
-
- The constructor handling.
-
-
-
- Gets or sets the contract resolver used by the serializer when
- serializing .NET objects to JSON and vice versa.
-
- The contract resolver.
-
-
-
- Gets or sets the equality comparer used by the serializer when comparing references.
-
- The equality comparer.
-
-
-
- Gets or sets the used by the serializer when resolving references.
-
- The reference resolver.
-
-
-
- Gets or sets a function that creates the used by the serializer when resolving references.
-
- A function that creates the used by the serializer when resolving references.
-
-
-
- Gets or sets the used by the serializer when writing trace messages.
-
- The trace writer.
-
-
-
- Gets or sets the used by the serializer when resolving type names.
-
- The binder.
-
-
-
- Gets or sets the used by the serializer when resolving type names.
-
- The binder.
-
-
-
- Gets or sets the error handler called during serialization and deserialization.
-
- The error handler called during serialization and deserialization.
-
-
-
- Gets or sets the used by the serializer when invoking serialization callback methods.
-
- The context.
-
-
-
- Gets or sets how and values are formatted when writing JSON text,
- and the expected date format when reading JSON text.
- The default value is "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK".
-
-
-
-
- Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a .
- A null value means there is no maximum.
- The default value is 64.
-
-
-
-
- Indicates how JSON text output is formatted.
- The default value is .
-
-
-
-
- Gets or sets how dates are written to JSON text.
- The default value is .
-
-
-
-
- Gets or sets how time zones are handled during serialization and deserialization.
- The default value is .
-
-
-
-
- Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON.
- The default value is .
-
-
-
-
- Gets or sets how special floating point numbers, e.g. ,
- and ,
- are written as JSON.
- The default value is .
-
-
-
-
- Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
- The default value is .
-
-
-
-
- Gets or sets how strings are escaped when writing JSON text.
- The default value is .
-
-
-
-
- Gets or sets the culture used when reading JSON.
- The default value is .
-
-
-
-
- Gets a value indicating whether there will be a check for additional content after deserializing an object.
- The default value is false.
-
-
- true if there will be a check for additional content after deserializing an object; otherwise, false.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- using values copied from the passed in .
-
-
-
-
- Represents a reader that provides fast, non-cached, forward-only access to JSON text data.
-
-
-
-
- Initializes a new instance of the class with the specified .
-
- The containing the JSON data to read.
-
-
-
- Gets or sets the reader's property name table.
-
-
-
-
- Gets or sets the reader's character buffer pool.
-
-
-
-
- Reads the next JSON token from the underlying .
-
-
- true if the next token was read successfully; false if there are no more tokens to read.
-
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a .
-
- A . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a [].
-
- A [] or null if the next JSON token is null. This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Changes the reader's state to .
- If is set to true, the underlying is also closed.
-
-
-
-
- Gets a value indicating whether the class can return line information.
-
-
- true if and can be provided; otherwise, false.
-
-
-
-
- Gets the current line number.
-
-
- The current line number or 0 if no line information is available (for example, returns false).
-
-
-
-
- Gets the current line position.
-
-
- The current line position or 0 if no line information is available (for example, returns false).
-
-
-
-
- Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
-
-
-
-
- Gets or sets the writer's character array pool.
-
-
-
-
- Gets or sets how many s to write for each level in the hierarchy when is set to .
-
-
-
-
- Gets or sets which character to use to quote attribute values.
-
-
-
-
- Gets or sets which character to use for indenting when is set to .
-
-
-
-
- Gets or sets a value indicating whether object names will be surrounded with quotes.
-
-
-
-
- Initializes a new instance of the class using the specified .
-
- The to write to.
-
-
-
- Flushes whatever is in the buffer to the underlying and also flushes the underlying .
-
-
-
-
- Closes this writer.
- If is set to true, the underlying is also closed.
- If is set to true, the JSON is auto-completed.
-
-
-
-
- Writes the beginning of a JSON object.
-
-
-
-
- Writes the beginning of a JSON array.
-
-
-
-
- Writes the start of a constructor with the given name.
-
- The name of the constructor.
-
-
-
- Writes the specified end token.
-
- The end token to write.
-
-
-
- Writes the property name of a name/value pair on a JSON object.
-
- The name of the property.
-
-
-
- Writes the property name of a name/value pair on a JSON object.
-
- The name of the property.
- A flag to indicate whether the text should be escaped when it is written as a JSON property name.
-
-
-
- Writes indent characters.
-
-
-
-
- Writes the JSON value delimiter.
-
-
-
-
- Writes an indent space.
-
-
-
-
- Writes a value.
- An error will raised if the value cannot be written as a single JSON token.
-
- The value to write.
-
-
-
- Writes a null value.
-
-
-
-
- Writes an undefined value.
-
-
-
-
- Writes raw JSON.
-
- The raw JSON to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a [] value.
-
- The [] value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a comment /*...*/ containing the specified text.
-
- Text to place inside the comment.
-
-
-
- Writes the given white space.
-
- The string of white space characters.
-
-
-
- Specifies the type of JSON token.
-
-
-
-
- This is returned by the if a read method has not been called.
-
-
-
-
- An object start token.
-
-
-
-
- An array start token.
-
-
-
-
- A constructor start token.
-
-
-
-
- An object property name.
-
-
-
-
- A comment.
-
-
-
-
- Raw JSON.
-
-
-
-
- An integer.
-
-
-
-
- A float.
-
-
-
-
- A string.
-
-
-
-
- A boolean.
-
-
-
-
- A null token.
-
-
-
-
- An undefined token.
-
-
-
-
- An object end token.
-
-
-
-
- An array end token.
-
-
-
-
- A constructor end token.
-
-
-
-
- A Date.
-
-
-
-
- Byte data.
-
-
-
-
-
- Represents a reader that provides validation.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Sets an event handler for receiving schema validation errors.
-
-
-
-
- Gets the text value of the current JSON token.
-
-
-
-
-
- Gets the depth of the current token in the JSON document.
-
- The depth of the current token in the JSON document.
-
-
-
- Gets the path of the current JSON token.
-
-
-
-
- Gets the quotation mark character used to enclose the value of a string.
-
-
-
-
-
- Gets the type of the current JSON token.
-
-
-
-
-
- Gets the .NET type for the current JSON token.
-
-
-
-
-
- Initializes a new instance of the class that
- validates the content returned from the given .
-
- The to read from while validating.
-
-
-
- Gets or sets the schema.
-
- The schema.
-
-
-
- Gets the used to construct this .
-
- The specified in the constructor.
-
-
-
- Changes the reader's state to .
- If is set to true, the underlying is also closed.
-
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of .
-
-
-
- Reads the next JSON token from the underlying as a [].
-
-
- A [] or null if the next JSON token is null.
-
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of .
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of .
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of .
-
-
-
- Reads the next JSON token from the underlying as a .
-
- A . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of .
-
-
-
- Reads the next JSON token from the underlying .
-
-
- true if the next token was read successfully; false if there are no more tokens to read.
-
-
-
-
- Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
-
-
-
-
- Gets or sets a value indicating whether the destination should be closed when this writer is closed.
-
-
- true to close the destination when this writer is closed; otherwise false. The default is true.
-
-
-
-
- Gets or sets a value indicating whether the JSON should be auto-completed when this writer is closed.
-
-
- true to auto-complete the JSON when this writer is closed; otherwise false. The default is true.
-
-
-
-
- Gets the top.
-
- The top.
-
-
-
- Gets the state of the writer.
-
-
-
-
- Gets the path of the writer.
-
-
-
-
- Gets or sets a value indicating how JSON text output should be formatted.
-
-
-
-
- Gets or sets how dates are written to JSON text.
-
-
-
-
- Gets or sets how time zones are handled when writing JSON text.
-
-
-
-
- Gets or sets how strings are escaped when writing JSON text.
-
-
-
-
- Gets or sets how special floating point numbers, e.g. ,
- and ,
- are written to JSON text.
-
-
-
-
- Gets or sets how and values are formatted when writing JSON text.
-
-
-
-
- Gets or sets the culture used when writing JSON. Defaults to .
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Flushes whatever is in the buffer to the destination and also flushes the destination.
-
-
-
-
- Closes this writer.
- If is set to true, the destination is also closed.
- If is set to true, the JSON is auto-completed.
-
-
-
-
- Writes the beginning of a JSON object.
-
-
-
-
- Writes the end of a JSON object.
-
-
-
-
- Writes the beginning of a JSON array.
-
-
-
-
- Writes the end of an array.
-
-
-
-
- Writes the start of a constructor with the given name.
-
- The name of the constructor.
-
-
-
- Writes the end constructor.
-
-
-
-
- Writes the property name of a name/value pair of a JSON object.
-
- The name of the property.
-
-
-
- Writes the property name of a name/value pair of a JSON object.
-
- The name of the property.
- A flag to indicate whether the text should be escaped when it is written as a JSON property name.
-
-
-
- Writes the end of the current JSON object or array.
-
-
-
-
- Writes the current token and its children.
-
- The to read the token from.
-
-
-
- Writes the current token.
-
- The to read the token from.
- A flag indicating whether the current token's children should be written.
-
-
-
- Writes the token and its value.
-
- The to write.
-
- The value to write.
- A value is only required for tokens that have an associated value, e.g. the property name for .
- null can be passed to the method for tokens that don't have a value, e.g. .
-
-
-
-
- Writes the token.
-
- The to write.
-
-
-
- Writes the specified end token.
-
- The end token to write.
-
-
-
- Writes indent characters.
-
-
-
-
- Writes the JSON value delimiter.
-
-
-
-
- Writes an indent space.
-
-
-
-
- Writes a null value.
-
-
-
-
- Writes an undefined value.
-
-
-
-
- Writes raw JSON without changing the writer's state.
-
- The raw JSON to write.
-
-
-
- Writes raw JSON where a value is expected and updates the writer's state.
-
- The raw JSON to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a [] value.
-
- The [] value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
- An error will raised if the value cannot be written as a single JSON token.
-
- The value to write.
-
-
-
- Writes a comment /*...*/ containing the specified text.
-
- Text to place inside the comment.
-
-
-
- Writes the given white space.
-
- The string of white space characters.
-
-
-
- Releases unmanaged and - optionally - managed resources.
-
- true to release both managed and unmanaged resources; false to release only unmanaged resources.
-
-
-
- Sets the state of the .
-
- The being written.
- The value being written.
-
-
-
- The exception thrown when an error occurs while writing JSON text.
-
-
-
-
- Gets the path to the JSON where the error occurred.
-
- The path to the JSON where the error occurred.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- with a specified error message.
-
- The error message that explains the reason for the exception.
-
-
-
- Initializes a new instance of the class
- with a specified error message and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Initializes a new instance of the class.
-
- The that holds the serialized object data about the exception being thrown.
- The that contains contextual information about the source or destination.
- The parameter is null.
- The class name is null or is zero (0).
-
-
-
- Initializes a new instance of the class
- with a specified error message, JSON path and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The path to the JSON where the error occurred.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Specifies how JSON comments are handled when loading JSON.
-
-
-
-
- Ignore comments.
-
-
-
-
- Load comments as a with type .
-
-
-
-
- Specifies how duplicate property names are handled when loading JSON.
-
-
-
-
- Replace the existing value when there is a duplicate property. The value of the last property in the JSON object will be used.
-
-
-
-
- Ignore the new value when there is a duplicate property. The value of the first property in the JSON object will be used.
-
-
-
-
- Throw a when a duplicate property is encountered.
-
-
-
-
- Contains the LINQ to JSON extension methods.
-
-
-
-
- Returns a collection of tokens that contains the ancestors of every token in the source collection.
-
- The type of the objects in source, constrained to .
- An of that contains the source collection.
- An of that contains the ancestors of every token in the source collection.
-
-
-
- Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection.
-
- The type of the objects in source, constrained to .
- An of that contains the source collection.
- An of that contains every token in the source collection, the ancestors of every token in the source collection.
-
-
-
- Returns a collection of tokens that contains the descendants of every token in the source collection.
-
- The type of the objects in source, constrained to .
- An of that contains the source collection.
- An of that contains the descendants of every token in the source collection.
-
-
-
- Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection.
-
- The type of the objects in source, constrained to .
- An of that contains the source collection.
- An of that contains every token in the source collection, and the descendants of every token in the source collection.
-
-
-
- Returns a collection of child properties of every object in the source collection.
-
- An of that contains the source collection.
- An of that contains the properties of every object in the source collection.
-
-
-
- Returns a collection of child values of every object in the source collection with the given key.
-
- An of that contains the source collection.
- The token key.
- An of that contains the values of every token in the source collection with the given key.
-
-
-
- Returns a collection of child values of every object in the source collection.
-
- An of that contains the source collection.
- An of that contains the values of every token in the source collection.
-
-
-
- Returns a collection of converted child values of every object in the source collection with the given key.
-
- The type to convert the values to.
- An of that contains the source collection.
- The token key.
- An that contains the converted values of every token in the source collection with the given key.
-
-
-
- Returns a collection of converted child values of every object in the source collection.
-
- The type to convert the values to.
- An of that contains the source collection.
- An that contains the converted values of every token in the source collection.
-
-
-
- Converts the value.
-
- The type to convert the value to.
- A cast as a of .
- A converted value.
-
-
-
- Converts the value.
-
- The source collection type.
- The type to convert the value to.
- A cast as a of .
- A converted value.
-
-
-
- Returns a collection of child tokens of every array in the source collection.
-
- The source collection type.
- An of that contains the source collection.
- An of that contains the values of every token in the source collection.
-
-
-
- Returns a collection of converted child tokens of every array in the source collection.
-
- An of that contains the source collection.
- The type to convert the values to.
- The source collection type.
- An that contains the converted values of every token in the source collection.
-
-
-
- Returns the input typed as .
-
- An of that contains the source collection.
- The input typed as .
-
-
-
- Returns the input typed as .
-
- The source collection type.
- An of that contains the source collection.
- The input typed as .
-
-
-
- Represents a collection of objects.
-
- The type of token.
-
-
-
- Gets the of with the specified key.
-
-
-
-
-
- Represents a JSON array.
-
-
-
-
-
-
-
- Gets the container's children tokens.
-
- The container's children tokens.
-
-
-
- Gets the node type for this .
-
- The type.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class from another object.
-
- A object to copy from.
-
-
-
- Initializes a new instance of the class with the specified content.
-
- The contents of the array.
-
-
-
- Initializes a new instance of the class with the specified content.
-
- The contents of the array.
-
-
-
- Loads an from a .
-
- A that will be read for the content of the .
- A that contains the JSON that was read from the specified .
-
-
-
- Loads an from a .
-
- A that will be read for the content of the .
- The used to load the JSON.
- If this is null, default load settings will be used.
- A that contains the JSON that was read from the specified .
-
-
-
- Load a from a string that contains JSON.
-
- A that contains JSON.
- A populated from the string that contains JSON.
-
-
-
-
-
-
- Load a from a string that contains JSON.
-
- A that contains JSON.
- The used to load the JSON.
- If this is null, default load settings will be used.
- A populated from the string that contains JSON.
-
-
-
-
-
-
- Creates a from an object.
-
- The object that will be used to create .
- A with the values of the specified object.
-
-
-
- Creates a from an object.
-
- The object that will be used to create .
- The that will be used to read the object.
- A with the values of the specified object.
-
-
-
- Writes this token to a .
-
- A into which this method will write.
- A collection of which will be used when writing the token.
-
-
-
- Gets the with the specified key.
-
- The with the specified key.
-
-
-
- Gets or sets the at the specified index.
-
-
-
-
-
- Determines the index of a specific item in the .
-
- The object to locate in the .
-
- The index of if found in the list; otherwise, -1.
-
-
-
-
- Inserts an item to the at the specified index.
-
- The zero-based index at which should be inserted.
- The object to insert into the .
-
- is not a valid index in the .
-
-
-
-
- Removes the item at the specified index.
-
- The zero-based index of the item to remove.
-
- is not a valid index in the .
-
-
-
-
- Returns an enumerator that iterates through the collection.
-
-
- A of that can be used to iterate through the collection.
-
-
-
-
- Adds an item to the .
-
- The object to add to the .
-
-
-
- Removes all items from the .
-
-
-
-
- Determines whether the contains a specific value.
-
- The object to locate in the .
-
- true if is found in the ; otherwise, false.
-
-
-
-
- Copies the elements of the to an array, starting at a particular array index.
-
- The array.
- Index of the array.
-
-
-
- Gets a value indicating whether the is read-only.
-
- true if the is read-only; otherwise, false.
-
-
-
- Removes the first occurrence of a specific object from the .
-
- The object to remove from the .
-
- true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original .
-
-
-
-
- Represents a JSON constructor.
-
-
-
-
- Gets the container's children tokens.
-
- The container's children tokens.
-
-
-
- Gets or sets the name of this constructor.
-
- The constructor name.
-
-
-
- Gets the node type for this .
-
- The type.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class from another object.
-
- A object to copy from.
-
-
-
- Initializes a new instance of the class with the specified name and content.
-
- The constructor name.
- The contents of the constructor.
-
-
-
- Initializes a new instance of the class with the specified name and content.
-
- The constructor name.
- The contents of the constructor.
-
-
-
- Initializes a new instance of the class with the specified name.
-
- The constructor name.
-
-
-
- Writes this token to a .
-
- A into which this method will write.
- A collection of which will be used when writing the token.
-
-
-
- Gets the with the specified key.
-
- The with the specified key.
-
-
-
- Loads a from a .
-
- A that will be read for the content of the .
- A that contains the JSON that was read from the specified .
-
-
-
- Loads a from a .
-
- A that will be read for the content of the .
- The used to load the JSON.
- If this is null, default load settings will be used.
- A that contains the JSON that was read from the specified .
-
-
-
- Represents a token that can contain other tokens.
-
-
-
-
- Occurs when the list changes or an item in the list changes.
-
-
-
-
- Occurs before an item is added to the collection.
-
-
-
-
- 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 of containing the descendant tokens of the .
-
-
-
- Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order.
-
- An of containing this token, and all the descendant tokens of the .
-
-
-
- Adds the specified content as children of this .
-
- The content to be added.
-
-
-
- Adds the specified content as the first children of this .
-
- The content to be added.
-
-
-
- Creates a that can be used to add tokens to the .
-
- A that is ready to have content written to it.
-
-
-
- Replaces the child nodes of this token with the specified content.
-
- The content.
-
-
-
- Removes the child nodes from this token.
-
-
-
-
- Merge the specified content into this .
-
- The content to be merged.
-
-
-
- Merge the specified content into this using .
-
- The content to be merged.
- The used to merge the content.
-
-
-
- Gets the count of child JSON tokens.
-
- The count of child JSON tokens.
-
-
-
- Represents a collection of objects.
-
- The type of token.
-
-
-
- An empty collection of objects.
-
-
-
-
- Initializes a new instance of the struct.
-
- The enumerable.
-
-
-
- Returns an enumerator that can be used to iterate through the collection.
-
-
- A that can be used to iterate through the collection.
-
-
-
-
- Gets the of with the specified key.
-
-
-
-
-
- Determines whether the specified is equal to this instance.
-
- The to compare with this instance.
-
- true if the specified is equal to this instance; otherwise, false.
-
-
-
-
- Determines whether the specified is equal to this instance.
-
- The to compare with this instance.
-
- true if the specified is equal to this instance; otherwise, false.
-
-
-
-
- Returns a hash code for this instance.
-
-
- A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
-
-
-
-
- Represents a JSON object.
-
-
-
-
-
-
-
- Gets the container's children tokens.
-
- The container's children tokens.
-
-
-
- Occurs when a property value changes.
-
-
-
-
- Occurs when a property value is changing.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class from another object.
-
- A object to copy from.
-
-
-
- Initializes a new instance of the class with the specified content.
-
- The contents of the object.
-
-
-
- Initializes a new instance of the class with the specified content.
-
- The contents of the object.
-
-
-
- Gets the node type for this .
-
- The type.
-
-
-
- Gets an of of this object's properties.
-
- An of of this object's properties.
-
-
-
- Gets a with the specified name.
-
- The property name.
- A with the specified name or null.
-
-
-
- Gets the with the specified name.
- The exact name will be searched for first and if no matching property is found then
- the will be used to match a property.
-
- The property name.
- One of the enumeration values that specifies how the strings will be compared.
- A matched with the specified name or null.
-
-
-
- Gets a of of this object's property values.
-
- A of of this object's property values.
-
-
-
- Gets the with the specified key.
-
- The with the specified key.
-
-
-
- Gets or sets the with the specified property name.
-
-
-
-
-
- Loads a from a .
-
- A that will be read for the content of the .
- A that contains the JSON that was read from the specified .
-
- is not valid JSON.
-
-
-
-
- Loads a from a .
-
- A that will be read for the content of the .
- The used to load the JSON.
- If this is null, default load settings will be used.
- A that contains the JSON that was read from the specified .
-
- is not valid JSON.
-
-
-
-
- Load a from a string that contains JSON.
-
- A that contains JSON.
- A populated from the string that contains JSON.
-
- is not valid JSON.
-
-
-
-
-
-
-
- Load a from a string that contains JSON.
-
- A that contains JSON.
- The used to load the JSON.
- If this is null, default load settings will be used.
- A populated from the string that contains JSON.
-
- is not valid JSON.
-
-
-
-
-
-
-
- Creates a from an object.
-
- The object that will be used to create .
- A with the values of the specified object.
-
-
-
- Creates a from an object.
-
- The object that will be used to create .
- The that will be used to read the object.
- A with the values of the specified object.
-
-
-
- Writes this token to a .
-
- A into which this method will write.
- A collection of which will be used when writing the token.
-
-
-
- Gets the with the specified property name.
-
- Name of the property.
- The with the specified property name.
-
-
-
- Gets the with the specified property name.
- The exact property name will be searched for first and if no matching property is found then
- the will be used to match a property.
-
- Name of the property.
- One of the enumeration values that specifies how the strings will be compared.
- The with the specified property name.
-
-
-
- Tries to get the with the specified property name.
- The exact property name will be searched for first and if no matching property is found then
- the will be used to match a property.
-
- Name of the property.
- The value.
- One of the enumeration values that specifies how the strings will be compared.
- true if a value was successfully retrieved; otherwise, false.
-
-
-
- Adds the specified property name.
-
- Name of the property.
- The value.
-
-
-
- Determines whether the JSON object has the specified property name.
-
- Name of the property.
- true if the JSON object has the specified property name; otherwise, false.
-
-
-
- Removes the property with the specified name.
-
- Name of the property.
- true if item was successfully removed; otherwise, false.
-
-
-
- Tries to get the with the specified property name.
-
- Name of the property.
- The value.
- true if a value was successfully retrieved; otherwise, false.
-
-
-
- Returns an enumerator that can be used to iterate through the collection.
-
-
- A that can be used to iterate through the collection.
-
-
-
-
- Raises the event with the provided arguments.
-
- Name of the property.
-
-
-
- Raises the event with the provided arguments.
-
- Name of the property.
-
-
-
- Represents a JSON property.
-
-
-
-
- Gets the container's children tokens.
-
- The container's children tokens.
-
-
-
- Gets the property name.
-
- The property name.
-
-
-
- Gets or sets the property value.
-
- The property value.
-
-
-
- Initializes a new instance of the class from another object.
-
- A object to copy from.
-
-
-
- Gets the node type for this .
-
- The type.
-
-
-
- Initializes a new instance of the class.
-
- The property name.
- The property content.
-
-
-
- Initializes a new instance of the class.
-
- The property name.
- The property content.
-
-
-
- Writes this token to a .
-
- A into which this method will write.
- A collection of which will be used when writing the token.
-
-
-
- Loads a from a .
-
- A that will be read for the content of the .
- A that contains the JSON that was read from the specified .
-
-
-
- Loads a from a .
-
- A that will be read for the content of the .
- The used to load the JSON.
- If this is null, default load settings will be used.
- A that contains the JSON that was read from the specified .
-
-
-
- Represents a view of a .
-
-
-
-
- Initializes a new instance of the class.
-
- The name.
-
-
-
- When overridden in a derived class, returns whether resetting an object changes its value.
-
-
- true if resetting the component changes its value; otherwise, false.
-
- The component to test for reset capability.
-
-
-
- When overridden in a derived class, gets the current value of the property on a component.
-
-
- The value of a property for a given component.
-
- The component with the property for which to retrieve the value.
-
-
-
- When overridden in a derived class, resets the value for this property of the component to the default value.
-
- The component with the property value that is to be reset to the default value.
-
-
-
- When overridden in a derived class, sets the value of the component to a different value.
-
- The component with the property value that is to be set.
- The new value.
-
-
-
- When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted.
-
-
- true if the property should be persisted; otherwise, false.
-
- The component with the property to be examined for persistence.
-
-
-
- When overridden in a derived class, gets the type of the component this property is bound to.
-
-
- A that represents the type of component this property is bound to.
- When the or
-
- methods are invoked, the object specified might be an instance of this type.
-
-
-
-
- When overridden in a derived class, gets a value indicating whether this property is read-only.
-
-
- true if the property is read-only; otherwise, false.
-
-
-
-
- When overridden in a derived class, gets the type of the property.
-
-
- A that represents the type of the property.
-
-
-
-
- Gets the hash code for the name of the member.
-
-
-
- The hash code for the name of the member.
-
-
-
-
- Represents a raw JSON string.
-
-
-
-
- Initializes a new instance of the class from another object.
-
- A object to copy from.
-
-
-
- Initializes a new instance of the class.
-
- The raw json.
-
-
-
- Creates an instance of with the content of the reader's current token.
-
- The reader.
- An instance of with the content of the reader's current token.
-
-
-
- Specifies the settings used when cloning JSON.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets a flag that indicates whether to copy annotations when cloning a .
- The default value is true.
-
-
- A flag that indicates whether to copy annotations when cloning a .
-
-
-
-
- Specifies the settings used when loading JSON.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets how JSON comments are handled when loading JSON.
- The default value is .
-
- The JSON comment handling.
-
-
-
- Gets or sets how JSON line info is handled when loading JSON.
- The default value is .
-
- The JSON line info handling.
-
-
-
- Gets or sets how duplicate property names in JSON objects are handled when loading JSON.
- The default value is .
-
- The JSON duplicate property name handling.
-
-
-
- Specifies the settings used when merging JSON.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets the method used when merging JSON arrays.
-
- The method used when merging JSON arrays.
-
-
-
- Gets or sets how null value properties are merged.
-
- How null value properties are merged.
-
-
-
- Gets or sets the comparison used to match property names while merging.
- The exact property name will be searched for first and if no matching property is found then
- the will be used to match a property.
-
- The comparison used to match property names while merging.
-
-
-
- Specifies the settings used when selecting JSON.
-
-
-
-
- Gets or sets a flag that indicates whether an error should be thrown if
- no tokens are found when evaluating part of the expression.
-
-
- A flag that indicates whether an error should be thrown if
- no tokens are found when evaluating part of the expression.
-
-
-
-
- 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.
-
-
- ToString() returns a non-JSON string value for tokens with a type of .
- If you want the JSON for all token types then you should use .
-
-
- The indented JSON for this token.
-
-
-
-
- Returns the JSON for this token using the given formatting and converters.
-
- Indicates how the output should be formatted.
- A collection of s which will be used when writing the token.
- The JSON for this token using the given formatting and converters.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to [].
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from [] to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Creates a for this token.
-
- A that can be used to read this token and its descendants.
-
-
-
- Creates a from an object.
-
- The object that will be used to create .
- A with the value of the specified object.
-
-
-
- Creates a from an object using the specified .
-
- The object that will be used to create .
- The that will be used when reading the object.
- A with the value of the specified object.
-
-
-
- Creates an instance of the specified .NET type from the .
-
- The object type that the token will be deserialized to.
- The new object created from the JSON value.
-
-
-
- Creates an instance of the specified .NET type from the .
-
- The object type that the token will be deserialized to.
- The new object created from the JSON value.
-
-
-
- Creates an instance of the specified .NET type from the using the specified .
-
- The object type that the token will be deserialized to.
- The that will be used when creating the object.
- The new object created from the JSON value.
-
-
-
- Creates an instance of the specified .NET type from the using the specified .
-
- The object type that the token will be deserialized to.
- The that will be used when creating the object.
- The new object created from the JSON value.
-
-
-
- Creates a from a .
-
- A positioned at the token to read into this .
-
- A that contains the token and its descendant tokens
- that were read from the reader. The runtime type of the token is determined
- by the token type of the first token encountered in the reader.
-
-
-
-
- Creates a from a .
-
- An positioned at the token to read into this .
- The used to load the JSON.
- If this is null, default load settings will be used.
-
- A that contains the token and its descendant tokens
- that were read from the reader. The runtime type of the token is determined
- by the token type of the first token encountered in the reader.
-
-
-
-
- Load a from a string that contains JSON.
-
- A that contains JSON.
- A populated from the string that contains JSON.
-
-
-
- Load a from a string that contains JSON.
-
- A that contains JSON.
- The used to load the JSON.
- If this is null, default load settings will be used.
- A populated from the string that contains JSON.
-
-
-
- Creates a from a .
-
- A positioned at the token to read into this .
- The used to load the JSON.
- If this is null, default load settings will be used.
-
- A that contains the token and its descendant tokens
- that were read from the reader. The runtime type of the token is determined
- by the token type of the first token encountered in the reader.
-
-
-
-
- Creates a from a .
-
- A positioned at the token to read into this .
-
- A that contains the token and its descendant tokens
- that were read from the reader. The runtime type of the token is determined
- by the token type of the first token encountered in the reader.
-
-
-
-
- Selects a using a JSONPath expression. Selects the token that matches the object path.
-
-
- A that contains a JSONPath expression.
-
- A , or null.
-
-
-
- Selects a using a JSONPath expression. Selects the token that matches the object path.
-
-
- A that contains a JSONPath expression.
-
- A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression.
- A .
-
-
-
- Selects a using a JSONPath expression. Selects the token that matches the object path.
-
-
- A that contains a JSONPath expression.
-
- The used to select tokens.
- A .
-
-
-
- Selects a collection of elements using a JSONPath expression.
-
-
- A that contains a JSONPath expression.
-
- An of that contains the selected elements.
-
-
-
- Selects a collection of elements using a JSONPath expression.
-
-
- A that contains a JSONPath expression.
-
- A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression.
- An of that contains the selected elements.
-
-
-
- Selects a collection of elements using a JSONPath expression.
-
-
- A that contains a JSONPath expression.
-
- The used to select tokens.
- An of that contains the selected elements.
-
-
-
- Creates a new instance of the . All child tokens are recursively cloned.
-
- A new instance of the .
-
-
-
- Creates a new instance of the . All child tokens are recursively cloned.
-
- A object to configure cloning settings.
- A new instance of the .
-
-
-
- Adds an object to the annotation list of this .
-
- The annotation to add.
-
-
-
- Get the first annotation object of the specified type from this .
-
- The type of the annotation to retrieve.
- The first annotation object that matches the specified type, or null if no annotation is of the specified type.
-
-
-
- Gets the first annotation object of the specified type from this .
-
- The of the annotation to retrieve.
- The first annotation object that matches the specified type, or null if no annotation is of the specified type.
-
-
-
- Gets a collection of annotations of the specified type for this .
-
- The type of the annotations to retrieve.
- An that contains the annotations for this .
-
-
-
- Gets a collection of annotations of the specified type for this .
-
- The of the annotations to retrieve.
- An of that contains the annotations that match the specified type for this .
-
-
-
- Removes the annotations of the specified type from this .
-
- The type of annotations to remove.
-
-
-
- Removes the annotations of the specified type from this .
-
- The of annotations to remove.
-
-
-
- Compares tokens to determine whether they are equal.
-
-
-
-
- Determines whether the specified objects are equal.
-
- The first object of type to compare.
- The second object of type to compare.
-
- true if the specified objects are equal; otherwise, false.
-
-
-
-
- Returns a hash code for the specified object.
-
- The for which a hash code is to be returned.
- A hash code for the specified object.
- The type of is a reference type and is null.
-
-
-
- Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data.
-
-
-
-
- Gets the at the reader's current position.
-
-
-
-
- Initializes a new instance of the class.
-
- The token to read from.
-
-
-
- Initializes a new instance of the class.
-
- The token to read from.
- The initial path of the token. It is prepended to the returned .
-
-
-
- Reads the next JSON token from the underlying .
-
-
- true if the next token was read successfully; false if there are no more tokens to read.
-
-
-
-
- Gets the path of the current JSON token.
-
-
-
-
- Specifies the type of token.
-
-
-
-
- No token type has been set.
-
-
-
-
- A JSON object.
-
-
-
-
- A JSON array.
-
-
-
-
- A JSON constructor.
-
-
-
-
- A JSON object property.
-
-
-
-
- A comment.
-
-
-
-
- An integer value.
-
-
-
-
- A float value.
-
-
-
-
- A string value.
-
-
-
-
- A boolean value.
-
-
-
-
- A null value.
-
-
-
-
- An undefined value.
-
-
-
-
- A date value.
-
-
-
-
- A raw JSON value.
-
-
-
-
- A collection of bytes value.
-
-
-
-
- A Guid value.
-
-
-
-
- A Uri value.
-
-
-
-
- A TimeSpan value.
-
-
-
-
- Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
-
-
-
-
- Gets the at the writer's current position.
-
-
-
-
- Gets the token being written.
-
- The token being written.
-
-
-
- Initializes a new instance of the class writing to the given .
-
- The container being written to.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Flushes whatever is in the buffer to the underlying .
-
-
-
-
- Closes this writer.
- If is set to true, the JSON is auto-completed.
-
-
- Setting to true has no additional effect, since the underlying is a type that cannot be closed.
-
-
-
-
- Writes the beginning of a JSON object.
-
-
-
-
- Writes the beginning of a JSON array.
-
-
-
-
- Writes the start of a constructor with the given name.
-
- The name of the constructor.
-
-
-
- Writes the end.
-
- The token.
-
-
-
- Writes the property name of a name/value pair on a JSON object.
-
- The name of the property.
-
-
-
- Writes a value.
- An error will be raised if the value cannot be written as a single JSON token.
-
- The value to write.
-
-
-
- Writes a null value.
-
-
-
-
- Writes an undefined value.
-
-
-
-
- Writes raw JSON.
-
- The raw JSON to write.
-
-
-
- Writes a comment /*...*/ containing the specified text.
-
- Text to place inside the comment.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a [] value.
-
- The [] value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Represents a value in JSON (string, integer, date, etc).
-
-
-
-
- Initializes a new instance of the class from another object.
-
- A object to copy from.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Gets a value indicating whether this token has child tokens.
-
-
- true if this token has child values; otherwise, false.
-
-
-
-
- Creates a comment with the given value.
-
- The value.
- A comment with the given value.
-
-
-
- Creates a string with the given value.
-
- The value.
- A string with the given value.
-
-
-
- Creates a null value.
-
- A null value.
-
-
-
- Creates a undefined value.
-
- A undefined value.
-
-
-
- Gets the node type for this .
-
- The type.
-
-
-
- Gets or sets the underlying token value.
-
- The underlying token value.
-
-
-
- Writes this token to a .
-
- A into which this method will write.
- A collection of s which will be used when writing the token.
-
-
-
- Indicates whether the current object is equal to another object of the same type.
-
-
- true if the current object is equal to the parameter; otherwise, false.
-
- An object to compare with this object.
-
-
-
- Determines whether the specified is equal to the current .
-
- The to compare with the current .
-
- true if the specified is equal to the current ; otherwise, false.
-
-
-
-
- Serves as a hash function for a particular type.
-
-
- A hash code for the current .
-
-
-
-
- Returns a that represents this instance.
-
-
- ToString() returns a non-JSON string value for tokens with a type of .
- If you want the JSON for all token types then you should use .
-
-
- A that represents this instance.
-
-
-
-
- Returns a that represents this instance.
-
- The format.
-
- A that represents this instance.
-
-
-
-
- Returns a that represents this instance.
-
- The format provider.
-
- A that represents this instance.
-
-
-
-
- Returns a that represents this instance.
-
- The format.
- The format provider.
-
- A that represents this instance.
-
-
-
-
- Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
-
- An object to compare with this instance.
-
- A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings:
- Value
- Meaning
- Less than zero
- This instance is less than .
- Zero
- This instance is equal to .
- Greater than zero
- This instance is greater than .
-
-
- is not of the same type as this instance.
-
-
-
-
- Specifies how line information is handled when loading JSON.
-
-
-
-
- Ignore line information.
-
-
-
-
- Load line information.
-
-
-
-
- Specifies how JSON arrays are merged together.
-
-
-
- Concatenate arrays.
-
-
- Union arrays, skipping items that already exist.
-
-
- Replace all array items.
-
-
- Merge array items together, matched by index.
-
-
-
- Specifies how null value properties are merged.
-
-
-
-
- The content's null value properties will be ignored during merging.
-
-
-
-
- The content's null value properties will be merged.
-
-
-
-
- Specifies the member serialization options for the .
-
-
-
-
- All public members are serialized by default. Members can be excluded using or .
- This is the default member serialization mode.
-
-
-
-
- Only members marked with or are serialized.
- This member serialization mode can also be set by marking the class with .
-
-
-
-
- All public and private fields are serialized. Members can be excluded using or .
- This member serialization mode can also be set by marking the class with
- and setting IgnoreSerializableAttribute on to false.
-
-
-
-
- Specifies metadata property handling options for the .
-
-
-
-
- Read metadata properties located at the start of a JSON object.
-
-
-
-
- Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance.
-
-
-
-
- Do not try to read metadata properties.
-
-
-
-
- Specifies missing member handling options for the .
-
-
-
-
- Ignore a missing member and do not attempt to deserialize it.
-
-
-
-
- Throw a when a missing member is encountered during deserialization.
-
-
-
-
- Specifies null value handling options for the .
-
-
-
-
-
-
-
-
- Include null values when serializing and deserializing objects.
-
-
-
-
- Ignore null values when serializing and deserializing objects.
-
-
-
-
- Specifies how object creation is handled by the .
-
-
-
-
- Reuse existing objects, create new objects when needed.
-
-
-
-
- Only reuse existing objects.
-
-
-
-
- Always create new objects.
-
-
-
-
- Specifies reference handling options for the .
- Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement .
-
-
-
-
-
-
-
- Do not preserve references when serializing types.
-
-
-
-
- Preserve references when serializing into a JSON object structure.
-
-
-
-
- Preserve references when serializing into a JSON array structure.
-
-
-
-
- Preserve references when serializing.
-
-
-
-
- Specifies reference loop handling options for the .
-
-
-
-
- Throw a when a loop is encountered.
-
-
-
-
- Ignore loop references and do not serialize.
-
-
-
-
- Serialize loop references.
-
-
-
-
- Indicating whether a property is required.
-
-
-
-
- The property is not required. The default state.
-
-
-
-
- The property must be defined in JSON but can be a null value.
-
-
-
-
- The property must be defined in JSON and cannot be a null value.
-
-
-
-
- The property is not required but it cannot be a null value.
-
-
-
-
-
- Contains the JSON schema extension methods.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
-
- Determines whether the is valid.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
- The source to test.
- The schema to test with.
-
- true if the specified is valid; otherwise, false.
-
-
-
-
-
- Determines whether the is valid.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
- The source to test.
- The schema to test with.
- When this method returns, contains any error messages generated while validating.
-
- true if the specified is valid; otherwise, false.
-
-
-
-
-
- Validates the specified .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
- The source to test.
- The schema to test with.
-
-
-
-
- Validates the specified .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
- The source to test.
- The schema to test with.
- The validation event handler.
-
-
-
-
- An in-memory representation of a JSON Schema.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Gets or sets the id.
-
-
-
-
- Gets or sets the title.
-
-
-
-
- Gets or sets whether the object is required.
-
-
-
-
- Gets or sets whether the object is read-only.
-
-
-
-
- Gets or sets whether the object is visible to users.
-
-
-
-
- Gets or sets whether the object is transient.
-
-
-
-
- Gets or sets the description of the object.
-
-
-
-
- Gets or sets the types of values allowed by the object.
-
- The type.
-
-
-
- Gets or sets the pattern.
-
- The pattern.
-
-
-
- Gets or sets the minimum length.
-
- The minimum length.
-
-
-
- Gets or sets the maximum length.
-
- The maximum length.
-
-
-
- Gets or sets a number that the value should be divisible by.
-
- A number that the value should be divisible by.
-
-
-
- Gets or sets the minimum.
-
- The minimum.
-
-
-
- Gets or sets the maximum.
-
- The maximum.
-
-
-
- Gets or sets a flag indicating whether the value can not equal the number defined by the minimum attribute ().
-
- A flag indicating whether the value can not equal the number defined by the minimum attribute ().
-
-
-
- Gets or sets a flag indicating whether the value can not equal the number defined by the maximum attribute ().
-
- A flag indicating whether the value can not equal the number defined by the maximum attribute ().
-
-
-
- Gets or sets the minimum number of items.
-
- The minimum number of items.
-
-
-
- Gets or sets the maximum number of items.
-
- The maximum number of items.
-
-
-
- Gets or sets the of items.
-
- The of items.
-
-
-
- Gets or sets a value indicating whether items in an array are validated using the instance at their array position from .
-
-
- true if items are validated using their array position; otherwise, false.
-
-
-
-
- Gets or sets the of additional items.
-
- The of additional items.
-
-
-
- Gets or sets a value indicating whether additional items are allowed.
-
-
- true if additional items are allowed; otherwise, false.
-
-
-
-
- Gets or sets whether the array items must be unique.
-
-
-
-
- Gets or sets the of properties.
-
- The of properties.
-
-
-
- Gets or sets the of additional properties.
-
- The of additional properties.
-
-
-
- Gets or sets the pattern properties.
-
- The pattern properties.
-
-
-
- Gets or sets a value indicating whether additional properties are allowed.
-
-
- true if additional properties are allowed; otherwise, false.
-
-
-
-
- Gets or sets the required property if this property is present.
-
- The required property if this property is present.
-
-
-
- Gets or sets the a collection of valid enum values allowed.
-
- A collection of valid enum values allowed.
-
-
-
- Gets or sets disallowed types.
-
- The disallowed types.
-
-
-
- Gets or sets the default value.
-
- The default value.
-
-
-
- Gets or sets the collection of that this schema extends.
-
- The collection of that this schema extends.
-
-
-
- Gets or sets the format.
-
- The format.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Reads a from the specified .
-
- The containing the JSON Schema to read.
- The object representing the JSON Schema.
-
-
-
- Reads a from the specified .
-
- The containing the JSON Schema to read.
- The to use when resolving schema references.
- The object representing the JSON Schema.
-
-
-
- Load a from a string that contains JSON Schema.
-
- A that contains JSON Schema.
- A populated from the string that contains JSON Schema.
-
-
-
- Load a from a string that contains JSON Schema using the specified .
-
- A that contains JSON Schema.
- The resolver.
- A populated from the string that contains JSON Schema.
-
-
-
- Writes this schema to a .
-
- A into which this method will write.
-
-
-
- Writes this schema to a using the specified .
-
- A into which this method will write.
- The resolver used.
-
-
-
- Returns a that represents the current .
-
-
- A that represents the current .
-
-
-
-
-
- Returns detailed information about the schema exception.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Gets the line number indicating where the error occurred.
-
- The line number indicating where the error occurred.
-
-
-
- Gets the line position indicating where the error occurred.
-
- The line position indicating where the error occurred.
-
-
-
- Gets the path to the JSON where the error occurred.
-
- The path to the JSON where the error occurred.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- with a specified error message.
-
- The error message that explains the reason for the exception.
-
-
-
- Initializes a new instance of the class
- with a specified error message and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Initializes a new instance of the class.
-
- The that holds the serialized object data about the exception being thrown.
- The that contains contextual information about the source or destination.
- The parameter is null.
- The class name is null or is zero (0).
-
-
-
-
- Generates a from a specified .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Gets or sets how undefined schemas are handled by the serializer.
-
-
-
-
- Gets or sets the contract resolver.
-
- The contract resolver.
-
-
-
- Generate a from the specified type.
-
- The type to generate a from.
- A generated from the specified type.
-
-
-
- Generate a from the specified type.
-
- The type to generate a from.
- The used to resolve schema references.
- A generated from the specified type.
-
-
-
- Generate a from the specified type.
-
- The type to generate a from.
- Specify whether the generated root will be nullable.
- A generated from the specified type.
-
-
-
- Generate a from the specified type.
-
- The type to generate a from.
- The used to resolve schema references.
- Specify whether the generated root will be nullable.
- A generated from the specified type.
-
-
-
-
- Resolves from an id.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Gets or sets the loaded schemas.
-
- The loaded schemas.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets a for the specified reference.
-
- The id.
- A for the specified reference.
-
-
-
-
- The value types allowed by the .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- No type specified.
-
-
-
-
- String type.
-
-
-
-
- Float type.
-
-
-
-
- Integer type.
-
-
-
-
- Boolean type.
-
-
-
-
- Object type.
-
-
-
-
- Array type.
-
-
-
-
- Null type.
-
-
-
-
- Any type.
-
-
-
-
-
- Specifies undefined schema Id handling options for the .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Do not infer a schema Id.
-
-
-
-
- Use the .NET type name as the schema Id.
-
-
-
-
- Use the assembly qualified .NET type name as the schema Id.
-
-
-
-
-
- Returns detailed information related to the .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Gets the associated with the validation error.
-
- The JsonSchemaException associated with the validation error.
-
-
-
- Gets the path of the JSON location where the validation error occurred.
-
- The path of the JSON location where the validation error occurred.
-
-
-
- Gets the text description corresponding to the validation error.
-
- The text description.
-
-
-
-
- Represents the callback method that will handle JSON schema validation events and the .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- A camel case naming strategy.
-
-
-
-
- Initializes a new instance of the class.
-
-
- A flag indicating whether dictionary keys should be processed.
-
-
- A flag indicating whether explicitly specified property names should be processed,
- e.g. a property name customized with a .
-
-
-
-
- Initializes a new instance of the class.
-
-
- A flag indicating whether dictionary keys should be processed.
-
-
- A flag indicating whether explicitly specified property names should be processed,
- e.g. a property name customized with a .
-
-
- A flag indicating whether extension data names should be processed.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Resolves the specified property name.
-
- The property name to resolve.
- The resolved property name.
-
-
-
- Resolves member mappings for a type, camel casing property names.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Resolves the contract for a given type.
-
- The type to resolve a contract for.
- The contract for a given type.
-
-
-
- Used by to resolve a for a given .
-
-
-
-
- Gets a value indicating whether members are being get and set using dynamic code generation.
- This value is determined by the runtime permissions available.
-
-
- true if using dynamic code generation; otherwise, false.
-
-
-
-
- Gets or sets the default members search flags.
-
- The default members search flags.
-
-
-
- Gets or sets a value indicating whether compiler generated members should be serialized.
-
-
- true if serialized compiler generated members; otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether to ignore the interface when serializing and deserializing types.
-
-
- true if the interface will be ignored when serializing and deserializing types; otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether to ignore the attribute when serializing and deserializing types.
-
-
- true if the attribute will be ignored when serializing and deserializing types; otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether to ignore IsSpecified members when serializing and deserializing types.
-
-
- true if the IsSpecified members will be ignored when serializing and deserializing types; otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether to ignore ShouldSerialize members when serializing and deserializing types.
-
-
- true if the ShouldSerialize members will be ignored when serializing and deserializing types; otherwise, false.
-
-
-
-
- Gets or sets the naming strategy used to resolve how property names and dictionary keys are serialized.
-
- The naming strategy used to resolve how property names and dictionary keys are serialized.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Resolves the contract for a given type.
-
- The type to resolve a contract for.
- The contract for a given type.
-
-
-
- Gets the serializable members for the type.
-
- The type to get serializable members for.
- The serializable members for the type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates the constructor parameters.
-
- The constructor to create properties for.
- The type's member properties.
- Properties for the given .
-
-
-
- Creates a for the given .
-
- The matching member property.
- The constructor parameter.
- A created for the given .
-
-
-
- Resolves the default for the contract.
-
- Type of the object.
- The contract's default .
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Determines which contract type is created for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates properties for the given .
-
- The type to create properties for.
- /// The member serialization mode for the type.
- Properties for the given .
-
-
-
- Creates the used by the serializer to get and set values from a member.
-
- The member.
- The used by the serializer to get and set values from a member.
-
-
-
- Creates a for the given .
-
- The member's parent .
- The member to create a for.
- A created for the given .
-
-
-
- Resolves the name of the property.
-
- Name of the property.
- Resolved name of the property.
-
-
-
- Resolves the name of the extension data. By default no changes are made to extension data names.
-
- Name of the extension data.
- Resolved name of the extension data.
-
-
-
- Resolves the key of the dictionary. By default is used to resolve dictionary keys.
-
- Key of the dictionary.
- Resolved key of the dictionary.
-
-
-
- Gets the resolved name of the property.
-
- Name of the property.
- Name of the property.
-
-
-
- The default naming strategy. Property names and dictionary keys are unchanged.
-
-
-
-
- Resolves the specified property name.
-
- The property name to resolve.
- The resolved property name.
-
-
-
- The default serialization binder used when resolving and loading classes from type names.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- When overridden in a derived class, controls the binding of a serialized object to a type.
-
- Specifies the name of the serialized object.
- Specifies the name of the serialized object.
-
- The type of the object the formatter creates a new instance of.
-
-
-
-
- When overridden in a derived class, controls the binding of a serialized object to a type.
-
- The type of the object the formatter creates a new instance of.
- Specifies the name of the serialized object.
- Specifies the name of the serialized object.
-
-
-
- Represents a trace writer that writes to the application's instances.
-
-
-
-
- Gets the that will be used to filter the trace messages passed to the writer.
- For example a filter level of will exclude messages and include ,
- and messages.
-
-
- The that will be used to filter the trace messages passed to the writer.
-
-
-
-
- Writes the specified trace level, message and optional exception.
-
- The at which to write this trace.
- The trace message.
- The trace exception. This parameter is optional.
-
-
-
- Get and set values for a using dynamic methods.
-
-
-
-
- Initializes a new instance of the class.
-
- The member info.
-
-
-
- Sets the value.
-
- The target to set the value on.
- The value to set on the target.
-
-
-
- Gets the value.
-
- The target to get the value from.
- The value.
-
-
-
- Provides information surrounding an error.
-
-
-
-
- Gets the error.
-
- The error.
-
-
-
- Gets the original object that caused the error.
-
- The original object that caused the error.
-
-
-
- Gets the member that caused the error.
-
- The member that caused the error.
-
-
-
- Gets the path of the JSON location where the error occurred.
-
- The path of the JSON location where the error occurred.
-
-
-
- Gets or sets a value indicating whether this is handled.
-
- true if handled; otherwise, false.
-
-
-
- Provides data for the Error event.
-
-
-
-
- Gets the current object the error event is being raised against.
-
- The current object the error event is being raised against.
-
-
-
- Gets the error context.
-
- The error context.
-
-
-
- Initializes a new instance of the class.
-
- The current object.
- The error context.
-
-
-
- Provides methods to get attributes.
-
-
-
-
- Returns a collection of all of the attributes, or an empty collection if there are no attributes.
-
- When true, look up the hierarchy chain for the inherited custom attribute.
- A collection of s, or an empty collection.
-
-
-
- Returns a collection of attributes, identified by type, or an empty collection if there are no attributes.
-
- The type of the attributes.
- When true, look up the hierarchy chain for the inherited custom attribute.
- A collection of s, or an empty collection.
-
-
-
- Used by to resolve a for a given .
-
-
-
-
-
-
-
-
- Resolves the contract for a given type.
-
- The type to resolve a contract for.
- The contract for a given type.
-
-
-
- Used to resolve references when serializing and deserializing JSON by the .
-
-
-
-
- Resolves a reference to its object.
-
- The serialization context.
- The reference to resolve.
- The object that was resolved from the reference.
-
-
-
- Gets the reference for the specified object.
-
- The serialization context.
- The object to get a reference for.
- The reference to the object.
-
-
-
- Determines whether the specified object is referenced.
-
- The serialization context.
- The object to test for a reference.
-
- true if the specified object is referenced; otherwise, false.
-
-
-
-
- Adds a reference to the specified object.
-
- The serialization context.
- The reference.
- The object to reference.
-
-
-
- Allows users to control class loading and mandate what class to load.
-
-
-
-
- When implemented, controls the binding of a serialized object to a type.
-
- Specifies the name of the serialized object.
- Specifies the name of the serialized object
- The type of the object the formatter creates a new instance of.
-
-
-
- When implemented, controls the binding of a serialized object to a type.
-
- The type of the object the formatter creates a new instance of.
- Specifies the name of the serialized object.
- Specifies the name of the serialized object.
-
-
-
- Represents a trace writer.
-
-
-
-
- Gets the that will be used to filter the trace messages passed to the writer.
- For example a filter level of will exclude messages and include ,
- and messages.
-
- The that will be used to filter the trace messages passed to the writer.
-
-
-
- Writes the specified trace level, message and optional exception.
-
- The at which to write this trace.
- The trace message.
- The trace exception. This parameter is optional.
-
-
-
- Provides methods to get and set values.
-
-
-
-
- Sets the value.
-
- The target to set the value on.
- The value to set on the target.
-
-
-
- Gets the value.
-
- The target to get the value from.
- The value.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Gets the of the collection items.
-
- The of the collection items.
-
-
-
- Gets a value indicating whether the collection type is a multidimensional array.
-
- true if the collection type is a multidimensional array; otherwise, false.
-
-
-
- Gets or sets the function used to create the object. When set this function will override .
-
- The function used to create the object.
-
-
-
- Gets a value indicating whether the creator has a parameter with the collection values.
-
- true if the creator has a parameter with the collection values; otherwise, false.
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Gets or sets the default collection items .
-
- The converter.
-
-
-
- Gets or sets a value indicating whether the collection items preserve object references.
-
- true if collection items preserve object references; otherwise, false.
-
-
-
- Gets or sets the collection item reference loop handling.
-
- The reference loop handling.
-
-
-
- Gets or sets the collection item type name handling.
-
- The type name handling.
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Handles serialization callback events.
-
- The object that raised the callback event.
- The streaming context.
-
-
-
- Handles serialization error callback events.
-
- The object that raised the callback event.
- The streaming context.
- The error context.
-
-
-
- Sets extension data for an object during deserialization.
-
- The object to set extension data on.
- The extension data key.
- The extension data value.
-
-
-
- Gets extension data for an object during serialization.
-
- The object to set extension data on.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Gets the underlying type for the contract.
-
- The underlying type for the contract.
-
-
-
- Gets or sets the type created during deserialization.
-
- The type created during deserialization.
-
-
-
- Gets or sets whether this type contract is serialized as a reference.
-
- Whether this type contract is serialized as a reference.
-
-
-
- Gets or sets the default for this contract.
-
- The converter.
-
-
-
- Gets the internally resolved for the contract's type.
- This converter is used as a fallback converter when no other converter is resolved.
- Setting will always override this converter.
-
-
-
-
- Gets or sets all methods called immediately after deserialization of the object.
-
- The methods called immediately after deserialization of the object.
-
-
-
- Gets or sets all methods called during deserialization of the object.
-
- The methods called during deserialization of the object.
-
-
-
- Gets or sets all methods called after serialization of the object graph.
-
- The methods called after serialization of the object graph.
-
-
-
- Gets or sets all methods called before serialization of the object.
-
- The methods called before serialization of the object.
-
-
-
- Gets or sets all method called when an error is thrown during the serialization of the object.
-
- The methods called when an error is thrown during the serialization of the object.
-
-
-
- Gets or sets the default creator method used to create the object.
-
- The default creator method used to create the object.
-
-
-
- Gets or sets a value indicating whether the default creator is non-public.
-
- true if the default object creator is non-public; otherwise, false.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Gets or sets the dictionary key resolver.
-
- The dictionary key resolver.
-
-
-
- Gets the of the dictionary keys.
-
- The of the dictionary keys.
-
-
-
- Gets the of the dictionary values.
-
- The of the dictionary values.
-
-
-
- Gets or sets the function used to create the object. When set this function will override .
-
- The function used to create the object.
-
-
-
- Gets a value indicating whether the creator has a parameter with the dictionary values.
-
- true if the creator has a parameter with the dictionary values; otherwise, false.
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Gets or sets the object constructor.
-
- The object constructor.
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Gets or sets the object member serialization.
-
- The member object serialization.
-
-
-
- Gets or sets the missing member handling used when deserializing this object.
-
- The missing member handling.
-
-
-
- Gets or sets a value that indicates whether the object's properties are required.
-
-
- A value indicating whether the object's properties are required.
-
-
-
-
- Gets or sets how the object's properties with null values are handled during serialization and deserialization.
-
- How the object's properties with null values are handled during serialization and deserialization.
-
-
-
- Gets the object's properties.
-
- The object's properties.
-
-
-
- Gets a collection of instances that define the parameters used with .
-
-
-
-
- Gets or sets the function used to create the object. When set this function will override .
- This function is called with a collection of arguments which are defined by the collection.
-
- The function used to create the object.
-
-
-
- Gets or sets the extension data setter.
-
-
-
-
- Gets or sets the extension data getter.
-
-
-
-
- Gets or sets the extension data value type.
-
-
-
-
- Gets or sets the extension data name resolver.
-
- The extension data name resolver.
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Maps a JSON property to a .NET member or constructor parameter.
-
-
-
-
- Gets or sets the name of the property.
-
- The name of the property.
-
-
-
- Gets or sets the type that declared this property.
-
- The type that declared this property.
-
-
-
- Gets or sets the order of serialization of a member.
-
- The numeric order of serialization.
-
-
-
- Gets or sets the name of the underlying member or parameter.
-
- The name of the underlying member or parameter.
-
-
-
- Gets the that will get and set the during serialization.
-
- The that will get and set the during serialization.
-
-
-
- Gets or sets the for this property.
-
- The for this property.
-
-
-
- Gets or sets the type of the property.
-
- The type of the property.
-
-
-
- Gets or sets the for the property.
- If set this converter takes precedence over the contract converter for the property type.
-
- The converter.
-
-
-
- Gets or sets the member converter.
-
- The member converter.
-
-
-
- Gets or sets a value indicating whether this is ignored.
-
- true if ignored; otherwise, false.
-
-
-
- Gets or sets a value indicating whether this is readable.
-
- true if readable; otherwise, false.
-
-
-
- Gets or sets a value indicating whether this is writable.
-
- true if writable; otherwise, false.
-
-
-
- Gets or sets a value indicating whether this has a member attribute.
-
- true if has a member attribute; otherwise, false.
-
-
-
- Gets the default value.
-
- The default value.
-
-
-
- Gets or sets a value indicating whether this is required.
-
- A value indicating whether this is required.
-
-
-
- Gets a value indicating whether has a value specified.
-
-
-
-
- Gets or sets a value indicating whether this property preserves object references.
-
-
- true if this instance is reference; otherwise, false.
-
-
-
-
- Gets or sets the property null value handling.
-
- The null value handling.
-
-
-
- Gets or sets the property default value handling.
-
- The default value handling.
-
-
-
- Gets or sets the property reference loop handling.
-
- The reference loop handling.
-
-
-
- Gets or sets the property object creation handling.
-
- The object creation handling.
-
-
-
- Gets or sets or sets the type name handling.
-
- The type name handling.
-
-
-
- Gets or sets a predicate used to determine whether the property should be serialized.
-
- A predicate used to determine whether the property should be serialized.
-
-
-
- Gets or sets a predicate used to determine whether the property should be deserialized.
-
- A predicate used to determine whether the property should be deserialized.
-
-
-
- Gets or sets a predicate used to determine whether the property should be serialized.
-
- A predicate used to determine whether the property should be serialized.
-
-
-
- Gets or sets an action used to set whether the property has been deserialized.
-
- An action used to set whether the property has been deserialized.
-
-
-
- Returns a that represents this instance.
-
-
- A that represents this instance.
-
-
-
-
- Gets or sets the converter used when serializing the property's collection items.
-
- The collection's items converter.
-
-
-
- Gets or sets whether this property's collection items are serialized as a reference.
-
- Whether this property's collection items are serialized as a reference.
-
-
-
- Gets or sets the type name handling used when serializing the property's collection items.
-
- The collection's items type name handling.
-
-
-
- Gets or sets the reference loop handling used when serializing the property's collection items.
-
- The collection's items reference loop handling.
-
-
-
- A collection of objects.
-
-
-
-
- Initializes a new instance of the class.
-
- The type.
-
-
-
- When implemented in a derived class, extracts the key from the specified element.
-
- The element from which to extract the key.
- The key for the specified element.
-
-
-
- Adds a object.
-
- The property to add to the collection.
-
-
-
- Gets the closest matching object.
- First attempts to get an exact case match of and then
- a case insensitive match.
-
- Name of the property.
- A matching property if found.
-
-
-
- Gets a property by property name.
-
- The name of the property to get.
- Type property name string comparison.
- A matching property if found.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Lookup and create an instance of the type described by the argument.
-
- The type to create.
- Optional arguments to pass to an initializing constructor of the JsonConverter.
- If null, the default constructor is used.
-
-
-
- A kebab case naming strategy.
-
-
-
-
- Initializes a new instance of the class.
-
-
- A flag indicating whether dictionary keys should be processed.
-
-
- A flag indicating whether explicitly specified property names should be processed,
- e.g. a property name customized with a .
-
-
-
-
- Initializes a new instance of the class.
-
-
- A flag indicating whether dictionary keys should be processed.
-
-
- A flag indicating whether explicitly specified property names should be processed,
- e.g. a property name customized with a .
-
-
- A flag indicating whether extension data names should be processed.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Resolves the specified property name.
-
- The property name to resolve.
- The resolved property name.
-
-
-
- Represents a trace writer that writes to memory. When the trace message limit is
- reached then old trace messages will be removed as new messages are added.
-
-
-
-
- Gets the that will be used to filter the trace messages passed to the writer.
- For example a filter level of will exclude messages and include ,
- and messages.
-
-
- The that will be used to filter the trace messages passed to the writer.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Writes the specified trace level, message and optional exception.
-
- The at which to write this trace.
- The trace message.
- The trace exception. This parameter is optional.
-
-
-
- Returns an enumeration of the most recent trace messages.
-
- An enumeration of the most recent trace messages.
-
-
-
- Returns a of the most recent trace messages.
-
-
- A of the most recent trace messages.
-
-
-
-
- A base class for resolving how property names and dictionary keys are serialized.
-
-
-
-
- A flag indicating whether dictionary keys should be processed.
- Defaults to false.
-
-
-
-
- A flag indicating whether extension data names should be processed.
- Defaults to false.
-
-
-
-
- A flag indicating whether explicitly specified property names,
- e.g. a property name customized with a , should be processed.
- Defaults to false.
-
-
-
-
- Gets the serialized name for a given property name.
-
- The initial property name.
- A flag indicating whether the property has had a name explicitly specified.
- The serialized property name.
-
-
-
- Gets the serialized name for a given extension data name.
-
- The initial extension data name.
- The serialized extension data name.
-
-
-
- Gets the serialized key for a given dictionary key.
-
- The initial dictionary key.
- The serialized dictionary key.
-
-
-
- Resolves the specified property name.
-
- The property name to resolve.
- The resolved property name.
-
-
-
- Hash code calculation
-
-
-
-
-
- Object equality implementation
-
-
-
-
-
-
- Compare to another NamingStrategy
-
-
-
-
-
-
- Represents a method that constructs an object.
-
- The object type to create.
-
-
-
- When applied to a method, specifies that the method is called when an error occurs serializing an object.
-
-
-
-
- Provides methods to get attributes from a , , or .
-
-
-
-
- Initializes a new instance of the class.
-
- The instance to get attributes for. This parameter should be a , , or .
-
-
-
- Returns a collection of all of the attributes, or an empty collection if there are no attributes.
-
- When true, look up the hierarchy chain for the inherited custom attribute.
- A collection of s, or an empty collection.
-
-
-
- Returns a collection of attributes, identified by type, or an empty collection if there are no attributes.
-
- The type of the attributes.
- When true, look up the hierarchy chain for the inherited custom attribute.
- A collection of s, or an empty collection.
-
-
-
- Get and set values for a using reflection.
-
-
-
-
- Initializes a new instance of the class.
-
- The member info.
-
-
-
- Sets the value.
-
- The target to set the value on.
- The value to set on the target.
-
-
-
- Gets the value.
-
- The target to get the value from.
- The value.
-
-
-
- A snake case naming strategy.
-
-
-
-
- Initializes a new instance of the class.
-
-
- A flag indicating whether dictionary keys should be processed.
-
-
- A flag indicating whether explicitly specified property names should be processed,
- e.g. a property name customized with a .
-
-
-
-
- Initializes a new instance of the class.
-
-
- A flag indicating whether dictionary keys should be processed.
-
-
- A flag indicating whether explicitly specified property names should be processed,
- e.g. a property name customized with a .
-
-
- A flag indicating whether extension data names should be processed.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Resolves the specified property name.
-
- The property name to resolve.
- The resolved property name.
-
-
-
- Specifies how strings are escaped when writing JSON text.
-
-
-
-
- Only control characters (e.g. newline) are escaped.
-
-
-
-
- All non-ASCII and control characters (e.g. newline) are escaped.
-
-
-
-
- HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped.
-
-
-
-
- Indicates the method that will be used during deserialization for locating and loading assemblies.
-
-
-
-
- In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the LoadWithPartialName method of the class is used to load the assembly.
-
-
-
-
- In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The Load method of the class is used to load the assembly.
-
-
-
-
- Specifies type name handling options for the .
-
-
- should be used with caution when your application deserializes JSON from an external source.
- Incoming types should be validated with a custom
- when deserializing with a value other than .
-
-
-
-
- Do not include the .NET type name when serializing types.
-
-
-
-
- Include the .NET type name when serializing into a JSON object structure.
-
-
-
-
- Include the .NET type name when serializing into a JSON array structure.
-
-
-
-
- Always include the .NET type name when serializing.
-
-
-
-
- Include the .NET type name when the type of the object being serialized is not the same as its declared type.
- Note that this doesn't include the root serialized object by default. To include the root object's type name in JSON
- you must specify a root type object with
- or .
-
-
-
-
- Determines whether the collection is null or empty.
-
- The collection.
-
- true if the collection is null or empty; otherwise, false.
-
-
-
-
- Adds the elements of the specified collection to the specified generic .
-
- The list to add to.
- The collection of elements to add.
-
-
-
- Converts the value to the specified type. If the value is unable to be converted, the
- value is checked whether it assignable to the specified type.
-
- The value to convert.
- The culture to use when converting.
- The type to convert or cast the value to.
-
- The converted type. If conversion was unsuccessful, the initial value
- is returned if assignable to the target type.
-
-
-
-
- Helper class for serializing immutable collections.
- Note that this is used by all builds, even those that don't support immutable collections, in case the DLL is GACed
- https://github.com/JamesNK/Newtonsoft.Json/issues/652
-
-
-
-
- Gets the type of the typed collection's items.
-
- The type.
- The type of the typed collection's items.
-
-
-
- Gets the member's underlying type.
-
- The member.
- The underlying type of the member.
-
-
-
- Determines whether the property is an indexed property.
-
- The property.
-
- true if the property is an indexed property; otherwise, false.
-
-
-
-
- Gets the member's value on the object.
-
- The member.
- The target object.
- The member's value on the object.
-
-
-
- Sets the member's value on the target object.
-
- The member.
- The target.
- The value.
-
-
-
- Determines whether the specified MemberInfo can be read.
-
- The MemberInfo to determine whether can be read.
- /// if set to true then allow the member to be gotten non-publicly.
-
- true if the specified MemberInfo can be read; otherwise, false.
-
-
-
-
- Determines whether the specified MemberInfo can be set.
-
- The MemberInfo to determine whether can be set.
- if set to true then allow the member to be set non-publicly.
- if set to true then allow the member to be set if read-only.
-
- true if the specified MemberInfo can be set; otherwise, false.
-
-
-
-
- Builds a string. Unlike this class lets you reuse its internal buffer.
-
-
-
-
- Determines whether the string is all white space. Empty string will return false.
-
- The string to test whether it is all white space.
-
- true if the string is all white space; otherwise, false.
-
-
-
-
- Specifies the state of the .
-
-
-
-
- An exception has been thrown, which has left the in an invalid state.
- You may call the method to put the in the Closed state.
- Any other method calls result in an being thrown.
-
-
-
-
- The method has been called.
-
-
-
-
- An object is being written.
-
-
-
-
- An array is being written.
-
-
-
-
- A constructor is being written.
-
-
-
-
- A property is being written.
-
-
-
-
- A write method has not been called.
-
-
-
- Specifies that an output will not be null even if the corresponding type allows it.
-
-
- Specifies that when a method returns , the parameter will not be null even if the corresponding type allows it.
-
-
- Initializes the attribute with the specified return value condition.
-
- The return value condition. If the method returns this value, the associated parameter will not be null.
-
-
-
- Gets the return value condition.
-
-
- Specifies that an output may be null even if the corresponding type disallows it.
-
-
- Specifies that null is allowed as an input even if the corresponding type disallows it.
-
-
-
- Specifies that the method will not return if the associated Boolean parameter is passed the specified value.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The condition parameter value. Code after the method will be considered unreachable by diagnostics if the argument to
- the associated parameter matches this value.
-
-
-
- Gets the condition parameter value.
-
-
-
diff --git a/packages/Newtonsoft.Json.13.0.3/lib/net40/Newtonsoft.Json.dll b/packages/Newtonsoft.Json.13.0.3/lib/net40/Newtonsoft.Json.dll
deleted file mode 100644
index be3857e..0000000
Binary files a/packages/Newtonsoft.Json.13.0.3/lib/net40/Newtonsoft.Json.dll and /dev/null differ
diff --git a/packages/Newtonsoft.Json.13.0.3/lib/net40/Newtonsoft.Json.xml b/packages/Newtonsoft.Json.13.0.3/lib/net40/Newtonsoft.Json.xml
deleted file mode 100644
index a806363..0000000
--- a/packages/Newtonsoft.Json.13.0.3/lib/net40/Newtonsoft.Json.xml
+++ /dev/null
@@ -1,9741 +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 BSON data.
-
-
-
-
- Gets or sets a value indicating whether binary data reading should be compatible with incorrect Json.NET 3.5 written binary.
-
-
- true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether the root object will be read as a JSON array.
-
-
- true if the root object will be read as a JSON array; otherwise, false.
-
-
-
-
- Gets or sets the used when reading values from BSON.
-
- The used when reading values from BSON.
-
-
-
- Initializes a new instance of the class.
-
- The containing the BSON data to read.
-
-
-
- Initializes a new instance of the class.
-
- The containing the BSON data to read.
-
-
-
- Initializes a new instance of the class.
-
- The containing the BSON data to read.
- if set to true the root object will be read as a JSON array.
- The used when reading values from BSON.
-
-
-
- Initializes a new instance of the class.
-
- The containing the BSON data to read.
- if set to true the root object will be read as a JSON array.
- The used when reading values from BSON.
-
-
-
- Reads the next JSON token from the underlying .
-
-
- true if the next token was read successfully; false if there are no more tokens to read.
-
-
-
-
- Changes the reader's state to .
- If is set to true, the underlying is also closed.
-
-
-
-
- Represents a writer that provides a fast, non-cached, forward-only way of generating BSON data.
-
-
-
-
- Gets or sets the used when writing values to BSON.
- When set to no conversion will occur.
-
- The used when writing values to BSON.
-
-
-
- Initializes a new instance of the class.
-
- The to write to.
-
-
-
- Initializes a new instance of the class.
-
- The to write to.
-
-
-
- Flushes whatever is in the buffer to the underlying and also flushes the underlying stream.
-
-
-
-
- Writes the end.
-
- The token.
-
-
-
- Writes a comment /*...*/ containing the specified text.
-
- Text to place inside the comment.
-
-
-
- Writes the start of a constructor with the given name.
-
- The name of the constructor.
-
-
-
- Writes raw JSON.
-
- The raw JSON to write.
-
-
-
- Writes raw JSON where a value is expected and updates the writer's state.
-
- The raw JSON to write.
-
-
-
- Writes the beginning of a JSON array.
-
-
-
-
- Writes the beginning of a JSON object.
-
-
-
-
- Writes the property name of a name/value pair on a JSON object.
-
- The name of the property.
-
-
-
- Closes this writer.
- If is set to true, the underlying is also closed.
- If is set to true, the JSON is auto-completed.
-
-
-
-
- Writes a value.
- An error will raised if the value cannot be written as a single JSON token.
-
- The value to write.
-
-
-
- Writes a null value.
-
-
-
-
- Writes an undefined value.
-
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a [] value.
-
- The [] value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a [] value that represents a BSON object id.
-
- The Object ID value to write.
-
-
-
- Writes a BSON regex.
-
- The regex pattern.
- The regex options.
-
-
-
- Specifies how constructors are used when initializing objects during deserialization by the .
-
-
-
-
- First attempt to use the public default constructor, then fall back to a single parameterized constructor, then to the non-public default constructor.
-
-
-
-
- Json.NET will use a non-public default constructor before falling back to a parameterized constructor.
-
-
-
-
- Converts a binary value to and from a base 64 string value.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts a to and from JSON and BSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Creates a custom object.
-
- The object type to convert.
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Creates an object which will then be populated by the serializer.
-
- Type of the object.
- The created object.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Gets a value indicating whether this can write JSON.
-
-
- true if this can write JSON; otherwise, false.
-
-
-
-
- Converts a to and from JSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified value type.
-
- Type of the value.
-
- true if this instance can convert the specified value type; otherwise, false.
-
-
-
-
- Converts a to and from JSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified value type.
-
- Type of the value.
-
- true if this instance can convert the specified value type; otherwise, false.
-
-
-
-
- Provides a base class for converting a to and from JSON.
-
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts a F# discriminated union type to and from JSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts an Entity Framework to and from JSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts an to and from JSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Gets a value indicating whether this can write JSON.
-
-
- true if this can write JSON; otherwise, false.
-
-
-
-
- Converts a to and from the ISO 8601 date format (e.g. "2008-04-12T12:53Z").
-
-
-
-
- Gets or sets the date time styles used when converting a date to and from JSON.
-
- The date time styles used when converting a date to and from JSON.
-
-
-
- Gets or sets the date time format used when converting a date to and from JSON.
-
- The date time format used when converting a date to and from JSON.
-
-
-
- Gets or sets the culture used when converting a date to and from JSON.
-
- The culture used when converting a date to and from JSON.
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Converts a to and from a JavaScript Date constructor (e.g. new Date(52231943)).
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing property value of the JSON that is being converted.
- The calling serializer.
- The object value.
-
-
-
- Converts a to and from JSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts a to and from JSON and BSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts an to and from its name string value.
-
-
-
-
- Gets or sets a value indicating whether the written enum text should be camel case.
- The default value is false.
-
- true if the written enum text will be camel case; otherwise, false.
-
-
-
- Gets or sets the naming strategy used to resolve how enum text is written.
-
- The naming strategy used to resolve how enum text is written.
-
-
-
- Gets or sets a value indicating whether integer values are allowed when serializing and deserializing.
- The default value is true.
-
- true if integers are allowed when serializing and deserializing; otherwise, false.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- true if the written enum text will be camel case; otherwise, false.
-
-
-
- Initializes a new instance of the class.
-
- The naming strategy used to resolve how enum text is written.
- true if integers are allowed when serializing and deserializing; otherwise, false.
-
-
-
- Initializes a new instance of the class.
-
- The of the used to write enum text.
-
-
-
- Initializes a new instance of the class.
-
- The of the used to write enum text.
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
- When non-null, there must be a constructor defined in the that exactly matches the number,
- order, and type of these parameters.
-
-
-
-
- Initializes a new instance of the class.
-
- The of the used to write enum text.
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
- When non-null, there must be a constructor defined in the that exactly matches the number,
- order, and type of these parameters.
-
- true if integers are allowed when serializing and deserializing; otherwise, false.
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts a to and from Unix epoch time
-
-
-
-
- Gets or sets a value indicating whether the dates before Unix epoch
- should converted to and from JSON.
-
-
- true to allow converting dates before Unix epoch to and from JSON;
- false to throw an exception when a date being converted to or from JSON
- occurred before Unix epoch. The default value is false.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
-
- true to allow converting dates before Unix epoch to and from JSON;
- false to throw an exception when a date being converted to or from JSON
- occurred before Unix epoch. The default value is 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 property value of the JSON that is being converted.
- The calling serializer.
- The object value.
-
-
-
- Converts a to and from a string (e.g. "1.2.3.4").
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing property value of the JSON that is being converted.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts XML to and from JSON.
-
-
-
-
- Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produced multiple root elements.
-
- The name of the deserialized root element.
-
-
-
- Gets or sets a value to indicate whether to write the Json.NET array attribute.
- This attribute helps preserve arrays when converting the written XML back to JSON.
-
- true if the array attribute is written to the XML; otherwise, false.
-
-
-
- Gets or sets a value indicating whether to write the root JSON object.
-
- true if the JSON root object is omitted; otherwise, false.
-
-
-
- Gets or sets a value indicating whether to encode special characters when converting JSON to XML.
- If true, special characters like ':', '@', '?', '#' and '$' in JSON property names aren't used to specify
- XML namespaces, attributes or processing directives. Instead special characters are encoded and written
- as part of the XML element name.
-
- true if special characters are encoded; otherwise, false.
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The calling serializer.
- The value.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Checks if the is a namespace attribute.
-
- Attribute name to test.
- The attribute name prefix if it has one, otherwise an empty string.
- true if attribute name is for a namespace attribute, otherwise false.
-
-
-
- Determines whether this instance can convert the specified value type.
-
- Type of the value.
-
- true if this instance can convert the specified value type; otherwise, false.
-
-
-
-
- Specifies how dates are formatted when writing JSON text.
-
-
-
-
- Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z".
-
-
-
-
- Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/".
-
-
-
-
- Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text.
-
-
-
-
- Date formatted strings are not parsed to a date type and are read as strings.
-
-
-
-
- Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to .
-
-
-
-
- Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to .
-
-
-
-
- Specifies how to treat the time value when converting between string and .
-
-
-
-
- Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time.
-
-
-
-
- Treat as a UTC. If the object represents a local time, it is converted to a UTC.
-
-
-
-
- Treat as a local time if a is being converted to a string.
- If a string is being converted to , convert to a local time if a time zone is specified.
-
-
-
-
- Time zone information should be preserved when converting.
-
-
-
-
- The default JSON name table implementation.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets a string containing the same characters as the specified range of characters in the given array.
-
- The character array containing the name to find.
- The zero-based index into the array specifying the first character of the name.
- The number of characters in the name.
- A string containing the same characters as the specified range of characters in the given array.
-
-
-
- Adds the specified string into name table.
-
- The string to add.
- This method is not thread-safe.
- The resolved string.
-
-
-
- Specifies default value handling options for the .
-
-
-
-
-
-
-
-
- Include members where the member value is the same as the member's default value when serializing objects.
- Included members are written to JSON. Has no effect when deserializing.
-
-
-
-
- Ignore members where the member value is the same as the member's default value when serializing objects
- so that it is not written to JSON.
- This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers,
- decimals and floating point numbers; and false for booleans). The default value ignored can be changed by
- placing the on the property.
-
-
-
-
- Members with a default value but no JSON will be set to their default value when deserializing.
-
-
-
-
- Ignore members where the member value is the same as the member's default value when serializing objects
- and set members to their default value when deserializing.
-
-
-
-
- Specifies float format handling options when writing special floating point numbers, e.g. ,
- and with .
-
-
-
-
- Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity".
-
-
-
-
- Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity.
- Note that this will produce non-valid JSON.
-
-
-
-
- Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a of property.
-
-
-
-
- Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
-
-
-
-
- Floating point numbers are parsed to .
-
-
-
-
- Floating point numbers are parsed to .
-
-
-
-
- Specifies formatting options for the .
-
-
-
-
- No special formatting is applied. This is the default.
-
-
-
-
- Causes child objects to be indented according to the and settings.
-
-
-
-
- Provides an interface for using pooled arrays.
-
- The array type content.
-
-
-
- Rent an array from the pool. This array must be returned when it is no longer needed.
-
- The minimum required length of the array. The returned array may be longer.
- The rented array from the pool. This array must be returned when it is no longer needed.
-
-
-
- Return an array to the pool.
-
- The array that is being returned.
-
-
-
- Provides an interface to enable a class to return line and position information.
-
-
-
-
- Gets a value indicating whether the class can return line information.
-
-
- true if and can be provided; otherwise, false.
-
-
-
-
- Gets the current line number.
-
- The current line number or 0 if no line information is available (for example, when returns false).
-
-
-
- Gets the current line position.
-
- The current line position or 0 if no line information is available (for example, when returns false).
-
-
-
- Instructs the how to serialize the collection.
-
-
-
-
- Gets or sets a value indicating whether null items are allowed in the collection.
-
- true if null items are allowed in the collection; otherwise, false.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class with a flag indicating whether the array can contain null items.
-
- A flag indicating whether the array can contain null items.
-
-
-
- Initializes a new instance of the class with the specified container Id.
-
- The container Id.
-
-
-
- Instructs the to use the specified constructor when deserializing that object.
-
-
-
-
- Instructs the how to serialize the object.
-
-
-
-
- Gets or sets the id.
-
- The id.
-
-
-
- Gets or sets the title.
-
- The title.
-
-
-
- Gets or sets the description.
-
- The description.
-
-
-
- Gets or sets the collection's items converter.
-
- The collection's items converter.
-
-
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
- When non-null, there must be a constructor defined in the that exactly matches the number,
- order, and type of these parameters.
-
-
-
- [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })]
-
-
-
-
-
- Gets or sets the of the .
-
- The of the .
-
-
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
- When non-null, there must be a constructor defined in the that exactly matches the number,
- order, and type of these parameters.
-
-
-
- [JsonContainer(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })]
-
-
-
-
-
- Gets or sets a value that indicates whether to preserve object references.
-
-
- true to keep object reference; otherwise, false. The default is false.
-
-
-
-
- Gets or sets a value that indicates whether to preserve collection's items references.
-
-
- true to keep collection's items object references; otherwise, false. The default is false.
-
-
-
-
- Gets or sets the reference loop handling used when serializing the collection's items.
-
- The reference loop handling.
-
-
-
- Gets or sets the type name handling used when serializing the collection's items.
-
- The type name handling.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class with the specified container Id.
-
- The container Id.
-
-
-
- Provides methods for converting between .NET types and JSON types.
-
-
-
-
-
-
-
- Gets or sets a function that creates default .
- Default settings are automatically used by serialization methods on ,
- and and on .
- To serialize without using any default settings create a with
- .
-
-
-
-
- Represents JavaScript's boolean value true as a string. This field is read-only.
-
-
-
-
- Represents JavaScript's boolean value false as a string. This field is read-only.
-
-
-
-
- Represents JavaScript's null as a string. This field is read-only.
-
-
-
-
- Represents JavaScript's undefined as a string. This field is read-only.
-
-
-
-
- Represents JavaScript's positive infinity as a string. This field is read-only.
-
-
-
-
- Represents JavaScript's negative infinity as a string. This field is read-only.
-
-
-
-
- Represents JavaScript's NaN as a string. This field is read-only.
-
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation using the specified.
-
- The value to convert.
- The format the date will be converted to.
- The time zone handling when the date is converted to a string.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation using the specified.
-
- The value to convert.
- The format the date will be converted to.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- The string delimiter character.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- The string delimiter character.
- The string escape handling.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Serializes the specified object to a JSON string.
-
- The object to serialize.
- A JSON string representation of the object.
-
-
-
- Serializes the specified object to a JSON string using formatting.
-
- The object to serialize.
- Indicates how the output should be formatted.
-
- A JSON string representation of the object.
-
-
-
-
- Serializes the specified object to a JSON string using a collection of .
-
- The object to serialize.
- A collection of converters used while serializing.
- A JSON string representation of the object.
-
-
-
- Serializes the specified object to a JSON string using formatting and a collection of .
-
- The object to serialize.
- Indicates how the output should be formatted.
- A collection of converters used while serializing.
- A JSON string representation of the object.
-
-
-
- Serializes the specified object to a JSON string using .
-
- The object to serialize.
- The used to serialize the object.
- If this is null, default serialization settings will be used.
-
- A JSON string representation of the object.
-
-
-
-
- Serializes the specified object to a JSON string using a type, formatting and .
-
- The object to serialize.
- The used to serialize the object.
- If this is null, default serialization settings will be used.
-
- The type of the value being serialized.
- This parameter is used when is to write out the type name if the type of the value does not match.
- Specifying the type is optional.
-
-
- A JSON string representation of the object.
-
-
-
-
- Serializes the specified object to a JSON string using formatting and .
-
- The object to serialize.
- Indicates how the output should be formatted.
- The used to serialize the object.
- If this is null, default serialization settings will be used.
-
- A JSON string representation of the object.
-
-
-
-
- Serializes the specified object to a JSON string using a type, formatting and .
-
- The object to serialize.
- Indicates how the output should be formatted.
- The used to serialize the object.
- If this is null, default serialization settings will be used.
-
- The type of the value being serialized.
- This parameter is used when is to write out the type name if the type of the value does not match.
- Specifying the type is optional.
-
-
- A JSON string representation of the object.
-
-
-
-
- Deserializes the JSON to a .NET object.
-
- The JSON to deserialize.
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to a .NET object using .
-
- The JSON to deserialize.
-
- The used to deserialize the object.
- If this is null, default serialization settings will be used.
-
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to the specified .NET type.
-
- The JSON to deserialize.
- The of object being deserialized.
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to the specified .NET type.
-
- The type of the object to deserialize to.
- The JSON to deserialize.
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to the given anonymous type.
-
-
- The anonymous type to deserialize to. This can't be specified
- traditionally and must be inferred from the anonymous type passed
- as a parameter.
-
- The JSON to deserialize.
- The anonymous type object.
- The deserialized anonymous type from the JSON string.
-
-
-
- Deserializes the JSON to the given anonymous type using .
-
-
- The anonymous type to deserialize to. This can't be specified
- traditionally and must be inferred from the anonymous type passed
- as a parameter.
-
- The JSON to deserialize.
- The anonymous type object.
-
- The used to deserialize the object.
- If this is null, default serialization settings will be used.
-
- The deserialized anonymous type from the JSON string.
-
-
-
- Deserializes the JSON to the specified .NET type using a collection of .
-
- The type of the object to deserialize to.
- The JSON to deserialize.
- Converters to use while deserializing.
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to the specified .NET type using .
-
- The type of the object to deserialize to.
- The object to deserialize.
-
- The used to deserialize the object.
- If this is null, default serialization settings will be used.
-
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to the specified .NET type using a collection of .
-
- The JSON to deserialize.
- The type of the object to deserialize.
- Converters to use while deserializing.
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to the specified .NET type using .
-
- The JSON to deserialize.
- The type of the object to deserialize to.
-
- The used to deserialize the object.
- If this is null, default serialization settings will be used.
-
- The deserialized object from the JSON string.
-
-
-
- Populates the object with values from the JSON string.
-
- The JSON to populate values from.
- The target object to populate values onto.
-
-
-
- Populates the object with values from the JSON string using .
-
- The JSON to populate values from.
- The target object to populate values onto.
-
- The used to deserialize the object.
- If this is null, default serialization settings will be used.
-
-
-
-
- Serializes the to a JSON string.
-
- The node to serialize.
- A JSON string of the .
-
-
-
- Serializes the to a JSON string using formatting.
-
- The node to serialize.
- Indicates how the output should be formatted.
- A JSON string of the .
-
-
-
- Serializes the to a JSON string using formatting and omits the root object if is true.
-
- The node to serialize.
- Indicates how the output should be formatted.
- Omits writing the root object.
- A JSON string of the .
-
-
-
- Deserializes the from a JSON string.
-
- The JSON string.
- The deserialized .
-
-
-
- Deserializes the from a JSON string nested in a root element specified by .
-
- The JSON string.
- The name of the root element to append when deserializing.
- The deserialized .
-
-
-
- Deserializes the from a JSON string nested in a root element specified by
- and writes a Json.NET array attribute for collections.
-
- The JSON string.
- The name of the root element to append when deserializing.
-
- A value to indicate whether to write the Json.NET array attribute.
- This attribute helps preserve arrays when converting the written XML back to JSON.
-
- The deserialized .
-
-
-
- Deserializes the from a JSON string nested in a root element specified by ,
- writes a Json.NET array attribute for collections, and encodes special characters.
-
- The JSON string.
- The name of the root element to append when deserializing.
-
- A value to indicate whether to write the Json.NET array attribute.
- This attribute helps preserve arrays when converting the written XML back to JSON.
-
-
- A value to indicate whether to encode special characters when converting JSON to XML.
- If true, special characters like ':', '@', '?', '#' and '$' in JSON property names aren't used to specify
- XML namespaces, attributes or processing directives. Instead special characters are encoded and written
- as part of the XML element name.
-
- The deserialized .
-
-
-
- Serializes the to a JSON string.
-
- The node to convert to JSON.
- A JSON string of the .
-
-
-
- Serializes the to a JSON string using formatting.
-
- The node to convert to JSON.
- Indicates how the output should be formatted.
- A JSON string of the .
-
-
-
- Serializes the to a JSON string using formatting and omits the root object if is true.
-
- The node to serialize.
- Indicates how the output should be formatted.
- Omits writing the root object.
- A JSON string of the .
-
-
-
- Deserializes the from a JSON string.
-
- The JSON string.
- The deserialized .
-
-
-
- Deserializes the from a JSON string nested in a root element specified by .
-
- The JSON string.
- The name of the root element to append when deserializing.
- The deserialized .
-
-
-
- Deserializes the from a JSON string nested in a root element specified by
- and writes a Json.NET array attribute for collections.
-
- The JSON string.
- The name of the root element to append when deserializing.
-
- A value to indicate whether to write the Json.NET array attribute.
- This attribute helps preserve arrays when converting the written XML back to JSON.
-
- The deserialized .
-
-
-
- Deserializes the from a JSON string nested in a root element specified by ,
- writes a Json.NET array attribute for collections, and encodes special characters.
-
- The JSON string.
- The name of the root element to append when deserializing.
-
- A value to indicate whether to write the Json.NET array attribute.
- This attribute helps preserve arrays when converting the written XML back to JSON.
-
-
- A value to indicate whether to encode special characters when converting JSON to XML.
- If true, special characters like ':', '@', '?', '#' and '$' in JSON property names aren't used to specify
- XML namespaces, attributes or processing directives. Instead special characters are encoded and written
- as part of the XML element name.
-
- The deserialized .
-
-
-
- Converts an object to and from JSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Gets a value indicating whether this can read JSON.
-
- true if this can read JSON; otherwise, false.
-
-
-
- Gets a value indicating whether this can write JSON.
-
- true if this can write JSON; otherwise, false.
-
-
-
- Converts an object to and from JSON.
-
- The object type to convert.
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read. If there is no existing value then null will be used.
- The existing value has a value.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Instructs the to use the specified when serializing the member or class.
-
-
-
-
- Gets the of the .
-
- The of the .
-
-
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
-
-
-
-
- Initializes a new instance of the class.
-
- Type of the .
-
-
-
- Initializes a new instance of the class.
-
- Type of the .
- Parameter list to use when constructing the . Can be null.
-
-
-
- Represents a collection of .
-
-
-
-
- Instructs the how to serialize the collection.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class with the specified container Id.
-
- The container Id.
-
-
-
- The exception thrown when an error occurs during JSON serialization or deserialization.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- with a specified error message.
-
- The error message that explains the reason for the exception.
-
-
-
- Initializes a new instance of the class
- with a specified error message and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Initializes a new instance of the class.
-
- The that holds the serialized object data about the exception being thrown.
- The that contains contextual information about the source or destination.
- The parameter is null.
- The class name is null or is zero (0).
-
-
-
- Instructs the to deserialize properties with no matching class member into the specified collection
- and write values during serialization.
-
-
-
-
- Gets or sets a value that indicates whether to write extension data when serializing the object.
-
-
- true to write extension data when serializing the object; otherwise, false. The default is true.
-
-
-
-
- Gets or sets a value that indicates whether to read extension data when deserializing the object.
-
-
- true to read extension data when deserializing the object; otherwise, false. The default is true.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Instructs the not to serialize the public field or public read/write property value.
-
-
-
-
- Base class for a table of atomized string objects.
-
-
-
-
- Gets a string containing the same characters as the specified range of characters in the given array.
-
- The character array containing the name to find.
- The zero-based index into the array specifying the first character of the name.
- The number of characters in the name.
- A string containing the same characters as the specified range of characters in the given array.
-
-
-
- Instructs the how to serialize the object.
-
-
-
-
- Gets or sets the member serialization.
-
- The member serialization.
-
-
-
- Gets or sets the missing member handling used when deserializing this object.
-
- The missing member handling.
-
-
-
- Gets or sets how the object's properties with null values are handled during serialization and deserialization.
-
- How the object's properties with null values are handled during serialization and deserialization.
-
-
-
- Gets or sets a value that indicates whether the object's properties are required.
-
-
- A value indicating whether the object's properties are required.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class with the specified member serialization.
-
- The member serialization.
-
-
-
- Initializes a new instance of the class with the specified container Id.
-
- The container Id.
-
-
-
- Instructs the to always serialize the member with the specified name.
-
-
-
-
- Gets or sets the type used when serializing the property's collection items.
-
- The collection's items type.
-
-
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
- When non-null, there must be a constructor defined in the that exactly matches the number,
- order, and type of these parameters.
-
-
-
- [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })]
-
-
-
-
-
- Gets or sets the of the .
-
- The of the .
-
-
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
- When non-null, there must be a constructor defined in the that exactly matches the number,
- order, and type of these parameters.
-
-
-
- [JsonProperty(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })]
-
-
-
-
-
- Gets or sets the null value handling used when serializing this property.
-
- The null value handling.
-
-
-
- Gets or sets the default value handling used when serializing this property.
-
- The default value handling.
-
-
-
- Gets or sets the reference loop handling used when serializing this property.
-
- The reference loop handling.
-
-
-
- Gets or sets the object creation handling used when deserializing this property.
-
- The object creation handling.
-
-
-
- Gets or sets the type name handling used when serializing this property.
-
- The type name handling.
-
-
-
- Gets or sets whether this property's value is serialized as a reference.
-
- Whether this property's value is serialized as a reference.
-
-
-
- Gets or sets the order of serialization of a member.
-
- The numeric order of serialization.
-
-
-
- Gets or sets a value indicating whether this property is required.
-
-
- A value indicating whether this property is required.
-
-
-
-
- Gets or sets the name of the property.
-
- The name of the property.
-
-
-
- Gets or sets the reference loop handling used when serializing the property's collection items.
-
- The collection's items reference loop handling.
-
-
-
- Gets or sets the type name handling used when serializing the property's collection items.
-
- The collection's items type name handling.
-
-
-
- Gets or sets whether this property's collection items are serialized as a reference.
-
- Whether this property's collection items are serialized as a reference.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class with the specified name.
-
- Name of the property.
-
-
-
- Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data.
-
-
-
-
- Specifies the state of the reader.
-
-
-
-
- A read method has not been called.
-
-
-
-
- The end of the file has been reached successfully.
-
-
-
-
- Reader is at a property.
-
-
-
-
- Reader is at the start of an object.
-
-
-
-
- Reader is in an object.
-
-
-
-
- Reader is at the start of an array.
-
-
-
-
- Reader is in an array.
-
-
-
-
- The method has been called.
-
-
-
-
- Reader has just read a value.
-
-
-
-
- Reader is at the start of a constructor.
-
-
-
-
- Reader is in a constructor.
-
-
-
-
- An error occurred that prevents the read operation from continuing.
-
-
-
-
- The end of the file has been reached successfully.
-
-
-
-
- Gets the current reader state.
-
- The current reader state.
-
-
-
- Gets or sets a value indicating whether the source should be closed when this reader is closed.
-
-
- true to close the source when this reader is closed; otherwise false. The default is true.
-
-
-
-
- Gets or sets a value indicating whether multiple pieces of JSON content can
- be read from a continuous stream without erroring.
-
-
- true to support reading multiple pieces of JSON content; otherwise false.
- The default is false.
-
-
-
-
- Gets the quotation mark character used to enclose the value of a string.
-
-
-
-
- Gets or sets how time zones are handled when reading JSON.
-
-
-
-
- Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON.
-
-
-
-
- Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
-
-
-
-
- Gets or sets how custom date formatted strings are parsed when reading JSON.
-
-
-
-
- Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a .
- A null value means there is no maximum.
- The default value is 64.
-
-
-
-
- Gets the type of the current JSON token.
-
-
-
-
- Gets the text value of the current JSON token.
-
-
-
-
- Gets the .NET type for the current JSON token.
-
-
-
-
- Gets the depth of the current token in the JSON document.
-
- The depth of the current token in the JSON document.
-
-
-
- Gets the path of the current JSON token.
-
-
-
-
- Gets or sets the culture used when reading JSON. Defaults to .
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Reads the next JSON token from the source.
-
- true if the next token was read successfully; false if there are no more tokens to read.
-
-
-
- Reads the next JSON token from the source as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a .
-
- A . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a [].
-
- A [] or null if the next JSON token is null. This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Skips the children of the current token.
-
-
-
-
- Sets the current token.
-
- The new token.
-
-
-
- Sets the current token and value.
-
- The new token.
- The value.
-
-
-
- Sets the current token and value.
-
- The new token.
- The value.
- A flag indicating whether the position index inside an array should be updated.
-
-
-
- Sets the state based on current token type.
-
-
-
-
- Releases unmanaged and - optionally - managed resources.
-
- true to release both managed and unmanaged resources; false to release only unmanaged resources.
-
-
-
- Changes the reader's state to .
- If is set to true, the source is also closed.
-
-
-
-
- The exception thrown when an error occurs while reading JSON text.
-
-
-
-
- Gets the line number indicating where the error occurred.
-
- The line number indicating where the error occurred.
-
-
-
- Gets the line position indicating where the error occurred.
-
- The line position indicating where the error occurred.
-
-
-
- Gets the path to the JSON where the error occurred.
-
- The path to the JSON where the error occurred.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- with a specified error message.
-
- The error message that explains the reason for the exception.
-
-
-
- Initializes a new instance of the class
- with a specified error message and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Initializes a new instance of the class.
-
- The that holds the serialized object data about the exception being thrown.
- The that contains contextual information about the source or destination.
- The parameter is null.
- The class name is null or is zero (0).
-
-
-
- Initializes a new instance of the class
- with a specified error message, JSON path, line number, line position, and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The path to the JSON where the error occurred.
- The line number indicating where the error occurred.
- The line position indicating where the error occurred.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Instructs the to always serialize the member, and to require that the member has a value.
-
-
-
-
- The exception thrown when an error occurs during JSON serialization or deserialization.
-
-
-
-
- Gets the line number indicating where the error occurred.
-
- The line number indicating where the error occurred.
-
-
-
- Gets the line position indicating where the error occurred.
-
- The line position indicating where the error occurred.
-
-
-
- Gets the path to the JSON where the error occurred.
-
- The path to the JSON where the error occurred.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- with a specified error message.
-
- The error message that explains the reason for the exception.
-
-
-
- Initializes a new instance of the class
- with a specified error message and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Initializes a new instance of the class.
-
- The that holds the serialized object data about the exception being thrown.
- The that contains contextual information about the source or destination.
- The parameter is null.
- The class name is null or is zero (0).
-
-
-
- Initializes a new instance of the class
- with a specified error message, JSON path, line number, line position, and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The path to the JSON where the error occurred.
- The line number indicating where the error occurred.
- The line position indicating where the error occurred.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Serializes and deserializes objects into and from the JSON format.
- The enables you to control how objects are encoded into JSON.
-
-
-
-
- Occurs when the errors during serialization and deserialization.
-
-
-
-
- Gets or sets the used by the serializer when resolving references.
-
-
-
-
- Gets or sets the used by the serializer when resolving type names.
-
-
-
-
- Gets or sets the used by the serializer when resolving type names.
-
-
-
-
- Gets or sets the used by the serializer when writing trace messages.
-
- The trace writer.
-
-
-
- Gets or sets the equality comparer used by the serializer when comparing references.
-
- The equality comparer.
-
-
-
- Gets or sets how type name writing and reading is handled by the serializer.
- The default value is .
-
-
- should be used with caution when your application deserializes JSON from an external source.
- Incoming types should be validated with a custom
- when deserializing with a value other than .
-
-
-
-
- Gets or sets how a type name assembly is written and resolved by the serializer.
- The default value is .
-
- The type name assembly format.
-
-
-
- Gets or sets how a type name assembly is written and resolved by the serializer.
- The default value is .
-
- The type name assembly format.
-
-
-
- Gets or sets how object references are preserved by the serializer.
- The default value is .
-
-
-
-
- Gets or sets how reference loops (e.g. a class referencing itself) is handled.
- The default value is .
-
-
-
-
- Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization.
- The default value is .
-
-
-
-
- Gets or sets how null values are handled during serialization and deserialization.
- The default value is .
-
-
-
-
- Gets or sets how default values are handled during serialization and deserialization.
- The default value is .
-
-
-
-
- Gets or sets how objects are created during deserialization.
- The default value is .
-
- The object creation handling.
-
-
-
- Gets or sets how constructors are used during deserialization.
- The default value is .
-
- The constructor handling.
-
-
-
- Gets or sets how metadata properties are used during deserialization.
- The default value is .
-
- The metadata properties handling.
-
-
-
- Gets a collection that will be used during serialization.
-
- Collection that will be used during serialization.
-
-
-
- Gets or sets the contract resolver used by the serializer when
- serializing .NET objects to JSON and vice versa.
-
-
-
-
- Gets or sets the used by the serializer when invoking serialization callback methods.
-
- The context.
-
-
-
- Indicates how JSON text output is formatted.
- The default value is .
-
-
-
-
- Gets or sets how dates are written to JSON text.
- The default value is .
-
-
-
-
- Gets or sets how time zones are handled during serialization and deserialization.
- The default value is .
-
-
-
-
- Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON.
- The default value is .
-
-
-
-
- Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
- The default value is .
-
-
-
-
- Gets or sets how special floating point numbers, e.g. ,
- and ,
- are written as JSON text.
- The default value is .
-
-
-
-
- Gets or sets how strings are escaped when writing JSON text.
- The default value is .
-
-
-
-
- Gets or sets how and values are formatted when writing JSON text,
- and the expected date format when reading JSON text.
- The default value is "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK".
-
-
-
-
- Gets or sets the culture used when reading JSON.
- The default value is .
-
-
-
-
- Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a .
- A null value means there is no maximum.
- The default value is 64.
-
-
-
-
- Gets a value indicating whether there will be a check for additional JSON content after deserializing an object.
- The default value is false.
-
-
- true if there will be a check for additional JSON content after deserializing an object; otherwise, false.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Creates a new instance.
- The will not use default settings
- from .
-
-
- A new instance.
- The will not use default settings
- from .
-
-
-
-
- Creates a new instance using the specified .
- The will not use default settings
- from .
-
- The settings to be applied to the .
-
- A new instance using the specified .
- The will not use default settings
- from .
-
-
-
-
- Creates a new instance.
- The will use default settings
- from .
-
-
- A new instance.
- The will use default settings
- from .
-
-
-
-
- Creates a new instance using the specified .
- The will use default settings
- from as well as the specified .
-
- The settings to be applied to the .
-
- A new instance using the specified .
- The will use default settings
- from as well as the specified .
-
-
-
-
- Populates the JSON values onto the target object.
-
- The that contains the JSON structure to read values from.
- The target object to populate values onto.
-
-
-
- Populates the JSON values onto the target object.
-
- The that contains the JSON structure to read values from.
- The target object to populate values onto.
-
-
-
- Deserializes the JSON structure contained by the specified .
-
- The that contains the JSON structure to deserialize.
- The being deserialized.
-
-
-
- Deserializes the JSON structure contained by the specified
- into an instance of the specified type.
-
- The containing the object.
- The of object being deserialized.
- The instance of being deserialized.
-
-
-
- Deserializes the JSON structure contained by the specified
- into an instance of the specified type.
-
- The containing the object.
- The type of the object to deserialize.
- The instance of being deserialized.
-
-
-
- Deserializes the JSON structure contained by the specified
- into an instance of the specified type.
-
- The containing the object.
- The of object being deserialized.
- The instance of being deserialized.
-
-
-
- Serializes the specified and writes the JSON structure
- using the specified .
-
- The used to write the JSON structure.
- The to serialize.
-
-
-
- Serializes the specified and writes the JSON structure
- using the specified .
-
- The used to write the JSON structure.
- The to serialize.
-
- The type of the value being serialized.
- This parameter is used when is to write out the type name if the type of the value does not match.
- Specifying the type is optional.
-
-
-
-
- Serializes the specified and writes the JSON structure
- using the specified .
-
- The used to write the JSON structure.
- The to serialize.
-
- The type of the value being serialized.
- This parameter is used when is Auto to write out the type name if the type of the value does not match.
- Specifying the type is optional.
-
-
-
-
- Serializes the specified and writes the JSON structure
- using the specified .
-
- The used to write the JSON structure.
- The to serialize.
-
-
-
- Specifies the settings on a object.
-
-
-
-
- Gets or sets how reference loops (e.g. a class referencing itself) are handled.
- The default value is .
-
- Reference loop handling.
-
-
-
- Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization.
- The default value is .
-
- Missing member handling.
-
-
-
- Gets or sets how objects are created during deserialization.
- The default value is .
-
- The object creation handling.
-
-
-
- Gets or sets how null values are handled during serialization and deserialization.
- The default value is .
-
- Null value handling.
-
-
-
- Gets or sets how default values are handled during serialization and deserialization.
- The default value is .
-
- The default value handling.
-
-
-
- Gets or sets a collection that will be used during serialization.
-
- The converters.
-
-
-
- Gets or sets how object references are preserved by the serializer.
- The default value is .
-
- The preserve references handling.
-
-
-
- Gets or sets how type name writing and reading is handled by the serializer.
- The default value is .
-
-
- should be used with caution when your application deserializes JSON from an external source.
- Incoming types should be validated with a custom
- when deserializing with a value other than .
-
- The type name handling.
-
-
-
- Gets or sets how metadata properties are used during deserialization.
- The default value is .
-
- The metadata properties handling.
-
-
-
- Gets or sets how a type name assembly is written and resolved by the serializer.
- The default value is .
-
- The type name assembly format.
-
-
-
- Gets or sets how a type name assembly is written and resolved by the serializer.
- The default value is .
-
- The type name assembly format.
-
-
-
- Gets or sets how constructors are used during deserialization.
- The default value is .
-
- The constructor handling.
-
-
-
- Gets or sets the contract resolver used by the serializer when
- serializing .NET objects to JSON and vice versa.
-
- The contract resolver.
-
-
-
- Gets or sets the equality comparer used by the serializer when comparing references.
-
- The equality comparer.
-
-
-
- Gets or sets the used by the serializer when resolving references.
-
- The reference resolver.
-
-
-
- Gets or sets a function that creates the used by the serializer when resolving references.
-
- A function that creates the used by the serializer when resolving references.
-
-
-
- Gets or sets the used by the serializer when writing trace messages.
-
- The trace writer.
-
-
-
- Gets or sets the used by the serializer when resolving type names.
-
- The binder.
-
-
-
- Gets or sets the used by the serializer when resolving type names.
-
- The binder.
-
-
-
- Gets or sets the error handler called during serialization and deserialization.
-
- The error handler called during serialization and deserialization.
-
-
-
- Gets or sets the used by the serializer when invoking serialization callback methods.
-
- The context.
-
-
-
- Gets or sets how and values are formatted when writing JSON text,
- and the expected date format when reading JSON text.
- The default value is "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK".
-
-
-
-
- Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a .
- A null value means there is no maximum.
- The default value is 64.
-
-
-
-
- Indicates how JSON text output is formatted.
- The default value is .
-
-
-
-
- Gets or sets how dates are written to JSON text.
- The default value is .
-
-
-
-
- Gets or sets how time zones are handled during serialization and deserialization.
- The default value is .
-
-
-
-
- Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON.
- The default value is .
-
-
-
-
- Gets or sets how special floating point numbers, e.g. ,
- and ,
- are written as JSON.
- The default value is .
-
-
-
-
- Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
- The default value is .
-
-
-
-
- Gets or sets how strings are escaped when writing JSON text.
- The default value is .
-
-
-
-
- Gets or sets the culture used when reading JSON.
- The default value is .
-
-
-
-
- Gets a value indicating whether there will be a check for additional content after deserializing an object.
- The default value is false.
-
-
- true if there will be a check for additional content after deserializing an object; otherwise, false.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- using values copied from the passed in .
-
-
-
-
- Represents a reader that provides fast, non-cached, forward-only access to JSON text data.
-
-
-
-
- Initializes a new instance of the class with the specified .
-
- The containing the JSON data to read.
-
-
-
- Gets or sets the reader's property name table.
-
-
-
-
- Gets or sets the reader's character buffer pool.
-
-
-
-
- Reads the next JSON token from the underlying .
-
-
- true if the next token was read successfully; false if there are no more tokens to read.
-
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a .
-
- A . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a [].
-
- A [] or null if the next JSON token is null. This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Changes the reader's state to .
- If is set to true, the underlying is also closed.
-
-
-
-
- Gets a value indicating whether the class can return line information.
-
-
- true if and can be provided; otherwise, false.
-
-
-
-
- Gets the current line number.
-
-
- The current line number or 0 if no line information is available (for example, returns false).
-
-
-
-
- Gets the current line position.
-
-
- The current line position or 0 if no line information is available (for example, returns false).
-
-
-
-
- Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
-
-
-
-
- Gets or sets the writer's character array pool.
-
-
-
-
- Gets or sets how many s to write for each level in the hierarchy when is set to .
-
-
-
-
- Gets or sets which character to use to quote attribute values.
-
-
-
-
- Gets or sets which character to use for indenting when is set to .
-
-
-
-
- Gets or sets a value indicating whether object names will be surrounded with quotes.
-
-
-
-
- Initializes a new instance of the class using the specified .
-
- The to write to.
-
-
-
- Flushes whatever is in the buffer to the underlying and also flushes the underlying .
-
-
-
-
- Closes this writer.
- If is set to true, the underlying is also closed.
- If is set to true, the JSON is auto-completed.
-
-
-
-
- Writes the beginning of a JSON object.
-
-
-
-
- Writes the beginning of a JSON array.
-
-
-
-
- Writes the start of a constructor with the given name.
-
- The name of the constructor.
-
-
-
- Writes the specified end token.
-
- The end token to write.
-
-
-
- Writes the property name of a name/value pair on a JSON object.
-
- The name of the property.
-
-
-
- Writes the property name of a name/value pair on a JSON object.
-
- The name of the property.
- A flag to indicate whether the text should be escaped when it is written as a JSON property name.
-
-
-
- Writes indent characters.
-
-
-
-
- Writes the JSON value delimiter.
-
-
-
-
- Writes an indent space.
-
-
-
-
- Writes a value.
- An error will raised if the value cannot be written as a single JSON token.
-
- The value to write.
-
-
-
- Writes a null value.
-
-
-
-
- Writes an undefined value.
-
-
-
-
- Writes raw JSON.
-
- The raw JSON to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a [] value.
-
- The [] value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a comment /*...*/ containing the specified text.
-
- Text to place inside the comment.
-
-
-
- Writes the given white space.
-
- The string of white space characters.
-
-
-
- Specifies the type of JSON token.
-
-
-
-
- This is returned by the if a read method has not been called.
-
-
-
-
- An object start token.
-
-
-
-
- An array start token.
-
-
-
-
- A constructor start token.
-
-
-
-
- An object property name.
-
-
-
-
- A comment.
-
-
-
-
- Raw JSON.
-
-
-
-
- An integer.
-
-
-
-
- A float.
-
-
-
-
- A string.
-
-
-
-
- A boolean.
-
-
-
-
- A null token.
-
-
-
-
- An undefined token.
-
-
-
-
- An object end token.
-
-
-
-
- An array end token.
-
-
-
-
- A constructor end token.
-
-
-
-
- A Date.
-
-
-
-
- Byte data.
-
-
-
-
-
- Represents a reader that provides validation.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Sets an event handler for receiving schema validation errors.
-
-
-
-
- Gets the text value of the current JSON token.
-
-
-
-
-
- Gets the depth of the current token in the JSON document.
-
- The depth of the current token in the JSON document.
-
-
-
- Gets the path of the current JSON token.
-
-
-
-
- Gets the quotation mark character used to enclose the value of a string.
-
-
-
-
-
- Gets the type of the current JSON token.
-
-
-
-
-
- Gets the .NET type for the current JSON token.
-
-
-
-
-
- Initializes a new instance of the class that
- validates the content returned from the given .
-
- The to read from while validating.
-
-
-
- Gets or sets the schema.
-
- The schema.
-
-
-
- Gets the used to construct this .
-
- The specified in the constructor.
-
-
-
- Changes the reader's state to .
- If is set to true, the underlying is also closed.
-
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of .
-
-
-
- Reads the next JSON token from the underlying as a [].
-
-
- A [] or null if the next JSON token is null.
-
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of .
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of .
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of .
-
-
-
- Reads the next JSON token from the underlying as a .
-
- A . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of .
-
-
-
- Reads the next JSON token from the underlying .
-
-
- true if the next token was read successfully; false if there are no more tokens to read.
-
-
-
-
- Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
-
-
-
-
- Gets or sets a value indicating whether the destination should be closed when this writer is closed.
-
-
- true to close the destination when this writer is closed; otherwise false. The default is true.
-
-
-
-
- Gets or sets a value indicating whether the JSON should be auto-completed when this writer is closed.
-
-
- true to auto-complete the JSON when this writer is closed; otherwise false. The default is true.
-
-
-
-
- Gets the top.
-
- The top.
-
-
-
- Gets the state of the writer.
-
-
-
-
- Gets the path of the writer.
-
-
-
-
- Gets or sets a value indicating how JSON text output should be formatted.
-
-
-
-
- Gets or sets how dates are written to JSON text.
-
-
-
-
- Gets or sets how time zones are handled when writing JSON text.
-
-
-
-
- Gets or sets how strings are escaped when writing JSON text.
-
-
-
-
- Gets or sets how special floating point numbers, e.g. ,
- and ,
- are written to JSON text.
-
-
-
-
- Gets or sets how and values are formatted when writing JSON text.
-
-
-
-
- Gets or sets the culture used when writing JSON. Defaults to .
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Flushes whatever is in the buffer to the destination and also flushes the destination.
-
-
-
-
- Closes this writer.
- If is set to true, the destination is also closed.
- If is set to true, the JSON is auto-completed.
-
-
-
-
- Writes the beginning of a JSON object.
-
-
-
-
- Writes the end of a JSON object.
-
-
-
-
- Writes the beginning of a JSON array.
-
-
-
-
- Writes the end of an array.
-
-
-
-
- Writes the start of a constructor with the given name.
-
- The name of the constructor.
-
-
-
- Writes the end constructor.
-
-
-
-
- Writes the property name of a name/value pair of a JSON object.
-
- The name of the property.
-
-
-
- Writes the property name of a name/value pair of a JSON object.
-
- The name of the property.
- A flag to indicate whether the text should be escaped when it is written as a JSON property name.
-
-
-
- Writes the end of the current JSON object or array.
-
-
-
-
- Writes the current token and its children.
-
- The to read the token from.
-
-
-
- Writes the current token.
-
- The to read the token from.
- A flag indicating whether the current token's children should be written.
-
-
-
- Writes the token and its value.
-
- The to write.
-
- The value to write.
- A value is only required for tokens that have an associated value, e.g. the property name for .
- null can be passed to the method for tokens that don't have a value, e.g. .
-
-
-
-
- Writes the token.
-
- The to write.
-
-
-
- Writes the specified end token.
-
- The end token to write.
-
-
-
- Writes indent characters.
-
-
-
-
- Writes the JSON value delimiter.
-
-
-
-
- Writes an indent space.
-
-
-
-
- Writes a null value.
-
-
-
-
- Writes an undefined value.
-
-
-
-
- Writes raw JSON without changing the writer's state.
-
- The raw JSON to write.
-
-
-
- Writes raw JSON where a value is expected and updates the writer's state.
-
- The raw JSON to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a [] value.
-
- The [] value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
- An error will raised if the value cannot be written as a single JSON token.
-
- The value to write.
-
-
-
- Writes a comment /*...*/ containing the specified text.
-
- Text to place inside the comment.
-
-
-
- Writes the given white space.
-
- The string of white space characters.
-
-
-
- Releases unmanaged and - optionally - managed resources.
-
- true to release both managed and unmanaged resources; false to release only unmanaged resources.
-
-
-
- Sets the state of the .
-
- The being written.
- The value being written.
-
-
-
- The exception thrown when an error occurs while writing JSON text.
-
-
-
-
- Gets the path to the JSON where the error occurred.
-
- The path to the JSON where the error occurred.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- with a specified error message.
-
- The error message that explains the reason for the exception.
-
-
-
- Initializes a new instance of the class
- with a specified error message and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Initializes a new instance of the class.
-
- The that holds the serialized object data about the exception being thrown.
- The that contains contextual information about the source or destination.
- The parameter is null.
- The class name is null or is zero (0).
-
-
-
- Initializes a new instance of the class
- with a specified error message, JSON path and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The path to the JSON where the error occurred.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Specifies how JSON comments are handled when loading JSON.
-
-
-
-
- Ignore comments.
-
-
-
-
- Load comments as a with type .
-
-
-
-
- Specifies how duplicate property names are handled when loading JSON.
-
-
-
-
- Replace the existing value when there is a duplicate property. The value of the last property in the JSON object will be used.
-
-
-
-
- Ignore the new value when there is a duplicate property. The value of the first property in the JSON object will be used.
-
-
-
-
- Throw a when a duplicate property is encountered.
-
-
-
-
- Contains the LINQ to JSON extension methods.
-
-
-
-
- Returns a collection of tokens that contains the ancestors of every token in the source collection.
-
- The type of the objects in source, constrained to .
- An of that contains the source collection.
- An of that contains the ancestors of every token in the source collection.
-
-
-
- Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection.
-
- The type of the objects in source, constrained to .
- An of that contains the source collection.
- An of that contains every token in the source collection, the ancestors of every token in the source collection.
-
-
-
- Returns a collection of tokens that contains the descendants of every token in the source collection.
-
- The type of the objects in source, constrained to .
- An of that contains the source collection.
- An of that contains the descendants of every token in the source collection.
-
-
-
- Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection.
-
- The type of the objects in source, constrained to .
- An of that contains the source collection.
- An of that contains every token in the source collection, and the descendants of every token in the source collection.
-
-
-
- Returns a collection of child properties of every object in the source collection.
-
- An of that contains the source collection.
- An of that contains the properties of every object in the source collection.
-
-
-
- Returns a collection of child values of every object in the source collection with the given key.
-
- An of that contains the source collection.
- The token key.
- An of that contains the values of every token in the source collection with the given key.
-
-
-
- Returns a collection of child values of every object in the source collection.
-
- An of that contains the source collection.
- An of that contains the values of every token in the source collection.
-
-
-
- Returns a collection of converted child values of every object in the source collection with the given key.
-
- The type to convert the values to.
- An of that contains the source collection.
- The token key.
- An that contains the converted values of every token in the source collection with the given key.
-
-
-
- Returns a collection of converted child values of every object in the source collection.
-
- The type to convert the values to.
- An of that contains the source collection.
- An that contains the converted values of every token in the source collection.
-
-
-
- Converts the value.
-
- The type to convert the value to.
- A cast as a of .
- A converted value.
-
-
-
- Converts the value.
-
- The source collection type.
- The type to convert the value to.
- A cast as a of .
- A converted value.
-
-
-
- Returns a collection of child tokens of every array in the source collection.
-
- The source collection type.
- An of that contains the source collection.
- An of that contains the values of every token in the source collection.
-
-
-
- Returns a collection of converted child tokens of every array in the source collection.
-
- An of that contains the source collection.
- The type to convert the values to.
- The source collection type.
- An that contains the converted values of every token in the source collection.
-
-
-
- Returns the input typed as .
-
- An of that contains the source collection.
- The input typed as .
-
-
-
- Returns the input typed as .
-
- The source collection type.
- An of that contains the source collection.
- The input typed as .
-
-
-
- Represents a collection of objects.
-
- The type of token.
-
-
-
- Gets the of with the specified key.
-
-
-
-
-
- Represents a JSON array.
-
-
-
-
-
-
-
- Gets the container's children tokens.
-
- The container's children tokens.
-
-
-
- Gets the node type for this .
-
- The type.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class from another object.
-
- A object to copy from.
-
-
-
- Initializes a new instance of the class with the specified content.
-
- The contents of the array.
-
-
-
- Initializes a new instance of the class with the specified content.
-
- The contents of the array.
-
-
-
- Loads an from a .
-
- A that will be read for the content of the .
- A that contains the JSON that was read from the specified .
-
-
-
- Loads an from a .
-
- A that will be read for the content of the .
- The used to load the JSON.
- If this is null, default load settings will be used.
- A that contains the JSON that was read from the specified .
-
-
-
- Load a from a string that contains JSON.
-
- A that contains JSON.
- A populated from the string that contains JSON.
-
-
-
-
-
-
- Load a from a string that contains JSON.
-
- A that contains JSON.
- The used to load the JSON.
- If this is null, default load settings will be used.
- A populated from the string that contains JSON.
-
-
-
-
-
-
- Creates a from an object.
-
- The object that will be used to create .
- A with the values of the specified object.
-
-
-
- Creates a from an object.
-
- The object that will be used to create .
- The that will be used to read the object.
- A with the values of the specified object.
-
-
-
- Writes this token to a .
-
- A into which this method will write.
- A collection of which will be used when writing the token.
-
-
-
- Gets the with the specified key.
-
- The with the specified key.
-
-
-
- Gets or sets the at the specified index.
-
-
-
-
-
- Determines the index of a specific item in the .
-
- The object to locate in the .
-
- The index of if found in the list; otherwise, -1.
-
-
-
-
- Inserts an item to the at the specified index.
-
- The zero-based index at which should be inserted.
- The object to insert into the .
-
- is not a valid index in the .
-
-
-
-
- Removes the item at the specified index.
-
- The zero-based index of the item to remove.
-
- is not a valid index in the .
-
-
-
-
- Returns an enumerator that iterates through the collection.
-
-
- A of that can be used to iterate through the collection.
-
-
-
-
- Adds an item to the .
-
- The object to add to the .
-
-
-
- Removes all items from the .
-
-
-
-
- Determines whether the contains a specific value.
-
- The object to locate in the .
-
- true if is found in the ; otherwise, false.
-
-
-
-
- Copies the elements of the to an array, starting at a particular array index.
-
- The array.
- Index of the array.
-
-
-
- Gets a value indicating whether the is read-only.
-
- true if the is read-only; otherwise, false.
-
-
-
- Removes the first occurrence of a specific object from the .
-
- The object to remove from the .
-
- true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original .
-
-
-
-
- Represents a JSON constructor.
-
-
-
-
- Gets the container's children tokens.
-
- The container's children tokens.
-
-
-
- Gets or sets the name of this constructor.
-
- The constructor name.
-
-
-
- Gets the node type for this .
-
- The type.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class from another object.
-
- A object to copy from.
-
-
-
- Initializes a new instance of the class with the specified name and content.
-
- The constructor name.
- The contents of the constructor.
-
-
-
- Initializes a new instance of the class with the specified name and content.
-
- The constructor name.
- The contents of the constructor.
-
-
-
- Initializes a new instance of the class with the specified name.
-
- The constructor name.
-
-
-
- Writes this token to a .
-
- A into which this method will write.
- A collection of which will be used when writing the token.
-
-
-
- Gets the with the specified key.
-
- The with the specified key.
-
-
-
- Loads a from a .
-
- A that will be read for the content of the .
- A that contains the JSON that was read from the specified .
-
-
-
- Loads a from a .
-
- A that will be read for the content of the .
- The used to load the JSON.
- If this is null, default load settings will be used.
- A that contains the JSON that was read from the specified .
-
-
-
- Represents a token that can contain other tokens.
-
-
-
-
- Occurs when the list changes or an item in the list changes.
-
-
-
-
- Occurs before an item is added to the collection.
-
-
-
-
- Occurs when the items list of the collection has changed, or the collection is reset.
-
-
-
-
- Gets the container's children tokens.
-
- The container's children tokens.
-
-
-
- Raises the event.
-
- The instance containing the event data.
-
-
-
- Raises the event.
-
- The instance containing the event data.
-
-
-
- Raises the event.
-
- The instance containing the event data.
-
-
-
- Gets a value indicating whether this token has child tokens.
-
-
- true if this token has child values; otherwise, false.
-
-
-
-
- Get the first child token of this token.
-
-
- A containing the first child token of the .
-
-
-
-
- Get the last child token of this token.
-
-
- A containing the last child token of the .
-
-
-
-
- Returns a collection of the child tokens of this token, in document order.
-
-
- An of containing the child tokens of this , in document order.
-
-
-
-
- Returns a collection of the child values of this token, in document order.
-
- The type to convert the values to.
-
- A containing the child values of this , in document order.
-
-
-
-
- Returns a collection of the descendant tokens for this token in document order.
-
- An of containing the descendant tokens of the .
-
-
-
- Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order.
-
- An of containing this token, and all the descendant tokens of the .
-
-
-
- Adds the specified content as children of this .
-
- The content to be added.
-
-
-
- Adds the specified content as the first children of this .
-
- The content to be added.
-
-
-
- Creates a that can be used to add tokens to the .
-
- A that is ready to have content written to it.
-
-
-
- Replaces the child nodes of this token with the specified content.
-
- The content.
-
-
-
- Removes the child nodes from this token.
-
-
-
-
- Merge the specified content into this .
-
- The content to be merged.
-
-
-
- Merge the specified content into this using .
-
- The content to be merged.
- The used to merge the content.
-
-
-
- Gets the count of child JSON tokens.
-
- The count of child JSON tokens.
-
-
-
- Represents a collection of objects.
-
- The type of token.
-
-
-
- An empty collection of objects.
-
-
-
-
- Initializes a new instance of the struct.
-
- The enumerable.
-
-
-
- Returns an enumerator that can be used to iterate through the collection.
-
-
- A that can be used to iterate through the collection.
-
-
-
-
- Gets the of with the specified key.
-
-
-
-
-
- Determines whether the specified is equal to this instance.
-
- The to compare with this instance.
-
- true if the specified is equal to this instance; otherwise, false.
-
-
-
-
- Determines whether the specified is equal to this instance.
-
- The to compare with this instance.
-
- true if the specified is equal to this instance; otherwise, false.
-
-
-
-
- Returns a hash code for this instance.
-
-
- A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
-
-
-
-
- Represents a JSON object.
-
-
-
-
-
-
-
- Gets the container's children tokens.
-
- The container's children tokens.
-
-
-
- Occurs when a property value changes.
-
-
-
-
- Occurs when a property value is changing.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class from another object.
-
- A object to copy from.
-
-
-
- Initializes a new instance of the class with the specified content.
-
- The contents of the object.
-
-
-
- Initializes a new instance of the class with the specified content.
-
- The contents of the object.
-
-
-
- Gets the node type for this .
-
- The type.
-
-
-
- Gets an of of this object's properties.
-
- An of of this object's properties.
-
-
-
- Gets a with the specified name.
-
- The property name.
- A with the specified name or null.
-
-
-
- Gets the with the specified name.
- The exact name will be searched for first and if no matching property is found then
- the will be used to match a property.
-
- The property name.
- One of the enumeration values that specifies how the strings will be compared.
- A matched with the specified name or null.
-
-
-
- Gets a of of this object's property values.
-
- A of of this object's property values.
-
-
-
- Gets the with the specified key.
-
- The with the specified key.
-
-
-
- Gets or sets the with the specified property name.
-
-
-
-
-
- Loads a from a .
-
- A that will be read for the content of the .
- A that contains the JSON that was read from the specified .
-
- is not valid JSON.
-
-
-
-
- Loads a from a .
-
- A that will be read for the content of the .
- The used to load the JSON.
- If this is null, default load settings will be used.
- A that contains the JSON that was read from the specified .
-
- is not valid JSON.
-
-
-
-
- Load a from a string that contains JSON.
-
- A that contains JSON.
- A populated from the string that contains JSON.
-
- is not valid JSON.
-
-
-
-
-
-
-
- Load a from a string that contains JSON.
-
- A that contains JSON.
- The used to load the JSON.
- If this is null, default load settings will be used.
- A populated from the string that contains JSON.
-
- is not valid JSON.
-
-
-
-
-
-
-
- Creates a from an object.
-
- The object that will be used to create .
- A with the values of the specified object.
-
-
-
- Creates a from an object.
-
- The object that will be used to create .
- The that will be used to read the object.
- A with the values of the specified object.
-
-
-
- Writes this token to a .
-
- A into which this method will write.
- A collection of which will be used when writing the token.
-
-
-
- Gets the with the specified property name.
-
- Name of the property.
- The with the specified property name.
-
-
-
- Gets the with the specified property name.
- The exact property name will be searched for first and if no matching property is found then
- the will be used to match a property.
-
- Name of the property.
- One of the enumeration values that specifies how the strings will be compared.
- The with the specified property name.
-
-
-
- Tries to get the with the specified property name.
- The exact property name will be searched for first and if no matching property is found then
- the will be used to match a property.
-
- Name of the property.
- The value.
- One of the enumeration values that specifies how the strings will be compared.
- true if a value was successfully retrieved; otherwise, false.
-
-
-
- Adds the specified property name.
-
- Name of the property.
- The value.
-
-
-
- Determines whether the JSON object has the specified property name.
-
- Name of the property.
- true if the JSON object has the specified property name; otherwise, false.
-
-
-
- Removes the property with the specified name.
-
- Name of the property.
- true if item was successfully removed; otherwise, false.
-
-
-
- Tries to get the with the specified property name.
-
- Name of the property.
- The value.
- true if a value was successfully retrieved; otherwise, false.
-
-
-
- Returns an enumerator that can be used to iterate through the collection.
-
-
- A that can be used to iterate through the collection.
-
-
-
-
- Raises the event with the provided arguments.
-
- Name of the property.
-
-
-
- Raises the event with the provided arguments.
-
- Name of the property.
-
-
-
- Returns the responsible for binding operations performed on this object.
-
- The expression tree representation of the runtime value.
-
- The to bind this object.
-
-
-
-
- Represents a JSON property.
-
-
-
-
- Gets the container's children tokens.
-
- The container's children tokens.
-
-
-
- Gets the property name.
-
- The property name.
-
-
-
- Gets or sets the property value.
-
- The property value.
-
-
-
- Initializes a new instance of the class from another object.
-
- A object to copy from.
-
-
-
- Gets the node type for this .
-
- The type.
-
-
-
- Initializes a new instance of the class.
-
- The property name.
- The property content.
-
-
-
- Initializes a new instance of the class.
-
- The property name.
- The property content.
-
-
-
- Writes this token to a .
-
- A into which this method will write.
- A collection of which will be used when writing the token.
-
-
-
- Loads a from a .
-
- A that will be read for the content of the .
- A that contains the JSON that was read from the specified .
-
-
-
- Loads a from a .
-
- A that will be read for the content of the .
- The used to load the JSON.
- If this is null, default load settings will be used.
- A that contains the JSON that was read from the specified .
-
-
-
- Represents a view of a .
-
-
-
-
- Initializes a new instance of the class.
-
- The name.
-
-
-
- When overridden in a derived class, returns whether resetting an object changes its value.
-
-
- true if resetting the component changes its value; otherwise, false.
-
- The component to test for reset capability.
-
-
-
- When overridden in a derived class, gets the current value of the property on a component.
-
-
- The value of a property for a given component.
-
- The component with the property for which to retrieve the value.
-
-
-
- When overridden in a derived class, resets the value for this property of the component to the default value.
-
- The component with the property value that is to be reset to the default value.
-
-
-
- When overridden in a derived class, sets the value of the component to a different value.
-
- The component with the property value that is to be set.
- The new value.
-
-
-
- When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted.
-
-
- true if the property should be persisted; otherwise, false.
-
- The component with the property to be examined for persistence.
-
-
-
- When overridden in a derived class, gets the type of the component this property is bound to.
-
-
- A that represents the type of component this property is bound to.
- When the or
-
- methods are invoked, the object specified might be an instance of this type.
-
-
-
-
- When overridden in a derived class, gets a value indicating whether this property is read-only.
-
-
- true if the property is read-only; otherwise, false.
-
-
-
-
- When overridden in a derived class, gets the type of the property.
-
-
- A that represents the type of the property.
-
-
-
-
- Gets the hash code for the name of the member.
-
-
-
- The hash code for the name of the member.
-
-
-
-
- Represents a raw JSON string.
-
-
-
-
- Initializes a new instance of the class from another object.
-
- A object to copy from.
-
-
-
- Initializes a new instance of the class.
-
- The raw json.
-
-
-
- Creates an instance of with the content of the reader's current token.
-
- The reader.
- An instance of with the content of the reader's current token.
-
-
-
- Specifies the settings used when cloning JSON.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets a flag that indicates whether to copy annotations when cloning a .
- The default value is true.
-
-
- A flag that indicates whether to copy annotations when cloning a .
-
-
-
-
- Specifies the settings used when loading JSON.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets how JSON comments are handled when loading JSON.
- The default value is .
-
- The JSON comment handling.
-
-
-
- Gets or sets how JSON line info is handled when loading JSON.
- The default value is .
-
- The JSON line info handling.
-
-
-
- Gets or sets how duplicate property names in JSON objects are handled when loading JSON.
- The default value is .
-
- The JSON duplicate property name handling.
-
-
-
- Specifies the settings used when merging JSON.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets the method used when merging JSON arrays.
-
- The method used when merging JSON arrays.
-
-
-
- Gets or sets how null value properties are merged.
-
- How null value properties are merged.
-
-
-
- Gets or sets the comparison used to match property names while merging.
- The exact property name will be searched for first and if no matching property is found then
- the will be used to match a property.
-
- The comparison used to match property names while merging.
-
-
-
- Specifies the settings used when selecting JSON.
-
-
-
-
- Gets or sets a flag that indicates whether an error should be thrown if
- no tokens are found when evaluating part of the expression.
-
-
- A flag that indicates whether an error should be thrown if
- no tokens are found when evaluating part of the expression.
-
-
-
-
- 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.
-
-
- ToString() returns a non-JSON string value for tokens with a type of .
- If you want the JSON for all token types then you should use .
-
-
- The indented JSON for this token.
-
-
-
-
- Returns the JSON for this token using the given formatting and converters.
-
- Indicates how the output should be formatted.
- A collection of s which will be used when writing the token.
- The JSON for this token using the given formatting and converters.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to [].
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from [] to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Creates a for this token.
-
- A that can be used to read this token and its descendants.
-
-
-
- Creates a from an object.
-
- The object that will be used to create .
- A with the value of the specified object.
-
-
-
- Creates a from an object using the specified .
-
- The object that will be used to create .
- The that will be used when reading the object.
- A with the value of the specified object.
-
-
-
- Creates an instance of the specified .NET type from the .
-
- The object type that the token will be deserialized to.
- The new object created from the JSON value.
-
-
-
- Creates an instance of the specified .NET type from the .
-
- The object type that the token will be deserialized to.
- The new object created from the JSON value.
-
-
-
- Creates an instance of the specified .NET type from the using the specified .
-
- The object type that the token will be deserialized to.
- The that will be used when creating the object.
- The new object created from the JSON value.
-
-
-
- Creates an instance of the specified .NET type from the using the specified .
-
- The object type that the token will be deserialized to.
- The that will be used when creating the object.
- The new object created from the JSON value.
-
-
-
- Creates a from a .
-
- A positioned at the token to read into this .
-
- A that contains the token and its descendant tokens
- that were read from the reader. The runtime type of the token is determined
- by the token type of the first token encountered in the reader.
-
-
-
-
- Creates a from a .
-
- An positioned at the token to read into this .
- The used to load the JSON.
- If this is null, default load settings will be used.
-
- A that contains the token and its descendant tokens
- that were read from the reader. The runtime type of the token is determined
- by the token type of the first token encountered in the reader.
-
-
-
-
- Load a from a string that contains JSON.
-
- A that contains JSON.
- A populated from the string that contains JSON.
-
-
-
- Load a from a string that contains JSON.
-
- A that contains JSON.
- The used to load the JSON.
- If this is null, default load settings will be used.
- A populated from the string that contains JSON.
-
-
-
- Creates a from a .
-
- A positioned at the token to read into this .
- The used to load the JSON.
- If this is null, default load settings will be used.
-
- A that contains the token and its descendant tokens
- that were read from the reader. The runtime type of the token is determined
- by the token type of the first token encountered in the reader.
-
-
-
-
- Creates a from a .
-
- A positioned at the token to read into this .
-
- A that contains the token and its descendant tokens
- that were read from the reader. The runtime type of the token is determined
- by the token type of the first token encountered in the reader.
-
-
-
-
- Selects a using a JSONPath expression. Selects the token that matches the object path.
-
-
- A that contains a JSONPath expression.
-
- A , or null.
-
-
-
- Selects a using a JSONPath expression. Selects the token that matches the object path.
-
-
- A that contains a JSONPath expression.
-
- A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression.
- A .
-
-
-
- Selects a using a JSONPath expression. Selects the token that matches the object path.
-
-
- A that contains a JSONPath expression.
-
- The used to select tokens.
- A .
-
-
-
- Selects a collection of elements using a JSONPath expression.
-
-
- A that contains a JSONPath expression.
-
- An of that contains the selected elements.
-
-
-
- Selects a collection of elements using a JSONPath expression.
-
-
- A that contains a JSONPath expression.
-
- A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression.
- An of that contains the selected elements.
-
-
-
- Selects a collection of elements using a JSONPath expression.
-
-
- A that contains a JSONPath expression.
-
- The used to select tokens.
- An of that contains the selected elements.
-
-
-
- Returns the responsible for binding operations performed on this object.
-
- The expression tree representation of the runtime value.
-
- The to bind this object.
-
-
-
-
- Returns the responsible for binding operations performed on this object.
-
- The expression tree representation of the runtime value.
-
- The to bind this object.
-
-
-
-
- Creates a new instance of the . All child tokens are recursively cloned.
-
- A new instance of the .
-
-
-
- Creates a new instance of the . All child tokens are recursively cloned.
-
- A object to configure cloning settings.
- A new instance of the .
-
-
-
- Adds an object to the annotation list of this .
-
- The annotation to add.
-
-
-
- Get the first annotation object of the specified type from this .
-
- The type of the annotation to retrieve.
- The first annotation object that matches the specified type, or null if no annotation is of the specified type.
-
-
-
- Gets the first annotation object of the specified type from this .
-
- The of the annotation to retrieve.
- The first annotation object that matches the specified type, or null if no annotation is of the specified type.
-
-
-
- Gets a collection of annotations of the specified type for this .
-
- The type of the annotations to retrieve.
- An that contains the annotations for this .
-
-
-
- Gets a collection of annotations of the specified type for this .
-
- The of the annotations to retrieve.
- An of that contains the annotations that match the specified type for this .
-
-
-
- Removes the annotations of the specified type from this .
-
- The type of annotations to remove.
-
-
-
- Removes the annotations of the specified type from this .
-
- The of annotations to remove.
-
-
-
- Compares tokens to determine whether they are equal.
-
-
-
-
- Determines whether the specified objects are equal.
-
- The first object of type to compare.
- The second object of type to compare.
-
- true if the specified objects are equal; otherwise, false.
-
-
-
-
- Returns a hash code for the specified object.
-
- The for which a hash code is to be returned.
- A hash code for the specified object.
- The type of is a reference type and is null.
-
-
-
- Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data.
-
-
-
-
- Gets the at the reader's current position.
-
-
-
-
- Initializes a new instance of the class.
-
- The token to read from.
-
-
-
- Initializes a new instance of the class.
-
- The token to read from.
- The initial path of the token. It is prepended to the returned .
-
-
-
- Reads the next JSON token from the underlying .
-
-
- true if the next token was read successfully; false if there are no more tokens to read.
-
-
-
-
- Gets the path of the current JSON token.
-
-
-
-
- Specifies the type of token.
-
-
-
-
- No token type has been set.
-
-
-
-
- A JSON object.
-
-
-
-
- A JSON array.
-
-
-
-
- A JSON constructor.
-
-
-
-
- A JSON object property.
-
-
-
-
- A comment.
-
-
-
-
- An integer value.
-
-
-
-
- A float value.
-
-
-
-
- A string value.
-
-
-
-
- A boolean value.
-
-
-
-
- A null value.
-
-
-
-
- An undefined value.
-
-
-
-
- A date value.
-
-
-
-
- A raw JSON value.
-
-
-
-
- A collection of bytes value.
-
-
-
-
- A Guid value.
-
-
-
-
- A Uri value.
-
-
-
-
- A TimeSpan value.
-
-
-
-
- Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
-
-
-
-
- Gets the at the writer's current position.
-
-
-
-
- Gets the token being written.
-
- The token being written.
-
-
-
- Initializes a new instance of the class writing to the given .
-
- The container being written to.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Flushes whatever is in the buffer to the underlying .
-
-
-
-
- Closes this writer.
- If is set to true, the JSON is auto-completed.
-
-
- Setting to true has no additional effect, since the underlying is a type that cannot be closed.
-
-
-
-
- Writes the beginning of a JSON object.
-
-
-
-
- Writes the beginning of a JSON array.
-
-
-
-
- Writes the start of a constructor with the given name.
-
- The name of the constructor.
-
-
-
- Writes the end.
-
- The token.
-
-
-
- Writes the property name of a name/value pair on a JSON object.
-
- The name of the property.
-
-
-
- Writes a value.
- An error will be raised if the value cannot be written as a single JSON token.
-
- The value to write.
-
-
-
- Writes a null value.
-
-
-
-
- Writes an undefined value.
-
-
-
-
- Writes raw JSON.
-
- The raw JSON to write.
-
-
-
- Writes a comment /*...*/ containing the specified text.
-
- Text to place inside the comment.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a [] value.
-
- The [] value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Represents a value in JSON (string, integer, date, etc).
-
-
-
-
- Initializes a new instance of the class from another object.
-
- A object to copy from.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Gets a value indicating whether this token has child tokens.
-
-
- true if this token has child values; otherwise, false.
-
-
-
-
- Creates a comment with the given value.
-
- The value.
- A comment with the given value.
-
-
-
- Creates a string with the given value.
-
- The value.
- A string with the given value.
-
-
-
- Creates a null value.
-
- A null value.
-
-
-
- Creates a undefined value.
-
- A undefined value.
-
-
-
- Gets the node type for this .
-
- The type.
-
-
-
- Gets or sets the underlying token value.
-
- The underlying token value.
-
-
-
- Writes this token to a .
-
- A into which this method will write.
- A collection of s which will be used when writing the token.
-
-
-
- Indicates whether the current object is equal to another object of the same type.
-
-
- true if the current object is equal to the parameter; otherwise, false.
-
- An object to compare with this object.
-
-
-
- Determines whether the specified is equal to the current .
-
- The to compare with the current .
-
- true if the specified is equal to the current ; otherwise, false.
-
-
-
-
- Serves as a hash function for a particular type.
-
-
- A hash code for the current .
-
-
-
-
- Returns a that represents this instance.
-
-
- ToString() returns a non-JSON string value for tokens with a type of .
- If you want the JSON for all token types then you should use .
-
-
- A that represents this instance.
-
-
-
-
- Returns a that represents this instance.
-
- The format.
-
- A that represents this instance.
-
-
-
-
- Returns a that represents this instance.
-
- The format provider.
-
- A that represents this instance.
-
-
-
-
- Returns a that represents this instance.
-
- The format.
- The format provider.
-
- A that represents this instance.
-
-
-
-
- Returns the responsible for binding operations performed on this object.
-
- The expression tree representation of the runtime value.
-
- The to bind this object.
-
-
-
-
- Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
-
- An object to compare with this instance.
-
- A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings:
- Value
- Meaning
- Less than zero
- This instance is less than .
- Zero
- This instance is equal to .
- Greater than zero
- This instance is greater than .
-
-
- is not of the same type as this instance.
-
-
-
-
- Specifies how line information is handled when loading JSON.
-
-
-
-
- Ignore line information.
-
-
-
-
- Load line information.
-
-
-
-
- Specifies how JSON arrays are merged together.
-
-
-
- Concatenate arrays.
-
-
- Union arrays, skipping items that already exist.
-
-
- Replace all array items.
-
-
- Merge array items together, matched by index.
-
-
-
- Specifies how null value properties are merged.
-
-
-
-
- The content's null value properties will be ignored during merging.
-
-
-
-
- The content's null value properties will be merged.
-
-
-
-
- Specifies the member serialization options for the .
-
-
-
-
- All public members are serialized by default. Members can be excluded using or .
- This is the default member serialization mode.
-
-
-
-
- Only members marked with or are serialized.
- This member serialization mode can also be set by marking the class with .
-
-
-
-
- All public and private fields are serialized. Members can be excluded using or .
- This member serialization mode can also be set by marking the class with
- and setting IgnoreSerializableAttribute on to false.
-
-
-
-
- Specifies metadata property handling options for the .
-
-
-
-
- Read metadata properties located at the start of a JSON object.
-
-
-
-
- Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance.
-
-
-
-
- Do not try to read metadata properties.
-
-
-
-
- Specifies missing member handling options for the .
-
-
-
-
- Ignore a missing member and do not attempt to deserialize it.
-
-
-
-
- Throw a when a missing member is encountered during deserialization.
-
-
-
-
- Specifies null value handling options for the .
-
-
-
-
-
-
-
-
- Include null values when serializing and deserializing objects.
-
-
-
-
- Ignore null values when serializing and deserializing objects.
-
-
-
-
- Specifies how object creation is handled by the .
-
-
-
-
- Reuse existing objects, create new objects when needed.
-
-
-
-
- Only reuse existing objects.
-
-
-
-
- Always create new objects.
-
-
-
-
- Specifies reference handling options for the .
- Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement .
-
-
-
-
-
-
-
- Do not preserve references when serializing types.
-
-
-
-
- Preserve references when serializing into a JSON object structure.
-
-
-
-
- Preserve references when serializing into a JSON array structure.
-
-
-
-
- Preserve references when serializing.
-
-
-
-
- Specifies reference loop handling options for the .
-
-
-
-
- Throw a when a loop is encountered.
-
-
-
-
- Ignore loop references and do not serialize.
-
-
-
-
- Serialize loop references.
-
-
-
-
- Indicating whether a property is required.
-
-
-
-
- The property is not required. The default state.
-
-
-
-
- The property must be defined in JSON but can be a null value.
-
-
-
-
- The property must be defined in JSON and cannot be a null value.
-
-
-
-
- The property is not required but it cannot be a null value.
-
-
-
-
-
- Contains the JSON schema extension methods.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
-
- Determines whether the is valid.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
- The source to test.
- The schema to test with.
-
- true if the specified is valid; otherwise, false.
-
-
-
-
-
- Determines whether the is valid.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
- The source to test.
- The schema to test with.
- When this method returns, contains any error messages generated while validating.
-
- true if the specified is valid; otherwise, false.
-
-
-
-
-
- Validates the specified .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
- The source to test.
- The schema to test with.
-
-
-
-
- Validates the specified .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
- The source to test.
- The schema to test with.
- The validation event handler.
-
-
-
-
- An in-memory representation of a JSON Schema.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Gets or sets the id.
-
-
-
-
- Gets or sets the title.
-
-
-
-
- Gets or sets whether the object is required.
-
-
-
-
- Gets or sets whether the object is read-only.
-
-
-
-
- Gets or sets whether the object is visible to users.
-
-
-
-
- Gets or sets whether the object is transient.
-
-
-
-
- Gets or sets the description of the object.
-
-
-
-
- Gets or sets the types of values allowed by the object.
-
- The type.
-
-
-
- Gets or sets the pattern.
-
- The pattern.
-
-
-
- Gets or sets the minimum length.
-
- The minimum length.
-
-
-
- Gets or sets the maximum length.
-
- The maximum length.
-
-
-
- Gets or sets a number that the value should be divisible by.
-
- A number that the value should be divisible by.
-
-
-
- Gets or sets the minimum.
-
- The minimum.
-
-
-
- Gets or sets the maximum.
-
- The maximum.
-
-
-
- Gets or sets a flag indicating whether the value can not equal the number defined by the minimum attribute ().
-
- A flag indicating whether the value can not equal the number defined by the minimum attribute ().
-
-
-
- Gets or sets a flag indicating whether the value can not equal the number defined by the maximum attribute ().
-
- A flag indicating whether the value can not equal the number defined by the maximum attribute ().
-
-
-
- Gets or sets the minimum number of items.
-
- The minimum number of items.
-
-
-
- Gets or sets the maximum number of items.
-
- The maximum number of items.
-
-
-
- Gets or sets the of items.
-
- The of items.
-
-
-
- Gets or sets a value indicating whether items in an array are validated using the instance at their array position from .
-
-
- true if items are validated using their array position; otherwise, false.
-
-
-
-
- Gets or sets the of additional items.
-
- The of additional items.
-
-
-
- Gets or sets a value indicating whether additional items are allowed.
-
-
- true if additional items are allowed; otherwise, false.
-
-
-
-
- Gets or sets whether the array items must be unique.
-
-
-
-
- Gets or sets the of properties.
-
- The of properties.
-
-
-
- Gets or sets the of additional properties.
-
- The of additional properties.
-
-
-
- Gets or sets the pattern properties.
-
- The pattern properties.
-
-
-
- Gets or sets a value indicating whether additional properties are allowed.
-
-
- true if additional properties are allowed; otherwise, false.
-
-
-
-
- Gets or sets the required property if this property is present.
-
- The required property if this property is present.
-
-
-
- Gets or sets the a collection of valid enum values allowed.
-
- A collection of valid enum values allowed.
-
-
-
- Gets or sets disallowed types.
-
- The disallowed types.
-
-
-
- Gets or sets the default value.
-
- The default value.
-
-
-
- Gets or sets the collection of that this schema extends.
-
- The collection of that this schema extends.
-
-
-
- Gets or sets the format.
-
- The format.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Reads a from the specified .
-
- The containing the JSON Schema to read.
- The object representing the JSON Schema.
-
-
-
- Reads a from the specified .
-
- The containing the JSON Schema to read.
- The to use when resolving schema references.
- The object representing the JSON Schema.
-
-
-
- Load a from a string that contains JSON Schema.
-
- A that contains JSON Schema.
- A populated from the string that contains JSON Schema.
-
-
-
- Load a from a string that contains JSON Schema using the specified .
-
- A that contains JSON Schema.
- The resolver.
- A populated from the string that contains JSON Schema.
-
-
-
- Writes this schema to a .
-
- A into which this method will write.
-
-
-
- Writes this schema to a using the specified .
-
- A into which this method will write.
- The resolver used.
-
-
-
- Returns a that represents the current .
-
-
- A that represents the current .
-
-
-
-
-
- Returns detailed information about the schema exception.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Gets the line number indicating where the error occurred.
-
- The line number indicating where the error occurred.
-
-
-
- Gets the line position indicating where the error occurred.
-
- The line position indicating where the error occurred.
-
-
-
- Gets the path to the JSON where the error occurred.
-
- The path to the JSON where the error occurred.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- with a specified error message.
-
- The error message that explains the reason for the exception.
-
-
-
- Initializes a new instance of the class
- with a specified error message and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Initializes a new instance of the class.
-
- The that holds the serialized object data about the exception being thrown.
- The that contains contextual information about the source or destination.
- The parameter is null.
- The class name is null or is zero (0).
-
-
-
-
- Generates a from a specified .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Gets or sets how undefined schemas are handled by the serializer.
-
-
-
-
- Gets or sets the contract resolver.
-
- The contract resolver.
-
-
-
- Generate a from the specified type.
-
- The type to generate a from.
- A generated from the specified type.
-
-
-
- Generate a from the specified type.
-
- The type to generate a from.
- The used to resolve schema references.
- A generated from the specified type.
-
-
-
- Generate a from the specified type.
-
- The type to generate a from.
- Specify whether the generated root will be nullable.
- A generated from the specified type.
-
-
-
- Generate a from the specified type.
-
- The type to generate a from.
- The used to resolve schema references.
- Specify whether the generated root will be nullable.
- A generated from the specified type.
-
-
-
-
- Resolves from an id.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Gets or sets the loaded schemas.
-
- The loaded schemas.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets a for the specified reference.
-
- The id.
- A for the specified reference.
-
-
-
-
- The value types allowed by the .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- No type specified.
-
-
-
-
- String type.
-
-
-
-
- Float type.
-
-
-
-
- Integer type.
-
-
-
-
- Boolean type.
-
-
-
-
- Object type.
-
-
-
-
- Array type.
-
-
-
-
- Null type.
-
-
-
-
- Any type.
-
-
-
-
-
- Specifies undefined schema Id handling options for the .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Do not infer a schema Id.
-
-
-
-
- Use the .NET type name as the schema Id.
-
-
-
-
- Use the assembly qualified .NET type name as the schema Id.
-
-
-
-
-
- Returns detailed information related to the .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Gets the associated with the validation error.
-
- The JsonSchemaException associated with the validation error.
-
-
-
- Gets the path of the JSON location where the validation error occurred.
-
- The path of the JSON location where the validation error occurred.
-
-
-
- Gets the text description corresponding to the validation error.
-
- The text description.
-
-
-
-
- Represents the callback method that will handle JSON schema validation events and the .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- A camel case naming strategy.
-
-
-
-
- Initializes a new instance of the class.
-
-
- A flag indicating whether dictionary keys should be processed.
-
-
- A flag indicating whether explicitly specified property names should be processed,
- e.g. a property name customized with a .
-
-
-
-
- Initializes a new instance of the class.
-
-
- A flag indicating whether dictionary keys should be processed.
-
-
- A flag indicating whether explicitly specified property names should be processed,
- e.g. a property name customized with a .
-
-
- A flag indicating whether extension data names should be processed.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Resolves the specified property name.
-
- The property name to resolve.
- The resolved property name.
-
-
-
- Resolves member mappings for a type, camel casing property names.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Resolves the contract for a given type.
-
- The type to resolve a contract for.
- The contract for a given type.
-
-
-
- Used by to resolve a for a given .
-
-
-
-
- Gets a value indicating whether members are being get and set using dynamic code generation.
- This value is determined by the runtime permissions available.
-
-
- true if using dynamic code generation; otherwise, false.
-
-
-
-
- Gets or sets the default members search flags.
-
- The default members search flags.
-
-
-
- Gets or sets a value indicating whether compiler generated members should be serialized.
-
-
- true if serialized compiler generated members; otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether to ignore the interface when serializing and deserializing types.
-
-
- true if the interface will be ignored when serializing and deserializing types; otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether to ignore the attribute when serializing and deserializing types.
-
-
- true if the attribute will be ignored when serializing and deserializing types; otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether to ignore IsSpecified members when serializing and deserializing types.
-
-
- true if the IsSpecified members will be ignored when serializing and deserializing types; otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether to ignore ShouldSerialize members when serializing and deserializing types.
-
-
- true if the ShouldSerialize members will be ignored when serializing and deserializing types; otherwise, false.
-
-
-
-
- Gets or sets the naming strategy used to resolve how property names and dictionary keys are serialized.
-
- The naming strategy used to resolve how property names and dictionary keys are serialized.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Resolves the contract for a given type.
-
- The type to resolve a contract for.
- The contract for a given type.
-
-
-
- Gets the serializable members for the type.
-
- The type to get serializable members for.
- The serializable members for the type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates the constructor parameters.
-
- The constructor to create properties for.
- The type's member properties.
- Properties for the given .
-
-
-
- Creates a for the given .
-
- The matching member property.
- The constructor parameter.
- A created for the given .
-
-
-
- Resolves the default for the contract.
-
- Type of the object.
- The contract's default .
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Determines which contract type is created for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates properties for the given .
-
- The type to create properties for.
- /// The member serialization mode for the type.
- Properties for the given .
-
-
-
- Creates the used by the serializer to get and set values from a member.
-
- The member.
- The used by the serializer to get and set values from a member.
-
-
-
- Creates a for the given .
-
- The member's parent .
- The member to create a for.
- A created for the given .
-
-
-
- Resolves the name of the property.
-
- Name of the property.
- Resolved name of the property.
-
-
-
- Resolves the name of the extension data. By default no changes are made to extension data names.
-
- Name of the extension data.
- Resolved name of the extension data.
-
-
-
- Resolves the key of the dictionary. By default is used to resolve dictionary keys.
-
- Key of the dictionary.
- Resolved key of the dictionary.
-
-
-
- Gets the resolved name of the property.
-
- Name of the property.
- Name of the property.
-
-
-
- The default naming strategy. Property names and dictionary keys are unchanged.
-
-
-
-
- Resolves the specified property name.
-
- The property name to resolve.
- The resolved property name.
-
-
-
- The default serialization binder used when resolving and loading classes from type names.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- When overridden in a derived class, controls the binding of a serialized object to a type.
-
- Specifies the name of the serialized object.
- Specifies the name of the serialized object.
-
- The type of the object the formatter creates a new instance of.
-
-
-
-
- When overridden in a derived class, controls the binding of a serialized object to a type.
-
- The type of the object the formatter creates a new instance of.
- Specifies the name of the serialized object.
- Specifies the name of the serialized object.
-
-
-
- Represents a trace writer that writes to the application's instances.
-
-
-
-
- Gets the that will be used to filter the trace messages passed to the writer.
- For example a filter level of will exclude messages and include ,
- and messages.
-
-
- The that will be used to filter the trace messages passed to the writer.
-
-
-
-
- Writes the specified trace level, message and optional exception.
-
- The at which to write this trace.
- The trace message.
- The trace exception. This parameter is optional.
-
-
-
- Get and set values for a using dynamic methods.
-
-
-
-
- Initializes a new instance of the class.
-
- The member info.
-
-
-
- Sets the value.
-
- The target to set the value on.
- The value to set on the target.
-
-
-
- Gets the value.
-
- The target to get the value from.
- The value.
-
-
-
- Provides information surrounding an error.
-
-
-
-
- Gets the error.
-
- The error.
-
-
-
- Gets the original object that caused the error.
-
- The original object that caused the error.
-
-
-
- Gets the member that caused the error.
-
- The member that caused the error.
-
-
-
- Gets the path of the JSON location where the error occurred.
-
- The path of the JSON location where the error occurred.
-
-
-
- Gets or sets a value indicating whether this is handled.
-
- true if handled; otherwise, false.
-
-
-
- Provides data for the Error event.
-
-
-
-
- Gets the current object the error event is being raised against.
-
- The current object the error event is being raised against.
-
-
-
- Gets the error context.
-
- The error context.
-
-
-
- Initializes a new instance of the class.
-
- The current object.
- The error context.
-
-
-
- Get and set values for a using dynamic methods.
-
-
-
-
- Initializes a new instance of the class.
-
- The member info.
-
-
-
- Sets the value.
-
- The target to set the value on.
- The value to set on the target.
-
-
-
- Gets the value.
-
- The target to get the value from.
- The value.
-
-
-
- Provides methods to get attributes.
-
-
-
-
- Returns a collection of all of the attributes, or an empty collection if there are no attributes.
-
- When true, look up the hierarchy chain for the inherited custom attribute.
- A collection of s, or an empty collection.
-
-
-
- Returns a collection of attributes, identified by type, or an empty collection if there are no attributes.
-
- The type of the attributes.
- When true, look up the hierarchy chain for the inherited custom attribute.
- A collection of s, or an empty collection.
-
-
-
- Used by to resolve a for a given .
-
-
-
-
-
-
-
-
- Resolves the contract for a given type.
-
- The type to resolve a contract for.
- The contract for a given type.
-
-
-
- Used to resolve references when serializing and deserializing JSON by the .
-
-
-
-
- Resolves a reference to its object.
-
- The serialization context.
- The reference to resolve.
- The object that was resolved from the reference.
-
-
-
- Gets the reference for the specified object.
-
- The serialization context.
- The object to get a reference for.
- The reference to the object.
-
-
-
- Determines whether the specified object is referenced.
-
- The serialization context.
- The object to test for a reference.
-
- true if the specified object is referenced; otherwise, false.
-
-
-
-
- Adds a reference to the specified object.
-
- The serialization context.
- The reference.
- The object to reference.
-
-
-
- Allows users to control class loading and mandate what class to load.
-
-
-
-
- When implemented, controls the binding of a serialized object to a type.
-
- Specifies the name of the serialized object.
- Specifies the name of the serialized object
- The type of the object the formatter creates a new instance of.
-
-
-
- When implemented, controls the binding of a serialized object to a type.
-
- The type of the object the formatter creates a new instance of.
- Specifies the name of the serialized object.
- Specifies the name of the serialized object.
-
-
-
- Represents a trace writer.
-
-
-
-
- Gets the that will be used to filter the trace messages passed to the writer.
- For example a filter level of will exclude messages and include ,
- and messages.
-
- The that will be used to filter the trace messages passed to the writer.
-
-
-
- Writes the specified trace level, message and optional exception.
-
- The at which to write this trace.
- The trace message.
- The trace exception. This parameter is optional.
-
-
-
- Provides methods to get and set values.
-
-
-
-
- Sets the value.
-
- The target to set the value on.
- The value to set on the target.
-
-
-
- Gets the value.
-
- The target to get the value from.
- The value.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Gets the of the collection items.
-
- The of the collection items.
-
-
-
- Gets a value indicating whether the collection type is a multidimensional array.
-
- true if the collection type is a multidimensional array; otherwise, false.
-
-
-
- Gets or sets the function used to create the object. When set this function will override .
-
- The function used to create the object.
-
-
-
- Gets a value indicating whether the creator has a parameter with the collection values.
-
- true if the creator has a parameter with the collection values; otherwise, false.
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Gets or sets the default collection items .
-
- The converter.
-
-
-
- Gets or sets a value indicating whether the collection items preserve object references.
-
- true if collection items preserve object references; otherwise, false.
-
-
-
- Gets or sets the collection item reference loop handling.
-
- The reference loop handling.
-
-
-
- Gets or sets the collection item type name handling.
-
- The type name handling.
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Handles serialization callback events.
-
- The object that raised the callback event.
- The streaming context.
-
-
-
- Handles serialization error callback events.
-
- The object that raised the callback event.
- The streaming context.
- The error context.
-
-
-
- Sets extension data for an object during deserialization.
-
- The object to set extension data on.
- The extension data key.
- The extension data value.
-
-
-
- Gets extension data for an object during serialization.
-
- The object to set extension data on.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Gets the underlying type for the contract.
-
- The underlying type for the contract.
-
-
-
- Gets or sets the type created during deserialization.
-
- The type created during deserialization.
-
-
-
- Gets or sets whether this type contract is serialized as a reference.
-
- Whether this type contract is serialized as a reference.
-
-
-
- Gets or sets the default for this contract.
-
- The converter.
-
-
-
- Gets the internally resolved for the contract's type.
- This converter is used as a fallback converter when no other converter is resolved.
- Setting will always override this converter.
-
-
-
-
- Gets or sets all methods called immediately after deserialization of the object.
-
- The methods called immediately after deserialization of the object.
-
-
-
- Gets or sets all methods called during deserialization of the object.
-
- The methods called during deserialization of the object.
-
-
-
- Gets or sets all methods called after serialization of the object graph.
-
- The methods called after serialization of the object graph.
-
-
-
- Gets or sets all methods called before serialization of the object.
-
- The methods called before serialization of the object.
-
-
-
- Gets or sets all method called when an error is thrown during the serialization of the object.
-
- The methods called when an error is thrown during the serialization of the object.
-
-
-
- Gets or sets the default creator method used to create the object.
-
- The default creator method used to create the object.
-
-
-
- Gets or sets a value indicating whether the default creator is non-public.
-
- true if the default object creator is non-public; otherwise, false.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Gets or sets the dictionary key resolver.
-
- The dictionary key resolver.
-
-
-
- Gets the of the dictionary keys.
-
- The of the dictionary keys.
-
-
-
- Gets the of the dictionary values.
-
- The of the dictionary values.
-
-
-
- Gets or sets the function used to create the object. When set this function will override .
-
- The function used to create the object.
-
-
-
- Gets a value indicating whether the creator has a parameter with the dictionary values.
-
- true if the creator has a parameter with the dictionary values; otherwise, false.
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Gets the object's properties.
-
- The object's properties.
-
-
-
- Gets or sets the property name resolver.
-
- The property name resolver.
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Gets or sets the object constructor.
-
- The object constructor.
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Gets or sets the object member serialization.
-
- The member object serialization.
-
-
-
- Gets or sets the missing member handling used when deserializing this object.
-
- The missing member handling.
-
-
-
- Gets or sets a value that indicates whether the object's properties are required.
-
-
- A value indicating whether the object's properties are required.
-
-
-
-
- Gets or sets how the object's properties with null values are handled during serialization and deserialization.
-
- How the object's properties with null values are handled during serialization and deserialization.
-
-
-
- Gets the object's properties.
-
- The object's properties.
-
-
-
- Gets a collection of instances that define the parameters used with .
-
-
-
-
- Gets or sets the function used to create the object. When set this function will override .
- This function is called with a collection of arguments which are defined by the collection.
-
- The function used to create the object.
-
-
-
- Gets or sets the extension data setter.
-
-
-
-
- Gets or sets the extension data getter.
-
-
-
-
- Gets or sets the extension data value type.
-
-
-
-
- Gets or sets the extension data name resolver.
-
- The extension data name resolver.
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Maps a JSON property to a .NET member or constructor parameter.
-
-
-
-
- Gets or sets the name of the property.
-
- The name of the property.
-
-
-
- Gets or sets the type that declared this property.
-
- The type that declared this property.
-
-
-
- Gets or sets the order of serialization of a member.
-
- The numeric order of serialization.
-
-
-
- Gets or sets the name of the underlying member or parameter.
-
- The name of the underlying member or parameter.
-
-
-
- Gets the that will get and set the during serialization.
-
- The that will get and set the during serialization.
-
-
-
- Gets or sets the for this property.
-
- The for this property.
-
-
-
- Gets or sets the type of the property.
-
- The type of the property.
-
-
-
- Gets or sets the for the property.
- If set this converter takes precedence over the contract converter for the property type.
-
- The converter.
-
-
-
- Gets or sets the member converter.
-
- The member converter.
-
-
-
- Gets or sets a value indicating whether this is ignored.
-
- true if ignored; otherwise, false.
-
-
-
- Gets or sets a value indicating whether this is readable.
-
- true if readable; otherwise, false.
-
-
-
- Gets or sets a value indicating whether this is writable.
-
- true if writable; otherwise, false.
-
-
-
- Gets or sets a value indicating whether this has a member attribute.
-
- true if has a member attribute; otherwise, false.
-
-
-
- Gets the default value.
-
- The default value.
-
-
-
- Gets or sets a value indicating whether this is required.
-
- A value indicating whether this is required.
-
-
-
- Gets a value indicating whether has a value specified.
-
-
-
-
- Gets or sets a value indicating whether this property preserves object references.
-
-
- true if this instance is reference; otherwise, false.
-
-
-
-
- Gets or sets the property null value handling.
-
- The null value handling.
-
-
-
- Gets or sets the property default value handling.
-
- The default value handling.
-
-
-
- Gets or sets the property reference loop handling.
-
- The reference loop handling.
-
-
-
- Gets or sets the property object creation handling.
-
- The object creation handling.
-
-
-
- Gets or sets or sets the type name handling.
-
- The type name handling.
-
-
-
- Gets or sets a predicate used to determine whether the property should be serialized.
-
- A predicate used to determine whether the property should be serialized.
-
-
-
- Gets or sets a predicate used to determine whether the property should be deserialized.
-
- A predicate used to determine whether the property should be deserialized.
-
-
-
- Gets or sets a predicate used to determine whether the property should be serialized.
-
- A predicate used to determine whether the property should be serialized.
-
-
-
- Gets or sets an action used to set whether the property has been deserialized.
-
- An action used to set whether the property has been deserialized.
-
-
-
- Returns a that represents this instance.
-
-
- A that represents this instance.
-
-
-
-
- Gets or sets the converter used when serializing the property's collection items.
-
- The collection's items converter.
-
-
-
- Gets or sets whether this property's collection items are serialized as a reference.
-
- Whether this property's collection items are serialized as a reference.
-
-
-
- Gets or sets the type name handling used when serializing the property's collection items.
-
- The collection's items type name handling.
-
-
-
- Gets or sets the reference loop handling used when serializing the property's collection items.
-
- The collection's items reference loop handling.
-
-
-
- A collection of objects.
-
-
-
-
- Initializes a new instance of the class.
-
- The type.
-
-
-
- When implemented in a derived class, extracts the key from the specified element.
-
- The element from which to extract the key.
- The key for the specified element.
-
-
-
- Adds a object.
-
- The property to add to the collection.
-
-
-
- Gets the closest matching object.
- First attempts to get an exact case match of and then
- a case insensitive match.
-
- Name of the property.
- A matching property if found.
-
-
-
- Gets a property by property name.
-
- The name of the property to get.
- Type property name string comparison.
- A matching property if found.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Lookup and create an instance of the type described by the argument.
-
- The type to create.
- Optional arguments to pass to an initializing constructor of the JsonConverter.
- If null, the default constructor is used.
-
-
-
- A kebab case naming strategy.
-
-
-
-
- Initializes a new instance of the class.
-
-
- A flag indicating whether dictionary keys should be processed.
-
-
- A flag indicating whether explicitly specified property names should be processed,
- e.g. a property name customized with a .
-
-
-
-
- Initializes a new instance of the class.
-
-
- A flag indicating whether dictionary keys should be processed.
-
-
- A flag indicating whether explicitly specified property names should be processed,
- e.g. a property name customized with a .
-
-
- A flag indicating whether extension data names should be processed.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Resolves the specified property name.
-
- The property name to resolve.
- The resolved property name.
-
-
-
- Represents a trace writer that writes to memory. When the trace message limit is
- reached then old trace messages will be removed as new messages are added.
-
-
-
-
- Gets the that will be used to filter the trace messages passed to the writer.
- For example a filter level of will exclude messages and include ,
- and messages.
-
-
- The that will be used to filter the trace messages passed to the writer.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Writes the specified trace level, message and optional exception.
-
- The at which to write this trace.
- The trace message.
- The trace exception. This parameter is optional.
-
-
-
- Returns an enumeration of the most recent trace messages.
-
- An enumeration of the most recent trace messages.
-
-
-
- Returns a of the most recent trace messages.
-
-
- A of the most recent trace messages.
-
-
-
-
- A base class for resolving how property names and dictionary keys are serialized.
-
-
-
-
- A flag indicating whether dictionary keys should be processed.
- Defaults to false.
-
-
-
-
- A flag indicating whether extension data names should be processed.
- Defaults to false.
-
-
-
-
- A flag indicating whether explicitly specified property names,
- e.g. a property name customized with a , should be processed.
- Defaults to false.
-
-
-
-
- Gets the serialized name for a given property name.
-
- The initial property name.
- A flag indicating whether the property has had a name explicitly specified.
- The serialized property name.
-
-
-
- Gets the serialized name for a given extension data name.
-
- The initial extension data name.
- The serialized extension data name.
-
-
-
- Gets the serialized key for a given dictionary key.
-
- The initial dictionary key.
- The serialized dictionary key.
-
-
-
- Resolves the specified property name.
-
- The property name to resolve.
- The resolved property name.
-
-
-
- Hash code calculation
-
-
-
-
-
- Object equality implementation
-
-
-
-
-
-
- Compare to another NamingStrategy
-
-
-
-
-
-
- Represents a method that constructs an object.
-
- The object type to create.
-
-
-
- When applied to a method, specifies that the method is called when an error occurs serializing an object.
-
-
-
-
- Provides methods to get attributes from a , , or .
-
-
-
-
- Initializes a new instance of the class.
-
- The instance to get attributes for. This parameter should be a , , or .
-
-
-
- Returns a collection of all of the attributes, or an empty collection if there are no attributes.
-
- When true, look up the hierarchy chain for the inherited custom attribute.
- A collection of s, or an empty collection.
-
-
-
- Returns a collection of attributes, identified by type, or an empty collection if there are no attributes.
-
- The type of the attributes.
- When true, look up the hierarchy chain for the inherited custom attribute.
- A collection of s, or an empty collection.
-
-
-
- Get and set values for a using reflection.
-
-
-
-
- Initializes a new instance of the class.
-
- The member info.
-
-
-
- Sets the value.
-
- The target to set the value on.
- The value to set on the target.
-
-
-
- Gets the value.
-
- The target to get the value from.
- The value.
-
-
-
- A snake case naming strategy.
-
-
-
-
- Initializes a new instance of the class.
-
-
- A flag indicating whether dictionary keys should be processed.
-
-
- A flag indicating whether explicitly specified property names should be processed,
- e.g. a property name customized with a .
-
-
-
-
- Initializes a new instance of the class.
-
-
- A flag indicating whether dictionary keys should be processed.
-
-
- A flag indicating whether explicitly specified property names should be processed,
- e.g. a property name customized with a .
-
-
- A flag indicating whether extension data names should be processed.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Resolves the specified property name.
-
- The property name to resolve.
- The resolved property name.
-
-
-
- Specifies how strings are escaped when writing JSON text.
-
-
-
-
- Only control characters (e.g. newline) are escaped.
-
-
-
-
- All non-ASCII and control characters (e.g. newline) are escaped.
-
-
-
-
- HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped.
-
-
-
-
- Indicates the method that will be used during deserialization for locating and loading assemblies.
-
-
-
-
- In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the LoadWithPartialName method of the class is used to load the assembly.
-
-
-
-
- In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The Load method of the class is used to load the assembly.
-
-
-
-
- Specifies type name handling options for the .
-
-
- should be used with caution when your application deserializes JSON from an external source.
- Incoming types should be validated with a custom
- when deserializing with a value other than .
-
-
-
-
- Do not include the .NET type name when serializing types.
-
-
-
-
- Include the .NET type name when serializing into a JSON object structure.
-
-
-
-
- Include the .NET type name when serializing into a JSON array structure.
-
-
-
-
- Always include the .NET type name when serializing.
-
-
-
-
- Include the .NET type name when the type of the object being serialized is not the same as its declared type.
- Note that this doesn't include the root serialized object by default. To include the root object's type name in JSON
- you must specify a root type object with
- or .
-
-
-
-
- Determines whether the collection is null or empty.
-
- The collection.
-
- true if the collection is null or empty; otherwise, false.
-
-
-
-
- Adds the elements of the specified collection to the specified generic .
-
- The list to add to.
- The collection of elements to add.
-
-
-
- Converts the value to the specified type. If the value is unable to be converted, the
- value is checked whether it assignable to the specified type.
-
- The value to convert.
- The culture to use when converting.
- The type to convert or cast the value to.
-
- The converted type. If conversion was unsuccessful, the initial value
- is returned if assignable to the target type.
-
-
-
-
- Helper method for generating a MetaObject which calls a
- specific method on Dynamic that returns a result
-
-
-
-
- Helper method for generating a MetaObject which calls a
- specific method on Dynamic, but uses one of the arguments for
- the result.
-
-
-
-
- Helper method for generating a MetaObject which calls a
- specific method on Dynamic, but uses one of the arguments for
- the result.
-
-
-
-
- Returns a Restrictions object which includes our current restrictions merged
- with a restriction limiting our type
-
-
-
-
- Helper class for serializing immutable collections.
- Note that this is used by all builds, even those that don't support immutable collections, in case the DLL is GACed
- https://github.com/JamesNK/Newtonsoft.Json/issues/652
-
-
-
-
- Gets the type of the typed collection's items.
-
- The type.
- The type of the typed collection's items.
-
-
-
- Gets the member's underlying type.
-
- The member.
- The underlying type of the member.
-
-
-
- Determines whether the property is an indexed property.
-
- The property.
-
- true if the property is an indexed property; otherwise, false.
-
-
-
-
- Gets the member's value on the object.
-
- The member.
- The target object.
- The member's value on the object.
-
-
-
- Sets the member's value on the target object.
-
- The member.
- The target.
- The value.
-
-
-
- Determines whether the specified MemberInfo can be read.
-
- The MemberInfo to determine whether can be read.
- /// if set to true then allow the member to be gotten non-publicly.
-
- true if the specified MemberInfo can be read; otherwise, false.
-
-
-
-
- Determines whether the specified MemberInfo can be set.
-
- The MemberInfo to determine whether can be set.
- if set to true then allow the member to be set non-publicly.
- if set to true then allow the member to be set if read-only.
-
- true if the specified MemberInfo can be set; otherwise, false.
-
-
-
-
- Builds a string. Unlike this class lets you reuse its internal buffer.
-
-
-
-
- Determines whether the string is all white space. Empty string will return false.
-
- The string to test whether it is all white space.
-
- true if the string is all white space; otherwise, false.
-
-
-
-
- Specifies the state of the .
-
-
-
-
- An exception has been thrown, which has left the in an invalid state.
- You may call the method to put the in the Closed state.
- Any other method calls result in an being thrown.
-
-
-
-
- The method has been called.
-
-
-
-
- An object is being written.
-
-
-
-
- An array is being written.
-
-
-
-
- A constructor is being written.
-
-
-
-
- A property is being written.
-
-
-
-
- A write method has not been called.
-
-
-
- Specifies that an output will not be null even if the corresponding type allows it.
-
-
- Specifies that when a method returns , the parameter will not be null even if the corresponding type allows it.
-
-
- Initializes the attribute with the specified return value condition.
-
- The return value condition. If the method returns this value, the associated parameter will not be null.
-
-
-
- Gets the return value condition.
-
-
- Specifies that an output may be null even if the corresponding type disallows it.
-
-
- Specifies that null is allowed as an input even if the corresponding type disallows it.
-
-
-
- Specifies that the method will not return if the associated Boolean parameter is passed the specified value.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The condition parameter value. Code after the method will be considered unreachable by diagnostics if the argument to
- the associated parameter matches this value.
-
-
-
- Gets the condition parameter value.
-
-
-
diff --git a/packages/Newtonsoft.Json.13.0.3/lib/net45/Newtonsoft.Json.dll b/packages/Newtonsoft.Json.13.0.3/lib/net45/Newtonsoft.Json.dll
deleted file mode 100644
index 341d08f..0000000
Binary files a/packages/Newtonsoft.Json.13.0.3/lib/net45/Newtonsoft.Json.dll and /dev/null differ
diff --git a/packages/Newtonsoft.Json.13.0.3/lib/net45/Newtonsoft.Json.xml b/packages/Newtonsoft.Json.13.0.3/lib/net45/Newtonsoft.Json.xml
deleted file mode 100644
index 2c981ab..0000000
--- a/packages/Newtonsoft.Json.13.0.3/lib/net45/Newtonsoft.Json.xml
+++ /dev/null
@@ -1,11363 +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 BSON data.
-
-
-
-
- Gets or sets a value indicating whether binary data reading should be compatible with incorrect Json.NET 3.5 written binary.
-
-
- true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether the root object will be read as a JSON array.
-
-
- true if the root object will be read as a JSON array; otherwise, false.
-
-
-
-
- Gets or sets the used when reading values from BSON.
-
- The used when reading values from BSON.
-
-
-
- Initializes a new instance of the class.
-
- The containing the BSON data to read.
-
-
-
- Initializes a new instance of the class.
-
- The containing the BSON data to read.
-
-
-
- Initializes a new instance of the class.
-
- The containing the BSON data to read.
- if set to true the root object will be read as a JSON array.
- The used when reading values from BSON.
-
-
-
- Initializes a new instance of the class.
-
- The containing the BSON data to read.
- if set to true the root object will be read as a JSON array.
- The used when reading values from BSON.
-
-
-
- Reads the next JSON token from the underlying .
-
-
- true if the next token was read successfully; false if there are no more tokens to read.
-
-
-
-
- Changes the reader's state to .
- If is set to true, the underlying is also closed.
-
-
-
-
- Represents a writer that provides a fast, non-cached, forward-only way of generating BSON data.
-
-
-
-
- Gets or sets the used when writing values to BSON.
- When set to no conversion will occur.
-
- The used when writing values to BSON.
-
-
-
- Initializes a new instance of the class.
-
- The to write to.
-
-
-
- Initializes a new instance of the class.
-
- The to write to.
-
-
-
- Flushes whatever is in the buffer to the underlying and also flushes the underlying stream.
-
-
-
-
- Writes the end.
-
- The token.
-
-
-
- Writes a comment /*...*/ containing the specified text.
-
- Text to place inside the comment.
-
-
-
- Writes the start of a constructor with the given name.
-
- The name of the constructor.
-
-
-
- Writes raw JSON.
-
- The raw JSON to write.
-
-
-
- Writes raw JSON where a value is expected and updates the writer's state.
-
- The raw JSON to write.
-
-
-
- Writes the beginning of a JSON array.
-
-
-
-
- Writes the beginning of a JSON object.
-
-
-
-
- Writes the property name of a name/value pair on a JSON object.
-
- The name of the property.
-
-
-
- Closes this writer.
- If is set to true, the underlying is also closed.
- If is set to true, the JSON is auto-completed.
-
-
-
-
- Writes a value.
- An error will raised if the value cannot be written as a single JSON token.
-
- The value to write.
-
-
-
- Writes a null value.
-
-
-
-
- Writes an undefined value.
-
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a [] value.
-
- The [] value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a [] value that represents a BSON object id.
-
- The Object ID value to write.
-
-
-
- Writes a BSON regex.
-
- The regex pattern.
- The regex options.
-
-
-
- Specifies how constructors are used when initializing objects during deserialization by the .
-
-
-
-
- First attempt to use the public default constructor, then fall back to a single parameterized constructor, then to the non-public default constructor.
-
-
-
-
- Json.NET will use a non-public default constructor before falling back to a parameterized constructor.
-
-
-
-
- Converts a binary value to and from a base 64 string value.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts a to and from JSON and BSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Creates a custom object.
-
- The object type to convert.
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Creates an object which will then be populated by the serializer.
-
- Type of the object.
- The created object.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Gets a value indicating whether this can write JSON.
-
-
- true if this can write JSON; otherwise, false.
-
-
-
-
- Converts a to and from JSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified value type.
-
- Type of the value.
-
- true if this instance can convert the specified value type; otherwise, false.
-
-
-
-
- Converts a to and from JSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified value type.
-
- Type of the value.
-
- true if this instance can convert the specified value type; otherwise, false.
-
-
-
-
- Provides a base class for converting a to and from JSON.
-
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts a F# discriminated union type to and from JSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts an Entity Framework to and from JSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts an to and from JSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Gets a value indicating whether this can write JSON.
-
-
- true if this can write JSON; otherwise, false.
-
-
-
-
- Converts a to and from the ISO 8601 date format (e.g. "2008-04-12T12:53Z").
-
-
-
-
- Gets or sets the date time styles used when converting a date to and from JSON.
-
- The date time styles used when converting a date to and from JSON.
-
-
-
- Gets or sets the date time format used when converting a date to and from JSON.
-
- The date time format used when converting a date to and from JSON.
-
-
-
- Gets or sets the culture used when converting a date to and from JSON.
-
- The culture used when converting a date to and from JSON.
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Converts a to and from a JavaScript Date constructor (e.g. new Date(52231943)).
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing property value of the JSON that is being converted.
- The calling serializer.
- The object value.
-
-
-
- Converts a to and from JSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts a to and from JSON and BSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts an to and from its name string value.
-
-
-
-
- Gets or sets a value indicating whether the written enum text should be camel case.
- The default value is false.
-
- true if the written enum text will be camel case; otherwise, false.
-
-
-
- Gets or sets the naming strategy used to resolve how enum text is written.
-
- The naming strategy used to resolve how enum text is written.
-
-
-
- Gets or sets a value indicating whether integer values are allowed when serializing and deserializing.
- The default value is true.
-
- true if integers are allowed when serializing and deserializing; otherwise, false.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- true if the written enum text will be camel case; otherwise, false.
-
-
-
- Initializes a new instance of the class.
-
- The naming strategy used to resolve how enum text is written.
- true if integers are allowed when serializing and deserializing; otherwise, false.
-
-
-
- Initializes a new instance of the class.
-
- The of the used to write enum text.
-
-
-
- Initializes a new instance of the class.
-
- The of the used to write enum text.
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
- When non-null, there must be a constructor defined in the that exactly matches the number,
- order, and type of these parameters.
-
-
-
-
- Initializes a new instance of the class.
-
- The of the used to write enum text.
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
- When non-null, there must be a constructor defined in the that exactly matches the number,
- order, and type of these parameters.
-
- true if integers are allowed when serializing and deserializing; otherwise, false.
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts a to and from Unix epoch time
-
-
-
-
- Gets or sets a value indicating whether the dates before Unix epoch
- should converted to and from JSON.
-
-
- true to allow converting dates before Unix epoch to and from JSON;
- false to throw an exception when a date being converted to or from JSON
- occurred before Unix epoch. The default value is false.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
-
- true to allow converting dates before Unix epoch to and from JSON;
- false to throw an exception when a date being converted to or from JSON
- occurred before Unix epoch. The default value is 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 property value of the JSON that is being converted.
- The calling serializer.
- The object value.
-
-
-
- Converts a to and from a string (e.g. "1.2.3.4").
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing property value of the JSON that is being converted.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts XML to and from JSON.
-
-
-
-
- Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produced multiple root elements.
-
- The name of the deserialized root element.
-
-
-
- Gets or sets a value to indicate whether to write the Json.NET array attribute.
- This attribute helps preserve arrays when converting the written XML back to JSON.
-
- true if the array attribute is written to the XML; otherwise, false.
-
-
-
- Gets or sets a value indicating whether to write the root JSON object.
-
- true if the JSON root object is omitted; otherwise, false.
-
-
-
- Gets or sets a value indicating whether to encode special characters when converting JSON to XML.
- If true, special characters like ':', '@', '?', '#' and '$' in JSON property names aren't used to specify
- XML namespaces, attributes or processing directives. Instead special characters are encoded and written
- as part of the XML element name.
-
- true if special characters are encoded; otherwise, false.
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The calling serializer.
- The value.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Checks if the is a namespace attribute.
-
- Attribute name to test.
- The attribute name prefix if it has one, otherwise an empty string.
- true if attribute name is for a namespace attribute, otherwise false.
-
-
-
- Determines whether this instance can convert the specified value type.
-
- Type of the value.
-
- true if this instance can convert the specified value type; otherwise, false.
-
-
-
-
- Specifies how dates are formatted when writing JSON text.
-
-
-
-
- Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z".
-
-
-
-
- Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/".
-
-
-
-
- Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text.
-
-
-
-
- Date formatted strings are not parsed to a date type and are read as strings.
-
-
-
-
- Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to .
-
-
-
-
- Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to .
-
-
-
-
- Specifies how to treat the time value when converting between string and .
-
-
-
-
- Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time.
-
-
-
-
- Treat as a UTC. If the object represents a local time, it is converted to a UTC.
-
-
-
-
- Treat as a local time if a is being converted to a string.
- If a string is being converted to , convert to a local time if a time zone is specified.
-
-
-
-
- Time zone information should be preserved when converting.
-
-
-
-
- The default JSON name table implementation.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets a string containing the same characters as the specified range of characters in the given array.
-
- The character array containing the name to find.
- The zero-based index into the array specifying the first character of the name.
- The number of characters in the name.
- A string containing the same characters as the specified range of characters in the given array.
-
-
-
- Adds the specified string into name table.
-
- The string to add.
- This method is not thread-safe.
- The resolved string.
-
-
-
- Specifies default value handling options for the .
-
-
-
-
-
-
-
-
- Include members where the member value is the same as the member's default value when serializing objects.
- Included members are written to JSON. Has no effect when deserializing.
-
-
-
-
- Ignore members where the member value is the same as the member's default value when serializing objects
- so that it is not written to JSON.
- This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers,
- decimals and floating point numbers; and false for booleans). The default value ignored can be changed by
- placing the on the property.
-
-
-
-
- Members with a default value but no JSON will be set to their default value when deserializing.
-
-
-
-
- Ignore members where the member value is the same as the member's default value when serializing objects
- and set members to their default value when deserializing.
-
-
-
-
- Specifies float format handling options when writing special floating point numbers, e.g. ,
- and with .
-
-
-
-
- Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity".
-
-
-
-
- Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity.
- Note that this will produce non-valid JSON.
-
-
-
-
- Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a of property.
-
-
-
-
- Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
-
-
-
-
- Floating point numbers are parsed to .
-
-
-
-
- Floating point numbers are parsed to .
-
-
-
-
- Specifies formatting options for the .
-
-
-
-
- No special formatting is applied. This is the default.
-
-
-
-
- Causes child objects to be indented according to the and settings.
-
-
-
-
- Provides an interface for using pooled arrays.
-
- The array type content.
-
-
-
- Rent an array from the pool. This array must be returned when it is no longer needed.
-
- The minimum required length of the array. The returned array may be longer.
- The rented array from the pool. This array must be returned when it is no longer needed.
-
-
-
- Return an array to the pool.
-
- The array that is being returned.
-
-
-
- Provides an interface to enable a class to return line and position information.
-
-
-
-
- Gets a value indicating whether the class can return line information.
-
-
- true if and can be provided; otherwise, false.
-
-
-
-
- Gets the current line number.
-
- The current line number or 0 if no line information is available (for example, when returns false).
-
-
-
- Gets the current line position.
-
- The current line position or 0 if no line information is available (for example, when returns false).
-
-
-
- Instructs the how to serialize the collection.
-
-
-
-
- Gets or sets a value indicating whether null items are allowed in the collection.
-
- true if null items are allowed in the collection; otherwise, false.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class with a flag indicating whether the array can contain null items.
-
- A flag indicating whether the array can contain null items.
-
-
-
- Initializes a new instance of the class with the specified container Id.
-
- The container Id.
-
-
-
- Instructs the to use the specified constructor when deserializing that object.
-
-
-
-
- Instructs the how to serialize the object.
-
-
-
-
- Gets or sets the id.
-
- The id.
-
-
-
- Gets or sets the title.
-
- The title.
-
-
-
- Gets or sets the description.
-
- The description.
-
-
-
- Gets or sets the collection's items converter.
-
- The collection's items converter.
-
-
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
- When non-null, there must be a constructor defined in the that exactly matches the number,
- order, and type of these parameters.
-
-
-
- [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })]
-
-
-
-
-
- Gets or sets the of the .
-
- The of the .
-
-
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
- When non-null, there must be a constructor defined in the that exactly matches the number,
- order, and type of these parameters.
-
-
-
- [JsonContainer(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })]
-
-
-
-
-
- Gets or sets a value that indicates whether to preserve object references.
-
-
- true to keep object reference; otherwise, false. The default is false.
-
-
-
-
- Gets or sets a value that indicates whether to preserve collection's items references.
-
-
- true to keep collection's items object references; otherwise, false. The default is false.
-
-
-
-
- Gets or sets the reference loop handling used when serializing the collection's items.
-
- The reference loop handling.
-
-
-
- Gets or sets the type name handling used when serializing the collection's items.
-
- The type name handling.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class with the specified container Id.
-
- The container Id.
-
-
-
- Provides methods for converting between .NET types and JSON types.
-
-
-
-
-
-
-
- Gets or sets a function that creates default .
- Default settings are automatically used by serialization methods on ,
- and and on .
- To serialize without using any default settings create a with
- .
-
-
-
-
- Represents JavaScript's boolean value true as a string. This field is read-only.
-
-
-
-
- Represents JavaScript's boolean value false as a string. This field is read-only.
-
-
-
-
- Represents JavaScript's null as a string. This field is read-only.
-
-
-
-
- Represents JavaScript's undefined as a string. This field is read-only.
-
-
-
-
- Represents JavaScript's positive infinity as a string. This field is read-only.
-
-
-
-
- Represents JavaScript's negative infinity as a string. This field is read-only.
-
-
-
-
- Represents JavaScript's NaN as a string. This field is read-only.
-
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation using the specified.
-
- The value to convert.
- The format the date will be converted to.
- The time zone handling when the date is converted to a string.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation using the specified.
-
- The value to convert.
- The format the date will be converted to.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- The string delimiter character.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- The string delimiter character.
- The string escape handling.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Serializes the specified object to a JSON string.
-
- The object to serialize.
- A JSON string representation of the object.
-
-
-
- Serializes the specified object to a JSON string using formatting.
-
- The object to serialize.
- Indicates how the output should be formatted.
-
- A JSON string representation of the object.
-
-
-
-
- Serializes the specified object to a JSON string using a collection of .
-
- The object to serialize.
- A collection of converters used while serializing.
- A JSON string representation of the object.
-
-
-
- Serializes the specified object to a JSON string using formatting and a collection of .
-
- The object to serialize.
- Indicates how the output should be formatted.
- A collection of converters used while serializing.
- A JSON string representation of the object.
-
-
-
- Serializes the specified object to a JSON string using .
-
- The object to serialize.
- The used to serialize the object.
- If this is null, default serialization settings will be used.
-
- A JSON string representation of the object.
-
-
-
-
- Serializes the specified object to a JSON string using a type, formatting and .
-
- The object to serialize.
- The used to serialize the object.
- If this is null, default serialization settings will be used.
-
- The type of the value being serialized.
- This parameter is used when is to write out the type name if the type of the value does not match.
- Specifying the type is optional.
-
-
- A JSON string representation of the object.
-
-
-
-
- Serializes the specified object to a JSON string using formatting and .
-
- The object to serialize.
- Indicates how the output should be formatted.
- The used to serialize the object.
- If this is null, default serialization settings will be used.
-
- A JSON string representation of the object.
-
-
-
-
- Serializes the specified object to a JSON string using a type, formatting and .
-
- The object to serialize.
- Indicates how the output should be formatted.
- The used to serialize the object.
- If this is null, default serialization settings will be used.
-
- The type of the value being serialized.
- This parameter is used when is to write out the type name if the type of the value does not match.
- Specifying the type is optional.
-
-
- A JSON string representation of the object.
-
-
-
-
- Deserializes the JSON to a .NET object.
-
- The JSON to deserialize.
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to a .NET object using .
-
- The JSON to deserialize.
-
- The used to deserialize the object.
- If this is null, default serialization settings will be used.
-
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to the specified .NET type.
-
- The JSON to deserialize.
- The of object being deserialized.
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to the specified .NET type.
-
- The type of the object to deserialize to.
- The JSON to deserialize.
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to the given anonymous type.
-
-
- The anonymous type to deserialize to. This can't be specified
- traditionally and must be inferred from the anonymous type passed
- as a parameter.
-
- The JSON to deserialize.
- The anonymous type object.
- The deserialized anonymous type from the JSON string.
-
-
-
- Deserializes the JSON to the given anonymous type using .
-
-
- The anonymous type to deserialize to. This can't be specified
- traditionally and must be inferred from the anonymous type passed
- as a parameter.
-
- The JSON to deserialize.
- The anonymous type object.
-
- The used to deserialize the object.
- If this is null, default serialization settings will be used.
-
- The deserialized anonymous type from the JSON string.
-
-
-
- Deserializes the JSON to the specified .NET type using a collection of .
-
- The type of the object to deserialize to.
- The JSON to deserialize.
- Converters to use while deserializing.
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to the specified .NET type using .
-
- The type of the object to deserialize to.
- The object to deserialize.
-
- The used to deserialize the object.
- If this is null, default serialization settings will be used.
-
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to the specified .NET type using a collection of .
-
- The JSON to deserialize.
- The type of the object to deserialize.
- Converters to use while deserializing.
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to the specified .NET type using .
-
- The JSON to deserialize.
- The type of the object to deserialize to.
-
- The used to deserialize the object.
- If this is null, default serialization settings will be used.
-
- The deserialized object from the JSON string.
-
-
-
- Populates the object with values from the JSON string.
-
- The JSON to populate values from.
- The target object to populate values onto.
-
-
-
- Populates the object with values from the JSON string using .
-
- The JSON to populate values from.
- The target object to populate values onto.
-
- The used to deserialize the object.
- If this is null, default serialization settings will be used.
-
-
-
-
- Serializes the to a JSON string.
-
- The node to serialize.
- A JSON string of the .
-
-
-
- Serializes the to a JSON string using formatting.
-
- The node to serialize.
- Indicates how the output should be formatted.
- A JSON string of the .
-
-
-
- Serializes the to a JSON string using formatting and omits the root object if is true.
-
- The node to serialize.
- Indicates how the output should be formatted.
- Omits writing the root object.
- A JSON string of the .
-
-
-
- Deserializes the from a JSON string.
-
- The JSON string.
- The deserialized .
-
-
-
- Deserializes the from a JSON string nested in a root element specified by .
-
- The JSON string.
- The name of the root element to append when deserializing.
- The deserialized .
-
-
-
- Deserializes the from a JSON string nested in a root element specified by
- and writes a Json.NET array attribute for collections.
-
- The JSON string.
- The name of the root element to append when deserializing.
-
- A value to indicate whether to write the Json.NET array attribute.
- This attribute helps preserve arrays when converting the written XML back to JSON.
-
- The deserialized .
-
-
-
- Deserializes the from a JSON string nested in a root element specified by ,
- writes a Json.NET array attribute for collections, and encodes special characters.
-
- The JSON string.
- The name of the root element to append when deserializing.
-
- A value to indicate whether to write the Json.NET array attribute.
- This attribute helps preserve arrays when converting the written XML back to JSON.
-
-
- A value to indicate whether to encode special characters when converting JSON to XML.
- If true, special characters like ':', '@', '?', '#' and '$' in JSON property names aren't used to specify
- XML namespaces, attributes or processing directives. Instead special characters are encoded and written
- as part of the XML element name.
-
- The deserialized .
-
-
-
- Serializes the to a JSON string.
-
- The node to convert to JSON.
- A JSON string of the .
-
-
-
- Serializes the to a JSON string using formatting.
-
- The node to convert to JSON.
- Indicates how the output should be formatted.
- A JSON string of the .
-
-
-
- Serializes the to a JSON string using formatting and omits the root object if is true.
-
- The node to serialize.
- Indicates how the output should be formatted.
- Omits writing the root object.
- A JSON string of the .
-
-
-
- Deserializes the from a JSON string.
-
- The JSON string.
- The deserialized .
-
-
-
- Deserializes the from a JSON string nested in a root element specified by .
-
- The JSON string.
- The name of the root element to append when deserializing.
- The deserialized .
-
-
-
- Deserializes the from a JSON string nested in a root element specified by
- and writes a Json.NET array attribute for collections.
-
- The JSON string.
- The name of the root element to append when deserializing.
-
- A value to indicate whether to write the Json.NET array attribute.
- This attribute helps preserve arrays when converting the written XML back to JSON.
-
- The deserialized .
-
-
-
- Deserializes the from a JSON string nested in a root element specified by ,
- writes a Json.NET array attribute for collections, and encodes special characters.
-
- The JSON string.
- The name of the root element to append when deserializing.
-
- A value to indicate whether to write the Json.NET array attribute.
- This attribute helps preserve arrays when converting the written XML back to JSON.
-
-
- A value to indicate whether to encode special characters when converting JSON to XML.
- If true, special characters like ':', '@', '?', '#' and '$' in JSON property names aren't used to specify
- XML namespaces, attributes or processing directives. Instead special characters are encoded and written
- as part of the XML element name.
-
- The deserialized .
-
-
-
- Converts an object to and from JSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Gets a value indicating whether this can read JSON.
-
- true if this can read JSON; otherwise, false.
-
-
-
- Gets a value indicating whether this can write JSON.
-
- true if this can write JSON; otherwise, false.
-
-
-
- Converts an object to and from JSON.
-
- The object type to convert.
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read. If there is no existing value then null will be used.
- The existing value has a value.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Instructs the to use the specified when serializing the member or class.
-
-
-
-
- Gets the of the .
-
- The of the .
-
-
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
-
-
-
-
- Initializes a new instance of the class.
-
- Type of the .
-
-
-
- Initializes a new instance of the class.
-
- Type of the .
- Parameter list to use when constructing the . Can be null.
-
-
-
- Represents a collection of .
-
-
-
-
- Instructs the how to serialize the collection.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class with the specified container Id.
-
- The container Id.
-
-
-
- The exception thrown when an error occurs during JSON serialization or deserialization.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- with a specified error message.
-
- The error message that explains the reason for the exception.
-
-
-
- Initializes a new instance of the class
- with a specified error message and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Initializes a new instance of the class.
-
- The that holds the serialized object data about the exception being thrown.
- The that contains contextual information about the source or destination.
- The parameter is null.
- The class name is null or is zero (0).
-
-
-
- Instructs the to deserialize properties with no matching class member into the specified collection
- and write values during serialization.
-
-
-
-
- Gets or sets a value that indicates whether to write extension data when serializing the object.
-
-
- true to write extension data when serializing the object; otherwise, false. The default is true.
-
-
-
-
- Gets or sets a value that indicates whether to read extension data when deserializing the object.
-
-
- true to read extension data when deserializing the object; otherwise, false. The default is true.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Instructs the not to serialize the public field or public read/write property value.
-
-
-
-
- Base class for a table of atomized string objects.
-
-
-
-
- Gets a string containing the same characters as the specified range of characters in the given array.
-
- The character array containing the name to find.
- The zero-based index into the array specifying the first character of the name.
- The number of characters in the name.
- A string containing the same characters as the specified range of characters in the given array.
-
-
-
- Instructs the how to serialize the object.
-
-
-
-
- Gets or sets the member serialization.
-
- The member serialization.
-
-
-
- Gets or sets the missing member handling used when deserializing this object.
-
- The missing member handling.
-
-
-
- Gets or sets how the object's properties with null values are handled during serialization and deserialization.
-
- How the object's properties with null values are handled during serialization and deserialization.
-
-
-
- Gets or sets a value that indicates whether the object's properties are required.
-
-
- A value indicating whether the object's properties are required.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class with the specified member serialization.
-
- The member serialization.
-
-
-
- Initializes a new instance of the class with the specified container Id.
-
- The container Id.
-
-
-
- Instructs the to always serialize the member with the specified name.
-
-
-
-
- Gets or sets the type used when serializing the property's collection items.
-
- The collection's items type.
-
-
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
- When non-null, there must be a constructor defined in the that exactly matches the number,
- order, and type of these parameters.
-
-
-
- [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })]
-
-
-
-
-
- Gets or sets the of the .
-
- The of the .
-
-
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
- When non-null, there must be a constructor defined in the that exactly matches the number,
- order, and type of these parameters.
-
-
-
- [JsonProperty(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })]
-
-
-
-
-
- Gets or sets the null value handling used when serializing this property.
-
- The null value handling.
-
-
-
- Gets or sets the default value handling used when serializing this property.
-
- The default value handling.
-
-
-
- Gets or sets the reference loop handling used when serializing this property.
-
- The reference loop handling.
-
-
-
- Gets or sets the object creation handling used when deserializing this property.
-
- The object creation handling.
-
-
-
- Gets or sets the type name handling used when serializing this property.
-
- The type name handling.
-
-
-
- Gets or sets whether this property's value is serialized as a reference.
-
- Whether this property's value is serialized as a reference.
-
-
-
- Gets or sets the order of serialization of a member.
-
- The numeric order of serialization.
-
-
-
- Gets or sets a value indicating whether this property is required.
-
-
- A value indicating whether this property is required.
-
-
-
-
- Gets or sets the name of the property.
-
- The name of the property.
-
-
-
- Gets or sets the reference loop handling used when serializing the property's collection items.
-
- The collection's items reference loop handling.
-
-
-
- Gets or sets the type name handling used when serializing the property's collection items.
-
- The collection's items type name handling.
-
-
-
- Gets or sets whether this property's collection items are serialized as a reference.
-
- Whether this property's collection items are serialized as a reference.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class with the specified name.
-
- Name of the property.
-
-
-
- Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data.
-
-
-
-
- Asynchronously reads the next JSON token from the source.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns true if the next token was read successfully; false if there are no more tokens to read.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously skips the children of the current token.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously reads the next JSON token from the source as a of .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the of . This result will be null at the end of an array.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously reads the next JSON token from the source as a [].
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the []. This result will be null at the end of an array.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously reads the next JSON token from the source as a of .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the of . This result will be null at the end of an array.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously reads the next JSON token from the source as a of .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the of . This result will be null at the end of an array.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously reads the next JSON token from the source as a of .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the of . This result will be null at the end of an array.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously reads the next JSON token from the source as a of .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the of . This result will be null at the end of an array.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously reads the next JSON token from the source as a of .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the of . This result will be null at the end of an array.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously reads the next JSON token from the source as a .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the . This result will be null at the end of an array.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Specifies the state of the reader.
-
-
-
-
- A read method has not been called.
-
-
-
-
- The end of the file has been reached successfully.
-
-
-
-
- Reader is at a property.
-
-
-
-
- Reader is at the start of an object.
-
-
-
-
- Reader is in an object.
-
-
-
-
- Reader is at the start of an array.
-
-
-
-
- Reader is in an array.
-
-
-
-
- The method has been called.
-
-
-
-
- Reader has just read a value.
-
-
-
-
- Reader is at the start of a constructor.
-
-
-
-
- Reader is in a constructor.
-
-
-
-
- An error occurred that prevents the read operation from continuing.
-
-
-
-
- The end of the file has been reached successfully.
-
-
-
-
- Gets the current reader state.
-
- The current reader state.
-
-
-
- Gets or sets a value indicating whether the source should be closed when this reader is closed.
-
-
- true to close the source when this reader is closed; otherwise false. The default is true.
-
-
-
-
- Gets or sets a value indicating whether multiple pieces of JSON content can
- be read from a continuous stream without erroring.
-
-
- true to support reading multiple pieces of JSON content; otherwise false.
- The default is false.
-
-
-
-
- Gets the quotation mark character used to enclose the value of a string.
-
-
-
-
- Gets or sets how time zones are handled when reading JSON.
-
-
-
-
- Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON.
-
-
-
-
- Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
-
-
-
-
- Gets or sets how custom date formatted strings are parsed when reading JSON.
-
-
-
-
- Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a .
- A null value means there is no maximum.
- The default value is 64.
-
-
-
-
- Gets the type of the current JSON token.
-
-
-
-
- Gets the text value of the current JSON token.
-
-
-
-
- Gets the .NET type for the current JSON token.
-
-
-
-
- Gets the depth of the current token in the JSON document.
-
- The depth of the current token in the JSON document.
-
-
-
- Gets the path of the current JSON token.
-
-
-
-
- Gets or sets the culture used when reading JSON. Defaults to .
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Reads the next JSON token from the source.
-
- true if the next token was read successfully; false if there are no more tokens to read.
-
-
-
- Reads the next JSON token from the source as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a .
-
- A . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a [].
-
- A [] or null if the next JSON token is null. This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Skips the children of the current token.
-
-
-
-
- Sets the current token.
-
- The new token.
-
-
-
- Sets the current token and value.
-
- The new token.
- The value.
-
-
-
- Sets the current token and value.
-
- The new token.
- The value.
- A flag indicating whether the position index inside an array should be updated.
-
-
-
- Sets the state based on current token type.
-
-
-
-
- Releases unmanaged and - optionally - managed resources.
-
- true to release both managed and unmanaged resources; false to release only unmanaged resources.
-
-
-
- Changes the reader's state to .
- If is set to true, the source is also closed.
-
-
-
-
- The exception thrown when an error occurs while reading JSON text.
-
-
-
-
- Gets the line number indicating where the error occurred.
-
- The line number indicating where the error occurred.
-
-
-
- Gets the line position indicating where the error occurred.
-
- The line position indicating where the error occurred.
-
-
-
- Gets the path to the JSON where the error occurred.
-
- The path to the JSON where the error occurred.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- with a specified error message.
-
- The error message that explains the reason for the exception.
-
-
-
- Initializes a new instance of the class
- with a specified error message and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Initializes a new instance of the class.
-
- The that holds the serialized object data about the exception being thrown.
- The that contains contextual information about the source or destination.
- The parameter is null.
- The class name is null or is zero (0).
-
-
-
- Initializes a new instance of the class
- with a specified error message, JSON path, line number, line position, and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The path to the JSON where the error occurred.
- The line number indicating where the error occurred.
- The line position indicating where the error occurred.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Instructs the to always serialize the member, and to require that the member has a value.
-
-
-
-
- The exception thrown when an error occurs during JSON serialization or deserialization.
-
-
-
-
- Gets the line number indicating where the error occurred.
-
- The line number indicating where the error occurred.
-
-
-
- Gets the line position indicating where the error occurred.
-
- The line position indicating where the error occurred.
-
-
-
- Gets the path to the JSON where the error occurred.
-
- The path to the JSON where the error occurred.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- with a specified error message.
-
- The error message that explains the reason for the exception.
-
-
-
- Initializes a new instance of the class
- with a specified error message and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Initializes a new instance of the class.
-
- The that holds the serialized object data about the exception being thrown.
- The that contains contextual information about the source or destination.
- The parameter is null.
- The class name is null or is zero (0).
-
-
-
- Initializes a new instance of the class
- with a specified error message, JSON path, line number, line position, and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The path to the JSON where the error occurred.
- The line number indicating where the error occurred.
- The line position indicating where the error occurred.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Serializes and deserializes objects into and from the JSON format.
- The enables you to control how objects are encoded into JSON.
-
-
-
-
- Occurs when the errors during serialization and deserialization.
-
-
-
-
- Gets or sets the used by the serializer when resolving references.
-
-
-
-
- Gets or sets the used by the serializer when resolving type names.
-
-
-
-
- Gets or sets the used by the serializer when resolving type names.
-
-
-
-
- Gets or sets the used by the serializer when writing trace messages.
-
- The trace writer.
-
-
-
- Gets or sets the equality comparer used by the serializer when comparing references.
-
- The equality comparer.
-
-
-
- Gets or sets how type name writing and reading is handled by the serializer.
- The default value is .
-
-
- should be used with caution when your application deserializes JSON from an external source.
- Incoming types should be validated with a custom
- when deserializing with a value other than .
-
-
-
-
- Gets or sets how a type name assembly is written and resolved by the serializer.
- The default value is .
-
- The type name assembly format.
-
-
-
- Gets or sets how a type name assembly is written and resolved by the serializer.
- The default value is .
-
- The type name assembly format.
-
-
-
- Gets or sets how object references are preserved by the serializer.
- The default value is .
-
-
-
-
- Gets or sets how reference loops (e.g. a class referencing itself) is handled.
- The default value is .
-
-
-
-
- Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization.
- The default value is .
-
-
-
-
- Gets or sets how null values are handled during serialization and deserialization.
- The default value is .
-
-
-
-
- Gets or sets how default values are handled during serialization and deserialization.
- The default value is .
-
-
-
-
- Gets or sets how objects are created during deserialization.
- The default value is .
-
- The object creation handling.
-
-
-
- Gets or sets how constructors are used during deserialization.
- The default value is .
-
- The constructor handling.
-
-
-
- Gets or sets how metadata properties are used during deserialization.
- The default value is .
-
- The metadata properties handling.
-
-
-
- Gets a collection that will be used during serialization.
-
- Collection that will be used during serialization.
-
-
-
- Gets or sets the contract resolver used by the serializer when
- serializing .NET objects to JSON and vice versa.
-
-
-
-
- Gets or sets the used by the serializer when invoking serialization callback methods.
-
- The context.
-
-
-
- Indicates how JSON text output is formatted.
- The default value is .
-
-
-
-
- Gets or sets how dates are written to JSON text.
- The default value is .
-
-
-
-
- Gets or sets how time zones are handled during serialization and deserialization.
- The default value is .
-
-
-
-
- Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON.
- The default value is .
-
-
-
-
- Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
- The default value is .
-
-
-
-
- Gets or sets how special floating point numbers, e.g. ,
- and ,
- are written as JSON text.
- The default value is .
-
-
-
-
- Gets or sets how strings are escaped when writing JSON text.
- The default value is .
-
-
-
-
- Gets or sets how and values are formatted when writing JSON text,
- and the expected date format when reading JSON text.
- The default value is "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK".
-
-
-
-
- Gets or sets the culture used when reading JSON.
- The default value is .
-
-
-
-
- Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a .
- A null value means there is no maximum.
- The default value is 64.
-
-
-
-
- Gets a value indicating whether there will be a check for additional JSON content after deserializing an object.
- The default value is false.
-
-
- true if there will be a check for additional JSON content after deserializing an object; otherwise, false.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Creates a new instance.
- The will not use default settings
- from .
-
-
- A new instance.
- The will not use default settings
- from .
-
-
-
-
- Creates a new instance using the specified .
- The will not use default settings
- from .
-
- The settings to be applied to the .
-
- A new instance using the specified .
- The will not use default settings
- from .
-
-
-
-
- Creates a new instance.
- The will use default settings
- from .
-
-
- A new instance.
- The will use default settings
- from .
-
-
-
-
- Creates a new instance using the specified .
- The will use default settings
- from as well as the specified .
-
- The settings to be applied to the .
-
- A new instance using the specified .
- The will use default settings
- from as well as the specified .
-
-
-
-
- Populates the JSON values onto the target object.
-
- The that contains the JSON structure to read values from.
- The target object to populate values onto.
-
-
-
- Populates the JSON values onto the target object.
-
- The that contains the JSON structure to read values from.
- The target object to populate values onto.
-
-
-
- Deserializes the JSON structure contained by the specified .
-
- The that contains the JSON structure to deserialize.
- The being deserialized.
-
-
-
- Deserializes the JSON structure contained by the specified
- into an instance of the specified type.
-
- The containing the object.
- The of object being deserialized.
- The instance of being deserialized.
-
-
-
- Deserializes the JSON structure contained by the specified
- into an instance of the specified type.
-
- The containing the object.
- The type of the object to deserialize.
- The instance of being deserialized.
-
-
-
- Deserializes the JSON structure contained by the specified
- into an instance of the specified type.
-
- The containing the object.
- The of object being deserialized.
- The instance of being deserialized.
-
-
-
- Serializes the specified and writes the JSON structure
- using the specified .
-
- The used to write the JSON structure.
- The to serialize.
-
-
-
- Serializes the specified and writes the JSON structure
- using the specified .
-
- The used to write the JSON structure.
- The to serialize.
-
- The type of the value being serialized.
- This parameter is used when is to write out the type name if the type of the value does not match.
- Specifying the type is optional.
-
-
-
-
- Serializes the specified and writes the JSON structure
- using the specified .
-
- The used to write the JSON structure.
- The to serialize.
-
- The type of the value being serialized.
- This parameter is used when is Auto to write out the type name if the type of the value does not match.
- Specifying the type is optional.
-
-
-
-
- Serializes the specified and writes the JSON structure
- using the specified .
-
- The used to write the JSON structure.
- The to serialize.
-
-
-
- Specifies the settings on a object.
-
-
-
-
- Gets or sets how reference loops (e.g. a class referencing itself) are handled.
- The default value is .
-
- Reference loop handling.
-
-
-
- Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization.
- The default value is .
-
- Missing member handling.
-
-
-
- Gets or sets how objects are created during deserialization.
- The default value is .
-
- The object creation handling.
-
-
-
- Gets or sets how null values are handled during serialization and deserialization.
- The default value is .
-
- Null value handling.
-
-
-
- Gets or sets how default values are handled during serialization and deserialization.
- The default value is .
-
- The default value handling.
-
-
-
- Gets or sets a collection that will be used during serialization.
-
- The converters.
-
-
-
- Gets or sets how object references are preserved by the serializer.
- The default value is .
-
- The preserve references handling.
-
-
-
- Gets or sets how type name writing and reading is handled by the serializer.
- The default value is .
-
-
- should be used with caution when your application deserializes JSON from an external source.
- Incoming types should be validated with a custom
- when deserializing with a value other than .
-
- The type name handling.
-
-
-
- Gets or sets how metadata properties are used during deserialization.
- The default value is .
-
- The metadata properties handling.
-
-
-
- Gets or sets how a type name assembly is written and resolved by the serializer.
- The default value is .
-
- The type name assembly format.
-
-
-
- Gets or sets how a type name assembly is written and resolved by the serializer.
- The default value is .
-
- The type name assembly format.
-
-
-
- Gets or sets how constructors are used during deserialization.
- The default value is .
-
- The constructor handling.
-
-
-
- Gets or sets the contract resolver used by the serializer when
- serializing .NET objects to JSON and vice versa.
-
- The contract resolver.
-
-
-
- Gets or sets the equality comparer used by the serializer when comparing references.
-
- The equality comparer.
-
-
-
- Gets or sets the used by the serializer when resolving references.
-
- The reference resolver.
-
-
-
- Gets or sets a function that creates the used by the serializer when resolving references.
-
- A function that creates the used by the serializer when resolving references.
-
-
-
- Gets or sets the used by the serializer when writing trace messages.
-
- The trace writer.
-
-
-
- Gets or sets the used by the serializer when resolving type names.
-
- The binder.
-
-
-
- Gets or sets the used by the serializer when resolving type names.
-
- The binder.
-
-
-
- Gets or sets the error handler called during serialization and deserialization.
-
- The error handler called during serialization and deserialization.
-
-
-
- Gets or sets the used by the serializer when invoking serialization callback methods.
-
- The context.
-
-
-
- Gets or sets how and values are formatted when writing JSON text,
- and the expected date format when reading JSON text.
- The default value is "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK".
-
-
-
-
- Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a .
- A null value means there is no maximum.
- The default value is 64.
-
-
-
-
- Indicates how JSON text output is formatted.
- The default value is .
-
-
-
-
- Gets or sets how dates are written to JSON text.
- The default value is .
-
-
-
-
- Gets or sets how time zones are handled during serialization and deserialization.
- The default value is .
-
-
-
-
- Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON.
- The default value is .
-
-
-
-
- Gets or sets how special floating point numbers, e.g. ,
- and ,
- are written as JSON.
- The default value is .
-
-
-
-
- Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
- The default value is .
-
-
-
-
- Gets or sets how strings are escaped when writing JSON text.
- The default value is .
-
-
-
-
- Gets or sets the culture used when reading JSON.
- The default value is .
-
-
-
-
- Gets a value indicating whether there will be a check for additional content after deserializing an object.
- The default value is false.
-
-
- true if there will be a check for additional content after deserializing an object; otherwise, false.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- using values copied from the passed in .
-
-
-
-
- Represents a reader that provides fast, non-cached, forward-only access to JSON text data.
-
-
-
-
- Asynchronously reads the next JSON token from the source.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns true if the next token was read successfully; false if there are no more tokens to read.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously reads the next JSON token from the source as a of .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the of . This result will be null at the end of an array.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously reads the next JSON token from the source as a [].
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the []. This result will be null at the end of an array.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously reads the next JSON token from the source as a of .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the of . This result will be null at the end of an array.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously reads the next JSON token from the source as a of .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the of . This result will be null at the end of an array.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously reads the next JSON token from the source as a of .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the of . This result will be null at the end of an array.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously reads the next JSON token from the source as a of .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the of . This result will be null at the end of an array.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously reads the next JSON token from the source as a of .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the of . This result will be null at the end of an array.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously reads the next JSON token from the source as a .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the . This result will be null at the end of an array.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Initializes a new instance of the class with the specified .
-
- The containing the JSON data to read.
-
-
-
- Gets or sets the reader's property name table.
-
-
-
-
- Gets or sets the reader's character buffer pool.
-
-
-
-
- Reads the next JSON token from the underlying .
-
-
- true if the next token was read successfully; false if there are no more tokens to read.
-
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a .
-
- A . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a [].
-
- A [] or null if the next JSON token is null. This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Changes the reader's state to .
- If is set to true, the underlying is also closed.
-
-
-
-
- Gets a value indicating whether the class can return line information.
-
-
- true if and can be provided; otherwise, false.
-
-
-
-
- Gets the current line number.
-
-
- The current line number or 0 if no line information is available (for example, returns false).
-
-
-
-
- Gets the current line position.
-
-
- The current line position or 0 if no line information is available (for example, returns false).
-
-
-
-
- Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
-
-
-
-
- Asynchronously flushes whatever is in the buffer to the destination and also flushes the destination.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes the JSON value delimiter.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes the specified end token.
-
- The end token to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously closes this writer.
- If is set to true, the destination is also closed.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes the end of the current JSON object or array.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes indent characters.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes an indent space.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes raw JSON without changing the writer's state.
-
- The raw JSON to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a null value.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes the property name of a name/value pair of a JSON object.
-
- The name of the property.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes the property name of a name/value pair of a JSON object.
-
- The name of the property.
- A flag to indicate whether the text should be escaped when it is written as a JSON property name.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes the beginning of a JSON array.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes the beginning of a JSON object.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes the start of a constructor with the given name.
-
- The name of the constructor.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes an undefined value.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes the given white space.
-
- The string of white space characters.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a [] value.
-
- The [] value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a comment /*...*/ containing the specified text.
-
- Text to place inside the comment.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes the end of an array.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes the end of a constructor.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes the end of a JSON object.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes raw JSON where a value is expected and updates the writer's state.
-
- The raw JSON to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Gets or sets the writer's character array pool.
-
-
-
-
- Gets or sets how many s to write for each level in the hierarchy when is set to .
-
-
-
-
- Gets or sets which character to use to quote attribute values.
-
-
-
-
- Gets or sets which character to use for indenting when is set to .
-
-
-
-
- Gets or sets a value indicating whether object names will be surrounded with quotes.
-
-
-
-
- Initializes a new instance of the class using the specified .
-
- The to write to.
-
-
-
- Flushes whatever is in the buffer to the underlying and also flushes the underlying .
-
-
-
-
- Closes this writer.
- If is set to true, the underlying is also closed.
- If is set to true, the JSON is auto-completed.
-
-
-
-
- Writes the beginning of a JSON object.
-
-
-
-
- Writes the beginning of a JSON array.
-
-
-
-
- Writes the start of a constructor with the given name.
-
- The name of the constructor.
-
-
-
- Writes the specified end token.
-
- The end token to write.
-
-
-
- Writes the property name of a name/value pair on a JSON object.
-
- The name of the property.
-
-
-
- Writes the property name of a name/value pair on a JSON object.
-
- The name of the property.
- A flag to indicate whether the text should be escaped when it is written as a JSON property name.
-
-
-
- Writes indent characters.
-
-
-
-
- Writes the JSON value delimiter.
-
-
-
-
- Writes an indent space.
-
-
-
-
- Writes a value.
- An error will raised if the value cannot be written as a single JSON token.
-
- The value to write.
-
-
-
- Writes a null value.
-
-
-
-
- Writes an undefined value.
-
-
-
-
- Writes raw JSON.
-
- The raw JSON to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a [] value.
-
- The [] value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a comment /*...*/ containing the specified text.
-
- Text to place inside the comment.
-
-
-
- Writes the given white space.
-
- The string of white space characters.
-
-
-
- Specifies the type of JSON token.
-
-
-
-
- This is returned by the if a read method has not been called.
-
-
-
-
- An object start token.
-
-
-
-
- An array start token.
-
-
-
-
- A constructor start token.
-
-
-
-
- An object property name.
-
-
-
-
- A comment.
-
-
-
-
- Raw JSON.
-
-
-
-
- An integer.
-
-
-
-
- A float.
-
-
-
-
- A string.
-
-
-
-
- A boolean.
-
-
-
-
- A null token.
-
-
-
-
- An undefined token.
-
-
-
-
- An object end token.
-
-
-
-
- An array end token.
-
-
-
-
- A constructor end token.
-
-
-
-
- A Date.
-
-
-
-
- Byte data.
-
-
-
-
-
- Represents a reader that provides validation.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Sets an event handler for receiving schema validation errors.
-
-
-
-
- Gets the text value of the current JSON token.
-
-
-
-
-
- Gets the depth of the current token in the JSON document.
-
- The depth of the current token in the JSON document.
-
-
-
- Gets the path of the current JSON token.
-
-
-
-
- Gets the quotation mark character used to enclose the value of a string.
-
-
-
-
-
- Gets the type of the current JSON token.
-
-
-
-
-
- Gets the .NET type for the current JSON token.
-
-
-
-
-
- Initializes a new instance of the class that
- validates the content returned from the given .
-
- The to read from while validating.
-
-
-
- Gets or sets the schema.
-
- The schema.
-
-
-
- Gets the used to construct this .
-
- The specified in the constructor.
-
-
-
- Changes the reader's state to .
- If is set to true, the underlying is also closed.
-
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of .
-
-
-
- Reads the next JSON token from the underlying as a [].
-
-
- A [] or null if the next JSON token is null.
-
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of .
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of .
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of .
-
-
-
- Reads the next JSON token from the underlying as a .
-
- A . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of .
-
-
-
- Reads the next JSON token from the underlying .
-
-
- true if the next token was read successfully; false if there are no more tokens to read.
-
-
-
-
- Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
-
-
-
-
- Asynchronously closes this writer.
- If is set to true, the destination is also closed.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously flushes whatever is in the buffer to the destination and also flushes the destination.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the specified end token.
-
- The end token to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes indent characters.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the JSON value delimiter.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes an indent space.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes raw JSON without changing the writer's state.
-
- The raw JSON to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the end of the current JSON object or array.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the end of an array.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the end of a constructor.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the end of a JSON object.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a null value.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the property name of a name/value pair of a JSON object.
-
- The name of the property.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the property name of a name/value pair of a JSON object.
-
- The name of the property.
- A flag to indicate whether the text should be escaped when it is written as a JSON property name.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the beginning of a JSON array.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a comment /*...*/ containing the specified text.
-
- Text to place inside the comment.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes raw JSON where a value is expected and updates the writer's state.
-
- The raw JSON to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the start of a constructor with the given name.
-
- The name of the constructor.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the beginning of a JSON object.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the current token.
-
- The to read the token from.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the current token.
-
- The to read the token from.
- A flag indicating whether the current token's children should be written.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the token and its value.
-
- The to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the token and its value.
-
- The to write.
-
- The value to write.
- A value is only required for tokens that have an associated value, e.g. the property name for .
- null can be passed to the method for tokens that don't have a value, e.g. .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a [] value.
-
- The [] value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes an undefined value.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the given white space.
-
- The string of white space characters.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously ets the state of the .
-
- The being written.
- The value being written.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Gets or sets a value indicating whether the destination should be closed when this writer is closed.
-
-
- true to close the destination when this writer is closed; otherwise false. The default is true.
-
-
-
-
- Gets or sets a value indicating whether the JSON should be auto-completed when this writer is closed.
-
-
- true to auto-complete the JSON when this writer is closed; otherwise false. The default is true.
-
-
-
-
- Gets the top.
-
- The top.
-
-
-
- Gets the state of the writer.
-
-
-
-
- Gets the path of the writer.
-
-
-
-
- Gets or sets a value indicating how JSON text output should be formatted.
-
-
-
-
- Gets or sets how dates are written to JSON text.
-
-
-
-
- Gets or sets how time zones are handled when writing JSON text.
-
-
-
-
- Gets or sets how strings are escaped when writing JSON text.
-
-
-
-
- Gets or sets how special floating point numbers, e.g. ,
- and ,
- are written to JSON text.
-
-
-
-
- Gets or sets how and values are formatted when writing JSON text.
-
-
-
-
- Gets or sets the culture used when writing JSON. Defaults to .
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Flushes whatever is in the buffer to the destination and also flushes the destination.
-
-
-
-
- Closes this writer.
- If is set to true, the destination is also closed.
- If is set to true, the JSON is auto-completed.
-
-
-
-
- Writes the beginning of a JSON object.
-
-
-
-
- Writes the end of a JSON object.
-
-
-
-
- Writes the beginning of a JSON array.
-
-
-
-
- Writes the end of an array.
-
-
-
-
- Writes the start of a constructor with the given name.
-
- The name of the constructor.
-
-
-
- Writes the end constructor.
-
-
-
-
- Writes the property name of a name/value pair of a JSON object.
-
- The name of the property.
-
-
-
- Writes the property name of a name/value pair of a JSON object.
-
- The name of the property.
- A flag to indicate whether the text should be escaped when it is written as a JSON property name.
-
-
-
- Writes the end of the current JSON object or array.
-
-
-
-
- Writes the current token and its children.
-
- The to read the token from.
-
-
-
- Writes the current token.
-
- The to read the token from.
- A flag indicating whether the current token's children should be written.
-
-
-
- Writes the token and its value.
-
- The to write.
-
- The value to write.
- A value is only required for tokens that have an associated value, e.g. the property name for .
- null can be passed to the method for tokens that don't have a value, e.g. .
-
-
-
-
- Writes the token.
-
- The to write.
-
-
-
- Writes the specified end token.
-
- The end token to write.
-
-
-
- Writes indent characters.
-
-
-
-
- Writes the JSON value delimiter.
-
-
-
-
- Writes an indent space.
-
-
-
-
- Writes a null value.
-
-
-
-
- Writes an undefined value.
-
-
-
-
- Writes raw JSON without changing the writer's state.
-
- The raw JSON to write.
-
-
-
- Writes raw JSON where a value is expected and updates the writer's state.
-
- The raw JSON to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a [] value.
-
- The [] value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
- An error will raised if the value cannot be written as a single JSON token.
-
- The value to write.
-
-
-
- Writes a comment /*...*/ containing the specified text.
-
- Text to place inside the comment.
-
-
-
- Writes the given white space.
-
- The string of white space characters.
-
-
-
- Releases unmanaged and - optionally - managed resources.
-
- true to release both managed and unmanaged resources; false to release only unmanaged resources.
-
-
-
- Sets the state of the .
-
- The being written.
- The value being written.
-
-
-
- The exception thrown when an error occurs while writing JSON text.
-
-
-
-
- Gets the path to the JSON where the error occurred.
-
- The path to the JSON where the error occurred.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- with a specified error message.
-
- The error message that explains the reason for the exception.
-
-
-
- Initializes a new instance of the class
- with a specified error message and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Initializes a new instance of the class.
-
- The that holds the serialized object data about the exception being thrown.
- The that contains contextual information about the source or destination.
- The parameter is null.
- The class name is null or is zero (0).
-
-
-
- Initializes a new instance of the class
- with a specified error message, JSON path and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The path to the JSON where the error occurred.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Specifies how JSON comments are handled when loading JSON.
-
-
-
-
- Ignore comments.
-
-
-
-
- Load comments as a with type .
-
-
-
-
- Specifies how duplicate property names are handled when loading JSON.
-
-
-
-
- Replace the existing value when there is a duplicate property. The value of the last property in the JSON object will be used.
-
-
-
-
- Ignore the new value when there is a duplicate property. The value of the first property in the JSON object will be used.
-
-
-
-
- Throw a when a duplicate property is encountered.
-
-
-
-
- Contains the LINQ to JSON extension methods.
-
-
-
-
- Returns a collection of tokens that contains the ancestors of every token in the source collection.
-
- The type of the objects in source, constrained to .
- An of that contains the source collection.
- An of that contains the ancestors of every token in the source collection.
-
-
-
- Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection.
-
- The type of the objects in source, constrained to .
- An of that contains the source collection.
- An of that contains every token in the source collection, the ancestors of every token in the source collection.
-
-
-
- Returns a collection of tokens that contains the descendants of every token in the source collection.
-
- The type of the objects in source, constrained to .
- An of that contains the source collection.
- An of that contains the descendants of every token in the source collection.
-
-
-
- Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection.
-
- The type of the objects in source, constrained to .
- An of that contains the source collection.
- An of that contains every token in the source collection, and the descendants of every token in the source collection.
-
-
-
- Returns a collection of child properties of every object in the source collection.
-
- An of that contains the source collection.
- An of that contains the properties of every object in the source collection.
-
-
-
- Returns a collection of child values of every object in the source collection with the given key.
-
- An of that contains the source collection.
- The token key.
- An of that contains the values of every token in the source collection with the given key.
-
-
-
- Returns a collection of child values of every object in the source collection.
-
- An of that contains the source collection.
- An of that contains the values of every token in the source collection.
-
-
-
- Returns a collection of converted child values of every object in the source collection with the given key.
-
- The type to convert the values to.
- An of that contains the source collection.
- The token key.
- An that contains the converted values of every token in the source collection with the given key.
-
-
-
- Returns a collection of converted child values of every object in the source collection.
-
- The type to convert the values to.
- An of that contains the source collection.
- An that contains the converted values of every token in the source collection.
-
-
-
- Converts the value.
-
- The type to convert the value to.
- A cast as a of .
- A converted value.
-
-
-
- Converts the value.
-
- The source collection type.
- The type to convert the value to.
- A cast as a of .
- A converted value.
-
-
-
- Returns a collection of child tokens of every array in the source collection.
-
- The source collection type.
- An of that contains the source collection.
- An of that contains the values of every token in the source collection.
-
-
-
- Returns a collection of converted child tokens of every array in the source collection.
-
- An of that contains the source collection.
- The type to convert the values to.
- The source collection type.
- An that contains the converted values of every token in the source collection.
-
-
-
- Returns the input typed as .
-
- An of that contains the source collection.
- The input typed as .
-
-
-
- Returns the input typed as .
-
- The source collection type.
- An of that contains the source collection.
- The input typed as .
-
-
-
- Represents a collection of objects.
-
- The type of token.
-
-
-
- Gets the of with the specified key.
-
-
-
-
-
- Represents a JSON array.
-
-
-
-
-
-
-
- Writes this token to a asynchronously.
-
- A into which this method will write.
- The token to monitor for cancellation requests.
- A collection of which will be used when writing the token.
- A that represents the asynchronous write operation.
-
-
-
- Asynchronously loads a from a .
-
- A that will be read for the content of the .
- If this is null, default load settings will be used.
- The token to monitor for cancellation requests. The default value is .
- A representing the asynchronous load. The property contains the JSON that was read from the specified .
-
-
-
- Asynchronously loads a from a .
-
- A that will be read for the content of the .
- The used to load the JSON.
- If this is null, default load settings will be used.
- The token to monitor for cancellation requests. The default value is .
- A representing the asynchronous load. The property contains the JSON that was read from the specified .
-
-
-
- Gets the container's children tokens.
-
- The container's children tokens.
-
-
-
- Gets the node type for this .
-
- The type.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class from another object.
-
- A object to copy from.
-
-
-
- Initializes a new instance of the class with the specified content.
-
- The contents of the array.
-
-
-
- Initializes a new instance of the class with the specified content.
-
- The contents of the array.
-
-
-
- Loads an from a .
-
- A that will be read for the content of the .
- A that contains the JSON that was read from the specified .
-
-
-
- Loads an from a .
-
- A that will be read for the content of the .
- The used to load the JSON.
- If this is null, default load settings will be used.
- A that contains the JSON that was read from the specified .
-
-
-
- Load a from a string that contains JSON.
-
- A that contains JSON.
- A populated from the string that contains JSON.
-
-
-
-
-
-
- Load a from a string that contains JSON.
-
- A that contains JSON.
- The used to load the JSON.
- If this is null, default load settings will be used.
- A populated from the string that contains JSON.
-
-
-
-
-
-
- Creates a from an object.
-
- The object that will be used to create .
- A with the values of the specified object.
-
-
-
- Creates a from an object.
-
- The object that will be used to create .
- The that will be used to read the object.
- A with the values of the specified object.
-
-
-
- Writes this token to a .
-
- A into which this method will write.
- A collection of which will be used when writing the token.
-
-
-
- Gets the with the specified key.
-
- The with the specified key.
-
-
-
- Gets or sets the at the specified index.
-
-
-
-
-
- Determines the index of a specific item in the .
-
- The object to locate in the .
-
- The index of if found in the list; otherwise, -1.
-
-
-
-
- Inserts an item to the at the specified index.
-
- The zero-based index at which should be inserted.
- The object to insert into the .
-
- is not a valid index in the .
-
-
-
-
- Removes the item at the specified index.
-
- The zero-based index of the item to remove.
-
- is not a valid index in the .
-
-
-
-
- Returns an enumerator that iterates through the collection.
-
-
- A of that can be used to iterate through the collection.
-
-
-
-
- Adds an item to the .
-
- The object to add to the .
-
-
-
- Removes all items from the .
-
-
-
-
- Determines whether the contains a specific value.
-
- The object to locate in the .
-
- true if is found in the ; otherwise, false.
-
-
-
-
- Copies the elements of the to an array, starting at a particular array index.
-
- The array.
- Index of the array.
-
-
-
- Gets a value indicating whether the is read-only.
-
- true if the is read-only; otherwise, false.
-
-
-
- Removes the first occurrence of a specific object from the .
-
- The object to remove from the .
-
- true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original .
-
-
-
-
- Represents a JSON constructor.
-
-
-
-
- Writes this token to a asynchronously.
-
- A into which this method will write.
- The token to monitor for cancellation requests.
- A collection of which will be used when writing the token.
- A that represents the asynchronous write operation.
-
-
-
- Asynchronously loads a from a .
-
- A that will be read for the content of the .
- The token to monitor for cancellation requests. The default value is .
-
- A that represents the asynchronous load. The
- property returns a that contains the JSON that was read from the specified .
-
-
-
- Asynchronously loads a from a .
-
- A that will be read for the content of the .
- The used to load the JSON.
- If this is null, default load settings will be used.
- The token to monitor for cancellation requests. The default value is .
-
- A that represents the asynchronous load. The
- property returns a that contains the JSON that was read from the specified .
-
-
-
- Gets the container's children tokens.
-
- The container's children tokens.
-
-
-
- Gets or sets the name of this constructor.
-
- The constructor name.
-
-
-
- Gets the node type for this .
-
- The type.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class from another object.
-
- A object to copy from.
-
-
-
- Initializes a new instance of the class with the specified name and content.
-
- The constructor name.
- The contents of the constructor.
-
-
-
- Initializes a new instance of the class with the specified name and content.
-
- The constructor name.
- The contents of the constructor.
-
-
-
- Initializes a new instance of the class with the specified name.
-
- The constructor name.
-
-
-
- Writes this token to a .
-
- A into which this method will write.
- A collection of which will be used when writing the token.
-
-
-
- Gets the with the specified key.
-
- The with the specified key.
-
-
-
- Loads a from a .
-
- A that will be read for the content of the .
- A that contains the JSON that was read from the specified .
-
-
-
- Loads a from a .
-
- A that will be read for the content of the .
- The used to load the JSON.
- If this is null, default load settings will be used.
- A that contains the JSON that was read from the specified .
-
-
-
- Represents a token that can contain other tokens.
-
-
-
-
- Occurs when the list changes or an item in the list changes.
-
-
-
-
- Occurs before an item is added to the collection.
-
-
-
-
- Occurs when the items list of the collection has changed, or the collection is reset.
-
-
-
-
- Gets the container's children tokens.
-
- The container's children tokens.
-
-
-
- Raises the event.
-
- The instance containing the event data.
-
-
-
- Raises the event.
-
- The instance containing the event data.
-
-
-
- Raises the event.
-
- The instance containing the event data.
-
-
-
- Gets a value indicating whether this token has child tokens.
-
-
- true if this token has child values; otherwise, false.
-
-
-
-
- Get the first child token of this token.
-
-
- A containing the first child token of the .
-
-
-
-
- Get the last child token of this token.
-
-
- A containing the last child token of the .
-
-
-
-
- Returns a collection of the child tokens of this token, in document order.
-
-
- An of containing the child tokens of this , in document order.
-
-
-
-
- Returns a collection of the child values of this token, in document order.
-
- The type to convert the values to.
-
- A containing the child values of this , in document order.
-
-
-
-
- Returns a collection of the descendant tokens for this token in document order.
-
- An of containing the descendant tokens of the .
-
-
-
- Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order.
-
- An of containing this token, and all the descendant tokens of the .
-
-
-
- Adds the specified content as children of this .
-
- The content to be added.
-
-
-
- Adds the specified content as the first children of this .
-
- The content to be added.
-
-
-
- Creates a that can be used to add tokens to the .
-
- A that is ready to have content written to it.
-
-
-
- Replaces the child nodes of this token with the specified content.
-
- The content.
-
-
-
- Removes the child nodes from this token.
-
-
-
-
- Merge the specified content into this .
-
- The content to be merged.
-
-
-
- Merge the specified content into this using .
-
- The content to be merged.
- The used to merge the content.
-
-
-
- Gets the count of child JSON tokens.
-
- The count of child JSON tokens.
-
-
-
- Represents a collection of objects.
-
- The type of token.
-
-
-
- An empty collection of objects.
-
-
-
-
- Initializes a new instance of the struct.
-
- The enumerable.
-
-
-
- Returns an enumerator that can be used to iterate through the collection.
-
-
- A that can be used to iterate through the collection.
-
-
-
-
- Gets the of with the specified key.
-
-
-
-
-
- Determines whether the specified is equal to this instance.
-
- The to compare with this instance.
-
- true if the specified is equal to this instance; otherwise, false.
-
-
-
-
- Determines whether the specified is equal to this instance.
-
- The to compare with this instance.
-
- true if the specified is equal to this instance; otherwise, false.
-
-
-
-
- Returns a hash code for this instance.
-
-
- A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
-
-
-
-
- Represents a JSON object.
-
-
-
-
-
-
-
- Writes this token to a asynchronously.
-
- A into which this method will write.
- The token to monitor for cancellation requests.
- A collection of which will be used when writing the token.
- A that represents the asynchronous write operation.
-
-
-
- Asynchronously loads a from a .
-
- A that will be read for the content of the .
- The token to monitor for cancellation requests. The default value is .
-
- A that represents the asynchronous load. The
- property returns a that contains the JSON that was read from the specified .
-
-
-
- Asynchronously loads a from a .
-
- A that will be read for the content of the .
- The used to load the JSON.
- If this is null, default load settings will be used.
- The token to monitor for cancellation requests. The default value is .
-
- A that represents the asynchronous load. The
- property returns a that contains the JSON that was read from the specified .
-
-
-
- Gets the container's children tokens.
-
- The container's children tokens.
-
-
-
- Occurs when a property value changes.
-
-
-
-
- Occurs when a property value is changing.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class from another object.
-
- A object to copy from.
-
-
-
- Initializes a new instance of the class with the specified content.
-
- The contents of the object.
-
-
-
- Initializes a new instance of the class with the specified content.
-
- The contents of the object.
-
-
-
- Gets the node type for this .
-
- The type.
-
-
-
- Gets an of of this object's properties.
-
- An of of this object's properties.
-
-
-
- Gets a with the specified name.
-
- The property name.
- A with the specified name or null.
-
-
-
- Gets the with the specified name.
- The exact name will be searched for first and if no matching property is found then
- the will be used to match a property.
-
- The property name.
- One of the enumeration values that specifies how the strings will be compared.
- A matched with the specified name or null.
-
-
-
- Gets a of of this object's property values.
-
- A of of this object's property values.
-
-
-
- Gets the with the specified key.
-
- The with the specified key.
-
-
-
- Gets or sets the with the specified property name.
-
-
-
-
-
- Loads a from a .
-
- A that will be read for the content of the .
- A that contains the JSON that was read from the specified .
-
- is not valid JSON.
-
-
-
-
- Loads a from a .
-
- A that will be read for the content of the .
- The used to load the JSON.
- If this is null, default load settings will be used.
- A that contains the JSON that was read from the specified .
-
- is not valid JSON.
-
-
-
-
- Load a from a string that contains JSON.
-
- A that contains JSON.
- A populated from the string that contains JSON.
-
- is not valid JSON.
-
-
-
-
-
-
-
- Load a from a string that contains JSON.
-
- A that contains JSON.
- The used to load the JSON.
- If this is null, default load settings will be used.
- A populated from the string that contains JSON.
-
- is not valid JSON.
-
-
-
-
-
-
-
- Creates a from an object.
-
- The object that will be used to create .
- A with the values of the specified object.
-
-
-
- Creates a from an object.
-
- The object that will be used to create .
- The that will be used to read the object.
- A with the values of the specified object.
-
-
-
- Writes this token to a .
-
- A into which this method will write.
- A collection of which will be used when writing the token.
-
-
-
- Gets the with the specified property name.
-
- Name of the property.
- The with the specified property name.
-
-
-
- Gets the with the specified property name.
- The exact property name will be searched for first and if no matching property is found then
- the will be used to match a property.
-
- Name of the property.
- One of the enumeration values that specifies how the strings will be compared.
- The with the specified property name.
-
-
-
- Tries to get the with the specified property name.
- The exact property name will be searched for first and if no matching property is found then
- the will be used to match a property.
-
- Name of the property.
- The value.
- One of the enumeration values that specifies how the strings will be compared.
- true if a value was successfully retrieved; otherwise, false.
-
-
-
- Adds the specified property name.
-
- Name of the property.
- The value.
-
-
-
- Determines whether the JSON object has the specified property name.
-
- Name of the property.
- true if the JSON object has the specified property name; otherwise, false.
-
-
-
- Removes the property with the specified name.
-
- Name of the property.
- true if item was successfully removed; otherwise, false.
-
-
-
- Tries to get the with the specified property name.
-
- Name of the property.
- The value.
- true if a value was successfully retrieved; otherwise, false.
-
-
-
- Returns an enumerator that can be used to iterate through the collection.
-
-
- A that can be used to iterate through the collection.
-
-
-
-
- Raises the event with the provided arguments.
-
- Name of the property.
-
-
-
- Raises the event with the provided arguments.
-
- Name of the property.
-
-
-
- Returns the responsible for binding operations performed on this object.
-
- The expression tree representation of the runtime value.
-
- The to bind this object.
-
-
-
-
- Represents a JSON property.
-
-
-
-
- Writes this token to a asynchronously.
-
- A into which this method will write.
- The token to monitor for cancellation requests.
- A collection of which will be used when writing the token.
- A that represents the asynchronous write operation.
-
-
-
- Asynchronously loads a from a .
-
- A that will be read for the content of the .
- The token to monitor for cancellation requests. The default value is .
- A representing the asynchronous creation. The
- property returns a that contains the JSON that was read from the specified .
-
-
-
- Asynchronously loads a from a .
-
- A that will be read for the content of the .
- The used to load the JSON.
- If this is null, default load settings will be used.
- The token to monitor for cancellation requests. The default value is .
- A representing the asynchronous creation. The
- property returns a that contains the JSON that was read from the specified .
-
-
-
- Gets the container's children tokens.
-
- The container's children tokens.
-
-
-
- Gets the property name.
-
- The property name.
-
-
-
- Gets or sets the property value.
-
- The property value.
-
-
-
- Initializes a new instance of the class from another object.
-
- A object to copy from.
-
-
-
- Gets the node type for this .
-
- The type.
-
-
-
- Initializes a new instance of the class.
-
- The property name.
- The property content.
-
-
-
- Initializes a new instance of the class.
-
- The property name.
- The property content.
-
-
-
- Writes this token to a .
-
- A into which this method will write.
- A collection of which will be used when writing the token.
-
-
-
- Loads a from a .
-
- A that will be read for the content of the .
- A that contains the JSON that was read from the specified .
-
-
-
- Loads a from a .
-
- A that will be read for the content of the .
- The used to load the JSON.
- If this is null, default load settings will be used.
- A that contains the JSON that was read from the specified .
-
-
-
- Represents a view of a .
-
-
-
-
- Initializes a new instance of the class.
-
- The name.
-
-
-
- When overridden in a derived class, returns whether resetting an object changes its value.
-
-
- true if resetting the component changes its value; otherwise, false.
-
- The component to test for reset capability.
-
-
-
- When overridden in a derived class, gets the current value of the property on a component.
-
-
- The value of a property for a given component.
-
- The component with the property for which to retrieve the value.
-
-
-
- When overridden in a derived class, resets the value for this property of the component to the default value.
-
- The component with the property value that is to be reset to the default value.
-
-
-
- When overridden in a derived class, sets the value of the component to a different value.
-
- The component with the property value that is to be set.
- The new value.
-
-
-
- When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted.
-
-
- true if the property should be persisted; otherwise, false.
-
- The component with the property to be examined for persistence.
-
-
-
- When overridden in a derived class, gets the type of the component this property is bound to.
-
-
- A that represents the type of component this property is bound to.
- When the or
-
- methods are invoked, the object specified might be an instance of this type.
-
-
-
-
- When overridden in a derived class, gets a value indicating whether this property is read-only.
-
-
- true if the property is read-only; otherwise, false.
-
-
-
-
- When overridden in a derived class, gets the type of the property.
-
-
- A that represents the type of the property.
-
-
-
-
- Gets the hash code for the name of the member.
-
-
-
- The hash code for the name of the member.
-
-
-
-
- Represents a raw JSON string.
-
-
-
-
- Asynchronously creates an instance of with the content of the reader's current token.
-
- The reader.
- The token to monitor for cancellation requests. The default value is .
- A representing the asynchronous creation. The
- property returns an instance of with the content of the reader's current token.
-
-
-
- Initializes a new instance of the class from another object.
-
- A object to copy from.
-
-
-
- Initializes a new instance of the class.
-
- The raw json.
-
-
-
- Creates an instance of with the content of the reader's current token.
-
- The reader.
- An instance of with the content of the reader's current token.
-
-
-
- Specifies the settings used when cloning JSON.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets a flag that indicates whether to copy annotations when cloning a .
- The default value is true.
-
-
- A flag that indicates whether to copy annotations when cloning a .
-
-
-
-
- Specifies the settings used when loading JSON.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets how JSON comments are handled when loading JSON.
- The default value is .
-
- The JSON comment handling.
-
-
-
- Gets or sets how JSON line info is handled when loading JSON.
- The default value is .
-
- The JSON line info handling.
-
-
-
- Gets or sets how duplicate property names in JSON objects are handled when loading JSON.
- The default value is .
-
- The JSON duplicate property name handling.
-
-
-
- Specifies the settings used when merging JSON.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets the method used when merging JSON arrays.
-
- The method used when merging JSON arrays.
-
-
-
- Gets or sets how null value properties are merged.
-
- How null value properties are merged.
-
-
-
- Gets or sets the comparison used to match property names while merging.
- The exact property name will be searched for first and if no matching property is found then
- the will be used to match a property.
-
- The comparison used to match property names while merging.
-
-
-
- Specifies the settings used when selecting JSON.
-
-
-
-
- Gets or sets a timeout that will be used when executing regular expressions.
-
- The timeout that will be used when executing regular expressions.
-
-
-
- Gets or sets a flag that indicates whether an error should be thrown if
- no tokens are found when evaluating part of the expression.
-
-
- A flag that indicates whether an error should be thrown if
- no tokens are found when evaluating part of the expression.
-
-
-
-
- Represents an abstract JSON token.
-
-
-
-
- Writes this token to a asynchronously.
-
- A into which this method will write.
- The token to monitor for cancellation requests.
- A collection of which will be used when writing the token.
- A that represents the asynchronous write operation.
-
-
-
- Writes this token to a asynchronously.
-
- A into which this method will write.
- A collection of which will be used when writing the token.
- A that represents the asynchronous write operation.
-
-
-
- Asynchronously creates a from a .
-
- An positioned at the token to read into this .
- The token to monitor for cancellation requests. The default value is .
-
- A that represents the asynchronous creation. The
- property returns a that contains
- the token and its descendant tokens
- that were read from the reader. The runtime type of the token is determined
- by the token type of the first token encountered in the reader.
-
-
-
-
- Asynchronously creates a from a .
-
- An positioned at the token to read into this .
- The used to load the JSON.
- If this is null, default load settings will be used.
- The token to monitor for cancellation requests. The default value is .
-
- A that represents the asynchronous creation. The
- property returns a that contains
- the token and its descendant tokens
- that were read from the reader. The runtime type of the token is determined
- by the token type of the first token encountered in the reader.
-
-
-
-
- Asynchronously creates a from a .
-
- A positioned at the token to read into this .
- The token to monitor for cancellation requests. The default value is .
-
- A that represents the asynchronous creation. The
- property returns a that contains the token and its descendant tokens
- that were read from the reader. The runtime type of the token is determined
- by the token type of the first token encountered in the reader.
-
-
-
-
- Asynchronously creates a from a .
-
- A positioned at the token to read into this .
- The used to load the JSON.
- If this is null, default load settings will be used.
- The token to monitor for cancellation requests. The default value is .
-
- A that represents the asynchronous creation. The
- property returns a that contains the token and its descendant tokens
- that were read from the reader. The runtime type of the token is determined
- by the token type of the first token encountered in the reader.
-
-
-
-
- Gets a comparer that can compare two tokens for value equality.
-
- A that can compare two nodes for value equality.
-
-
-
- Gets or sets the parent.
-
- The parent.
-
-
-
- Gets the root of this .
-
- The root of this .
-
-
-
- Gets the node type for this .
-
- The type.
-
-
-
- Gets a value indicating whether this token has child tokens.
-
-
- true if this token has child values; otherwise, false.
-
-
-
-
- Compares the values of two tokens, including the values of all descendant tokens.
-
- The first to compare.
- The second to compare.
- true if the tokens are equal; otherwise false.
-
-
-
- Gets the next sibling token of this node.
-
- The that contains the next sibling token.
-
-
-
- Gets the previous sibling token of this node.
-
- The that contains the previous sibling token.
-
-
-
- Gets the path of the JSON token.
-
-
-
-
- Adds the specified content immediately after this token.
-
- A content object that contains simple content or a collection of content objects to be added after this token.
-
-
-
- Adds the specified content immediately before this token.
-
- A content object that contains simple content or a collection of content objects to be added before this token.
-
-
-
- Returns a collection of the ancestor tokens of this token.
-
- A collection of the ancestor tokens of this token.
-
-
-
- Returns a collection of tokens that contain this token, and the ancestors of this token.
-
- A collection of tokens that contain this token, and the ancestors of this token.
-
-
-
- Returns a collection of the sibling tokens after this token, in document order.
-
- A collection of the sibling tokens after this tokens, in document order.
-
-
-
- Returns a collection of the sibling tokens before this token, in document order.
-
- A collection of the sibling tokens before this token, in document order.
-
-
-
- Gets the with the specified key.
-
- The with the specified key.
-
-
-
- Gets the with the specified key converted to the specified type.
-
- The type to convert the token to.
- The token key.
- The converted token value.
-
-
-
- Get the first child token of this token.
-
- A containing the first child token of the .
-
-
-
- Get the last child token of this token.
-
- A containing the last child token of the .
-
-
-
- Returns a collection of the child tokens of this token, in document order.
-
- An of containing the child tokens of this , in document order.
-
-
-
- Returns a collection of the child tokens of this token, in document order, filtered by the specified type.
-
- The type to filter the child tokens on.
- A containing the child tokens of this , in document order.
-
-
-
- Returns a collection of the child values of this token, in document order.
-
- The type to convert the values to.
- A containing the child values of this , in document order.
-
-
-
- Removes this token from its parent.
-
-
-
-
- Replaces this token with the specified token.
-
- The value.
-
-
-
- Writes this token to a .
-
- A into which this method will write.
- A collection of which will be used when writing the token.
-
-
-
- Returns the indented JSON for this token.
-
-
- ToString() returns a non-JSON string value for tokens with a type of .
- If you want the JSON for all token types then you should use .
-
-
- The indented JSON for this token.
-
-
-
-
- Returns the JSON for this token using the given formatting and converters.
-
- Indicates how the output should be formatted.
- A collection of s which will be used when writing the token.
- The JSON for this token using the given formatting and converters.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to [].
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from [] to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Creates a for this token.
-
- A that can be used to read this token and its descendants.
-
-
-
- Creates a from an object.
-
- The object that will be used to create .
- A with the value of the specified object.
-
-
-
- Creates a from an object using the specified .
-
- The object that will be used to create .
- The that will be used when reading the object.
- A with the value of the specified object.
-
-
-
- Creates an instance of the specified .NET type from the .
-
- The object type that the token will be deserialized to.
- The new object created from the JSON value.
-
-
-
- Creates an instance of the specified .NET type from the .
-
- The object type that the token will be deserialized to.
- The new object created from the JSON value.
-
-
-
- Creates an instance of the specified .NET type from the using the specified .
-
- The object type that the token will be deserialized to.
- The that will be used when creating the object.
- The new object created from the JSON value.
-
-
-
- Creates an instance of the specified .NET type from the using the specified .
-
- The object type that the token will be deserialized to.
- The that will be used when creating the object.
- The new object created from the JSON value.
-
-
-
- Creates a from a .
-
- A positioned at the token to read into this .
-
- A that contains the token and its descendant tokens
- that were read from the reader. The runtime type of the token is determined
- by the token type of the first token encountered in the reader.
-
-
-
-
- Creates a from a .
-
- An positioned at the token to read into this .
- The used to load the JSON.
- If this is null, default load settings will be used.
-
- A that contains the token and its descendant tokens
- that were read from the reader. The runtime type of the token is determined
- by the token type of the first token encountered in the reader.
-
-
-
-
- Load a from a string that contains JSON.
-
- A that contains JSON.
- A populated from the string that contains JSON.
-
-
-
- Load a from a string that contains JSON.
-
- A that contains JSON.
- The used to load the JSON.
- If this is null, default load settings will be used.
- A populated from the string that contains JSON.
-
-
-
- Creates a from a .
-
- A positioned at the token to read into this .
- The used to load the JSON.
- If this is null, default load settings will be used.
-
- A that contains the token and its descendant tokens
- that were read from the reader. The runtime type of the token is determined
- by the token type of the first token encountered in the reader.
-
-
-
-
- Creates a from a .
-
- A positioned at the token to read into this .
-
- A that contains the token and its descendant tokens
- that were read from the reader. The runtime type of the token is determined
- by the token type of the first token encountered in the reader.
-
-
-
-
- Selects a using a JSONPath expression. Selects the token that matches the object path.
-
-
- A that contains a JSONPath expression.
-
- A , or null.
-
-
-
- Selects a using a JSONPath expression. Selects the token that matches the object path.
-
-
- A that contains a JSONPath expression.
-
- A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression.
- A .
-
-
-
- Selects a using a JSONPath expression. Selects the token that matches the object path.
-
-
- A that contains a JSONPath expression.
-
- The used to select tokens.
- A .
-
-
-
- Selects a collection of elements using a JSONPath expression.
-
-
- A that contains a JSONPath expression.
-
- An of that contains the selected elements.
-
-
-
- Selects a collection of elements using a JSONPath expression.
-
-
- A that contains a JSONPath expression.
-
- A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression.
- An of that contains the selected elements.
-
-
-
- Selects a collection of elements using a JSONPath expression.
-
-
- A that contains a JSONPath expression.
-
- The used to select tokens.
- An of that contains the selected elements.
-
-
-
- Returns the responsible for binding operations performed on this object.
-
- The expression tree representation of the runtime value.
-
- The to bind this object.
-
-
-
-
- Returns the responsible for binding operations performed on this object.
-
- The expression tree representation of the runtime value.
-
- The to bind this object.
-
-
-
-
- Creates a new instance of the . All child tokens are recursively cloned.
-
- A new instance of the .
-
-
-
- Creates a new instance of the . All child tokens are recursively cloned.
-
- A object to configure cloning settings.
- A new instance of the .
-
-
-
- Adds an object to the annotation list of this .
-
- The annotation to add.
-
-
-
- Get the first annotation object of the specified type from this .
-
- The type of the annotation to retrieve.
- The first annotation object that matches the specified type, or null if no annotation is of the specified type.
-
-
-
- Gets the first annotation object of the specified type from this .
-
- The of the annotation to retrieve.
- The first annotation object that matches the specified type, or null if no annotation is of the specified type.
-
-
-
- Gets a collection of annotations of the specified type for this .
-
- The type of the annotations to retrieve.
- An that contains the annotations for this .
-
-
-
- Gets a collection of annotations of the specified type for this .
-
- The of the annotations to retrieve.
- An of that contains the annotations that match the specified type for this .
-
-
-
- Removes the annotations of the specified type from this .
-
- The type of annotations to remove.
-
-
-
- Removes the annotations of the specified type from this .
-
- The of annotations to remove.
-
-
-
- Compares tokens to determine whether they are equal.
-
-
-
-
- Determines whether the specified objects are equal.
-
- The first object of type to compare.
- The second object of type to compare.
-
- true if the specified objects are equal; otherwise, false.
-
-
-
-
- Returns a hash code for the specified object.
-
- The for which a hash code is to be returned.
- A hash code for the specified object.
- The type of is a reference type and is null.
-
-
-
- Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data.
-
-
-
-
- Gets the at the reader's current position.
-
-
-
-
- Initializes a new instance of the class.
-
- The token to read from.
-
-
-
- Initializes a new instance of the class.
-
- The token to read from.
- The initial path of the token. It is prepended to the returned .
-
-
-
- Reads the next JSON token from the underlying .
-
-
- true if the next token was read successfully; false if there are no more tokens to read.
-
-
-
-
- Gets the path of the current JSON token.
-
-
-
-
- Specifies the type of token.
-
-
-
-
- No token type has been set.
-
-
-
-
- A JSON object.
-
-
-
-
- A JSON array.
-
-
-
-
- A JSON constructor.
-
-
-
-
- A JSON object property.
-
-
-
-
- A comment.
-
-
-
-
- An integer value.
-
-
-
-
- A float value.
-
-
-
-
- A string value.
-
-
-
-
- A boolean value.
-
-
-
-
- A null value.
-
-
-
-
- An undefined value.
-
-
-
-
- A date value.
-
-
-
-
- A raw JSON value.
-
-
-
-
- A collection of bytes value.
-
-
-
-
- A Guid value.
-
-
-
-
- A Uri value.
-
-
-
-
- A TimeSpan value.
-
-
-
-
- Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
-
-
-
-
- Gets the at the writer's current position.
-
-
-
-
- Gets the token being written.
-
- The token being written.
-
-
-
- Initializes a new instance of the class writing to the given .
-
- The container being written to.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Flushes whatever is in the buffer to the underlying .
-
-
-
-
- Closes this writer.
- If is set to true, the JSON is auto-completed.
-
-
- Setting to true has no additional effect, since the underlying is a type that cannot be closed.
-
-
-
-
- Writes the beginning of a JSON object.
-
-
-
-
- Writes the beginning of a JSON array.
-
-
-
-
- Writes the start of a constructor with the given name.
-
- The name of the constructor.
-
-
-
- Writes the end.
-
- The token.
-
-
-
- Writes the property name of a name/value pair on a JSON object.
-
- The name of the property.
-
-
-
- Writes a value.
- An error will be raised if the value cannot be written as a single JSON token.
-
- The value to write.
-
-
-
- Writes a null value.
-
-
-
-
- Writes an undefined value.
-
-
-
-
- Writes raw JSON.
-
- The raw JSON to write.
-
-
-
- Writes a comment /*...*/ containing the specified text.
-
- Text to place inside the comment.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a [] value.
-
- The [] value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Represents a value in JSON (string, integer, date, etc).
-
-
-
-
- Writes this token to a asynchronously.
-
- A into which this method will write.
- The token to monitor for cancellation requests.
- A collection of which will be used when writing the token.
- A that represents the asynchronous write operation.
-
-
-
- Initializes a new instance of the class from another object.
-
- A object to copy from.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Gets a value indicating whether this token has child tokens.
-
-
- true if this token has child values; otherwise, false.
-
-
-
-
- Creates a comment with the given value.
-
- The value.
- A comment with the given value.
-
-
-
- Creates a string with the given value.
-
- The value.
- A string with the given value.
-
-
-
- Creates a null value.
-
- A null value.
-
-
-
- Creates a undefined value.
-
- A undefined value.
-
-
-
- Gets the node type for this .
-
- The type.
-
-
-
- Gets or sets the underlying token value.
-
- The underlying token value.
-
-
-
- Writes this token to a .
-
- A into which this method will write.
- A collection of s which will be used when writing the token.
-
-
-
- Indicates whether the current object is equal to another object of the same type.
-
-
- true if the current object is equal to the parameter; otherwise, false.
-
- An object to compare with this object.
-
-
-
- Determines whether the specified is equal to the current .
-
- The to compare with the current .
-
- true if the specified is equal to the current ; otherwise, false.
-
-
-
-
- Serves as a hash function for a particular type.
-
-
- A hash code for the current .
-
-
-
-
- Returns a that represents this instance.
-
-
- ToString() returns a non-JSON string value for tokens with a type of .
- If you want the JSON for all token types then you should use .
-
-
- A that represents this instance.
-
-
-
-
- Returns a that represents this instance.
-
- The format.
-
- A that represents this instance.
-
-
-
-
- Returns a that represents this instance.
-
- The format provider.
-
- A that represents this instance.
-
-
-
-
- Returns a that represents this instance.
-
- The format.
- The format provider.
-
- A that represents this instance.
-
-
-
-
- Returns the responsible for binding operations performed on this object.
-
- The expression tree representation of the runtime value.
-
- The to bind this object.
-
-
-
-
- Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
-
- An object to compare with this instance.
-
- A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings:
- Value
- Meaning
- Less than zero
- This instance is less than .
- Zero
- This instance is equal to .
- Greater than zero
- This instance is greater than .
-
-
- is not of the same type as this instance.
-
-
-
-
- Specifies how line information is handled when loading JSON.
-
-
-
-
- Ignore line information.
-
-
-
-
- Load line information.
-
-
-
-
- Specifies how JSON arrays are merged together.
-
-
-
- Concatenate arrays.
-
-
- Union arrays, skipping items that already exist.
-
-
- Replace all array items.
-
-
- Merge array items together, matched by index.
-
-
-
- Specifies how null value properties are merged.
-
-
-
-
- The content's null value properties will be ignored during merging.
-
-
-
-
- The content's null value properties will be merged.
-
-
-
-
- Specifies the member serialization options for the .
-
-
-
-
- All public members are serialized by default. Members can be excluded using or .
- This is the default member serialization mode.
-
-
-
-
- Only members marked with or are serialized.
- This member serialization mode can also be set by marking the class with .
-
-
-
-
- All public and private fields are serialized. Members can be excluded using or .
- This member serialization mode can also be set by marking the class with
- and setting IgnoreSerializableAttribute on to false.
-
-
-
-
- Specifies metadata property handling options for the .
-
-
-
-
- Read metadata properties located at the start of a JSON object.
-
-
-
-
- Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance.
-
-
-
-
- Do not try to read metadata properties.
-
-
-
-
- Specifies missing member handling options for the .
-
-
-
-
- Ignore a missing member and do not attempt to deserialize it.
-
-
-
-
- Throw a when a missing member is encountered during deserialization.
-
-
-
-
- Specifies null value handling options for the .
-
-
-
-
-
-
-
-
- Include null values when serializing and deserializing objects.
-
-
-
-
- Ignore null values when serializing and deserializing objects.
-
-
-
-
- Specifies how object creation is handled by the .
-
-
-
-
- Reuse existing objects, create new objects when needed.
-
-
-
-
- Only reuse existing objects.
-
-
-
-
- Always create new objects.
-
-
-
-
- Specifies reference handling options for the .
- Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement .
-
-
-
-
-
-
-
- Do not preserve references when serializing types.
-
-
-
-
- Preserve references when serializing into a JSON object structure.
-
-
-
-
- Preserve references when serializing into a JSON array structure.
-
-
-
-
- Preserve references when serializing.
-
-
-
-
- Specifies reference loop handling options for the .
-
-
-
-
- Throw a when a loop is encountered.
-
-
-
-
- Ignore loop references and do not serialize.
-
-
-
-
- Serialize loop references.
-
-
-
-
- Indicating whether a property is required.
-
-
-
-
- The property is not required. The default state.
-
-
-
-
- The property must be defined in JSON but can be a null value.
-
-
-
-
- The property must be defined in JSON and cannot be a null value.
-
-
-
-
- The property is not required but it cannot be a null value.
-
-
-
-
-
- Contains the JSON schema extension methods.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
-
- Determines whether the is valid.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
- The source to test.
- The schema to test with.
-
- true if the specified is valid; otherwise, false.
-
-
-
-
-
- Determines whether the is valid.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
- The source to test.
- The schema to test with.
- When this method returns, contains any error messages generated while validating.
-
- true if the specified is valid; otherwise, false.
-
-
-
-
-
- Validates the specified .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
- The source to test.
- The schema to test with.
-
-
-
-
- Validates the specified .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
- The source to test.
- The schema to test with.
- The validation event handler.
-
-
-
-
- An in-memory representation of a JSON Schema.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Gets or sets the id.
-
-
-
-
- Gets or sets the title.
-
-
-
-
- Gets or sets whether the object is required.
-
-
-
-
- Gets or sets whether the object is read-only.
-
-
-
-
- Gets or sets whether the object is visible to users.
-
-
-
-
- Gets or sets whether the object is transient.
-
-
-
-
- Gets or sets the description of the object.
-
-
-
-
- Gets or sets the types of values allowed by the object.
-
- The type.
-
-
-
- Gets or sets the pattern.
-
- The pattern.
-
-
-
- Gets or sets the minimum length.
-
- The minimum length.
-
-
-
- Gets or sets the maximum length.
-
- The maximum length.
-
-
-
- Gets or sets a number that the value should be divisible by.
-
- A number that the value should be divisible by.
-
-
-
- Gets or sets the minimum.
-
- The minimum.
-
-
-
- Gets or sets the maximum.
-
- The maximum.
-
-
-
- Gets or sets a flag indicating whether the value can not equal the number defined by the minimum attribute ().
-
- A flag indicating whether the value can not equal the number defined by the minimum attribute ().
-
-
-
- Gets or sets a flag indicating whether the value can not equal the number defined by the maximum attribute ().
-
- A flag indicating whether the value can not equal the number defined by the maximum attribute ().
-
-
-
- Gets or sets the minimum number of items.
-
- The minimum number of items.
-
-
-
- Gets or sets the maximum number of items.
-
- The maximum number of items.
-
-
-
- Gets or sets the of items.
-
- The of items.
-
-
-
- Gets or sets a value indicating whether items in an array are validated using the instance at their array position from .
-
-
- true if items are validated using their array position; otherwise, false.
-
-
-
-
- Gets or sets the of additional items.
-
- The of additional items.
-
-
-
- Gets or sets a value indicating whether additional items are allowed.
-
-
- true if additional items are allowed; otherwise, false.
-
-
-
-
- Gets or sets whether the array items must be unique.
-
-
-
-
- Gets or sets the of properties.
-
- The of properties.
-
-
-
- Gets or sets the of additional properties.
-
- The of additional properties.
-
-
-
- Gets or sets the pattern properties.
-
- The pattern properties.
-
-
-
- Gets or sets a value indicating whether additional properties are allowed.
-
-
- true if additional properties are allowed; otherwise, false.
-
-
-
-
- Gets or sets the required property if this property is present.
-
- The required property if this property is present.
-
-
-
- Gets or sets the a collection of valid enum values allowed.
-
- A collection of valid enum values allowed.
-
-
-
- Gets or sets disallowed types.
-
- The disallowed types.
-
-
-
- Gets or sets the default value.
-
- The default value.
-
-
-
- Gets or sets the collection of that this schema extends.
-
- The collection of that this schema extends.
-
-
-
- Gets or sets the format.
-
- The format.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Reads a from the specified .
-
- The containing the JSON Schema to read.
- The object representing the JSON Schema.
-
-
-
- Reads a from the specified .
-
- The containing the JSON Schema to read.
- The to use when resolving schema references.
- The object representing the JSON Schema.
-
-
-
- Load a from a string that contains JSON Schema.
-
- A that contains JSON Schema.
- A populated from the string that contains JSON Schema.
-
-
-
- Load a from a string that contains JSON Schema using the specified .
-
- A that contains JSON Schema.
- The resolver.
- A populated from the string that contains JSON Schema.
-
-
-
- Writes this schema to a .
-
- A into which this method will write.
-
-
-
- Writes this schema to a using the specified .
-
- A into which this method will write.
- The resolver used.
-
-
-
- Returns a that represents the current .
-
-
- A that represents the current .
-
-
-
-
-
- Returns detailed information about the schema exception.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Gets the line number indicating where the error occurred.
-
- The line number indicating where the error occurred.
-
-
-
- Gets the line position indicating where the error occurred.
-
- The line position indicating where the error occurred.
-
-
-
- Gets the path to the JSON where the error occurred.
-
- The path to the JSON where the error occurred.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- with a specified error message.
-
- The error message that explains the reason for the exception.
-
-
-
- Initializes a new instance of the class
- with a specified error message and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Initializes a new instance of the class.
-
- The that holds the serialized object data about the exception being thrown.
- The that contains contextual information about the source or destination.
- The parameter is null.
- The class name is null or is zero (0).
-
-
-
-
- Generates a from a specified .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Gets or sets how undefined schemas are handled by the serializer.
-
-
-
-
- Gets or sets the contract resolver.
-
- The contract resolver.
-
-
-
- Generate a from the specified type.
-
- The type to generate a from.
- A generated from the specified type.
-
-
-
- Generate a from the specified type.
-
- The type to generate a from.
- The used to resolve schema references.
- A generated from the specified type.
-
-
-
- Generate a from the specified type.
-
- The type to generate a from.
- Specify whether the generated root will be nullable.
- A generated from the specified type.
-
-
-
- Generate a from the specified type.
-
- The type to generate a from.
- The used to resolve schema references.
- Specify whether the generated root will be nullable.
- A generated from the specified type.
-
-
-
-
- Resolves from an id.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Gets or sets the loaded schemas.
-
- The loaded schemas.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets a for the specified reference.
-
- The id.
- A for the specified reference.
-
-
-
-
- The value types allowed by the .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- No type specified.
-
-
-
-
- String type.
-
-
-
-
- Float type.
-
-
-
-
- Integer type.
-
-
-
-
- Boolean type.
-
-
-
-
- Object type.
-
-
-
-
- Array type.
-
-
-
-
- Null type.
-
-
-
-
- Any type.
-
-
-
-
-
- Specifies undefined schema Id handling options for the .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Do not infer a schema Id.
-
-
-
-
- Use the .NET type name as the schema Id.
-
-
-
-
- Use the assembly qualified .NET type name as the schema Id.
-
-
-
-
-
- Returns detailed information related to the .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Gets the associated with the validation error.
-
- The JsonSchemaException associated with the validation error.
-
-
-
- Gets the path of the JSON location where the validation error occurred.
-
- The path of the JSON location where the validation error occurred.
-
-
-
- Gets the text description corresponding to the validation error.
-
- The text description.
-
-
-
-
- Represents the callback method that will handle JSON schema validation events and the .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- A camel case naming strategy.
-
-
-
-
- Initializes a new instance of the class.
-
-
- A flag indicating whether dictionary keys should be processed.
-
-
- A flag indicating whether explicitly specified property names should be processed,
- e.g. a property name customized with a .
-
-
-
-
- Initializes a new instance of the class.
-
-
- A flag indicating whether dictionary keys should be processed.
-
-
- A flag indicating whether explicitly specified property names should be processed,
- e.g. a property name customized with a .
-
-
- A flag indicating whether extension data names should be processed.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Resolves the specified property name.
-
- The property name to resolve.
- The resolved property name.
-
-
-
- Resolves member mappings for a type, camel casing property names.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Resolves the contract for a given type.
-
- The type to resolve a contract for.
- The contract for a given type.
-
-
-
- Used by to resolve a for a given .
-
-
-
-
- Gets a value indicating whether members are being get and set using dynamic code generation.
- This value is determined by the runtime permissions available.
-
-
- true if using dynamic code generation; otherwise, false.
-
-
-
-
- Gets or sets the default members search flags.
-
- The default members search flags.
-
-
-
- Gets or sets a value indicating whether compiler generated members should be serialized.
-
-
- true if serialized compiler generated members; otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether to ignore the interface when serializing and deserializing types.
-
-
- true if the interface will be ignored when serializing and deserializing types; otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether to ignore the attribute when serializing and deserializing types.
-
-
- true if the attribute will be ignored when serializing and deserializing types; otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether to ignore IsSpecified members when serializing and deserializing types.
-
-
- true if the IsSpecified members will be ignored when serializing and deserializing types; otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether to ignore ShouldSerialize members when serializing and deserializing types.
-
-
- true if the ShouldSerialize members will be ignored when serializing and deserializing types; otherwise, false.
-
-
-
-
- Gets or sets the naming strategy used to resolve how property names and dictionary keys are serialized.
-
- The naming strategy used to resolve how property names and dictionary keys are serialized.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Resolves the contract for a given type.
-
- The type to resolve a contract for.
- The contract for a given type.
-
-
-
- Gets the serializable members for the type.
-
- The type to get serializable members for.
- The serializable members for the type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates the constructor parameters.
-
- The constructor to create properties for.
- The type's member properties.
- Properties for the given .
-
-
-
- Creates a for the given .
-
- The matching member property.
- The constructor parameter.
- A created for the given .
-
-
-
- Resolves the default for the contract.
-
- Type of the object.
- The contract's default .
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Determines which contract type is created for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates properties for the given .
-
- The type to create properties for.
- /// The member serialization mode for the type.
- Properties for the given .
-
-
-
- Creates the used by the serializer to get and set values from a member.
-
- The member.
- The used by the serializer to get and set values from a member.
-
-
-
- Creates a for the given .
-
- The member's parent .
- The member to create a for.
- A created for the given .
-
-
-
- Resolves the name of the property.
-
- Name of the property.
- Resolved name of the property.
-
-
-
- Resolves the name of the extension data. By default no changes are made to extension data names.
-
- Name of the extension data.
- Resolved name of the extension data.
-
-
-
- Resolves the key of the dictionary. By default is used to resolve dictionary keys.
-
- Key of the dictionary.
- Resolved key of the dictionary.
-
-
-
- Gets the resolved name of the property.
-
- Name of the property.
- Name of the property.
-
-
-
- The default naming strategy. Property names and dictionary keys are unchanged.
-
-
-
-
- Resolves the specified property name.
-
- The property name to resolve.
- The resolved property name.
-
-
-
- The default serialization binder used when resolving and loading classes from type names.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- When overridden in a derived class, controls the binding of a serialized object to a type.
-
- Specifies the name of the serialized object.
- Specifies the name of the serialized object.
-
- The type of the object the formatter creates a new instance of.
-
-
-
-
- When overridden in a derived class, controls the binding of a serialized object to a type.
-
- The type of the object the formatter creates a new instance of.
- Specifies the name of the serialized object.
- Specifies the name of the serialized object.
-
-
-
- Represents a trace writer that writes to the application's instances.
-
-
-
-
- Gets the that will be used to filter the trace messages passed to the writer.
- For example a filter level of will exclude messages and include ,
- and messages.
-
-
- The that will be used to filter the trace messages passed to the writer.
-
-
-
-
- Writes the specified trace level, message and optional exception.
-
- The at which to write this trace.
- The trace message.
- The trace exception. This parameter is optional.
-
-
-
- Get and set values for a using dynamic methods.
-
-
-
-
- Initializes a new instance of the class.
-
- The member info.
-
-
-
- Sets the value.
-
- The target to set the value on.
- The value to set on the target.
-
-
-
- Gets the value.
-
- The target to get the value from.
- The value.
-
-
-
- Provides information surrounding an error.
-
-
-
-
- Gets the error.
-
- The error.
-
-
-
- Gets the original object that caused the error.
-
- The original object that caused the error.
-
-
-
- Gets the member that caused the error.
-
- The member that caused the error.
-
-
-
- Gets the path of the JSON location where the error occurred.
-
- The path of the JSON location where the error occurred.
-
-
-
- Gets or sets a value indicating whether this is handled.
-
- true if handled; otherwise, false.
-
-
-
- Provides data for the Error event.
-
-
-
-
- Gets the current object the error event is being raised against.
-
- The current object the error event is being raised against.
-
-
-
- Gets the error context.
-
- The error context.
-
-
-
- Initializes a new instance of the class.
-
- The current object.
- The error context.
-
-
-
- Get and set values for a using dynamic methods.
-
-
-
-
- Initializes a new instance of the class.
-
- The member info.
-
-
-
- Sets the value.
-
- The target to set the value on.
- The value to set on the target.
-
-
-
- Gets the value.
-
- The target to get the value from.
- The value.
-
-
-
- Provides methods to get attributes.
-
-
-
-
- Returns a collection of all of the attributes, or an empty collection if there are no attributes.
-
- When true, look up the hierarchy chain for the inherited custom attribute.
- A collection of s, or an empty collection.
-
-
-
- Returns a collection of attributes, identified by type, or an empty collection if there are no attributes.
-
- The type of the attributes.
- When true, look up the hierarchy chain for the inherited custom attribute.
- A collection of s, or an empty collection.
-
-
-
- Used by to resolve a for a given .
-
-
-
-
-
-
-
-
- Resolves the contract for a given type.
-
- The type to resolve a contract for.
- The contract for a given type.
-
-
-
- Used to resolve references when serializing and deserializing JSON by the .
-
-
-
-
- Resolves a reference to its object.
-
- The serialization context.
- The reference to resolve.
- The object that was resolved from the reference.
-
-
-
- Gets the reference for the specified object.
-
- The serialization context.
- The object to get a reference for.
- The reference to the object.
-
-
-
- Determines whether the specified object is referenced.
-
- The serialization context.
- The object to test for a reference.
-
- true if the specified object is referenced; otherwise, false.
-
-
-
-
- Adds a reference to the specified object.
-
- The serialization context.
- The reference.
- The object to reference.
-
-
-
- Allows users to control class loading and mandate what class to load.
-
-
-
-
- When implemented, controls the binding of a serialized object to a type.
-
- Specifies the name of the serialized object.
- Specifies the name of the serialized object
- The type of the object the formatter creates a new instance of.
-
-
-
- When implemented, controls the binding of a serialized object to a type.
-
- The type of the object the formatter creates a new instance of.
- Specifies the name of the serialized object.
- Specifies the name of the serialized object.
-
-
-
- Represents a trace writer.
-
-
-
-
- Gets the that will be used to filter the trace messages passed to the writer.
- For example a filter level of will exclude messages and include ,
- and messages.
-
- The that will be used to filter the trace messages passed to the writer.
-
-
-
- Writes the specified trace level, message and optional exception.
-
- The at which to write this trace.
- The trace message.
- The trace exception. This parameter is optional.
-
-
-
- Provides methods to get and set values.
-
-
-
-
- Sets the value.
-
- The target to set the value on.
- The value to set on the target.
-
-
-
- Gets the value.
-
- The target to get the value from.
- The value.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Gets the of the collection items.
-
- The of the collection items.
-
-
-
- Gets a value indicating whether the collection type is a multidimensional array.
-
- true if the collection type is a multidimensional array; otherwise, false.
-
-
-
- Gets or sets the function used to create the object. When set this function will override .
-
- The function used to create the object.
-
-
-
- Gets a value indicating whether the creator has a parameter with the collection values.
-
- true if the creator has a parameter with the collection values; otherwise, false.
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Gets or sets the default collection items .
-
- The converter.
-
-
-
- Gets or sets a value indicating whether the collection items preserve object references.
-
- true if collection items preserve object references; otherwise, false.
-
-
-
- Gets or sets the collection item reference loop handling.
-
- The reference loop handling.
-
-
-
- Gets or sets the collection item type name handling.
-
- The type name handling.
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Handles serialization callback events.
-
- The object that raised the callback event.
- The streaming context.
-
-
-
- Handles serialization error callback events.
-
- The object that raised the callback event.
- The streaming context.
- The error context.
-
-
-
- Sets extension data for an object during deserialization.
-
- The object to set extension data on.
- The extension data key.
- The extension data value.
-
-
-
- Gets extension data for an object during serialization.
-
- The object to set extension data on.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Gets the underlying type for the contract.
-
- The underlying type for the contract.
-
-
-
- Gets or sets the type created during deserialization.
-
- The type created during deserialization.
-
-
-
- Gets or sets whether this type contract is serialized as a reference.
-
- Whether this type contract is serialized as a reference.
-
-
-
- Gets or sets the default for this contract.
-
- The converter.
-
-
-
- Gets the internally resolved for the contract's type.
- This converter is used as a fallback converter when no other converter is resolved.
- Setting will always override this converter.
-
-
-
-
- Gets or sets all methods called immediately after deserialization of the object.
-
- The methods called immediately after deserialization of the object.
-
-
-
- Gets or sets all methods called during deserialization of the object.
-
- The methods called during deserialization of the object.
-
-
-
- Gets or sets all methods called after serialization of the object graph.
-
- The methods called after serialization of the object graph.
-
-
-
- Gets or sets all methods called before serialization of the object.
-
- The methods called before serialization of the object.
-
-
-
- Gets or sets all method called when an error is thrown during the serialization of the object.
-
- The methods called when an error is thrown during the serialization of the object.
-
-
-
- Gets or sets the default creator method used to create the object.
-
- The default creator method used to create the object.
-
-
-
- Gets or sets a value indicating whether the default creator is non-public.
-
- true if the default object creator is non-public; otherwise, false.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Gets or sets the dictionary key resolver.
-
- The dictionary key resolver.
-
-
-
- Gets the of the dictionary keys.
-
- The of the dictionary keys.
-
-
-
- Gets the of the dictionary values.
-
- The of the dictionary values.
-
-
-
- Gets or sets the function used to create the object. When set this function will override .
-
- The function used to create the object.
-
-
-
- Gets a value indicating whether the creator has a parameter with the dictionary values.
-
- true if the creator has a parameter with the dictionary values; otherwise, false.
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Gets the object's properties.
-
- The object's properties.
-
-
-
- Gets or sets the property name resolver.
-
- The property name resolver.
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Gets or sets the object constructor.
-
- The object constructor.
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Gets or sets the object member serialization.
-
- The member object serialization.
-
-
-
- Gets or sets the missing member handling used when deserializing this object.
-
- The missing member handling.
-
-
-
- Gets or sets a value that indicates whether the object's properties are required.
-
-
- A value indicating whether the object's properties are required.
-
-
-
-
- Gets or sets how the object's properties with null values are handled during serialization and deserialization.
-
- How the object's properties with null values are handled during serialization and deserialization.
-
-
-
- Gets the object's properties.
-
- The object's properties.
-
-
-
- Gets a collection of instances that define the parameters used with .
-
-
-
-
- Gets or sets the function used to create the object. When set this function will override .
- This function is called with a collection of arguments which are defined by the collection.
-
- The function used to create the object.
-
-
-
- Gets or sets the extension data setter.
-
-
-
-
- Gets or sets the extension data getter.
-
-
-
-
- Gets or sets the extension data value type.
-
-
-
-
- Gets or sets the extension data name resolver.
-
- The extension data name resolver.
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Maps a JSON property to a .NET member or constructor parameter.
-
-
-
-
- Gets or sets the name of the property.
-
- The name of the property.
-
-
-
- Gets or sets the type that declared this property.
-
- The type that declared this property.
-
-
-
- Gets or sets the order of serialization of a member.
-
- The numeric order of serialization.
-
-
-
- Gets or sets the name of the underlying member or parameter.
-
- The name of the underlying member or parameter.
-
-
-
- Gets the that will get and set the during serialization.
-
- The that will get and set the during serialization.
-
-
-
- Gets or sets the for this property.
-
- The for this property.
-
-
-
- Gets or sets the type of the property.
-
- The type of the property.
-
-
-
- Gets or sets the for the property.
- If set this converter takes precedence over the contract converter for the property type.
-
- The converter.
-
-
-
- Gets or sets the member converter.
-
- The member converter.
-
-
-
- Gets or sets a value indicating whether this is ignored.
-
- true if ignored; otherwise, false.
-
-
-
- Gets or sets a value indicating whether this is readable.
-
- true if readable; otherwise, false.
-
-
-
- Gets or sets a value indicating whether this is writable.
-
- true if writable; otherwise, false.
-
-
-
- Gets or sets a value indicating whether this has a member attribute.
-
- true if has a member attribute; otherwise, false.
-
-
-
- Gets the default value.
-
- The default value.
-
-
-
- Gets or sets a value indicating whether this is required.
-
- A value indicating whether this is required.
-
-
-
- Gets a value indicating whether has a value specified.
-
-
-
-
- Gets or sets a value indicating whether this property preserves object references.
-
-
- true if this instance is reference; otherwise, false.
-
-
-
-
- Gets or sets the property null value handling.
-
- The null value handling.
-
-
-
- Gets or sets the property default value handling.
-
- The default value handling.
-
-
-
- Gets or sets the property reference loop handling.
-
- The reference loop handling.
-
-
-
- Gets or sets the property object creation handling.
-
- The object creation handling.
-
-
-
- Gets or sets or sets the type name handling.
-
- The type name handling.
-
-
-
- Gets or sets a predicate used to determine whether the property should be serialized.
-
- A predicate used to determine whether the property should be serialized.
-
-
-
- Gets or sets a predicate used to determine whether the property should be deserialized.
-
- A predicate used to determine whether the property should be deserialized.
-
-
-
- Gets or sets a predicate used to determine whether the property should be serialized.
-
- A predicate used to determine whether the property should be serialized.
-
-
-
- Gets or sets an action used to set whether the property has been deserialized.
-
- An action used to set whether the property has been deserialized.
-
-
-
- Returns a that represents this instance.
-
-
- A that represents this instance.
-
-
-
-
- Gets or sets the converter used when serializing the property's collection items.
-
- The collection's items converter.
-
-
-
- Gets or sets whether this property's collection items are serialized as a reference.
-
- Whether this property's collection items are serialized as a reference.
-
-
-
- Gets or sets the type name handling used when serializing the property's collection items.
-
- The collection's items type name handling.
-
-
-
- Gets or sets the reference loop handling used when serializing the property's collection items.
-
- The collection's items reference loop handling.
-
-
-
- A collection of objects.
-
-
-
-
- Initializes a new instance of the class.
-
- The type.
-
-
-
- When implemented in a derived class, extracts the key from the specified element.
-
- The element from which to extract the key.
- The key for the specified element.
-
-
-
- Adds a object.
-
- The property to add to the collection.
-
-
-
- Gets the closest matching object.
- First attempts to get an exact case match of and then
- a case insensitive match.
-
- Name of the property.
- A matching property if found.
-
-
-
- Gets a property by property name.
-
- The name of the property to get.
- Type property name string comparison.
- A matching property if found.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Lookup and create an instance of the type described by the argument.
-
- The type to create.
- Optional arguments to pass to an initializing constructor of the JsonConverter.
- If null, the default constructor is used.
-
-
-
- A kebab case naming strategy.
-
-
-
-
- Initializes a new instance of the class.
-
-
- A flag indicating whether dictionary keys should be processed.
-
-
- A flag indicating whether explicitly specified property names should be processed,
- e.g. a property name customized with a .
-
-
-
-
- Initializes a new instance of the class.
-
-
- A flag indicating whether dictionary keys should be processed.
-
-
- A flag indicating whether explicitly specified property names should be processed,
- e.g. a property name customized with a .
-
-
- A flag indicating whether extension data names should be processed.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Resolves the specified property name.
-
- The property name to resolve.
- The resolved property name.
-
-
-
- Represents a trace writer that writes to memory. When the trace message limit is
- reached then old trace messages will be removed as new messages are added.
-
-
-
-
- Gets the that will be used to filter the trace messages passed to the writer.
- For example a filter level of will exclude messages and include ,
- and messages.
-
-
- The that will be used to filter the trace messages passed to the writer.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Writes the specified trace level, message and optional exception.
-
- The at which to write this trace.
- The trace message.
- The trace exception. This parameter is optional.
-
-
-
- Returns an enumeration of the most recent trace messages.
-
- An enumeration of the most recent trace messages.
-
-
-
- Returns a of the most recent trace messages.
-
-
- A of the most recent trace messages.
-
-
-
-
- A base class for resolving how property names and dictionary keys are serialized.
-
-
-
-
- A flag indicating whether dictionary keys should be processed.
- Defaults to false.
-
-
-
-
- A flag indicating whether extension data names should be processed.
- Defaults to false.
-
-
-
-
- A flag indicating whether explicitly specified property names,
- e.g. a property name customized with a , should be processed.
- Defaults to false.
-
-
-
-
- Gets the serialized name for a given property name.
-
- The initial property name.
- A flag indicating whether the property has had a name explicitly specified.
- The serialized property name.
-
-
-
- Gets the serialized name for a given extension data name.
-
- The initial extension data name.
- The serialized extension data name.
-
-
-
- Gets the serialized key for a given dictionary key.
-
- The initial dictionary key.
- The serialized dictionary key.
-
-
-
- Resolves the specified property name.
-
- The property name to resolve.
- The resolved property name.
-
-
-
- Hash code calculation
-
-
-
-
-
- Object equality implementation
-
-
-
-
-
-
- Compare to another NamingStrategy
-
-
-
-
-
-
- Represents a method that constructs an object.
-
- The object type to create.
-
-
-
- When applied to a method, specifies that the method is called when an error occurs serializing an object.
-
-
-
-
- Provides methods to get attributes from a , , or .
-
-
-
-
- Initializes a new instance of the class.
-
- The instance to get attributes for. This parameter should be a , , or .
-
-
-
- Returns a collection of all of the attributes, or an empty collection if there are no attributes.
-
- When true, look up the hierarchy chain for the inherited custom attribute.
- A collection of s, or an empty collection.
-
-
-
- Returns a collection of attributes, identified by type, or an empty collection if there are no attributes.
-
- The type of the attributes.
- When true, look up the hierarchy chain for the inherited custom attribute.
- A collection of s, or an empty collection.
-
-
-
- Get and set values for a using reflection.
-
-
-
-
- Initializes a new instance of the class.
-
- The member info.
-
-
-
- Sets the value.
-
- The target to set the value on.
- The value to set on the target.
-
-
-
- Gets the value.
-
- The target to get the value from.
- The value.
-
-
-
- A snake case naming strategy.
-
-
-
-
- Initializes a new instance of the class.
-
-
- A flag indicating whether dictionary keys should be processed.
-
-
- A flag indicating whether explicitly specified property names should be processed,
- e.g. a property name customized with a .
-
-
-
-
- Initializes a new instance of the class.
-
-
- A flag indicating whether dictionary keys should be processed.
-
-
- A flag indicating whether explicitly specified property names should be processed,
- e.g. a property name customized with a .
-
-
- A flag indicating whether extension data names should be processed.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Resolves the specified property name.
-
- The property name to resolve.
- The resolved property name.
-
-
-
- Specifies how strings are escaped when writing JSON text.
-
-
-
-
- Only control characters (e.g. newline) are escaped.
-
-
-
-
- All non-ASCII and control characters (e.g. newline) are escaped.
-
-
-
-
- HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped.
-
-
-
-
- Indicates the method that will be used during deserialization for locating and loading assemblies.
-
-
-
-
- In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the LoadWithPartialName method of the class is used to load the assembly.
-
-
-
-
- In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The Load method of the class is used to load the assembly.
-
-
-
-
- Specifies type name handling options for the .
-
-
- should be used with caution when your application deserializes JSON from an external source.
- Incoming types should be validated with a custom
- when deserializing with a value other than .
-
-
-
-
- Do not include the .NET type name when serializing types.
-
-
-
-
- Include the .NET type name when serializing into a JSON object structure.
-
-
-
-
- Include the .NET type name when serializing into a JSON array structure.
-
-
-
-
- Always include the .NET type name when serializing.
-
-
-
-
- Include the .NET type name when the type of the object being serialized is not the same as its declared type.
- Note that this doesn't include the root serialized object by default. To include the root object's type name in JSON
- you must specify a root type object with
- or .
-
-
-
-
- Determines whether the collection is null or empty.
-
- The collection.
-
- true if the collection is null or empty; otherwise, false.
-
-
-
-
- Adds the elements of the specified collection to the specified generic .
-
- The list to add to.
- The collection of elements to add.
-
-
-
- Converts the value to the specified type. If the value is unable to be converted, the
- value is checked whether it assignable to the specified type.
-
- The value to convert.
- The culture to use when converting.
- The type to convert or cast the value to.
-
- The converted type. If conversion was unsuccessful, the initial value
- is returned if assignable to the target type.
-
-
-
-
- Helper method for generating a MetaObject which calls a
- specific method on Dynamic that returns a result
-
-
-
-
- Helper method for generating a MetaObject which calls a
- specific method on Dynamic, but uses one of the arguments for
- the result.
-
-
-
-
- Helper method for generating a MetaObject which calls a
- specific method on Dynamic, but uses one of the arguments for
- the result.
-
-
-
-
- Returns a Restrictions object which includes our current restrictions merged
- with a restriction limiting our type
-
-
-
-
- Helper class for serializing immutable collections.
- Note that this is used by all builds, even those that don't support immutable collections, in case the DLL is GACed
- https://github.com/JamesNK/Newtonsoft.Json/issues/652
-
-
-
-
- Gets the type of the typed collection's items.
-
- The type.
- The type of the typed collection's items.
-
-
-
- Gets the member's underlying type.
-
- The member.
- The underlying type of the member.
-
-
-
- Determines whether the property is an indexed property.
-
- The property.
-
- true if the property is an indexed property; otherwise, false.
-
-
-
-
- Gets the member's value on the object.
-
- The member.
- The target object.
- The member's value on the object.
-
-
-
- Sets the member's value on the target object.
-
- The member.
- The target.
- The value.
-
-
-
- Determines whether the specified MemberInfo can be read.
-
- The MemberInfo to determine whether can be read.
- /// if set to true then allow the member to be gotten non-publicly.
-
- true if the specified MemberInfo can be read; otherwise, false.
-
-
-
-
- Determines whether the specified MemberInfo can be set.
-
- The MemberInfo to determine whether can be set.
- if set to true then allow the member to be set non-publicly.
- if set to true then allow the member to be set if read-only.
-
- true if the specified MemberInfo can be set; otherwise, false.
-
-
-
-
- Builds a string. Unlike this class lets you reuse its internal buffer.
-
-
-
-
- Determines whether the string is all white space. Empty string will return false.
-
- The string to test whether it is all white space.
-
- true if the string is all white space; otherwise, false.
-
-
-
-
- Specifies the state of the .
-
-
-
-
- An exception has been thrown, which has left the in an invalid state.
- You may call the method to put the in the Closed state.
- Any other method calls result in an being thrown.
-
-
-
-
- The method has been called.
-
-
-
-
- An object is being written.
-
-
-
-
- An array is being written.
-
-
-
-
- A constructor is being written.
-
-
-
-
- A property is being written.
-
-
-
-
- A write method has not been called.
-
-
-
- Specifies that an output will not be null even if the corresponding type allows it.
-
-
- Specifies that when a method returns , the parameter will not be null even if the corresponding type allows it.
-
-
- Initializes the attribute with the specified return value condition.
-
- The return value condition. If the method returns this value, the associated parameter will not be null.
-
-
-
- Gets the return value condition.
-
-
- Specifies that an output may be null even if the corresponding type disallows it.
-
-
- Specifies that null is allowed as an input even if the corresponding type disallows it.
-
-
-
- Specifies that the method will not return if the associated Boolean parameter is passed the specified value.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The condition parameter value. Code after the method will be considered unreachable by diagnostics if the argument to
- the associated parameter matches this value.
-
-
-
- Gets the condition parameter value.
-
-
-
diff --git a/packages/Newtonsoft.Json.13.0.3/lib/net6.0/Newtonsoft.Json.dll b/packages/Newtonsoft.Json.13.0.3/lib/net6.0/Newtonsoft.Json.dll
deleted file mode 100644
index d035c38..0000000
Binary files a/packages/Newtonsoft.Json.13.0.3/lib/net6.0/Newtonsoft.Json.dll and /dev/null differ
diff --git a/packages/Newtonsoft.Json.13.0.3/lib/net6.0/Newtonsoft.Json.xml b/packages/Newtonsoft.Json.13.0.3/lib/net6.0/Newtonsoft.Json.xml
deleted file mode 100644
index 6e3a52b..0000000
--- a/packages/Newtonsoft.Json.13.0.3/lib/net6.0/Newtonsoft.Json.xml
+++ /dev/null
@@ -1,11325 +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 BSON data.
-
-
-
-
- Gets or sets a value indicating whether binary data reading should be compatible with incorrect Json.NET 3.5 written binary.
-
-
- true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether the root object will be read as a JSON array.
-
-
- true if the root object will be read as a JSON array; otherwise, false.
-
-
-
-
- Gets or sets the used when reading values from BSON.
-
- The used when reading values from BSON.
-
-
-
- Initializes a new instance of the class.
-
- The containing the BSON data to read.
-
-
-
- Initializes a new instance of the class.
-
- The containing the BSON data to read.
-
-
-
- Initializes a new instance of the class.
-
- The containing the BSON data to read.
- if set to true the root object will be read as a JSON array.
- The used when reading values from BSON.
-
-
-
- Initializes a new instance of the class.
-
- The containing the BSON data to read.
- if set to true the root object will be read as a JSON array.
- The used when reading values from BSON.
-
-
-
- Reads the next JSON token from the underlying .
-
-
- true if the next token was read successfully; false if there are no more tokens to read.
-
-
-
-
- Changes the reader's state to .
- If is set to true, the underlying is also closed.
-
-
-
-
- Represents a writer that provides a fast, non-cached, forward-only way of generating BSON data.
-
-
-
-
- Gets or sets the used when writing values to BSON.
- When set to no conversion will occur.
-
- The used when writing values to BSON.
-
-
-
- Initializes a new instance of the class.
-
- The to write to.
-
-
-
- Initializes a new instance of the class.
-
- The to write to.
-
-
-
- Flushes whatever is in the buffer to the underlying and also flushes the underlying stream.
-
-
-
-
- Writes the end.
-
- The token.
-
-
-
- Writes a comment /*...*/ containing the specified text.
-
- Text to place inside the comment.
-
-
-
- Writes the start of a constructor with the given name.
-
- The name of the constructor.
-
-
-
- Writes raw JSON.
-
- The raw JSON to write.
-
-
-
- Writes raw JSON where a value is expected and updates the writer's state.
-
- The raw JSON to write.
-
-
-
- Writes the beginning of a JSON array.
-
-
-
-
- Writes the beginning of a JSON object.
-
-
-
-
- Writes the property name of a name/value pair on a JSON object.
-
- The name of the property.
-
-
-
- Closes this writer.
- If is set to true, the underlying is also closed.
- If is set to true, the JSON is auto-completed.
-
-
-
-
- Writes a value.
- An error will raised if the value cannot be written as a single JSON token.
-
- The value to write.
-
-
-
- Writes a null value.
-
-
-
-
- Writes an undefined value.
-
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a [] value.
-
- The [] value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a [] value that represents a BSON object id.
-
- The Object ID value to write.
-
-
-
- Writes a BSON regex.
-
- The regex pattern.
- The regex options.
-
-
-
- Specifies how constructors are used when initializing objects during deserialization by the .
-
-
-
-
- First attempt to use the public default constructor, then fall back to a single parameterized constructor, then to the non-public default constructor.
-
-
-
-
- Json.NET will use a non-public default constructor before falling back to a parameterized constructor.
-
-
-
-
- Converts a binary value to and from a base 64 string value.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts a to and from JSON and BSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Creates a custom object.
-
- The object type to convert.
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Creates an object which will then be populated by the serializer.
-
- Type of the object.
- The created object.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Gets a value indicating whether this can write JSON.
-
-
- true if this can write JSON; otherwise, false.
-
-
-
-
- Converts a to and from JSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified value type.
-
- Type of the value.
-
- true if this instance can convert the specified value type; otherwise, false.
-
-
-
-
- Converts a to and from JSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified value type.
-
- Type of the value.
-
- true if this instance can convert the specified value type; otherwise, false.
-
-
-
-
- Provides a base class for converting a to and from JSON.
-
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts a F# discriminated union type to and from JSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts an Entity Framework to and from JSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts an to and from JSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Gets a value indicating whether this can write JSON.
-
-
- true if this can write JSON; otherwise, false.
-
-
-
-
- Converts a to and from the ISO 8601 date format (e.g. "2008-04-12T12:53Z").
-
-
-
-
- Gets or sets the date time styles used when converting a date to and from JSON.
-
- The date time styles used when converting a date to and from JSON.
-
-
-
- Gets or sets the date time format used when converting a date to and from JSON.
-
- The date time format used when converting a date to and from JSON.
-
-
-
- Gets or sets the culture used when converting a date to and from JSON.
-
- The culture used when converting a date to and from JSON.
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Converts a to and from a JavaScript Date constructor (e.g. new Date(52231943)).
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing property value of the JSON that is being converted.
- The calling serializer.
- The object value.
-
-
-
- Converts a to and from JSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts a to and from JSON and BSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts an to and from its name string value.
-
-
-
-
- Gets or sets a value indicating whether the written enum text should be camel case.
- The default value is false.
-
- true if the written enum text will be camel case; otherwise, false.
-
-
-
- Gets or sets the naming strategy used to resolve how enum text is written.
-
- The naming strategy used to resolve how enum text is written.
-
-
-
- Gets or sets a value indicating whether integer values are allowed when serializing and deserializing.
- The default value is true.
-
- true if integers are allowed when serializing and deserializing; otherwise, false.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- true if the written enum text will be camel case; otherwise, false.
-
-
-
- Initializes a new instance of the class.
-
- The naming strategy used to resolve how enum text is written.
- true if integers are allowed when serializing and deserializing; otherwise, false.
-
-
-
- Initializes a new instance of the class.
-
- The of the used to write enum text.
-
-
-
- Initializes a new instance of the class.
-
- The of the used to write enum text.
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
- When non-null, there must be a constructor defined in the that exactly matches the number,
- order, and type of these parameters.
-
-
-
-
- Initializes a new instance of the class.
-
- The of the used to write enum text.
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
- When non-null, there must be a constructor defined in the that exactly matches the number,
- order, and type of these parameters.
-
- true if integers are allowed when serializing and deserializing; otherwise, false.
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts a to and from Unix epoch time
-
-
-
-
- Gets or sets a value indicating whether the dates before Unix epoch
- should converted to and from JSON.
-
-
- true to allow converting dates before Unix epoch to and from JSON;
- false to throw an exception when a date being converted to or from JSON
- occurred before Unix epoch. The default value is false.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
-
- true to allow converting dates before Unix epoch to and from JSON;
- false to throw an exception when a date being converted to or from JSON
- occurred before Unix epoch. The default value is 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 property value of the JSON that is being converted.
- The calling serializer.
- The object value.
-
-
-
- Converts a to and from a string (e.g. "1.2.3.4").
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing property value of the JSON that is being converted.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts XML to and from JSON.
-
-
-
-
- Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produced multiple root elements.
-
- The name of the deserialized root element.
-
-
-
- Gets or sets a value to indicate whether to write the Json.NET array attribute.
- This attribute helps preserve arrays when converting the written XML back to JSON.
-
- true if the array attribute is written to the XML; otherwise, false.
-
-
-
- Gets or sets a value indicating whether to write the root JSON object.
-
- true if the JSON root object is omitted; otherwise, false.
-
-
-
- Gets or sets a value indicating whether to encode special characters when converting JSON to XML.
- If true, special characters like ':', '@', '?', '#' and '$' in JSON property names aren't used to specify
- XML namespaces, attributes or processing directives. Instead special characters are encoded and written
- as part of the XML element name.
-
- true if special characters are encoded; otherwise, false.
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The calling serializer.
- The value.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Checks if the is a namespace attribute.
-
- Attribute name to test.
- The attribute name prefix if it has one, otherwise an empty string.
- true if attribute name is for a namespace attribute, otherwise false.
-
-
-
- Determines whether this instance can convert the specified value type.
-
- Type of the value.
-
- true if this instance can convert the specified value type; otherwise, false.
-
-
-
-
- Specifies how dates are formatted when writing JSON text.
-
-
-
-
- Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z".
-
-
-
-
- Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/".
-
-
-
-
- Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text.
-
-
-
-
- Date formatted strings are not parsed to a date type and are read as strings.
-
-
-
-
- Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to .
-
-
-
-
- Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to .
-
-
-
-
- Specifies how to treat the time value when converting between string and .
-
-
-
-
- Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time.
-
-
-
-
- Treat as a UTC. If the object represents a local time, it is converted to a UTC.
-
-
-
-
- Treat as a local time if a is being converted to a string.
- If a string is being converted to , convert to a local time if a time zone is specified.
-
-
-
-
- Time zone information should be preserved when converting.
-
-
-
-
- The default JSON name table implementation.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets a string containing the same characters as the specified range of characters in the given array.
-
- The character array containing the name to find.
- The zero-based index into the array specifying the first character of the name.
- The number of characters in the name.
- A string containing the same characters as the specified range of characters in the given array.
-
-
-
- Adds the specified string into name table.
-
- The string to add.
- This method is not thread-safe.
- The resolved string.
-
-
-
- Specifies default value handling options for the .
-
-
-
-
-
-
-
-
- Include members where the member value is the same as the member's default value when serializing objects.
- Included members are written to JSON. Has no effect when deserializing.
-
-
-
-
- Ignore members where the member value is the same as the member's default value when serializing objects
- so that it is not written to JSON.
- This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers,
- decimals and floating point numbers; and false for booleans). The default value ignored can be changed by
- placing the on the property.
-
-
-
-
- Members with a default value but no JSON will be set to their default value when deserializing.
-
-
-
-
- Ignore members where the member value is the same as the member's default value when serializing objects
- and set members to their default value when deserializing.
-
-
-
-
- Specifies float format handling options when writing special floating point numbers, e.g. ,
- and with .
-
-
-
-
- Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity".
-
-
-
-
- Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity.
- Note that this will produce non-valid JSON.
-
-
-
-
- Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a of property.
-
-
-
-
- Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
-
-
-
-
- Floating point numbers are parsed to .
-
-
-
-
- Floating point numbers are parsed to .
-
-
-
-
- Specifies formatting options for the .
-
-
-
-
- No special formatting is applied. This is the default.
-
-
-
-
- Causes child objects to be indented according to the and settings.
-
-
-
-
- Provides an interface for using pooled arrays.
-
- The array type content.
-
-
-
- Rent an array from the pool. This array must be returned when it is no longer needed.
-
- The minimum required length of the array. The returned array may be longer.
- The rented array from the pool. This array must be returned when it is no longer needed.
-
-
-
- Return an array to the pool.
-
- The array that is being returned.
-
-
-
- Provides an interface to enable a class to return line and position information.
-
-
-
-
- Gets a value indicating whether the class can return line information.
-
-
- true if and can be provided; otherwise, false.
-
-
-
-
- Gets the current line number.
-
- The current line number or 0 if no line information is available (for example, when returns false).
-
-
-
- Gets the current line position.
-
- The current line position or 0 if no line information is available (for example, when returns false).
-
-
-
- Instructs the how to serialize the collection.
-
-
-
-
- Gets or sets a value indicating whether null items are allowed in the collection.
-
- true if null items are allowed in the collection; otherwise, false.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class with a flag indicating whether the array can contain null items.
-
- A flag indicating whether the array can contain null items.
-
-
-
- Initializes a new instance of the class with the specified container Id.
-
- The container Id.
-
-
-
- Instructs the to use the specified constructor when deserializing that object.
-
-
-
-
- Instructs the how to serialize the object.
-
-
-
-
- Gets or sets the id.
-
- The id.
-
-
-
- Gets or sets the title.
-
- The title.
-
-
-
- Gets or sets the description.
-
- The description.
-
-
-
- Gets or sets the collection's items converter.
-
- The collection's items converter.
-
-
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
- When non-null, there must be a constructor defined in the that exactly matches the number,
- order, and type of these parameters.
-
-
-
- [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })]
-
-
-
-
-
- Gets or sets the of the .
-
- The of the .
-
-
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
- When non-null, there must be a constructor defined in the that exactly matches the number,
- order, and type of these parameters.
-
-
-
- [JsonContainer(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })]
-
-
-
-
-
- Gets or sets a value that indicates whether to preserve object references.
-
-
- true to keep object reference; otherwise, false. The default is false.
-
-
-
-
- Gets or sets a value that indicates whether to preserve collection's items references.
-
-
- true to keep collection's items object references; otherwise, false. The default is false.
-
-
-
-
- Gets or sets the reference loop handling used when serializing the collection's items.
-
- The reference loop handling.
-
-
-
- Gets or sets the type name handling used when serializing the collection's items.
-
- The type name handling.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class with the specified container Id.
-
- The container Id.
-
-
-
- Provides methods for converting between .NET types and JSON types.
-
-
-
-
-
-
-
- Gets or sets a function that creates default .
- Default settings are automatically used by serialization methods on ,
- and and on .
- To serialize without using any default settings create a with
- .
-
-
-
-
- Represents JavaScript's boolean value true as a string. This field is read-only.
-
-
-
-
- Represents JavaScript's boolean value false as a string. This field is read-only.
-
-
-
-
- Represents JavaScript's null as a string. This field is read-only.
-
-
-
-
- Represents JavaScript's undefined as a string. This field is read-only.
-
-
-
-
- Represents JavaScript's positive infinity as a string. This field is read-only.
-
-
-
-
- Represents JavaScript's negative infinity as a string. This field is read-only.
-
-
-
-
- Represents JavaScript's NaN as a string. This field is read-only.
-
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation using the specified.
-
- The value to convert.
- The format the date will be converted to.
- The time zone handling when the date is converted to a string.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation using the specified.
-
- The value to convert.
- The format the date will be converted to.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- The string delimiter character.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- The string delimiter character.
- The string escape handling.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Serializes the specified object to a JSON string.
-
- The object to serialize.
- A JSON string representation of the object.
-
-
-
- Serializes the specified object to a JSON string using formatting.
-
- The object to serialize.
- Indicates how the output should be formatted.
-
- A JSON string representation of the object.
-
-
-
-
- Serializes the specified object to a JSON string using a collection of .
-
- The object to serialize.
- A collection of converters used while serializing.
- A JSON string representation of the object.
-
-
-
- Serializes the specified object to a JSON string using formatting and a collection of .
-
- The object to serialize.
- Indicates how the output should be formatted.
- A collection of converters used while serializing.
- A JSON string representation of the object.
-
-
-
- Serializes the specified object to a JSON string using .
-
- The object to serialize.
- The used to serialize the object.
- If this is null, default serialization settings will be used.
-
- A JSON string representation of the object.
-
-
-
-
- Serializes the specified object to a JSON string using a type, formatting and .
-
- The object to serialize.
- The used to serialize the object.
- If this is null, default serialization settings will be used.
-
- The type of the value being serialized.
- This parameter is used when is to write out the type name if the type of the value does not match.
- Specifying the type is optional.
-
-
- A JSON string representation of the object.
-
-
-
-
- Serializes the specified object to a JSON string using formatting and .
-
- The object to serialize.
- Indicates how the output should be formatted.
- The used to serialize the object.
- If this is null, default serialization settings will be used.
-
- A JSON string representation of the object.
-
-
-
-
- Serializes the specified object to a JSON string using a type, formatting and .
-
- The object to serialize.
- Indicates how the output should be formatted.
- The used to serialize the object.
- If this is null, default serialization settings will be used.
-
- The type of the value being serialized.
- This parameter is used when is to write out the type name if the type of the value does not match.
- Specifying the type is optional.
-
-
- A JSON string representation of the object.
-
-
-
-
- Deserializes the JSON to a .NET object.
-
- The JSON to deserialize.
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to a .NET object using .
-
- The JSON to deserialize.
-
- The used to deserialize the object.
- If this is null, default serialization settings will be used.
-
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to the specified .NET type.
-
- The JSON to deserialize.
- The of object being deserialized.
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to the specified .NET type.
-
- The type of the object to deserialize to.
- The JSON to deserialize.
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to the given anonymous type.
-
-
- The anonymous type to deserialize to. This can't be specified
- traditionally and must be inferred from the anonymous type passed
- as a parameter.
-
- The JSON to deserialize.
- The anonymous type object.
- The deserialized anonymous type from the JSON string.
-
-
-
- Deserializes the JSON to the given anonymous type using .
-
-
- The anonymous type to deserialize to. This can't be specified
- traditionally and must be inferred from the anonymous type passed
- as a parameter.
-
- The JSON to deserialize.
- The anonymous type object.
-
- The used to deserialize the object.
- If this is null, default serialization settings will be used.
-
- The deserialized anonymous type from the JSON string.
-
-
-
- Deserializes the JSON to the specified .NET type using a collection of .
-
- The type of the object to deserialize to.
- The JSON to deserialize.
- Converters to use while deserializing.
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to the specified .NET type using .
-
- The type of the object to deserialize to.
- The object to deserialize.
-
- The used to deserialize the object.
- If this is null, default serialization settings will be used.
-
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to the specified .NET type using a collection of .
-
- The JSON to deserialize.
- The type of the object to deserialize.
- Converters to use while deserializing.
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to the specified .NET type using .
-
- The JSON to deserialize.
- The type of the object to deserialize to.
-
- The used to deserialize the object.
- If this is null, default serialization settings will be used.
-
- The deserialized object from the JSON string.
-
-
-
- Populates the object with values from the JSON string.
-
- The JSON to populate values from.
- The target object to populate values onto.
-
-
-
- Populates the object with values from the JSON string using .
-
- The JSON to populate values from.
- The target object to populate values onto.
-
- The used to deserialize the object.
- If this is null, default serialization settings will be used.
-
-
-
-
- Serializes the to a JSON string.
-
- The node to serialize.
- A JSON string of the .
-
-
-
- Serializes the to a JSON string using formatting.
-
- The node to serialize.
- Indicates how the output should be formatted.
- A JSON string of the .
-
-
-
- Serializes the to a JSON string using formatting and omits the root object if is true.
-
- The node to serialize.
- Indicates how the output should be formatted.
- Omits writing the root object.
- A JSON string of the .
-
-
-
- Deserializes the from a JSON string.
-
- The JSON string.
- The deserialized .
-
-
-
- Deserializes the from a JSON string nested in a root element specified by .
-
- The JSON string.
- The name of the root element to append when deserializing.
- The deserialized .
-
-
-
- Deserializes the from a JSON string nested in a root element specified by
- and writes a Json.NET array attribute for collections.
-
- The JSON string.
- The name of the root element to append when deserializing.
-
- A value to indicate whether to write the Json.NET array attribute.
- This attribute helps preserve arrays when converting the written XML back to JSON.
-
- The deserialized .
-
-
-
- Deserializes the from a JSON string nested in a root element specified by ,
- writes a Json.NET array attribute for collections, and encodes special characters.
-
- The JSON string.
- The name of the root element to append when deserializing.
-
- A value to indicate whether to write the Json.NET array attribute.
- This attribute helps preserve arrays when converting the written XML back to JSON.
-
-
- A value to indicate whether to encode special characters when converting JSON to XML.
- If true, special characters like ':', '@', '?', '#' and '$' in JSON property names aren't used to specify
- XML namespaces, attributes or processing directives. Instead special characters are encoded and written
- as part of the XML element name.
-
- The deserialized .
-
-
-
- Serializes the to a JSON string.
-
- The node to convert to JSON.
- A JSON string of the .
-
-
-
- Serializes the to a JSON string using formatting.
-
- The node to convert to JSON.
- Indicates how the output should be formatted.
- A JSON string of the .
-
-
-
- Serializes the to a JSON string using formatting and omits the root object if is true.
-
- The node to serialize.
- Indicates how the output should be formatted.
- Omits writing the root object.
- A JSON string of the .
-
-
-
- Deserializes the from a JSON string.
-
- The JSON string.
- The deserialized .
-
-
-
- Deserializes the from a JSON string nested in a root element specified by .
-
- The JSON string.
- The name of the root element to append when deserializing.
- The deserialized .
-
-
-
- Deserializes the from a JSON string nested in a root element specified by
- and writes a Json.NET array attribute for collections.
-
- The JSON string.
- The name of the root element to append when deserializing.
-
- A value to indicate whether to write the Json.NET array attribute.
- This attribute helps preserve arrays when converting the written XML back to JSON.
-
- The deserialized .
-
-
-
- Deserializes the from a JSON string nested in a root element specified by ,
- writes a Json.NET array attribute for collections, and encodes special characters.
-
- The JSON string.
- The name of the root element to append when deserializing.
-
- A value to indicate whether to write the Json.NET array attribute.
- This attribute helps preserve arrays when converting the written XML back to JSON.
-
-
- A value to indicate whether to encode special characters when converting JSON to XML.
- If true, special characters like ':', '@', '?', '#' and '$' in JSON property names aren't used to specify
- XML namespaces, attributes or processing directives. Instead special characters are encoded and written
- as part of the XML element name.
-
- The deserialized .
-
-
-
- Converts an object to and from JSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Gets a value indicating whether this can read JSON.
-
- true if this can read JSON; otherwise, false.
-
-
-
- Gets a value indicating whether this can write JSON.
-
- true if this can write JSON; otherwise, false.
-
-
-
- Converts an object to and from JSON.
-
- The object type to convert.
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read. If there is no existing value then null will be used.
- The existing value has a value.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Instructs the to use the specified when serializing the member or class.
-
-
-
-
- Gets the of the .
-
- The of the .
-
-
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
-
-
-
-
- Initializes a new instance of the class.
-
- Type of the .
-
-
-
- Initializes a new instance of the class.
-
- Type of the .
- Parameter list to use when constructing the . Can be null.
-
-
-
- Represents a collection of .
-
-
-
-
- Instructs the how to serialize the collection.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class with the specified container Id.
-
- The container Id.
-
-
-
- The exception thrown when an error occurs during JSON serialization or deserialization.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- with a specified error message.
-
- The error message that explains the reason for the exception.
-
-
-
- Initializes a new instance of the class
- with a specified error message and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Initializes a new instance of the class.
-
- The that holds the serialized object data about the exception being thrown.
- The that contains contextual information about the source or destination.
- The parameter is null.
- The class name is null or is zero (0).
-
-
-
- Instructs the to deserialize properties with no matching class member into the specified collection
- and write values during serialization.
-
-
-
-
- Gets or sets a value that indicates whether to write extension data when serializing the object.
-
-
- true to write extension data when serializing the object; otherwise, false. The default is true.
-
-
-
-
- Gets or sets a value that indicates whether to read extension data when deserializing the object.
-
-
- true to read extension data when deserializing the object; otherwise, false. The default is true.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Instructs the not to serialize the public field or public read/write property value.
-
-
-
-
- Base class for a table of atomized string objects.
-
-
-
-
- Gets a string containing the same characters as the specified range of characters in the given array.
-
- The character array containing the name to find.
- The zero-based index into the array specifying the first character of the name.
- The number of characters in the name.
- A string containing the same characters as the specified range of characters in the given array.
-
-
-
- Instructs the how to serialize the object.
-
-
-
-
- Gets or sets the member serialization.
-
- The member serialization.
-
-
-
- Gets or sets the missing member handling used when deserializing this object.
-
- The missing member handling.
-
-
-
- Gets or sets how the object's properties with null values are handled during serialization and deserialization.
-
- How the object's properties with null values are handled during serialization and deserialization.
-
-
-
- Gets or sets a value that indicates whether the object's properties are required.
-
-
- A value indicating whether the object's properties are required.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class with the specified member serialization.
-
- The member serialization.
-
-
-
- Initializes a new instance of the class with the specified container Id.
-
- The container Id.
-
-
-
- Instructs the to always serialize the member with the specified name.
-
-
-
-
- Gets or sets the type used when serializing the property's collection items.
-
- The collection's items type.
-
-
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
- When non-null, there must be a constructor defined in the that exactly matches the number,
- order, and type of these parameters.
-
-
-
- [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })]
-
-
-
-
-
- Gets or sets the of the .
-
- The of the .
-
-
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
- When non-null, there must be a constructor defined in the that exactly matches the number,
- order, and type of these parameters.
-
-
-
- [JsonProperty(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })]
-
-
-
-
-
- Gets or sets the null value handling used when serializing this property.
-
- The null value handling.
-
-
-
- Gets or sets the default value handling used when serializing this property.
-
- The default value handling.
-
-
-
- Gets or sets the reference loop handling used when serializing this property.
-
- The reference loop handling.
-
-
-
- Gets or sets the object creation handling used when deserializing this property.
-
- The object creation handling.
-
-
-
- Gets or sets the type name handling used when serializing this property.
-
- The type name handling.
-
-
-
- Gets or sets whether this property's value is serialized as a reference.
-
- Whether this property's value is serialized as a reference.
-
-
-
- Gets or sets the order of serialization of a member.
-
- The numeric order of serialization.
-
-
-
- Gets or sets a value indicating whether this property is required.
-
-
- A value indicating whether this property is required.
-
-
-
-
- Gets or sets the name of the property.
-
- The name of the property.
-
-
-
- Gets or sets the reference loop handling used when serializing the property's collection items.
-
- The collection's items reference loop handling.
-
-
-
- Gets or sets the type name handling used when serializing the property's collection items.
-
- The collection's items type name handling.
-
-
-
- Gets or sets whether this property's collection items are serialized as a reference.
-
- Whether this property's collection items are serialized as a reference.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class with the specified name.
-
- Name of the property.
-
-
-
- Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data.
-
-
-
-
- Asynchronously reads the next JSON token from the source.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns true if the next token was read successfully; false if there are no more tokens to read.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously skips the children of the current token.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously reads the next JSON token from the source as a of .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the of . This result will be null at the end of an array.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously reads the next JSON token from the source as a [].
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the []. This result will be null at the end of an array.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously reads the next JSON token from the source as a of .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the of . This result will be null at the end of an array.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously reads the next JSON token from the source as a of .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the of . This result will be null at the end of an array.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously reads the next JSON token from the source as a of .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the of . This result will be null at the end of an array.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously reads the next JSON token from the source as a of .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the of . This result will be null at the end of an array.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously reads the next JSON token from the source as a of .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the of . This result will be null at the end of an array.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously reads the next JSON token from the source as a .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the . This result will be null at the end of an array.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Specifies the state of the reader.
-
-
-
-
- A read method has not been called.
-
-
-
-
- The end of the file has been reached successfully.
-
-
-
-
- Reader is at a property.
-
-
-
-
- Reader is at the start of an object.
-
-
-
-
- Reader is in an object.
-
-
-
-
- Reader is at the start of an array.
-
-
-
-
- Reader is in an array.
-
-
-
-
- The method has been called.
-
-
-
-
- Reader has just read a value.
-
-
-
-
- Reader is at the start of a constructor.
-
-
-
-
- Reader is in a constructor.
-
-
-
-
- An error occurred that prevents the read operation from continuing.
-
-
-
-
- The end of the file has been reached successfully.
-
-
-
-
- Gets the current reader state.
-
- The current reader state.
-
-
-
- Gets or sets a value indicating whether the source should be closed when this reader is closed.
-
-
- true to close the source when this reader is closed; otherwise false. The default is true.
-
-
-
-
- Gets or sets a value indicating whether multiple pieces of JSON content can
- be read from a continuous stream without erroring.
-
-
- true to support reading multiple pieces of JSON content; otherwise false.
- The default is false.
-
-
-
-
- Gets the quotation mark character used to enclose the value of a string.
-
-
-
-
- Gets or sets how time zones are handled when reading JSON.
-
-
-
-
- Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON.
-
-
-
-
- Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
-
-
-
-
- Gets or sets how custom date formatted strings are parsed when reading JSON.
-
-
-
-
- Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a .
- A null value means there is no maximum.
- The default value is 64.
-
-
-
-
- Gets the type of the current JSON token.
-
-
-
-
- Gets the text value of the current JSON token.
-
-
-
-
- Gets the .NET type for the current JSON token.
-
-
-
-
- Gets the depth of the current token in the JSON document.
-
- The depth of the current token in the JSON document.
-
-
-
- Gets the path of the current JSON token.
-
-
-
-
- Gets or sets the culture used when reading JSON. Defaults to .
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Reads the next JSON token from the source.
-
- true if the next token was read successfully; false if there are no more tokens to read.
-
-
-
- Reads the next JSON token from the source as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a .
-
- A . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a [].
-
- A [] or null if the next JSON token is null. This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Skips the children of the current token.
-
-
-
-
- Sets the current token.
-
- The new token.
-
-
-
- Sets the current token and value.
-
- The new token.
- The value.
-
-
-
- Sets the current token and value.
-
- The new token.
- The value.
- A flag indicating whether the position index inside an array should be updated.
-
-
-
- Sets the state based on current token type.
-
-
-
-
- Releases unmanaged and - optionally - managed resources.
-
- true to release both managed and unmanaged resources; false to release only unmanaged resources.
-
-
-
- Changes the reader's state to .
- If is set to true, the source is also closed.
-
-
-
-
- The exception thrown when an error occurs while reading JSON text.
-
-
-
-
- Gets the line number indicating where the error occurred.
-
- The line number indicating where the error occurred.
-
-
-
- Gets the line position indicating where the error occurred.
-
- The line position indicating where the error occurred.
-
-
-
- Gets the path to the JSON where the error occurred.
-
- The path to the JSON where the error occurred.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- with a specified error message.
-
- The error message that explains the reason for the exception.
-
-
-
- Initializes a new instance of the class
- with a specified error message and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Initializes a new instance of the class.
-
- The that holds the serialized object data about the exception being thrown.
- The that contains contextual information about the source or destination.
- The parameter is null.
- The class name is null or is zero (0).
-
-
-
- Initializes a new instance of the class
- with a specified error message, JSON path, line number, line position, and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The path to the JSON where the error occurred.
- The line number indicating where the error occurred.
- The line position indicating where the error occurred.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Instructs the to always serialize the member, and to require that the member has a value.
-
-
-
-
- The exception thrown when an error occurs during JSON serialization or deserialization.
-
-
-
-
- Gets the line number indicating where the error occurred.
-
- The line number indicating where the error occurred.
-
-
-
- Gets the line position indicating where the error occurred.
-
- The line position indicating where the error occurred.
-
-
-
- Gets the path to the JSON where the error occurred.
-
- The path to the JSON where the error occurred.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- with a specified error message.
-
- The error message that explains the reason for the exception.
-
-
-
- Initializes a new instance of the class
- with a specified error message and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Initializes a new instance of the class.
-
- The that holds the serialized object data about the exception being thrown.
- The that contains contextual information about the source or destination.
- The parameter is null.
- The class name is null or is zero (0).
-
-
-
- Initializes a new instance of the class
- with a specified error message, JSON path, line number, line position, and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The path to the JSON where the error occurred.
- The line number indicating where the error occurred.
- The line position indicating where the error occurred.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Serializes and deserializes objects into and from the JSON format.
- The enables you to control how objects are encoded into JSON.
-
-
-
-
- Occurs when the errors during serialization and deserialization.
-
-
-
-
- Gets or sets the used by the serializer when resolving references.
-
-
-
-
- Gets or sets the used by the serializer when resolving type names.
-
-
-
-
- Gets or sets the used by the serializer when resolving type names.
-
-
-
-
- Gets or sets the used by the serializer when writing trace messages.
-
- The trace writer.
-
-
-
- Gets or sets the equality comparer used by the serializer when comparing references.
-
- The equality comparer.
-
-
-
- Gets or sets how type name writing and reading is handled by the serializer.
- The default value is .
-
-
- should be used with caution when your application deserializes JSON from an external source.
- Incoming types should be validated with a custom
- when deserializing with a value other than .
-
-
-
-
- Gets or sets how a type name assembly is written and resolved by the serializer.
- The default value is .
-
- The type name assembly format.
-
-
-
- Gets or sets how a type name assembly is written and resolved by the serializer.
- The default value is .
-
- The type name assembly format.
-
-
-
- Gets or sets how object references are preserved by the serializer.
- The default value is .
-
-
-
-
- Gets or sets how reference loops (e.g. a class referencing itself) is handled.
- The default value is .
-
-
-
-
- Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization.
- The default value is .
-
-
-
-
- Gets or sets how null values are handled during serialization and deserialization.
- The default value is .
-
-
-
-
- Gets or sets how default values are handled during serialization and deserialization.
- The default value is .
-
-
-
-
- Gets or sets how objects are created during deserialization.
- The default value is .
-
- The object creation handling.
-
-
-
- Gets or sets how constructors are used during deserialization.
- The default value is .
-
- The constructor handling.
-
-
-
- Gets or sets how metadata properties are used during deserialization.
- The default value is .
-
- The metadata properties handling.
-
-
-
- Gets a collection that will be used during serialization.
-
- Collection that will be used during serialization.
-
-
-
- Gets or sets the contract resolver used by the serializer when
- serializing .NET objects to JSON and vice versa.
-
-
-
-
- Gets or sets the used by the serializer when invoking serialization callback methods.
-
- The context.
-
-
-
- Indicates how JSON text output is formatted.
- The default value is .
-
-
-
-
- Gets or sets how dates are written to JSON text.
- The default value is .
-
-
-
-
- Gets or sets how time zones are handled during serialization and deserialization.
- The default value is .
-
-
-
-
- Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON.
- The default value is .
-
-
-
-
- Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
- The default value is .
-
-
-
-
- Gets or sets how special floating point numbers, e.g. ,
- and ,
- are written as JSON text.
- The default value is .
-
-
-
-
- Gets or sets how strings are escaped when writing JSON text.
- The default value is .
-
-
-
-
- Gets or sets how and values are formatted when writing JSON text,
- and the expected date format when reading JSON text.
- The default value is "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK".
-
-
-
-
- Gets or sets the culture used when reading JSON.
- The default value is .
-
-
-
-
- Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a .
- A null value means there is no maximum.
- The default value is 64.
-
-
-
-
- Gets a value indicating whether there will be a check for additional JSON content after deserializing an object.
- The default value is false.
-
-
- true if there will be a check for additional JSON content after deserializing an object; otherwise, false.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Creates a new instance.
- The will not use default settings
- from .
-
-
- A new instance.
- The will not use default settings
- from .
-
-
-
-
- Creates a new instance using the specified .
- The will not use default settings
- from .
-
- The settings to be applied to the .
-
- A new instance using the specified .
- The will not use default settings
- from .
-
-
-
-
- Creates a new instance.
- The will use default settings
- from .
-
-
- A new instance.
- The will use default settings
- from .
-
-
-
-
- Creates a new instance using the specified .
- The will use default settings
- from as well as the specified .
-
- The settings to be applied to the .
-
- A new instance using the specified .
- The will use default settings
- from as well as the specified .
-
-
-
-
- Populates the JSON values onto the target object.
-
- The that contains the JSON structure to read values from.
- The target object to populate values onto.
-
-
-
- Populates the JSON values onto the target object.
-
- The that contains the JSON structure to read values from.
- The target object to populate values onto.
-
-
-
- Deserializes the JSON structure contained by the specified .
-
- The that contains the JSON structure to deserialize.
- The being deserialized.
-
-
-
- Deserializes the JSON structure contained by the specified
- into an instance of the specified type.
-
- The containing the object.
- The of object being deserialized.
- The instance of being deserialized.
-
-
-
- Deserializes the JSON structure contained by the specified
- into an instance of the specified type.
-
- The containing the object.
- The type of the object to deserialize.
- The instance of being deserialized.
-
-
-
- Deserializes the JSON structure contained by the specified
- into an instance of the specified type.
-
- The containing the object.
- The of object being deserialized.
- The instance of being deserialized.
-
-
-
- Serializes the specified and writes the JSON structure
- using the specified .
-
- The used to write the JSON structure.
- The to serialize.
-
-
-
- Serializes the specified and writes the JSON structure
- using the specified .
-
- The used to write the JSON structure.
- The to serialize.
-
- The type of the value being serialized.
- This parameter is used when is to write out the type name if the type of the value does not match.
- Specifying the type is optional.
-
-
-
-
- Serializes the specified and writes the JSON structure
- using the specified .
-
- The used to write the JSON structure.
- The to serialize.
-
- The type of the value being serialized.
- This parameter is used when is Auto to write out the type name if the type of the value does not match.
- Specifying the type is optional.
-
-
-
-
- Serializes the specified and writes the JSON structure
- using the specified .
-
- The used to write the JSON structure.
- The to serialize.
-
-
-
- Specifies the settings on a object.
-
-
-
-
- Gets or sets how reference loops (e.g. a class referencing itself) are handled.
- The default value is .
-
- Reference loop handling.
-
-
-
- Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization.
- The default value is .
-
- Missing member handling.
-
-
-
- Gets or sets how objects are created during deserialization.
- The default value is .
-
- The object creation handling.
-
-
-
- Gets or sets how null values are handled during serialization and deserialization.
- The default value is .
-
- Null value handling.
-
-
-
- Gets or sets how default values are handled during serialization and deserialization.
- The default value is .
-
- The default value handling.
-
-
-
- Gets or sets a collection that will be used during serialization.
-
- The converters.
-
-
-
- Gets or sets how object references are preserved by the serializer.
- The default value is .
-
- The preserve references handling.
-
-
-
- Gets or sets how type name writing and reading is handled by the serializer.
- The default value is .
-
-
- should be used with caution when your application deserializes JSON from an external source.
- Incoming types should be validated with a custom
- when deserializing with a value other than .
-
- The type name handling.
-
-
-
- Gets or sets how metadata properties are used during deserialization.
- The default value is .
-
- The metadata properties handling.
-
-
-
- Gets or sets how a type name assembly is written and resolved by the serializer.
- The default value is .
-
- The type name assembly format.
-
-
-
- Gets or sets how a type name assembly is written and resolved by the serializer.
- The default value is .
-
- The type name assembly format.
-
-
-
- Gets or sets how constructors are used during deserialization.
- The default value is .
-
- The constructor handling.
-
-
-
- Gets or sets the contract resolver used by the serializer when
- serializing .NET objects to JSON and vice versa.
-
- The contract resolver.
-
-
-
- Gets or sets the equality comparer used by the serializer when comparing references.
-
- The equality comparer.
-
-
-
- Gets or sets the used by the serializer when resolving references.
-
- The reference resolver.
-
-
-
- Gets or sets a function that creates the used by the serializer when resolving references.
-
- A function that creates the used by the serializer when resolving references.
-
-
-
- Gets or sets the used by the serializer when writing trace messages.
-
- The trace writer.
-
-
-
- Gets or sets the used by the serializer when resolving type names.
-
- The binder.
-
-
-
- Gets or sets the used by the serializer when resolving type names.
-
- The binder.
-
-
-
- Gets or sets the error handler called during serialization and deserialization.
-
- The error handler called during serialization and deserialization.
-
-
-
- Gets or sets the used by the serializer when invoking serialization callback methods.
-
- The context.
-
-
-
- Gets or sets how and values are formatted when writing JSON text,
- and the expected date format when reading JSON text.
- The default value is "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK".
-
-
-
-
- Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a .
- A null value means there is no maximum.
- The default value is 64.
-
-
-
-
- Indicates how JSON text output is formatted.
- The default value is .
-
-
-
-
- Gets or sets how dates are written to JSON text.
- The default value is .
-
-
-
-
- Gets or sets how time zones are handled during serialization and deserialization.
- The default value is .
-
-
-
-
- Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON.
- The default value is .
-
-
-
-
- Gets or sets how special floating point numbers, e.g. ,
- and ,
- are written as JSON.
- The default value is .
-
-
-
-
- Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
- The default value is .
-
-
-
-
- Gets or sets how strings are escaped when writing JSON text.
- The default value is .
-
-
-
-
- Gets or sets the culture used when reading JSON.
- The default value is .
-
-
-
-
- Gets a value indicating whether there will be a check for additional content after deserializing an object.
- The default value is false.
-
-
- true if there will be a check for additional content after deserializing an object; otherwise, false.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- using values copied from the passed in .
-
-
-
-
- Represents a reader that provides fast, non-cached, forward-only access to JSON text data.
-
-
-
-
- Asynchronously reads the next JSON token from the source.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns true if the next token was read successfully; false if there are no more tokens to read.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously reads the next JSON token from the source as a of .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the of . This result will be null at the end of an array.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously reads the next JSON token from the source as a [].
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the []. This result will be null at the end of an array.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously reads the next JSON token from the source as a of .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the of . This result will be null at the end of an array.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously reads the next JSON token from the source as a of .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the of . This result will be null at the end of an array.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously reads the next JSON token from the source as a of .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the of . This result will be null at the end of an array.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously reads the next JSON token from the source as a of .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the of . This result will be null at the end of an array.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously reads the next JSON token from the source as a of .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the of . This result will be null at the end of an array.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously reads the next JSON token from the source as a .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the . This result will be null at the end of an array.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Initializes a new instance of the class with the specified .
-
- The containing the JSON data to read.
-
-
-
- Gets or sets the reader's property name table.
-
-
-
-
- Gets or sets the reader's character buffer pool.
-
-
-
-
- Reads the next JSON token from the underlying .
-
-
- true if the next token was read successfully; false if there are no more tokens to read.
-
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a .
-
- A . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a [].
-
- A [] or null if the next JSON token is null. This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Changes the reader's state to .
- If is set to true, the underlying is also closed.
-
-
-
-
- Gets a value indicating whether the class can return line information.
-
-
- true if and can be provided; otherwise, false.
-
-
-
-
- Gets the current line number.
-
-
- The current line number or 0 if no line information is available (for example, returns false).
-
-
-
-
- Gets the current line position.
-
-
- The current line position or 0 if no line information is available (for example, returns false).
-
-
-
-
- Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
-
-
-
-
- Asynchronously flushes whatever is in the buffer to the destination and also flushes the destination.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes the JSON value delimiter.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes the specified end token.
-
- The end token to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously closes this writer.
- If is set to true, the destination is also closed.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes the end of the current JSON object or array.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes indent characters.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes an indent space.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes raw JSON without changing the writer's state.
-
- The raw JSON to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a null value.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes the property name of a name/value pair of a JSON object.
-
- The name of the property.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes the property name of a name/value pair of a JSON object.
-
- The name of the property.
- A flag to indicate whether the text should be escaped when it is written as a JSON property name.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes the beginning of a JSON array.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes the beginning of a JSON object.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes the start of a constructor with the given name.
-
- The name of the constructor.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes an undefined value.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes the given white space.
-
- The string of white space characters.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a [] value.
-
- The [] value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a comment /*...*/ containing the specified text.
-
- Text to place inside the comment.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes the end of an array.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes the end of a constructor.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes the end of a JSON object.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes raw JSON where a value is expected and updates the writer's state.
-
- The raw JSON to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Gets or sets the writer's character array pool.
-
-
-
-
- Gets or sets how many s to write for each level in the hierarchy when is set to .
-
-
-
-
- Gets or sets which character to use to quote attribute values.
-
-
-
-
- Gets or sets which character to use for indenting when is set to .
-
-
-
-
- Gets or sets a value indicating whether object names will be surrounded with quotes.
-
-
-
-
- Initializes a new instance of the class using the specified .
-
- The to write to.
-
-
-
- Flushes whatever is in the buffer to the underlying and also flushes the underlying .
-
-
-
-
- Closes this writer.
- If is set to true, the underlying is also closed.
- If is set to true, the JSON is auto-completed.
-
-
-
-
- Writes the beginning of a JSON object.
-
-
-
-
- Writes the beginning of a JSON array.
-
-
-
-
- Writes the start of a constructor with the given name.
-
- The name of the constructor.
-
-
-
- Writes the specified end token.
-
- The end token to write.
-
-
-
- Writes the property name of a name/value pair on a JSON object.
-
- The name of the property.
-
-
-
- Writes the property name of a name/value pair on a JSON object.
-
- The name of the property.
- A flag to indicate whether the text should be escaped when it is written as a JSON property name.
-
-
-
- Writes indent characters.
-
-
-
-
- Writes the JSON value delimiter.
-
-
-
-
- Writes an indent space.
-
-
-
-
- Writes a value.
- An error will raised if the value cannot be written as a single JSON token.
-
- The value to write.
-
-
-
- Writes a null value.
-
-
-
-
- Writes an undefined value.
-
-
-
-
- Writes raw JSON.
-
- The raw JSON to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a [] value.
-
- The [] value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a comment /*...*/ containing the specified text.
-
- Text to place inside the comment.
-
-
-
- Writes the given white space.
-
- The string of white space characters.
-
-
-
- Specifies the type of JSON token.
-
-
-
-
- This is returned by the if a read method has not been called.
-
-
-
-
- An object start token.
-
-
-
-
- An array start token.
-
-
-
-
- A constructor start token.
-
-
-
-
- An object property name.
-
-
-
-
- A comment.
-
-
-
-
- Raw JSON.
-
-
-
-
- An integer.
-
-
-
-
- A float.
-
-
-
-
- A string.
-
-
-
-
- A boolean.
-
-
-
-
- A null token.
-
-
-
-
- An undefined token.
-
-
-
-
- An object end token.
-
-
-
-
- An array end token.
-
-
-
-
- A constructor end token.
-
-
-
-
- A Date.
-
-
-
-
- Byte data.
-
-
-
-
-
- Represents a reader that provides validation.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Sets an event handler for receiving schema validation errors.
-
-
-
-
- Gets the text value of the current JSON token.
-
-
-
-
-
- Gets the depth of the current token in the JSON document.
-
- The depth of the current token in the JSON document.
-
-
-
- Gets the path of the current JSON token.
-
-
-
-
- Gets the quotation mark character used to enclose the value of a string.
-
-
-
-
-
- Gets the type of the current JSON token.
-
-
-
-
-
- Gets the .NET type for the current JSON token.
-
-
-
-
-
- Initializes a new instance of the class that
- validates the content returned from the given .
-
- The to read from while validating.
-
-
-
- Gets or sets the schema.
-
- The schema.
-
-
-
- Gets the used to construct this .
-
- The specified in the constructor.
-
-
-
- Changes the reader's state to .
- If is set to true, the underlying is also closed.
-
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of .
-
-
-
- Reads the next JSON token from the underlying as a [].
-
-
- A [] or null if the next JSON token is null.
-
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of .
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of .
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of .
-
-
-
- Reads the next JSON token from the underlying as a .
-
- A . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of .
-
-
-
- Reads the next JSON token from the underlying .
-
-
- true if the next token was read successfully; false if there are no more tokens to read.
-
-
-
-
- Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
-
-
-
-
- Asynchronously closes this writer.
- If is set to true, the destination is also closed.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously flushes whatever is in the buffer to the destination and also flushes the destination.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the specified end token.
-
- The end token to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes indent characters.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the JSON value delimiter.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes an indent space.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes raw JSON without changing the writer's state.
-
- The raw JSON to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the end of the current JSON object or array.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the end of an array.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the end of a constructor.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the end of a JSON object.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a null value.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the property name of a name/value pair of a JSON object.
-
- The name of the property.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the property name of a name/value pair of a JSON object.
-
- The name of the property.
- A flag to indicate whether the text should be escaped when it is written as a JSON property name.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the beginning of a JSON array.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a comment /*...*/ containing the specified text.
-
- Text to place inside the comment.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes raw JSON where a value is expected and updates the writer's state.
-
- The raw JSON to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the start of a constructor with the given name.
-
- The name of the constructor.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the beginning of a JSON object.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the current token.
-
- The to read the token from.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the current token.
-
- The to read the token from.
- A flag indicating whether the current token's children should be written.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the token and its value.
-
- The to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the token and its value.
-
- The to write.
-
- The value to write.
- A value is only required for tokens that have an associated value, e.g. the property name for .
- null can be passed to the method for tokens that don't have a value, e.g. .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a [] value.
-
- The [] value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes an undefined value.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the given white space.
-
- The string of white space characters.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously ets the state of the .
-
- The being written.
- The value being written.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Gets or sets a value indicating whether the destination should be closed when this writer is closed.
-
-
- true to close the destination when this writer is closed; otherwise false. The default is true.
-
-
-
-
- Gets or sets a value indicating whether the JSON should be auto-completed when this writer is closed.
-
-
- true to auto-complete the JSON when this writer is closed; otherwise false. The default is true.
-
-
-
-
- Gets the top.
-
- The top.
-
-
-
- Gets the state of the writer.
-
-
-
-
- Gets the path of the writer.
-
-
-
-
- Gets or sets a value indicating how JSON text output should be formatted.
-
-
-
-
- Gets or sets how dates are written to JSON text.
-
-
-
-
- Gets or sets how time zones are handled when writing JSON text.
-
-
-
-
- Gets or sets how strings are escaped when writing JSON text.
-
-
-
-
- Gets or sets how special floating point numbers, e.g. ,
- and ,
- are written to JSON text.
-
-
-
-
- Gets or sets how and values are formatted when writing JSON text.
-
-
-
-
- Gets or sets the culture used when writing JSON. Defaults to .
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Flushes whatever is in the buffer to the destination and also flushes the destination.
-
-
-
-
- Closes this writer.
- If is set to true, the destination is also closed.
- If is set to true, the JSON is auto-completed.
-
-
-
-
- Writes the beginning of a JSON object.
-
-
-
-
- Writes the end of a JSON object.
-
-
-
-
- Writes the beginning of a JSON array.
-
-
-
-
- Writes the end of an array.
-
-
-
-
- Writes the start of a constructor with the given name.
-
- The name of the constructor.
-
-
-
- Writes the end constructor.
-
-
-
-
- Writes the property name of a name/value pair of a JSON object.
-
- The name of the property.
-
-
-
- Writes the property name of a name/value pair of a JSON object.
-
- The name of the property.
- A flag to indicate whether the text should be escaped when it is written as a JSON property name.
-
-
-
- Writes the end of the current JSON object or array.
-
-
-
-
- Writes the current token and its children.
-
- The to read the token from.
-
-
-
- Writes the current token.
-
- The to read the token from.
- A flag indicating whether the current token's children should be written.
-
-
-
- Writes the token and its value.
-
- The to write.
-
- The value to write.
- A value is only required for tokens that have an associated value, e.g. the property name for .
- null can be passed to the method for tokens that don't have a value, e.g. .
-
-
-
-
- Writes the token.
-
- The to write.
-
-
-
- Writes the specified end token.
-
- The end token to write.
-
-
-
- Writes indent characters.
-
-
-
-
- Writes the JSON value delimiter.
-
-
-
-
- Writes an indent space.
-
-
-
-
- Writes a null value.
-
-
-
-
- Writes an undefined value.
-
-
-
-
- Writes raw JSON without changing the writer's state.
-
- The raw JSON to write.
-
-
-
- Writes raw JSON where a value is expected and updates the writer's state.
-
- The raw JSON to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a [] value.
-
- The [] value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
- An error will raised if the value cannot be written as a single JSON token.
-
- The value to write.
-
-
-
- Writes a comment /*...*/ containing the specified text.
-
- Text to place inside the comment.
-
-
-
- Writes the given white space.
-
- The string of white space characters.
-
-
-
- Releases unmanaged and - optionally - managed resources.
-
- true to release both managed and unmanaged resources; false to release only unmanaged resources.
-
-
-
- Sets the state of the .
-
- The being written.
- The value being written.
-
-
-
- The exception thrown when an error occurs while writing JSON text.
-
-
-
-
- Gets the path to the JSON where the error occurred.
-
- The path to the JSON where the error occurred.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- with a specified error message.
-
- The error message that explains the reason for the exception.
-
-
-
- Initializes a new instance of the class
- with a specified error message and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Initializes a new instance of the class.
-
- The that holds the serialized object data about the exception being thrown.
- The that contains contextual information about the source or destination.
- The parameter is null.
- The class name is null or is zero (0).
-
-
-
- Initializes a new instance of the class
- with a specified error message, JSON path and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The path to the JSON where the error occurred.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Specifies how JSON comments are handled when loading JSON.
-
-
-
-
- Ignore comments.
-
-
-
-
- Load comments as a with type .
-
-
-
-
- Specifies how duplicate property names are handled when loading JSON.
-
-
-
-
- Replace the existing value when there is a duplicate property. The value of the last property in the JSON object will be used.
-
-
-
-
- Ignore the new value when there is a duplicate property. The value of the first property in the JSON object will be used.
-
-
-
-
- Throw a when a duplicate property is encountered.
-
-
-
-
- Contains the LINQ to JSON extension methods.
-
-
-
-
- Returns a collection of tokens that contains the ancestors of every token in the source collection.
-
- The type of the objects in source, constrained to .
- An of that contains the source collection.
- An of that contains the ancestors of every token in the source collection.
-
-
-
- Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection.
-
- The type of the objects in source, constrained to .
- An of that contains the source collection.
- An of that contains every token in the source collection, the ancestors of every token in the source collection.
-
-
-
- Returns a collection of tokens that contains the descendants of every token in the source collection.
-
- The type of the objects in source, constrained to .
- An of that contains the source collection.
- An of that contains the descendants of every token in the source collection.
-
-
-
- Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection.
-
- The type of the objects in source, constrained to .
- An of that contains the source collection.
- An of that contains every token in the source collection, and the descendants of every token in the source collection.
-
-
-
- Returns a collection of child properties of every object in the source collection.
-
- An of that contains the source collection.
- An of that contains the properties of every object in the source collection.
-
-
-
- Returns a collection of child values of every object in the source collection with the given key.
-
- An of that contains the source collection.
- The token key.
- An of that contains the values of every token in the source collection with the given key.
-
-
-
- Returns a collection of child values of every object in the source collection.
-
- An of that contains the source collection.
- An of that contains the values of every token in the source collection.
-
-
-
- Returns a collection of converted child values of every object in the source collection with the given key.
-
- The type to convert the values to.
- An of that contains the source collection.
- The token key.
- An that contains the converted values of every token in the source collection with the given key.
-
-
-
- Returns a collection of converted child values of every object in the source collection.
-
- The type to convert the values to.
- An of that contains the source collection.
- An that contains the converted values of every token in the source collection.
-
-
-
- Converts the value.
-
- The type to convert the value to.
- A cast as a of .
- A converted value.
-
-
-
- Converts the value.
-
- The source collection type.
- The type to convert the value to.
- A cast as a of .
- A converted value.
-
-
-
- Returns a collection of child tokens of every array in the source collection.
-
- The source collection type.
- An of that contains the source collection.
- An of that contains the values of every token in the source collection.
-
-
-
- Returns a collection of converted child tokens of every array in the source collection.
-
- An of that contains the source collection.
- The type to convert the values to.
- The source collection type.
- An that contains the converted values of every token in the source collection.
-
-
-
- Returns the input typed as .
-
- An of that contains the source collection.
- The input typed as .
-
-
-
- Returns the input typed as .
-
- The source collection type.
- An of that contains the source collection.
- The input typed as .
-
-
-
- Represents a collection of objects.
-
- The type of token.
-
-
-
- Gets the of with the specified key.
-
-
-
-
-
- Represents a JSON array.
-
-
-
-
-
-
-
- Writes this token to a asynchronously.
-
- A into which this method will write.
- The token to monitor for cancellation requests.
- A collection of which will be used when writing the token.
- A that represents the asynchronous write operation.
-
-
-
- Asynchronously loads a from a .
-
- A that will be read for the content of the .
- If this is null, default load settings will be used.
- The token to monitor for cancellation requests. The default value is .
- A representing the asynchronous load. The property contains the JSON that was read from the specified .
-
-
-
- Asynchronously loads a from a .
-
- A that will be read for the content of the .
- The used to load the JSON.
- If this is null, default load settings will be used.
- The token to monitor for cancellation requests. The default value is .
- A representing the asynchronous load. The property contains the JSON that was read from the specified .
-
-
-
- Gets the container's children tokens.
-
- The container's children tokens.
-
-
-
- Gets the node type for this .
-
- The type.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class from another object.
-
- A object to copy from.
-
-
-
- Initializes a new instance of the class with the specified content.
-
- The contents of the array.
-
-
-
- Initializes a new instance of the class with the specified content.
-
- The contents of the array.
-
-
-
- Loads an from a .
-
- A that will be read for the content of the .
- A that contains the JSON that was read from the specified .
-
-
-
- Loads an from a .
-
- A that will be read for the content of the .
- The used to load the JSON.
- If this is null, default load settings will be used.
- A that contains the JSON that was read from the specified .
-
-
-
- Load a from a string that contains JSON.
-
- A that contains JSON.
- A populated from the string that contains JSON.
-
-
-
-
-
-
- Load a from a string that contains JSON.
-
- A that contains JSON.
- The used to load the JSON.
- If this is null, default load settings will be used.
- A populated from the string that contains JSON.
-
-
-
-
-
-
- Creates a from an object.
-
- The object that will be used to create .
- A with the values of the specified object.
-
-
-
- Creates a from an object.
-
- The object that will be used to create .
- The that will be used to read the object.
- A with the values of the specified object.
-
-
-
- Writes this token to a .
-
- A into which this method will write.
- A collection of which will be used when writing the token.
-
-
-
- Gets the with the specified key.
-
- The with the specified key.
-
-
-
- Gets or sets the at the specified index.
-
-
-
-
-
- Determines the index of a specific item in the .
-
- The object to locate in the .
-
- The index of if found in the list; otherwise, -1.
-
-
-
-
- Inserts an item to the at the specified index.
-
- The zero-based index at which should be inserted.
- The object to insert into the .
-
- is not a valid index in the .
-
-
-
-
- Removes the item at the specified index.
-
- The zero-based index of the item to remove.
-
- is not a valid index in the .
-
-
-
-
- Returns an enumerator that iterates through the collection.
-
-
- A of that can be used to iterate through the collection.
-
-
-
-
- Adds an item to the .
-
- The object to add to the .
-
-
-
- Removes all items from the .
-
-
-
-
- Determines whether the contains a specific value.
-
- The object to locate in the .
-
- true if is found in the ; otherwise, false.
-
-
-
-
- Copies the elements of the to an array, starting at a particular array index.
-
- The array.
- Index of the array.
-
-
-
- Gets a value indicating whether the is read-only.
-
- true if the is read-only; otherwise, false.
-
-
-
- Removes the first occurrence of a specific object from the .
-
- The object to remove from the .
-
- true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original .
-
-
-
-
- Represents a JSON constructor.
-
-
-
-
- Writes this token to a asynchronously.
-
- A into which this method will write.
- The token to monitor for cancellation requests.
- A collection of which will be used when writing the token.
- A that represents the asynchronous write operation.
-
-
-
- Asynchronously loads a from a .
-
- A that will be read for the content of the .
- The token to monitor for cancellation requests. The default value is .
-
- A that represents the asynchronous load. The
- property returns a that contains the JSON that was read from the specified .
-
-
-
- Asynchronously loads a from a .
-
- A that will be read for the content of the .
- The used to load the JSON.
- If this is null, default load settings will be used.
- The token to monitor for cancellation requests. The default value is .
-
- A that represents the asynchronous load. The
- property returns a that contains the JSON that was read from the specified .
-
-
-
- Gets the container's children tokens.
-
- The container's children tokens.
-
-
-
- Gets or sets the name of this constructor.
-
- The constructor name.
-
-
-
- Gets the node type for this .
-
- The type.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class from another object.
-
- A object to copy from.
-
-
-
- Initializes a new instance of the class with the specified name and content.
-
- The constructor name.
- The contents of the constructor.
-
-
-
- Initializes a new instance of the class with the specified name and content.
-
- The constructor name.
- The contents of the constructor.
-
-
-
- Initializes a new instance of the class with the specified name.
-
- The constructor name.
-
-
-
- Writes this token to a .
-
- A into which this method will write.
- A collection of which will be used when writing the token.
-
-
-
- Gets the with the specified key.
-
- The with the specified key.
-
-
-
- Loads a from a .
-
- A that will be read for the content of the .
- A that contains the JSON that was read from the specified .
-
-
-
- Loads a from a .
-
- A that will be read for the content of the .
- The used to load the JSON.
- If this is null, default load settings will be used.
- A that contains the JSON that was read from the specified .
-
-
-
- Represents a token that can contain other tokens.
-
-
-
-
- Occurs when the list changes or an item in the list changes.
-
-
-
-
- Occurs before an item is added to the collection.
-
-
-
-
- Occurs when the items list of the collection has changed, or the collection is reset.
-
-
-
-
- Gets the container's children tokens.
-
- The container's children tokens.
-
-
-
- Raises the event.
-
- The instance containing the event data.
-
-
-
- Raises the event.
-
- The instance containing the event data.
-
-
-
- Raises the event.
-
- The instance containing the event data.
-
-
-
- Gets a value indicating whether this token has child tokens.
-
-
- true if this token has child values; otherwise, false.
-
-
-
-
- Get the first child token of this token.
-
-
- A containing the first child token of the .
-
-
-
-
- Get the last child token of this token.
-
-
- A containing the last child token of the .
-
-
-
-
- Returns a collection of the child tokens of this token, in document order.
-
-
- An of containing the child tokens of this , in document order.
-
-
-
-
- Returns a collection of the child values of this token, in document order.
-
- The type to convert the values to.
-
- A containing the child values of this , in document order.
-
-
-
-
- Returns a collection of the descendant tokens for this token in document order.
-
- An of containing the descendant tokens of the .
-
-
-
- Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order.
-
- An of containing this token, and all the descendant tokens of the .
-
-
-
- Adds the specified content as children of this .
-
- The content to be added.
-
-
-
- Adds the specified content as the first children of this .
-
- The content to be added.
-
-
-
- Creates a that can be used to add tokens to the .
-
- A that is ready to have content written to it.
-
-
-
- Replaces the child nodes of this token with the specified content.
-
- The content.
-
-
-
- Removes the child nodes from this token.
-
-
-
-
- Merge the specified content into this .
-
- The content to be merged.
-
-
-
- Merge the specified content into this using .
-
- The content to be merged.
- The used to merge the content.
-
-
-
- Gets the count of child JSON tokens.
-
- The count of child JSON tokens.
-
-
-
- Represents a collection of objects.
-
- The type of token.
-
-
-
- An empty collection of objects.
-
-
-
-
- Initializes a new instance of the struct.
-
- The enumerable.
-
-
-
- Returns an enumerator that can be used to iterate through the collection.
-
-
- A that can be used to iterate through the collection.
-
-
-
-
- Gets the of with the specified key.
-
-
-
-
-
- Determines whether the specified is equal to this instance.
-
- The to compare with this instance.
-
- true if the specified is equal to this instance; otherwise, false.
-
-
-
-
- Determines whether the specified is equal to this instance.
-
- The to compare with this instance.
-
- true if the specified is equal to this instance; otherwise, false.
-
-
-
-
- Returns a hash code for this instance.
-
-
- A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
-
-
-
-
- Represents a JSON object.
-
-
-
-
-
-
-
- Writes this token to a asynchronously.
-
- A into which this method will write.
- The token to monitor for cancellation requests.
- A collection of which will be used when writing the token.
- A that represents the asynchronous write operation.
-
-
-
- Asynchronously loads a from a .
-
- A that will be read for the content of the .
- The token to monitor for cancellation requests. The default value is .
-
- A that represents the asynchronous load. The
- property returns a that contains the JSON that was read from the specified .
-
-
-
- Asynchronously loads a from a .
-
- A that will be read for the content of the .
- The used to load the JSON.
- If this is null, default load settings will be used.
- The token to monitor for cancellation requests. The default value is .
-
- A that represents the asynchronous load. The
- property returns a that contains the JSON that was read from the specified .
-
-
-
- Gets the container's children tokens.
-
- The container's children tokens.
-
-
-
- Occurs when a property value changes.
-
-
-
-
- Occurs when a property value is changing.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class from another object.
-
- A object to copy from.
-
-
-
- Initializes a new instance of the class with the specified content.
-
- The contents of the object.
-
-
-
- Initializes a new instance of the class with the specified content.
-
- The contents of the object.
-
-
-
- Gets the node type for this .
-
- The type.
-
-
-
- Gets an of of this object's properties.
-
- An of of this object's properties.
-
-
-
- Gets a with the specified name.
-
- The property name.
- A with the specified name or null.
-
-
-
- Gets the with the specified name.
- The exact name will be searched for first and if no matching property is found then
- the will be used to match a property.
-
- The property name.
- One of the enumeration values that specifies how the strings will be compared.
- A matched with the specified name or null.
-
-
-
- Gets a of of this object's property values.
-
- A of of this object's property values.
-
-
-
- Gets the with the specified key.
-
- The with the specified key.
-
-
-
- Gets or sets the with the specified property name.
-
-
-
-
-
- Loads a from a .
-
- A that will be read for the content of the .
- A that contains the JSON that was read from the specified .
-
- is not valid JSON.
-
-
-
-
- Loads a from a .
-
- A that will be read for the content of the .
- The used to load the JSON.
- If this is null, default load settings will be used.
- A that contains the JSON that was read from the specified .
-
- is not valid JSON.
-
-
-
-
- Load a from a string that contains JSON.
-
- A that contains JSON.
- A populated from the string that contains JSON.
-
- is not valid JSON.
-
-
-
-
-
-
-
- Load a from a string that contains JSON.
-
- A that contains JSON.
- The used to load the JSON.
- If this is null, default load settings will be used.
- A populated from the string that contains JSON.
-
- is not valid JSON.
-
-
-
-
-
-
-
- Creates a from an object.
-
- The object that will be used to create .
- A with the values of the specified object.
-
-
-
- Creates a from an object.
-
- The object that will be used to create .
- The that will be used to read the object.
- A with the values of the specified object.
-
-
-
- Writes this token to a .
-
- A into which this method will write.
- A collection of which will be used when writing the token.
-
-
-
- Gets the with the specified property name.
-
- Name of the property.
- The with the specified property name.
-
-
-
- Gets the with the specified property name.
- The exact property name will be searched for first and if no matching property is found then
- the will be used to match a property.
-
- Name of the property.
- One of the enumeration values that specifies how the strings will be compared.
- The with the specified property name.
-
-
-
- Tries to get the with the specified property name.
- The exact property name will be searched for first and if no matching property is found then
- the will be used to match a property.
-
- Name of the property.
- The value.
- One of the enumeration values that specifies how the strings will be compared.
- true if a value was successfully retrieved; otherwise, false.
-
-
-
- Adds the specified property name.
-
- Name of the property.
- The value.
-
-
-
- Determines whether the JSON object has the specified property name.
-
- Name of the property.
- true if the JSON object has the specified property name; otherwise, false.
-
-
-
- Removes the property with the specified name.
-
- Name of the property.
- true if item was successfully removed; otherwise, false.
-
-
-
- Tries to get the with the specified property name.
-
- Name of the property.
- The value.
- true if a value was successfully retrieved; otherwise, false.
-
-
-
- Returns an enumerator that can be used to iterate through the collection.
-
-
- A that can be used to iterate through the collection.
-
-
-
-
- Raises the event with the provided arguments.
-
- Name of the property.
-
-
-
- Raises the event with the provided arguments.
-
- Name of the property.
-
-
-
- Returns the responsible for binding operations performed on this object.
-
- The expression tree representation of the runtime value.
-
- The to bind this object.
-
-
-
-
- Represents a JSON property.
-
-
-
-
- Writes this token to a asynchronously.
-
- A into which this method will write.
- The token to monitor for cancellation requests.
- A collection of which will be used when writing the token.
- A that represents the asynchronous write operation.
-
-
-
- Asynchronously loads a from a .
-
- A that will be read for the content of the .
- The token to monitor for cancellation requests. The default value is .
- A representing the asynchronous creation. The
- property returns a that contains the JSON that was read from the specified .
-
-
-
- Asynchronously loads a from a .
-
- A that will be read for the content of the .
- The used to load the JSON.
- If this is null, default load settings will be used.
- The token to monitor for cancellation requests. The default value is .
- A representing the asynchronous creation. The
- property returns a that contains the JSON that was read from the specified .
-
-
-
- Gets the container's children tokens.
-
- The container's children tokens.
-
-
-
- Gets the property name.
-
- The property name.
-
-
-
- Gets or sets the property value.
-
- The property value.
-
-
-
- Initializes a new instance of the class from another object.
-
- A object to copy from.
-
-
-
- Gets the node type for this .
-
- The type.
-
-
-
- Initializes a new instance of the class.
-
- The property name.
- The property content.
-
-
-
- Initializes a new instance of the class.
-
- The property name.
- The property content.
-
-
-
- Writes this token to a .
-
- A into which this method will write.
- A collection of which will be used when writing the token.
-
-
-
- Loads a from a .
-
- A that will be read for the content of the .
- A that contains the JSON that was read from the specified .
-
-
-
- Loads a from a .
-
- A that will be read for the content of the .
- The used to load the JSON.
- If this is null, default load settings will be used.
- A that contains the JSON that was read from the specified .
-
-
-
- Represents a view of a .
-
-
-
-
- Initializes a new instance of the class.
-
- The name.
-
-
-
- When overridden in a derived class, returns whether resetting an object changes its value.
-
-
- true if resetting the component changes its value; otherwise, false.
-
- The component to test for reset capability.
-
-
-
- When overridden in a derived class, gets the current value of the property on a component.
-
-
- The value of a property for a given component.
-
- The component with the property for which to retrieve the value.
-
-
-
- When overridden in a derived class, resets the value for this property of the component to the default value.
-
- The component with the property value that is to be reset to the default value.
-
-
-
- When overridden in a derived class, sets the value of the component to a different value.
-
- The component with the property value that is to be set.
- The new value.
-
-
-
- When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted.
-
-
- true if the property should be persisted; otherwise, false.
-
- The component with the property to be examined for persistence.
-
-
-
- When overridden in a derived class, gets the type of the component this property is bound to.
-
-
- A that represents the type of component this property is bound to.
- When the or
-
- methods are invoked, the object specified might be an instance of this type.
-
-
-
-
- When overridden in a derived class, gets a value indicating whether this property is read-only.
-
-
- true if the property is read-only; otherwise, false.
-
-
-
-
- When overridden in a derived class, gets the type of the property.
-
-
- A that represents the type of the property.
-
-
-
-
- Gets the hash code for the name of the member.
-
-
-
- The hash code for the name of the member.
-
-
-
-
- Represents a raw JSON string.
-
-
-
-
- Asynchronously creates an instance of with the content of the reader's current token.
-
- The reader.
- The token to monitor for cancellation requests. The default value is .
- A representing the asynchronous creation. The
- property returns an instance of with the content of the reader's current token.
-
-
-
- Initializes a new instance of the class from another object.
-
- A object to copy from.
-
-
-
- Initializes a new instance of the class.
-
- The raw json.
-
-
-
- Creates an instance of with the content of the reader's current token.
-
- The reader.
- An instance of with the content of the reader's current token.
-
-
-
- Specifies the settings used when cloning JSON.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets a flag that indicates whether to copy annotations when cloning a .
- The default value is true.
-
-
- A flag that indicates whether to copy annotations when cloning a .
-
-
-
-
- Specifies the settings used when loading JSON.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets how JSON comments are handled when loading JSON.
- The default value is .
-
- The JSON comment handling.
-
-
-
- Gets or sets how JSON line info is handled when loading JSON.
- The default value is .
-
- The JSON line info handling.
-
-
-
- Gets or sets how duplicate property names in JSON objects are handled when loading JSON.
- The default value is .
-
- The JSON duplicate property name handling.
-
-
-
- Specifies the settings used when merging JSON.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets the method used when merging JSON arrays.
-
- The method used when merging JSON arrays.
-
-
-
- Gets or sets how null value properties are merged.
-
- How null value properties are merged.
-
-
-
- Gets or sets the comparison used to match property names while merging.
- The exact property name will be searched for first and if no matching property is found then
- the will be used to match a property.
-
- The comparison used to match property names while merging.
-
-
-
- Specifies the settings used when selecting JSON.
-
-
-
-
- Gets or sets a timeout that will be used when executing regular expressions.
-
- The timeout that will be used when executing regular expressions.
-
-
-
- Gets or sets a flag that indicates whether an error should be thrown if
- no tokens are found when evaluating part of the expression.
-
-
- A flag that indicates whether an error should be thrown if
- no tokens are found when evaluating part of the expression.
-
-
-
-
- Represents an abstract JSON token.
-
-
-
-
- Writes this token to a asynchronously.
-
- A into which this method will write.
- The token to monitor for cancellation requests.
- A collection of which will be used when writing the token.
- A that represents the asynchronous write operation.
-
-
-
- Writes this token to a asynchronously.
-
- A into which this method will write.
- A collection of which will be used when writing the token.
- A that represents the asynchronous write operation.
-
-
-
- Asynchronously creates a from a .
-
- An positioned at the token to read into this .
- The token to monitor for cancellation requests. The default value is .
-
- A that represents the asynchronous creation. The
- property returns a that contains
- the token and its descendant tokens
- that were read from the reader. The runtime type of the token is determined
- by the token type of the first token encountered in the reader.
-
-
-
-
- Asynchronously creates a from a .
-
- An positioned at the token to read into this .
- The used to load the JSON.
- If this is null, default load settings will be used.
- The token to monitor for cancellation requests. The default value is .
-
- A that represents the asynchronous creation. The
- property returns a that contains
- the token and its descendant tokens
- that were read from the reader. The runtime type of the token is determined
- by the token type of the first token encountered in the reader.
-
-
-
-
- Asynchronously creates a from a .
-
- A positioned at the token to read into this .
- The token to monitor for cancellation requests. The default value is .
-
- A that represents the asynchronous creation. The
- property returns a that contains the token and its descendant tokens
- that were read from the reader. The runtime type of the token is determined
- by the token type of the first token encountered in the reader.
-
-
-
-
- Asynchronously creates a from a .
-
- A positioned at the token to read into this .
- The used to load the JSON.
- If this is null, default load settings will be used.
- The token to monitor for cancellation requests. The default value is .
-
- A that represents the asynchronous creation. The
- property returns a that contains the token and its descendant tokens
- that were read from the reader. The runtime type of the token is determined
- by the token type of the first token encountered in the reader.
-
-
-
-
- Gets a comparer that can compare two tokens for value equality.
-
- A that can compare two nodes for value equality.
-
-
-
- Gets or sets the parent.
-
- The parent.
-
-
-
- Gets the root of this .
-
- The root of this .
-
-
-
- Gets the node type for this .
-
- The type.
-
-
-
- Gets a value indicating whether this token has child tokens.
-
-
- true if this token has child values; otherwise, false.
-
-
-
-
- Compares the values of two tokens, including the values of all descendant tokens.
-
- The first to compare.
- The second to compare.
- true if the tokens are equal; otherwise false.
-
-
-
- Gets the next sibling token of this node.
-
- The that contains the next sibling token.
-
-
-
- Gets the previous sibling token of this node.
-
- The that contains the previous sibling token.
-
-
-
- Gets the path of the JSON token.
-
-
-
-
- Adds the specified content immediately after this token.
-
- A content object that contains simple content or a collection of content objects to be added after this token.
-
-
-
- Adds the specified content immediately before this token.
-
- A content object that contains simple content or a collection of content objects to be added before this token.
-
-
-
- Returns a collection of the ancestor tokens of this token.
-
- A collection of the ancestor tokens of this token.
-
-
-
- Returns a collection of tokens that contain this token, and the ancestors of this token.
-
- A collection of tokens that contain this token, and the ancestors of this token.
-
-
-
- Returns a collection of the sibling tokens after this token, in document order.
-
- A collection of the sibling tokens after this tokens, in document order.
-
-
-
- Returns a collection of the sibling tokens before this token, in document order.
-
- A collection of the sibling tokens before this token, in document order.
-
-
-
- Gets the with the specified key.
-
- The with the specified key.
-
-
-
- Gets the with the specified key converted to the specified type.
-
- The type to convert the token to.
- The token key.
- The converted token value.
-
-
-
- Get the first child token of this token.
-
- A containing the first child token of the .
-
-
-
- Get the last child token of this token.
-
- A containing the last child token of the .
-
-
-
- Returns a collection of the child tokens of this token, in document order.
-
- An of containing the child tokens of this , in document order.
-
-
-
- Returns a collection of the child tokens of this token, in document order, filtered by the specified type.
-
- The type to filter the child tokens on.
- A containing the child tokens of this , in document order.
-
-
-
- Returns a collection of the child values of this token, in document order.
-
- The type to convert the values to.
- A containing the child values of this , in document order.
-
-
-
- Removes this token from its parent.
-
-
-
-
- Replaces this token with the specified token.
-
- The value.
-
-
-
- Writes this token to a .
-
- A into which this method will write.
- A collection of which will be used when writing the token.
-
-
-
- Returns the indented JSON for this token.
-
-
- ToString() returns a non-JSON string value for tokens with a type of .
- If you want the JSON for all token types then you should use .
-
-
- The indented JSON for this token.
-
-
-
-
- Returns the JSON for this token using the given formatting and converters.
-
- Indicates how the output should be formatted.
- A collection of s which will be used when writing the token.
- The JSON for this token using the given formatting and converters.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to [].
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from [] to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Creates a for this token.
-
- A that can be used to read this token and its descendants.
-
-
-
- Creates a from an object.
-
- The object that will be used to create .
- A with the value of the specified object.
-
-
-
- Creates a from an object using the specified .
-
- The object that will be used to create .
- The that will be used when reading the object.
- A with the value of the specified object.
-
-
-
- Creates an instance of the specified .NET type from the .
-
- The object type that the token will be deserialized to.
- The new object created from the JSON value.
-
-
-
- Creates an instance of the specified .NET type from the .
-
- The object type that the token will be deserialized to.
- The new object created from the JSON value.
-
-
-
- Creates an instance of the specified .NET type from the using the specified .
-
- The object type that the token will be deserialized to.
- The that will be used when creating the object.
- The new object created from the JSON value.
-
-
-
- Creates an instance of the specified .NET type from the using the specified .
-
- The object type that the token will be deserialized to.
- The that will be used when creating the object.
- The new object created from the JSON value.
-
-
-
- Creates a from a .
-
- A positioned at the token to read into this .
-
- A that contains the token and its descendant tokens
- that were read from the reader. The runtime type of the token is determined
- by the token type of the first token encountered in the reader.
-
-
-
-
- Creates a from a .
-
- An positioned at the token to read into this .
- The used to load the JSON.
- If this is null, default load settings will be used.
-
- A that contains the token and its descendant tokens
- that were read from the reader. The runtime type of the token is determined
- by the token type of the first token encountered in the reader.
-
-
-
-
- Load a from a string that contains JSON.
-
- A that contains JSON.
- A populated from the string that contains JSON.
-
-
-
- Load a from a string that contains JSON.
-
- A that contains JSON.
- The used to load the JSON.
- If this is null, default load settings will be used.
- A populated from the string that contains JSON.
-
-
-
- Creates a from a .
-
- A positioned at the token to read into this .
- The used to load the JSON.
- If this is null, default load settings will be used.
-
- A that contains the token and its descendant tokens
- that were read from the reader. The runtime type of the token is determined
- by the token type of the first token encountered in the reader.
-
-
-
-
- Creates a from a .
-
- A positioned at the token to read into this .
-
- A that contains the token and its descendant tokens
- that were read from the reader. The runtime type of the token is determined
- by the token type of the first token encountered in the reader.
-
-
-
-
- Selects a using a JSONPath expression. Selects the token that matches the object path.
-
-
- A that contains a JSONPath expression.
-
- A , or null.
-
-
-
- Selects a using a JSONPath expression. Selects the token that matches the object path.
-
-
- A that contains a JSONPath expression.
-
- A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression.
- A .
-
-
-
- Selects a using a JSONPath expression. Selects the token that matches the object path.
-
-
- A that contains a JSONPath expression.
-
- The used to select tokens.
- A .
-
-
-
- Selects a collection of elements using a JSONPath expression.
-
-
- A that contains a JSONPath expression.
-
- An of that contains the selected elements.
-
-
-
- Selects a collection of elements using a JSONPath expression.
-
-
- A that contains a JSONPath expression.
-
- A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression.
- An of that contains the selected elements.
-
-
-
- Selects a collection of elements using a JSONPath expression.
-
-
- A that contains a JSONPath expression.
-
- The used to select tokens.
- An of that contains the selected elements.
-
-
-
- Returns the responsible for binding operations performed on this object.
-
- The expression tree representation of the runtime value.
-
- The to bind this object.
-
-
-
-
- Returns the responsible for binding operations performed on this object.
-
- The expression tree representation of the runtime value.
-
- The to bind this object.
-
-
-
-
- Creates a new instance of the . All child tokens are recursively cloned.
-
- A new instance of the .
-
-
-
- Creates a new instance of the . All child tokens are recursively cloned.
-
- A object to configure cloning settings.
- A new instance of the .
-
-
-
- Adds an object to the annotation list of this .
-
- The annotation to add.
-
-
-
- Get the first annotation object of the specified type from this .
-
- The type of the annotation to retrieve.
- The first annotation object that matches the specified type, or null if no annotation is of the specified type.
-
-
-
- Gets the first annotation object of the specified type from this .
-
- The of the annotation to retrieve.
- The first annotation object that matches the specified type, or null if no annotation is of the specified type.
-
-
-
- Gets a collection of annotations of the specified type for this .
-
- The type of the annotations to retrieve.
- An that contains the annotations for this .
-
-
-
- Gets a collection of annotations of the specified type for this .
-
- The of the annotations to retrieve.
- An of that contains the annotations that match the specified type for this .
-
-
-
- Removes the annotations of the specified type from this .
-
- The type of annotations to remove.
-
-
-
- Removes the annotations of the specified type from this .
-
- The of annotations to remove.
-
-
-
- Compares tokens to determine whether they are equal.
-
-
-
-
- Determines whether the specified objects are equal.
-
- The first object of type to compare.
- The second object of type to compare.
-
- true if the specified objects are equal; otherwise, false.
-
-
-
-
- Returns a hash code for the specified object.
-
- The for which a hash code is to be returned.
- A hash code for the specified object.
- The type of is a reference type and is null.
-
-
-
- Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data.
-
-
-
-
- Gets the at the reader's current position.
-
-
-
-
- Initializes a new instance of the class.
-
- The token to read from.
-
-
-
- Initializes a new instance of the class.
-
- The token to read from.
- The initial path of the token. It is prepended to the returned .
-
-
-
- Reads the next JSON token from the underlying .
-
-
- true if the next token was read successfully; false if there are no more tokens to read.
-
-
-
-
- Gets the path of the current JSON token.
-
-
-
-
- Specifies the type of token.
-
-
-
-
- No token type has been set.
-
-
-
-
- A JSON object.
-
-
-
-
- A JSON array.
-
-
-
-
- A JSON constructor.
-
-
-
-
- A JSON object property.
-
-
-
-
- A comment.
-
-
-
-
- An integer value.
-
-
-
-
- A float value.
-
-
-
-
- A string value.
-
-
-
-
- A boolean value.
-
-
-
-
- A null value.
-
-
-
-
- An undefined value.
-
-
-
-
- A date value.
-
-
-
-
- A raw JSON value.
-
-
-
-
- A collection of bytes value.
-
-
-
-
- A Guid value.
-
-
-
-
- A Uri value.
-
-
-
-
- A TimeSpan value.
-
-
-
-
- Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
-
-
-
-
- Gets the at the writer's current position.
-
-
-
-
- Gets the token being written.
-
- The token being written.
-
-
-
- Initializes a new instance of the class writing to the given .
-
- The container being written to.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Flushes whatever is in the buffer to the underlying .
-
-
-
-
- Closes this writer.
- If is set to true, the JSON is auto-completed.
-
-
- Setting to true has no additional effect, since the underlying is a type that cannot be closed.
-
-
-
-
- Writes the beginning of a JSON object.
-
-
-
-
- Writes the beginning of a JSON array.
-
-
-
-
- Writes the start of a constructor with the given name.
-
- The name of the constructor.
-
-
-
- Writes the end.
-
- The token.
-
-
-
- Writes the property name of a name/value pair on a JSON object.
-
- The name of the property.
-
-
-
- Writes a value.
- An error will be raised if the value cannot be written as a single JSON token.
-
- The value to write.
-
-
-
- Writes a null value.
-
-
-
-
- Writes an undefined value.
-
-
-
-
- Writes raw JSON.
-
- The raw JSON to write.
-
-
-
- Writes a comment /*...*/ containing the specified text.
-
- Text to place inside the comment.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a [] value.
-
- The [] value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Represents a value in JSON (string, integer, date, etc).
-
-
-
-
- Writes this token to a asynchronously.
-
- A into which this method will write.
- The token to monitor for cancellation requests.
- A collection of which will be used when writing the token.
- A that represents the asynchronous write operation.
-
-
-
- Initializes a new instance of the class from another object.
-
- A object to copy from.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Gets a value indicating whether this token has child tokens.
-
-
- true if this token has child values; otherwise, false.
-
-
-
-
- Creates a comment with the given value.
-
- The value.
- A comment with the given value.
-
-
-
- Creates a string with the given value.
-
- The value.
- A string with the given value.
-
-
-
- Creates a null value.
-
- A null value.
-
-
-
- Creates a undefined value.
-
- A undefined value.
-
-
-
- Gets the node type for this .
-
- The type.
-
-
-
- Gets or sets the underlying token value.
-
- The underlying token value.
-
-
-
- Writes this token to a .
-
- A into which this method will write.
- A collection of s which will be used when writing the token.
-
-
-
- Indicates whether the current object is equal to another object of the same type.
-
-
- true if the current object is equal to the parameter; otherwise, false.
-
- An object to compare with this object.
-
-
-
- Determines whether the specified is equal to the current .
-
- The to compare with the current .
-
- true if the specified is equal to the current ; otherwise, false.
-
-
-
-
- Serves as a hash function for a particular type.
-
-
- A hash code for the current .
-
-
-
-
- Returns a that represents this instance.
-
-
- ToString() returns a non-JSON string value for tokens with a type of .
- If you want the JSON for all token types then you should use .
-
-
- A that represents this instance.
-
-
-
-
- Returns a that represents this instance.
-
- The format.
-
- A that represents this instance.
-
-
-
-
- Returns a that represents this instance.
-
- The format provider.
-
- A that represents this instance.
-
-
-
-
- Returns a that represents this instance.
-
- The format.
- The format provider.
-
- A that represents this instance.
-
-
-
-
- Returns the responsible for binding operations performed on this object.
-
- The expression tree representation of the runtime value.
-
- The to bind this object.
-
-
-
-
- Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
-
- An object to compare with this instance.
-
- A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings:
- Value
- Meaning
- Less than zero
- This instance is less than .
- Zero
- This instance is equal to .
- Greater than zero
- This instance is greater than .
-
-
- is not of the same type as this instance.
-
-
-
-
- Specifies how line information is handled when loading JSON.
-
-
-
-
- Ignore line information.
-
-
-
-
- Load line information.
-
-
-
-
- Specifies how JSON arrays are merged together.
-
-
-
- Concatenate arrays.
-
-
- Union arrays, skipping items that already exist.
-
-
- Replace all array items.
-
-
- Merge array items together, matched by index.
-
-
-
- Specifies how null value properties are merged.
-
-
-
-
- The content's null value properties will be ignored during merging.
-
-
-
-
- The content's null value properties will be merged.
-
-
-
-
- Specifies the member serialization options for the .
-
-
-
-
- All public members are serialized by default. Members can be excluded using or .
- This is the default member serialization mode.
-
-
-
-
- Only members marked with or are serialized.
- This member serialization mode can also be set by marking the class with .
-
-
-
-
- All public and private fields are serialized. Members can be excluded using or .
- This member serialization mode can also be set by marking the class with
- and setting IgnoreSerializableAttribute on to false.
-
-
-
-
- Specifies metadata property handling options for the .
-
-
-
-
- Read metadata properties located at the start of a JSON object.
-
-
-
-
- Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance.
-
-
-
-
- Do not try to read metadata properties.
-
-
-
-
- Specifies missing member handling options for the .
-
-
-
-
- Ignore a missing member and do not attempt to deserialize it.
-
-
-
-
- Throw a when a missing member is encountered during deserialization.
-
-
-
-
- Specifies null value handling options for the .
-
-
-
-
-
-
-
-
- Include null values when serializing and deserializing objects.
-
-
-
-
- Ignore null values when serializing and deserializing objects.
-
-
-
-
- Specifies how object creation is handled by the .
-
-
-
-
- Reuse existing objects, create new objects when needed.
-
-
-
-
- Only reuse existing objects.
-
-
-
-
- Always create new objects.
-
-
-
-
- Specifies reference handling options for the .
- Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement .
-
-
-
-
-
-
-
- Do not preserve references when serializing types.
-
-
-
-
- Preserve references when serializing into a JSON object structure.
-
-
-
-
- Preserve references when serializing into a JSON array structure.
-
-
-
-
- Preserve references when serializing.
-
-
-
-
- Specifies reference loop handling options for the .
-
-
-
-
- Throw a when a loop is encountered.
-
-
-
-
- Ignore loop references and do not serialize.
-
-
-
-
- Serialize loop references.
-
-
-
-
- Indicating whether a property is required.
-
-
-
-
- The property is not required. The default state.
-
-
-
-
- The property must be defined in JSON but can be a null value.
-
-
-
-
- The property must be defined in JSON and cannot be a null value.
-
-
-
-
- The property is not required but it cannot be a null value.
-
-
-
-
-
- Contains the JSON schema extension methods.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
-
- Determines whether the is valid.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
- The source to test.
- The schema to test with.
-
- true if the specified is valid; otherwise, false.
-
-
-
-
-
- Determines whether the is valid.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
- The source to test.
- The schema to test with.
- When this method returns, contains any error messages generated while validating.
-
- true if the specified is valid; otherwise, false.
-
-
-
-
-
- Validates the specified .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
- The source to test.
- The schema to test with.
-
-
-
-
- Validates the specified .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
- The source to test.
- The schema to test with.
- The validation event handler.
-
-
-
-
- An in-memory representation of a JSON Schema.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Gets or sets the id.
-
-
-
-
- Gets or sets the title.
-
-
-
-
- Gets or sets whether the object is required.
-
-
-
-
- Gets or sets whether the object is read-only.
-
-
-
-
- Gets or sets whether the object is visible to users.
-
-
-
-
- Gets or sets whether the object is transient.
-
-
-
-
- Gets or sets the description of the object.
-
-
-
-
- Gets or sets the types of values allowed by the object.
-
- The type.
-
-
-
- Gets or sets the pattern.
-
- The pattern.
-
-
-
- Gets or sets the minimum length.
-
- The minimum length.
-
-
-
- Gets or sets the maximum length.
-
- The maximum length.
-
-
-
- Gets or sets a number that the value should be divisible by.
-
- A number that the value should be divisible by.
-
-
-
- Gets or sets the minimum.
-
- The minimum.
-
-
-
- Gets or sets the maximum.
-
- The maximum.
-
-
-
- Gets or sets a flag indicating whether the value can not equal the number defined by the minimum attribute ().
-
- A flag indicating whether the value can not equal the number defined by the minimum attribute ().
-
-
-
- Gets or sets a flag indicating whether the value can not equal the number defined by the maximum attribute ().
-
- A flag indicating whether the value can not equal the number defined by the maximum attribute ().
-
-
-
- Gets or sets the minimum number of items.
-
- The minimum number of items.
-
-
-
- Gets or sets the maximum number of items.
-
- The maximum number of items.
-
-
-
- Gets or sets the of items.
-
- The of items.
-
-
-
- Gets or sets a value indicating whether items in an array are validated using the instance at their array position from .
-
-
- true if items are validated using their array position; otherwise, false.
-
-
-
-
- Gets or sets the of additional items.
-
- The of additional items.
-
-
-
- Gets or sets a value indicating whether additional items are allowed.
-
-
- true if additional items are allowed; otherwise, false.
-
-
-
-
- Gets or sets whether the array items must be unique.
-
-
-
-
- Gets or sets the of properties.
-
- The of properties.
-
-
-
- Gets or sets the of additional properties.
-
- The of additional properties.
-
-
-
- Gets or sets the pattern properties.
-
- The pattern properties.
-
-
-
- Gets or sets a value indicating whether additional properties are allowed.
-
-
- true if additional properties are allowed; otherwise, false.
-
-
-
-
- Gets or sets the required property if this property is present.
-
- The required property if this property is present.
-
-
-
- Gets or sets the a collection of valid enum values allowed.
-
- A collection of valid enum values allowed.
-
-
-
- Gets or sets disallowed types.
-
- The disallowed types.
-
-
-
- Gets or sets the default value.
-
- The default value.
-
-
-
- Gets or sets the collection of that this schema extends.
-
- The collection of that this schema extends.
-
-
-
- Gets or sets the format.
-
- The format.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Reads a from the specified .
-
- The containing the JSON Schema to read.
- The object representing the JSON Schema.
-
-
-
- Reads a from the specified .
-
- The containing the JSON Schema to read.
- The to use when resolving schema references.
- The object representing the JSON Schema.
-
-
-
- Load a from a string that contains JSON Schema.
-
- A that contains JSON Schema.
- A populated from the string that contains JSON Schema.
-
-
-
- Load a from a string that contains JSON Schema using the specified .
-
- A that contains JSON Schema.
- The resolver.
- A populated from the string that contains JSON Schema.
-
-
-
- Writes this schema to a .
-
- A into which this method will write.
-
-
-
- Writes this schema to a using the specified .
-
- A into which this method will write.
- The resolver used.
-
-
-
- Returns a that represents the current .
-
-
- A that represents the current .
-
-
-
-
-
- Returns detailed information about the schema exception.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Gets the line number indicating where the error occurred.
-
- The line number indicating where the error occurred.
-
-
-
- Gets the line position indicating where the error occurred.
-
- The line position indicating where the error occurred.
-
-
-
- Gets the path to the JSON where the error occurred.
-
- The path to the JSON where the error occurred.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- with a specified error message.
-
- The error message that explains the reason for the exception.
-
-
-
- Initializes a new instance of the class
- with a specified error message and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Initializes a new instance of the class.
-
- The that holds the serialized object data about the exception being thrown.
- The that contains contextual information about the source or destination.
- The parameter is null.
- The class name is null or is zero (0).
-
-
-
-
- Generates a from a specified .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Gets or sets how undefined schemas are handled by the serializer.
-
-
-
-
- Gets or sets the contract resolver.
-
- The contract resolver.
-
-
-
- Generate a from the specified type.
-
- The type to generate a from.
- A generated from the specified type.
-
-
-
- Generate a from the specified type.
-
- The type to generate a from.
- The used to resolve schema references.
- A generated from the specified type.
-
-
-
- Generate a from the specified type.
-
- The type to generate a from.
- Specify whether the generated root will be nullable.
- A generated from the specified type.
-
-
-
- Generate a from the specified type.
-
- The type to generate a from.
- The used to resolve schema references.
- Specify whether the generated root will be nullable.
- A generated from the specified type.
-
-
-
-
- Resolves from an id.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Gets or sets the loaded schemas.
-
- The loaded schemas.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets a for the specified reference.
-
- The id.
- A for the specified reference.
-
-
-
-
- The value types allowed by the .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- No type specified.
-
-
-
-
- String type.
-
-
-
-
- Float type.
-
-
-
-
- Integer type.
-
-
-
-
- Boolean type.
-
-
-
-
- Object type.
-
-
-
-
- Array type.
-
-
-
-
- Null type.
-
-
-
-
- Any type.
-
-
-
-
-
- Specifies undefined schema Id handling options for the .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Do not infer a schema Id.
-
-
-
-
- Use the .NET type name as the schema Id.
-
-
-
-
- Use the assembly qualified .NET type name as the schema Id.
-
-
-
-
-
- Returns detailed information related to the .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Gets the associated with the validation error.
-
- The JsonSchemaException associated with the validation error.
-
-
-
- Gets the path of the JSON location where the validation error occurred.
-
- The path of the JSON location where the validation error occurred.
-
-
-
- Gets the text description corresponding to the validation error.
-
- The text description.
-
-
-
-
- Represents the callback method that will handle JSON schema validation events and the .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- A camel case naming strategy.
-
-
-
-
- Initializes a new instance of the class.
-
-
- A flag indicating whether dictionary keys should be processed.
-
-
- A flag indicating whether explicitly specified property names should be processed,
- e.g. a property name customized with a .
-
-
-
-
- Initializes a new instance of the class.
-
-
- A flag indicating whether dictionary keys should be processed.
-
-
- A flag indicating whether explicitly specified property names should be processed,
- e.g. a property name customized with a .
-
-
- A flag indicating whether extension data names should be processed.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Resolves the specified property name.
-
- The property name to resolve.
- The resolved property name.
-
-
-
- Resolves member mappings for a type, camel casing property names.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Resolves the contract for a given type.
-
- The type to resolve a contract for.
- The contract for a given type.
-
-
-
- Used by to resolve a for a given .
-
-
-
-
- Gets a value indicating whether members are being get and set using dynamic code generation.
- This value is determined by the runtime permissions available.
-
-
- true if using dynamic code generation; otherwise, false.
-
-
-
-
- Gets or sets the default members search flags.
-
- The default members search flags.
-
-
-
- Gets or sets a value indicating whether compiler generated members should be serialized.
-
-
- true if serialized compiler generated members; otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether to ignore the interface when serializing and deserializing types.
-
-
- true if the interface will be ignored when serializing and deserializing types; otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether to ignore the attribute when serializing and deserializing types.
-
-
- true if the attribute will be ignored when serializing and deserializing types; otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether to ignore IsSpecified members when serializing and deserializing types.
-
-
- true if the IsSpecified members will be ignored when serializing and deserializing types; otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether to ignore ShouldSerialize members when serializing and deserializing types.
-
-
- true if the ShouldSerialize members will be ignored when serializing and deserializing types; otherwise, false.
-
-
-
-
- Gets or sets the naming strategy used to resolve how property names and dictionary keys are serialized.
-
- The naming strategy used to resolve how property names and dictionary keys are serialized.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Resolves the contract for a given type.
-
- The type to resolve a contract for.
- The contract for a given type.
-
-
-
- Gets the serializable members for the type.
-
- The type to get serializable members for.
- The serializable members for the type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates the constructor parameters.
-
- The constructor to create properties for.
- The type's member properties.
- Properties for the given .
-
-
-
- Creates a for the given .
-
- The matching member property.
- The constructor parameter.
- A created for the given .
-
-
-
- Resolves the default for the contract.
-
- Type of the object.
- The contract's default .
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Determines which contract type is created for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates properties for the given .
-
- The type to create properties for.
- /// The member serialization mode for the type.
- Properties for the given .
-
-
-
- Creates the used by the serializer to get and set values from a member.
-
- The member.
- The used by the serializer to get and set values from a member.
-
-
-
- Creates a for the given .
-
- The member's parent .
- The member to create a for.
- A created for the given .
-
-
-
- Resolves the name of the property.
-
- Name of the property.
- Resolved name of the property.
-
-
-
- Resolves the name of the extension data. By default no changes are made to extension data names.
-
- Name of the extension data.
- Resolved name of the extension data.
-
-
-
- Resolves the key of the dictionary. By default is used to resolve dictionary keys.
-
- Key of the dictionary.
- Resolved key of the dictionary.
-
-
-
- Gets the resolved name of the property.
-
- Name of the property.
- Name of the property.
-
-
-
- The default naming strategy. Property names and dictionary keys are unchanged.
-
-
-
-
- Resolves the specified property name.
-
- The property name to resolve.
- The resolved property name.
-
-
-
- The default serialization binder used when resolving and loading classes from type names.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- When overridden in a derived class, controls the binding of a serialized object to a type.
-
- Specifies the name of the serialized object.
- Specifies the name of the serialized object.
-
- The type of the object the formatter creates a new instance of.
-
-
-
-
- When overridden in a derived class, controls the binding of a serialized object to a type.
-
- The type of the object the formatter creates a new instance of.
- Specifies the name of the serialized object.
- Specifies the name of the serialized object.
-
-
-
- Represents a trace writer that writes to the application's instances.
-
-
-
-
- Gets the that will be used to filter the trace messages passed to the writer.
- For example a filter level of will exclude messages and include ,
- and messages.
-
-
- The that will be used to filter the trace messages passed to the writer.
-
-
-
-
- Writes the specified trace level, message and optional exception.
-
- The at which to write this trace.
- The trace message.
- The trace exception. This parameter is optional.
-
-
-
- Get and set values for a using dynamic methods.
-
-
-
-
- Initializes a new instance of the class.
-
- The member info.
-
-
-
- Sets the value.
-
- The target to set the value on.
- The value to set on the target.
-
-
-
- Gets the value.
-
- The target to get the value from.
- The value.
-
-
-
- Provides information surrounding an error.
-
-
-
-
- Gets the error.
-
- The error.
-
-
-
- Gets the original object that caused the error.
-
- The original object that caused the error.
-
-
-
- Gets the member that caused the error.
-
- The member that caused the error.
-
-
-
- Gets the path of the JSON location where the error occurred.
-
- The path of the JSON location where the error occurred.
-
-
-
- Gets or sets a value indicating whether this is handled.
-
- true if handled; otherwise, false.
-
-
-
- Provides data for the Error event.
-
-
-
-
- Gets the current object the error event is being raised against.
-
- The current object the error event is being raised against.
-
-
-
- Gets the error context.
-
- The error context.
-
-
-
- Initializes a new instance of the class.
-
- The current object.
- The error context.
-
-
-
- Get and set values for a using dynamic methods.
-
-
-
-
- Initializes a new instance of the class.
-
- The member info.
-
-
-
- Sets the value.
-
- The target to set the value on.
- The value to set on the target.
-
-
-
- Gets the value.
-
- The target to get the value from.
- The value.
-
-
-
- Provides methods to get attributes.
-
-
-
-
- Returns a collection of all of the attributes, or an empty collection if there are no attributes.
-
- When true, look up the hierarchy chain for the inherited custom attribute.
- A collection of s, or an empty collection.
-
-
-
- Returns a collection of attributes, identified by type, or an empty collection if there are no attributes.
-
- The type of the attributes.
- When true, look up the hierarchy chain for the inherited custom attribute.
- A collection of s, or an empty collection.
-
-
-
- Used by to resolve a for a given .
-
-
-
-
-
-
-
-
- Resolves the contract for a given type.
-
- The type to resolve a contract for.
- The contract for a given type.
-
-
-
- Used to resolve references when serializing and deserializing JSON by the .
-
-
-
-
- Resolves a reference to its object.
-
- The serialization context.
- The reference to resolve.
- The object that was resolved from the reference.
-
-
-
- Gets the reference for the specified object.
-
- The serialization context.
- The object to get a reference for.
- The reference to the object.
-
-
-
- Determines whether the specified object is referenced.
-
- The serialization context.
- The object to test for a reference.
-
- true if the specified object is referenced; otherwise, false.
-
-
-
-
- Adds a reference to the specified object.
-
- The serialization context.
- The reference.
- The object to reference.
-
-
-
- Allows users to control class loading and mandate what class to load.
-
-
-
-
- When implemented, controls the binding of a serialized object to a type.
-
- Specifies the name of the serialized object.
- Specifies the name of the serialized object
- The type of the object the formatter creates a new instance of.
-
-
-
- When implemented, controls the binding of a serialized object to a type.
-
- The type of the object the formatter creates a new instance of.
- Specifies the name of the serialized object.
- Specifies the name of the serialized object.
-
-
-
- Represents a trace writer.
-
-
-
-
- Gets the that will be used to filter the trace messages passed to the writer.
- For example a filter level of will exclude messages and include ,
- and messages.
-
- The that will be used to filter the trace messages passed to the writer.
-
-
-
- Writes the specified trace level, message and optional exception.
-
- The at which to write this trace.
- The trace message.
- The trace exception. This parameter is optional.
-
-
-
- Provides methods to get and set values.
-
-
-
-
- Sets the value.
-
- The target to set the value on.
- The value to set on the target.
-
-
-
- Gets the value.
-
- The target to get the value from.
- The value.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Gets the of the collection items.
-
- The of the collection items.
-
-
-
- Gets a value indicating whether the collection type is a multidimensional array.
-
- true if the collection type is a multidimensional array; otherwise, false.
-
-
-
- Gets or sets the function used to create the object. When set this function will override .
-
- The function used to create the object.
-
-
-
- Gets a value indicating whether the creator has a parameter with the collection values.
-
- true if the creator has a parameter with the collection values; otherwise, false.
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Gets or sets the default collection items .
-
- The converter.
-
-
-
- Gets or sets a value indicating whether the collection items preserve object references.
-
- true if collection items preserve object references; otherwise, false.
-
-
-
- Gets or sets the collection item reference loop handling.
-
- The reference loop handling.
-
-
-
- Gets or sets the collection item type name handling.
-
- The type name handling.
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Handles serialization callback events.
-
- The object that raised the callback event.
- The streaming context.
-
-
-
- Handles serialization error callback events.
-
- The object that raised the callback event.
- The streaming context.
- The error context.
-
-
-
- Sets extension data for an object during deserialization.
-
- The object to set extension data on.
- The extension data key.
- The extension data value.
-
-
-
- Gets extension data for an object during serialization.
-
- The object to set extension data on.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Gets the underlying type for the contract.
-
- The underlying type for the contract.
-
-
-
- Gets or sets the type created during deserialization.
-
- The type created during deserialization.
-
-
-
- Gets or sets whether this type contract is serialized as a reference.
-
- Whether this type contract is serialized as a reference.
-
-
-
- Gets or sets the default for this contract.
-
- The converter.
-
-
-
- Gets the internally resolved for the contract's type.
- This converter is used as a fallback converter when no other converter is resolved.
- Setting will always override this converter.
-
-
-
-
- Gets or sets all methods called immediately after deserialization of the object.
-
- The methods called immediately after deserialization of the object.
-
-
-
- Gets or sets all methods called during deserialization of the object.
-
- The methods called during deserialization of the object.
-
-
-
- Gets or sets all methods called after serialization of the object graph.
-
- The methods called after serialization of the object graph.
-
-
-
- Gets or sets all methods called before serialization of the object.
-
- The methods called before serialization of the object.
-
-
-
- Gets or sets all method called when an error is thrown during the serialization of the object.
-
- The methods called when an error is thrown during the serialization of the object.
-
-
-
- Gets or sets the default creator method used to create the object.
-
- The default creator method used to create the object.
-
-
-
- Gets or sets a value indicating whether the default creator is non-public.
-
- true if the default object creator is non-public; otherwise, false.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Gets or sets the dictionary key resolver.
-
- The dictionary key resolver.
-
-
-
- Gets the of the dictionary keys.
-
- The of the dictionary keys.
-
-
-
- Gets the of the dictionary values.
-
- The of the dictionary values.
-
-
-
- Gets or sets the function used to create the object. When set this function will override .
-
- The function used to create the object.
-
-
-
- Gets a value indicating whether the creator has a parameter with the dictionary values.
-
- true if the creator has a parameter with the dictionary values; otherwise, false.
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Gets the object's properties.
-
- The object's properties.
-
-
-
- Gets or sets the property name resolver.
-
- The property name resolver.
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Gets or sets the object constructor.
-
- The object constructor.
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Gets or sets the object member serialization.
-
- The member object serialization.
-
-
-
- Gets or sets the missing member handling used when deserializing this object.
-
- The missing member handling.
-
-
-
- Gets or sets a value that indicates whether the object's properties are required.
-
-
- A value indicating whether the object's properties are required.
-
-
-
-
- Gets or sets how the object's properties with null values are handled during serialization and deserialization.
-
- How the object's properties with null values are handled during serialization and deserialization.
-
-
-
- Gets the object's properties.
-
- The object's properties.
-
-
-
- Gets a collection of instances that define the parameters used with .
-
-
-
-
- Gets or sets the function used to create the object. When set this function will override .
- This function is called with a collection of arguments which are defined by the collection.
-
- The function used to create the object.
-
-
-
- Gets or sets the extension data setter.
-
-
-
-
- Gets or sets the extension data getter.
-
-
-
-
- Gets or sets the extension data value type.
-
-
-
-
- Gets or sets the extension data name resolver.
-
- The extension data name resolver.
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Maps a JSON property to a .NET member or constructor parameter.
-
-
-
-
- Gets or sets the name of the property.
-
- The name of the property.
-
-
-
- Gets or sets the type that declared this property.
-
- The type that declared this property.
-
-
-
- Gets or sets the order of serialization of a member.
-
- The numeric order of serialization.
-
-
-
- Gets or sets the name of the underlying member or parameter.
-
- The name of the underlying member or parameter.
-
-
-
- Gets the that will get and set the during serialization.
-
- The that will get and set the during serialization.
-
-
-
- Gets or sets the for this property.
-
- The for this property.
-
-
-
- Gets or sets the type of the property.
-
- The type of the property.
-
-
-
- Gets or sets the for the property.
- If set this converter takes precedence over the contract converter for the property type.
-
- The converter.
-
-
-
- Gets or sets the member converter.
-
- The member converter.
-
-
-
- Gets or sets a value indicating whether this is ignored.
-
- true if ignored; otherwise, false.
-
-
-
- Gets or sets a value indicating whether this is readable.
-
- true if readable; otherwise, false.
-
-
-
- Gets or sets a value indicating whether this is writable.
-
- true if writable; otherwise, false.
-
-
-
- Gets or sets a value indicating whether this has a member attribute.
-
- true if has a member attribute; otherwise, false.
-
-
-
- Gets the default value.
-
- The default value.
-
-
-
- Gets or sets a value indicating whether this is required.
-
- A value indicating whether this is required.
-
-
-
- Gets a value indicating whether has a value specified.
-
-
-
-
- Gets or sets a value indicating whether this property preserves object references.
-
-
- true if this instance is reference; otherwise, false.
-
-
-
-
- Gets or sets the property null value handling.
-
- The null value handling.
-
-
-
- Gets or sets the property default value handling.
-
- The default value handling.
-
-
-
- Gets or sets the property reference loop handling.
-
- The reference loop handling.
-
-
-
- Gets or sets the property object creation handling.
-
- The object creation handling.
-
-
-
- Gets or sets or sets the type name handling.
-
- The type name handling.
-
-
-
- Gets or sets a predicate used to determine whether the property should be serialized.
-
- A predicate used to determine whether the property should be serialized.
-
-
-
- Gets or sets a predicate used to determine whether the property should be deserialized.
-
- A predicate used to determine whether the property should be deserialized.
-
-
-
- Gets or sets a predicate used to determine whether the property should be serialized.
-
- A predicate used to determine whether the property should be serialized.
-
-
-
- Gets or sets an action used to set whether the property has been deserialized.
-
- An action used to set whether the property has been deserialized.
-
-
-
- Returns a that represents this instance.
-
-
- A that represents this instance.
-
-
-
-
- Gets or sets the converter used when serializing the property's collection items.
-
- The collection's items converter.
-
-
-
- Gets or sets whether this property's collection items are serialized as a reference.
-
- Whether this property's collection items are serialized as a reference.
-
-
-
- Gets or sets the type name handling used when serializing the property's collection items.
-
- The collection's items type name handling.
-
-
-
- Gets or sets the reference loop handling used when serializing the property's collection items.
-
- The collection's items reference loop handling.
-
-
-
- A collection of objects.
-
-
-
-
- Initializes a new instance of the class.
-
- The type.
-
-
-
- When implemented in a derived class, extracts the key from the specified element.
-
- The element from which to extract the key.
- The key for the specified element.
-
-
-
- Adds a object.
-
- The property to add to the collection.
-
-
-
- Gets the closest matching object.
- First attempts to get an exact case match of and then
- a case insensitive match.
-
- Name of the property.
- A matching property if found.
-
-
-
- Gets a property by property name.
-
- The name of the property to get.
- Type property name string comparison.
- A matching property if found.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Lookup and create an instance of the type described by the argument.
-
- The type to create.
- Optional arguments to pass to an initializing constructor of the JsonConverter.
- If null, the default constructor is used.
-
-
-
- A kebab case naming strategy.
-
-
-
-
- Initializes a new instance of the class.
-
-
- A flag indicating whether dictionary keys should be processed.
-
-
- A flag indicating whether explicitly specified property names should be processed,
- e.g. a property name customized with a .
-
-
-
-
- Initializes a new instance of the class.
-
-
- A flag indicating whether dictionary keys should be processed.
-
-
- A flag indicating whether explicitly specified property names should be processed,
- e.g. a property name customized with a .
-
-
- A flag indicating whether extension data names should be processed.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Resolves the specified property name.
-
- The property name to resolve.
- The resolved property name.
-
-
-
- Represents a trace writer that writes to memory. When the trace message limit is
- reached then old trace messages will be removed as new messages are added.
-
-
-
-
- Gets the that will be used to filter the trace messages passed to the writer.
- For example a filter level of will exclude messages and include ,
- and messages.
-
-
- The that will be used to filter the trace messages passed to the writer.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Writes the specified trace level, message and optional exception.
-
- The at which to write this trace.
- The trace message.
- The trace exception. This parameter is optional.
-
-
-
- Returns an enumeration of the most recent trace messages.
-
- An enumeration of the most recent trace messages.
-
-
-
- Returns a of the most recent trace messages.
-
-
- A of the most recent trace messages.
-
-
-
-
- A base class for resolving how property names and dictionary keys are serialized.
-
-
-
-
- A flag indicating whether dictionary keys should be processed.
- Defaults to false.
-
-
-
-
- A flag indicating whether extension data names should be processed.
- Defaults to false.
-
-
-
-
- A flag indicating whether explicitly specified property names,
- e.g. a property name customized with a , should be processed.
- Defaults to false.
-
-
-
-
- Gets the serialized name for a given property name.
-
- The initial property name.
- A flag indicating whether the property has had a name explicitly specified.
- The serialized property name.
-
-
-
- Gets the serialized name for a given extension data name.
-
- The initial extension data name.
- The serialized extension data name.
-
-
-
- Gets the serialized key for a given dictionary key.
-
- The initial dictionary key.
- The serialized dictionary key.
-
-
-
- Resolves the specified property name.
-
- The property name to resolve.
- The resolved property name.
-
-
-
- Hash code calculation
-
-
-
-
-
- Object equality implementation
-
-
-
-
-
-
- Compare to another NamingStrategy
-
-
-
-
-
-
- Represents a method that constructs an object.
-
- The object type to create.
-
-
-
- When applied to a method, specifies that the method is called when an error occurs serializing an object.
-
-
-
-
- Provides methods to get attributes from a , , or .
-
-
-
-
- Initializes a new instance of the class.
-
- The instance to get attributes for. This parameter should be a , , or .
-
-
-
- Returns a collection of all of the attributes, or an empty collection if there are no attributes.
-
- When true, look up the hierarchy chain for the inherited custom attribute.
- A collection of s, or an empty collection.
-
-
-
- Returns a collection of attributes, identified by type, or an empty collection if there are no attributes.
-
- The type of the attributes.
- When true, look up the hierarchy chain for the inherited custom attribute.
- A collection of s, or an empty collection.
-
-
-
- Get and set values for a using reflection.
-
-
-
-
- Initializes a new instance of the class.
-
- The member info.
-
-
-
- Sets the value.
-
- The target to set the value on.
- The value to set on the target.
-
-
-
- Gets the value.
-
- The target to get the value from.
- The value.
-
-
-
- A snake case naming strategy.
-
-
-
-
- Initializes a new instance of the class.
-
-
- A flag indicating whether dictionary keys should be processed.
-
-
- A flag indicating whether explicitly specified property names should be processed,
- e.g. a property name customized with a .
-
-
-
-
- Initializes a new instance of the class.
-
-
- A flag indicating whether dictionary keys should be processed.
-
-
- A flag indicating whether explicitly specified property names should be processed,
- e.g. a property name customized with a .
-
-
- A flag indicating whether extension data names should be processed.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Resolves the specified property name.
-
- The property name to resolve.
- The resolved property name.
-
-
-
- Specifies how strings are escaped when writing JSON text.
-
-
-
-
- Only control characters (e.g. newline) are escaped.
-
-
-
-
- All non-ASCII and control characters (e.g. newline) are escaped.
-
-
-
-
- HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped.
-
-
-
-
- Indicates the method that will be used during deserialization for locating and loading assemblies.
-
-
-
-
- In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the LoadWithPartialName method of the class is used to load the assembly.
-
-
-
-
- In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The Load method of the class is used to load the assembly.
-
-
-
-
- Specifies type name handling options for the .
-
-
- should be used with caution when your application deserializes JSON from an external source.
- Incoming types should be validated with a custom
- when deserializing with a value other than .
-
-
-
-
- Do not include the .NET type name when serializing types.
-
-
-
-
- Include the .NET type name when serializing into a JSON object structure.
-
-
-
-
- Include the .NET type name when serializing into a JSON array structure.
-
-
-
-
- Always include the .NET type name when serializing.
-
-
-
-
- Include the .NET type name when the type of the object being serialized is not the same as its declared type.
- Note that this doesn't include the root serialized object by default. To include the root object's type name in JSON
- you must specify a root type object with
- or .
-
-
-
-
- Determines whether the collection is null or empty.
-
- The collection.
-
- true if the collection is null or empty; otherwise, false.
-
-
-
-
- Adds the elements of the specified collection to the specified generic .
-
- The list to add to.
- The collection of elements to add.
-
-
-
- Converts the value to the specified type. If the value is unable to be converted, the
- value is checked whether it assignable to the specified type.
-
- The value to convert.
- The culture to use when converting.
- The type to convert or cast the value to.
-
- The converted type. If conversion was unsuccessful, the initial value
- is returned if assignable to the target type.
-
-
-
-
- Helper method for generating a MetaObject which calls a
- specific method on Dynamic that returns a result
-
-
-
-
- Helper method for generating a MetaObject which calls a
- specific method on Dynamic, but uses one of the arguments for
- the result.
-
-
-
-
- Helper method for generating a MetaObject which calls a
- specific method on Dynamic, but uses one of the arguments for
- the result.
-
-
-
-
- Returns a Restrictions object which includes our current restrictions merged
- with a restriction limiting our type
-
-
-
-
- Helper class for serializing immutable collections.
- Note that this is used by all builds, even those that don't support immutable collections, in case the DLL is GACed
- https://github.com/JamesNK/Newtonsoft.Json/issues/652
-
-
-
-
- Gets the type of the typed collection's items.
-
- The type.
- The type of the typed collection's items.
-
-
-
- Gets the member's underlying type.
-
- The member.
- The underlying type of the member.
-
-
-
- Determines whether the property is an indexed property.
-
- The property.
-
- true if the property is an indexed property; otherwise, false.
-
-
-
-
- Gets the member's value on the object.
-
- The member.
- The target object.
- The member's value on the object.
-
-
-
- Sets the member's value on the target object.
-
- The member.
- The target.
- The value.
-
-
-
- Determines whether the specified MemberInfo can be read.
-
- The MemberInfo to determine whether can be read.
- /// if set to true then allow the member to be gotten non-publicly.
-
- true if the specified MemberInfo can be read; otherwise, false.
-
-
-
-
- Determines whether the specified MemberInfo can be set.
-
- The MemberInfo to determine whether can be set.
- if set to true then allow the member to be set non-publicly.
- if set to true then allow the member to be set if read-only.
-
- true if the specified MemberInfo can be set; otherwise, false.
-
-
-
-
- Builds a string. Unlike this class lets you reuse its internal buffer.
-
-
-
-
- Determines whether the string is all white space. Empty string will return false.
-
- The string to test whether it is all white space.
-
- true if the string is all white space; otherwise, false.
-
-
-
-
- Specifies the state of the .
-
-
-
-
- An exception has been thrown, which has left the in an invalid state.
- You may call the method to put the in the Closed state.
- Any other method calls result in an being thrown.
-
-
-
-
- The method has been called.
-
-
-
-
- An object is being written.
-
-
-
-
- An array is being written.
-
-
-
-
- A constructor is being written.
-
-
-
-
- A property is being written.
-
-
-
-
- A write method has not been called.
-
-
-
-
diff --git a/packages/Newtonsoft.Json.13.0.3/lib/netstandard1.0/Newtonsoft.Json.dll b/packages/Newtonsoft.Json.13.0.3/lib/netstandard1.0/Newtonsoft.Json.dll
deleted file mode 100644
index a0b1ff0..0000000
Binary files a/packages/Newtonsoft.Json.13.0.3/lib/netstandard1.0/Newtonsoft.Json.dll and /dev/null differ
diff --git a/packages/Newtonsoft.Json.13.0.3/lib/netstandard1.0/Newtonsoft.Json.xml b/packages/Newtonsoft.Json.13.0.3/lib/netstandard1.0/Newtonsoft.Json.xml
deleted file mode 100644
index 4409234..0000000
--- a/packages/Newtonsoft.Json.13.0.3/lib/netstandard1.0/Newtonsoft.Json.xml
+++ /dev/null
@@ -1,11051 +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 BSON data.
-
-
-
-
- Gets or sets a value indicating whether binary data reading should be compatible with incorrect Json.NET 3.5 written binary.
-
-
- true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether the root object will be read as a JSON array.
-
-
- true if the root object will be read as a JSON array; otherwise, false.
-
-
-
-
- Gets or sets the used when reading values from BSON.
-
- The used when reading values from BSON.
-
-
-
- Initializes a new instance of the class.
-
- The containing the BSON data to read.
-
-
-
- Initializes a new instance of the class.
-
- The containing the BSON data to read.
-
-
-
- Initializes a new instance of the class.
-
- The containing the BSON data to read.
- if set to true the root object will be read as a JSON array.
- The used when reading values from BSON.
-
-
-
- Initializes a new instance of the class.
-
- The containing the BSON data to read.
- if set to true the root object will be read as a JSON array.
- The used when reading values from BSON.
-
-
-
- Reads the next JSON token from the underlying .
-
-
- true if the next token was read successfully; false if there are no more tokens to read.
-
-
-
-
- Changes the reader's state to .
- If is set to true, the underlying is also closed.
-
-
-
-
- Represents a writer that provides a fast, non-cached, forward-only way of generating BSON data.
-
-
-
-
- Gets or sets the used when writing values to BSON.
- When set to no conversion will occur.
-
- The used when writing values to BSON.
-
-
-
- Initializes a new instance of the class.
-
- The to write to.
-
-
-
- Initializes a new instance of the class.
-
- The to write to.
-
-
-
- Flushes whatever is in the buffer to the underlying and also flushes the underlying stream.
-
-
-
-
- Writes the end.
-
- The token.
-
-
-
- Writes a comment /*...*/ containing the specified text.
-
- Text to place inside the comment.
-
-
-
- Writes the start of a constructor with the given name.
-
- The name of the constructor.
-
-
-
- Writes raw JSON.
-
- The raw JSON to write.
-
-
-
- Writes raw JSON where a value is expected and updates the writer's state.
-
- The raw JSON to write.
-
-
-
- Writes the beginning of a JSON array.
-
-
-
-
- Writes the beginning of a JSON object.
-
-
-
-
- Writes the property name of a name/value pair on a JSON object.
-
- The name of the property.
-
-
-
- Closes this writer.
- If is set to true, the underlying is also closed.
- If is set to true, the JSON is auto-completed.
-
-
-
-
- Writes a value.
- An error will raised if the value cannot be written as a single JSON token.
-
- The value to write.
-
-
-
- Writes a null value.
-
-
-
-
- Writes an undefined value.
-
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a [] value.
-
- The [] value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a [] value that represents a BSON object id.
-
- The Object ID value to write.
-
-
-
- Writes a BSON regex.
-
- The regex pattern.
- The regex options.
-
-
-
- Specifies how constructors are used when initializing objects during deserialization by the .
-
-
-
-
- First attempt to use the public default constructor, then fall back to a single parameterized constructor, then to the non-public default constructor.
-
-
-
-
- Json.NET will use a non-public default constructor before falling back to a parameterized constructor.
-
-
-
-
- Converts a binary value to and from a base 64 string value.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts a to and from JSON and BSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Creates a custom object.
-
- The object type to convert.
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Creates an object which will then be populated by the serializer.
-
- Type of the object.
- The created object.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Gets a value indicating whether this can write JSON.
-
-
- true if this can write JSON; otherwise, false.
-
-
-
-
- Provides a base class for converting a to and from JSON.
-
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts a F# discriminated union type to and from JSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts an to and from JSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Gets a value indicating whether this can write JSON.
-
-
- true if this can write JSON; otherwise, false.
-
-
-
-
- Converts a to and from the ISO 8601 date format (e.g. "2008-04-12T12:53Z").
-
-
-
-
- Gets or sets the date time styles used when converting a date to and from JSON.
-
- The date time styles used when converting a date to and from JSON.
-
-
-
- Gets or sets the date time format used when converting a date to and from JSON.
-
- The date time format used when converting a date to and from JSON.
-
-
-
- Gets or sets the culture used when converting a date to and from JSON.
-
- The culture used when converting a date to and from JSON.
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Converts a to and from a JavaScript Date constructor (e.g. new Date(52231943)).
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing property value of the JSON that is being converted.
- The calling serializer.
- The object value.
-
-
-
- Converts a to and from JSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts a to and from JSON and BSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts an to and from its name string value.
-
-
-
-
- Gets or sets a value indicating whether the written enum text should be camel case.
- The default value is false.
-
- true if the written enum text will be camel case; otherwise, false.
-
-
-
- Gets or sets the naming strategy used to resolve how enum text is written.
-
- The naming strategy used to resolve how enum text is written.
-
-
-
- Gets or sets a value indicating whether integer values are allowed when serializing and deserializing.
- The default value is true.
-
- true if integers are allowed when serializing and deserializing; otherwise, false.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- true if the written enum text will be camel case; otherwise, false.
-
-
-
- Initializes a new instance of the class.
-
- The naming strategy used to resolve how enum text is written.
- true if integers are allowed when serializing and deserializing; otherwise, false.
-
-
-
- Initializes a new instance of the class.
-
- The of the used to write enum text.
-
-
-
- Initializes a new instance of the class.
-
- The of the used to write enum text.
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
- When non-null, there must be a constructor defined in the that exactly matches the number,
- order, and type of these parameters.
-
-
-
-
- Initializes a new instance of the class.
-
- The of the used to write enum text.
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
- When non-null, there must be a constructor defined in the that exactly matches the number,
- order, and type of these parameters.
-
- true if integers are allowed when serializing and deserializing; otherwise, false.
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts a to and from Unix epoch time
-
-
-
-
- Gets or sets a value indicating whether the dates before Unix epoch
- should converted to and from JSON.
-
-
- true to allow converting dates before Unix epoch to and from JSON;
- false to throw an exception when a date being converted to or from JSON
- occurred before Unix epoch. The default value is false.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
-
- true to allow converting dates before Unix epoch to and from JSON;
- false to throw an exception when a date being converted to or from JSON
- occurred before Unix epoch. The default value is 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 property value of the JSON that is being converted.
- The calling serializer.
- The object value.
-
-
-
- Converts a to and from a string (e.g. "1.2.3.4").
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing property value of the JSON that is being converted.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts XML to and from JSON.
-
-
-
-
- Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produced multiple root elements.
-
- The name of the deserialized root element.
-
-
-
- Gets or sets a value to indicate whether to write the Json.NET array attribute.
- This attribute helps preserve arrays when converting the written XML back to JSON.
-
- true if the array attribute is written to the XML; otherwise, false.
-
-
-
- Gets or sets a value indicating whether to write the root JSON object.
-
- true if the JSON root object is omitted; otherwise, false.
-
-
-
- Gets or sets a value indicating whether to encode special characters when converting JSON to XML.
- If true, special characters like ':', '@', '?', '#' and '$' in JSON property names aren't used to specify
- XML namespaces, attributes or processing directives. Instead special characters are encoded and written
- as part of the XML element name.
-
- true if special characters are encoded; otherwise, false.
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The calling serializer.
- The value.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Checks if the is a namespace attribute.
-
- Attribute name to test.
- The attribute name prefix if it has one, otherwise an empty string.
- true if attribute name is for a namespace attribute, otherwise false.
-
-
-
- Determines whether this instance can convert the specified value type.
-
- Type of the value.
-
- true if this instance can convert the specified value type; otherwise, false.
-
-
-
-
- Specifies how dates are formatted when writing JSON text.
-
-
-
-
- Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z".
-
-
-
-
- Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/".
-
-
-
-
- Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text.
-
-
-
-
- Date formatted strings are not parsed to a date type and are read as strings.
-
-
-
-
- Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to .
-
-
-
-
- Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to .
-
-
-
-
- Specifies how to treat the time value when converting between string and .
-
-
-
-
- Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time.
-
-
-
-
- Treat as a UTC. If the object represents a local time, it is converted to a UTC.
-
-
-
-
- Treat as a local time if a is being converted to a string.
- If a string is being converted to , convert to a local time if a time zone is specified.
-
-
-
-
- Time zone information should be preserved when converting.
-
-
-
-
- The default JSON name table implementation.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets a string containing the same characters as the specified range of characters in the given array.
-
- The character array containing the name to find.
- The zero-based index into the array specifying the first character of the name.
- The number of characters in the name.
- A string containing the same characters as the specified range of characters in the given array.
-
-
-
- Adds the specified string into name table.
-
- The string to add.
- This method is not thread-safe.
- The resolved string.
-
-
-
- Specifies default value handling options for the .
-
-
-
-
-
-
-
-
- Include members where the member value is the same as the member's default value when serializing objects.
- Included members are written to JSON. Has no effect when deserializing.
-
-
-
-
- Ignore members where the member value is the same as the member's default value when serializing objects
- so that it is not written to JSON.
- This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers,
- decimals and floating point numbers; and false for booleans). The default value ignored can be changed by
- placing the on the property.
-
-
-
-
- Members with a default value but no JSON will be set to their default value when deserializing.
-
-
-
-
- Ignore members where the member value is the same as the member's default value when serializing objects
- and set members to their default value when deserializing.
-
-
-
-
- Specifies float format handling options when writing special floating point numbers, e.g. ,
- and with .
-
-
-
-
- Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity".
-
-
-
-
- Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity.
- Note that this will produce non-valid JSON.
-
-
-
-
- Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a of property.
-
-
-
-
- Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
-
-
-
-
- Floating point numbers are parsed to .
-
-
-
-
- Floating point numbers are parsed to .
-
-
-
-
- Specifies formatting options for the .
-
-
-
-
- No special formatting is applied. This is the default.
-
-
-
-
- Causes child objects to be indented according to the and settings.
-
-
-
-
- Provides an interface for using pooled arrays.
-
- The array type content.
-
-
-
- Rent an array from the pool. This array must be returned when it is no longer needed.
-
- The minimum required length of the array. The returned array may be longer.
- The rented array from the pool. This array must be returned when it is no longer needed.
-
-
-
- Return an array to the pool.
-
- The array that is being returned.
-
-
-
- Provides an interface to enable a class to return line and position information.
-
-
-
-
- Gets a value indicating whether the class can return line information.
-
-
- true if and can be provided; otherwise, false.
-
-
-
-
- Gets the current line number.
-
- The current line number or 0 if no line information is available (for example, when returns false).
-
-
-
- Gets the current line position.
-
- The current line position or 0 if no line information is available (for example, when returns false).
-
-
-
- Instructs the how to serialize the collection.
-
-
-
-
- Gets or sets a value indicating whether null items are allowed in the collection.
-
- true if null items are allowed in the collection; otherwise, false.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class with a flag indicating whether the array can contain null items.
-
- A flag indicating whether the array can contain null items.
-
-
-
- Initializes a new instance of the class with the specified container Id.
-
- The container Id.
-
-
-
- Instructs the to use the specified constructor when deserializing that object.
-
-
-
-
- Instructs the how to serialize the object.
-
-
-
-
- Gets or sets the id.
-
- The id.
-
-
-
- Gets or sets the title.
-
- The title.
-
-
-
- Gets or sets the description.
-
- The description.
-
-
-
- Gets or sets the collection's items converter.
-
- The collection's items converter.
-
-
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
- When non-null, there must be a constructor defined in the that exactly matches the number,
- order, and type of these parameters.
-
-
-
- [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })]
-
-
-
-
-
- Gets or sets the of the .
-
- The of the .
-
-
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
- When non-null, there must be a constructor defined in the that exactly matches the number,
- order, and type of these parameters.
-
-
-
- [JsonContainer(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })]
-
-
-
-
-
- Gets or sets a value that indicates whether to preserve object references.
-
-
- true to keep object reference; otherwise, false. The default is false.
-
-
-
-
- Gets or sets a value that indicates whether to preserve collection's items references.
-
-
- true to keep collection's items object references; otherwise, false. The default is false.
-
-
-
-
- Gets or sets the reference loop handling used when serializing the collection's items.
-
- The reference loop handling.
-
-
-
- Gets or sets the type name handling used when serializing the collection's items.
-
- The type name handling.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class with the specified container Id.
-
- The container Id.
-
-
-
- Provides methods for converting between .NET types and JSON types.
-
-
-
-
-
-
-
- Gets or sets a function that creates default .
- Default settings are automatically used by serialization methods on ,
- and and on .
- To serialize without using any default settings create a with
- .
-
-
-
-
- Represents JavaScript's boolean value true as a string. This field is read-only.
-
-
-
-
- Represents JavaScript's boolean value false as a string. This field is read-only.
-
-
-
-
- Represents JavaScript's null as a string. This field is read-only.
-
-
-
-
- Represents JavaScript's undefined as a string. This field is read-only.
-
-
-
-
- Represents JavaScript's positive infinity as a string. This field is read-only.
-
-
-
-
- Represents JavaScript's negative infinity as a string. This field is read-only.
-
-
-
-
- Represents JavaScript's NaN as a string. This field is read-only.
-
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation using the specified.
-
- The value to convert.
- The format the date will be converted to.
- The time zone handling when the date is converted to a string.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation using the specified.
-
- The value to convert.
- The format the date will be converted to.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- The string delimiter character.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- The string delimiter character.
- The string escape handling.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Serializes the specified object to a JSON string.
-
- The object to serialize.
- A JSON string representation of the object.
-
-
-
- Serializes the specified object to a JSON string using formatting.
-
- The object to serialize.
- Indicates how the output should be formatted.
-
- A JSON string representation of the object.
-
-
-
-
- Serializes the specified object to a JSON string using a collection of .
-
- The object to serialize.
- A collection of converters used while serializing.
- A JSON string representation of the object.
-
-
-
- Serializes the specified object to a JSON string using formatting and a collection of .
-
- The object to serialize.
- Indicates how the output should be formatted.
- A collection of converters used while serializing.
- A JSON string representation of the object.
-
-
-
- Serializes the specified object to a JSON string using .
-
- The object to serialize.
- The used to serialize the object.
- If this is null, default serialization settings will be used.
-
- A JSON string representation of the object.
-
-
-
-
- Serializes the specified object to a JSON string using a type, formatting and .
-
- The object to serialize.
- The used to serialize the object.
- If this is null, default serialization settings will be used.
-
- The type of the value being serialized.
- This parameter is used when is to write out the type name if the type of the value does not match.
- Specifying the type is optional.
-
-
- A JSON string representation of the object.
-
-
-
-
- Serializes the specified object to a JSON string using formatting and .
-
- The object to serialize.
- Indicates how the output should be formatted.
- The used to serialize the object.
- If this is null, default serialization settings will be used.
-
- A JSON string representation of the object.
-
-
-
-
- Serializes the specified object to a JSON string using a type, formatting and .
-
- The object to serialize.
- Indicates how the output should be formatted.
- The used to serialize the object.
- If this is null, default serialization settings will be used.
-
- The type of the value being serialized.
- This parameter is used when is to write out the type name if the type of the value does not match.
- Specifying the type is optional.
-
-
- A JSON string representation of the object.
-
-
-
-
- Deserializes the JSON to a .NET object.
-
- The JSON to deserialize.
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to a .NET object using .
-
- The JSON to deserialize.
-
- The used to deserialize the object.
- If this is null, default serialization settings will be used.
-
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to the specified .NET type.
-
- The JSON to deserialize.
- The of object being deserialized.
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to the specified .NET type.
-
- The type of the object to deserialize to.
- The JSON to deserialize.
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to the given anonymous type.
-
-
- The anonymous type to deserialize to. This can't be specified
- traditionally and must be inferred from the anonymous type passed
- as a parameter.
-
- The JSON to deserialize.
- The anonymous type object.
- The deserialized anonymous type from the JSON string.
-
-
-
- Deserializes the JSON to the given anonymous type using .
-
-
- The anonymous type to deserialize to. This can't be specified
- traditionally and must be inferred from the anonymous type passed
- as a parameter.
-
- The JSON to deserialize.
- The anonymous type object.
-
- The used to deserialize the object.
- If this is null, default serialization settings will be used.
-
- The deserialized anonymous type from the JSON string.
-
-
-
- Deserializes the JSON to the specified .NET type using a collection of .
-
- The type of the object to deserialize to.
- The JSON to deserialize.
- Converters to use while deserializing.
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to the specified .NET type using .
-
- The type of the object to deserialize to.
- The object to deserialize.
-
- The used to deserialize the object.
- If this is null, default serialization settings will be used.
-
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to the specified .NET type using a collection of .
-
- The JSON to deserialize.
- The type of the object to deserialize.
- Converters to use while deserializing.
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to the specified .NET type using .
-
- The JSON to deserialize.
- The type of the object to deserialize to.
-
- The used to deserialize the object.
- If this is null, default serialization settings will be used.
-
- The deserialized object from the JSON string.
-
-
-
- Populates the object with values from the JSON string.
-
- The JSON to populate values from.
- The target object to populate values onto.
-
-
-
- Populates the object with values from the JSON string using .
-
- The JSON to populate values from.
- The target object to populate values onto.
-
- The used to deserialize the object.
- If this is null, default serialization settings will be used.
-
-
-
-
- Serializes the to a JSON string.
-
- The node to convert to JSON.
- A JSON string of the .
-
-
-
- Serializes the to a JSON string using formatting.
-
- The node to convert to JSON.
- Indicates how the output should be formatted.
- A JSON string of the .
-
-
-
- Serializes the to a JSON string using formatting and omits the root object if is true.
-
- The node to serialize.
- Indicates how the output should be formatted.
- Omits writing the root object.
- A JSON string of the .
-
-
-
- Deserializes the from a JSON string.
-
- The JSON string.
- The deserialized .
-
-
-
- Deserializes the from a JSON string nested in a root element specified by .
-
- The JSON string.
- The name of the root element to append when deserializing.
- The deserialized .
-
-
-
- Deserializes the from a JSON string nested in a root element specified by
- and writes a Json.NET array attribute for collections.
-
- The JSON string.
- The name of the root element to append when deserializing.
-
- A value to indicate whether to write the Json.NET array attribute.
- This attribute helps preserve arrays when converting the written XML back to JSON.
-
- The deserialized .
-
-
-
- Deserializes the from a JSON string nested in a root element specified by ,
- writes a Json.NET array attribute for collections, and encodes special characters.
-
- The JSON string.
- The name of the root element to append when deserializing.
-
- A value to indicate whether to write the Json.NET array attribute.
- This attribute helps preserve arrays when converting the written XML back to JSON.
-
-
- A value to indicate whether to encode special characters when converting JSON to XML.
- If true, special characters like ':', '@', '?', '#' and '$' in JSON property names aren't used to specify
- XML namespaces, attributes or processing directives. Instead special characters are encoded and written
- as part of the XML element name.
-
- The deserialized .
-
-
-
- Converts an object to and from JSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Gets a value indicating whether this can read JSON.
-
- true if this can read JSON; otherwise, false.
-
-
-
- Gets a value indicating whether this can write JSON.
-
- true if this can write JSON; otherwise, false.
-
-
-
- Converts an object to and from JSON.
-
- The object type to convert.
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read. If there is no existing value then null will be used.
- The existing value has a value.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Instructs the to use the specified when serializing the member or class.
-
-
-
-
- Gets the of the .
-
- The of the .
-
-
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
-
-
-
-
- Initializes a new instance of the class.
-
- Type of the .
-
-
-
- Initializes a new instance of the class.
-
- Type of the .
- Parameter list to use when constructing the . Can be null.
-
-
-
- Represents a collection of .
-
-
-
-
- Instructs the how to serialize the collection.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class with the specified container Id.
-
- The container Id.
-
-
-
- The exception thrown when an error occurs during JSON serialization or deserialization.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- with a specified error message.
-
- The error message that explains the reason for the exception.
-
-
-
- Initializes a new instance of the class
- with a specified error message and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Instructs the to deserialize properties with no matching class member into the specified collection
- and write values during serialization.
-
-
-
-
- Gets or sets a value that indicates whether to write extension data when serializing the object.
-
-
- true to write extension data when serializing the object; otherwise, false. The default is true.
-
-
-
-
- Gets or sets a value that indicates whether to read extension data when deserializing the object.
-
-
- true to read extension data when deserializing the object; otherwise, false. The default is true.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Instructs the not to serialize the public field or public read/write property value.
-
-
-
-
- Base class for a table of atomized string objects.
-
-
-
-
- Gets a string containing the same characters as the specified range of characters in the given array.
-
- The character array containing the name to find.
- The zero-based index into the array specifying the first character of the name.
- The number of characters in the name.
- A string containing the same characters as the specified range of characters in the given array.
-
-
-
- Instructs the how to serialize the object.
-
-
-
-
- Gets or sets the member serialization.
-
- The member serialization.
-
-
-
- Gets or sets the missing member handling used when deserializing this object.
-
- The missing member handling.
-
-
-
- Gets or sets how the object's properties with null values are handled during serialization and deserialization.
-
- How the object's properties with null values are handled during serialization and deserialization.
-
-
-
- Gets or sets a value that indicates whether the object's properties are required.
-
-
- A value indicating whether the object's properties are required.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class with the specified member serialization.
-
- The member serialization.
-
-
-
- Initializes a new instance of the class with the specified container Id.
-
- The container Id.
-
-
-
- Instructs the to always serialize the member with the specified name.
-
-
-
-
- Gets or sets the type used when serializing the property's collection items.
-
- The collection's items type.
-
-
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
- When non-null, there must be a constructor defined in the that exactly matches the number,
- order, and type of these parameters.
-
-
-
- [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })]
-
-
-
-
-
- Gets or sets the of the .
-
- The of the .
-
-
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
- When non-null, there must be a constructor defined in the that exactly matches the number,
- order, and type of these parameters.
-
-
-
- [JsonProperty(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })]
-
-
-
-
-
- Gets or sets the null value handling used when serializing this property.
-
- The null value handling.
-
-
-
- Gets or sets the default value handling used when serializing this property.
-
- The default value handling.
-
-
-
- Gets or sets the reference loop handling used when serializing this property.
-
- The reference loop handling.
-
-
-
- Gets or sets the object creation handling used when deserializing this property.
-
- The object creation handling.
-
-
-
- Gets or sets the type name handling used when serializing this property.
-
- The type name handling.
-
-
-
- Gets or sets whether this property's value is serialized as a reference.
-
- Whether this property's value is serialized as a reference.
-
-
-
- Gets or sets the order of serialization of a member.
-
- The numeric order of serialization.
-
-
-
- Gets or sets a value indicating whether this property is required.
-
-
- A value indicating whether this property is required.
-
-
-
-
- Gets or sets the name of the property.
-
- The name of the property.
-
-
-
- Gets or sets the reference loop handling used when serializing the property's collection items.
-
- The collection's items reference loop handling.
-
-
-
- Gets or sets the type name handling used when serializing the property's collection items.
-
- The collection's items type name handling.
-
-
-
- Gets or sets whether this property's collection items are serialized as a reference.
-
- Whether this property's collection items are serialized as a reference.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class with the specified name.
-
- Name of the property.
-
-
-
- Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data.
-
-
-
-
- Asynchronously reads the next JSON token from the source.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns true if the next token was read successfully; false if there are no more tokens to read.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously skips the children of the current token.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously reads the next JSON token from the source as a of .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the of . This result will be null at the end of an array.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously reads the next JSON token from the source as a [].
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the []. This result will be null at the end of an array.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously reads the next JSON token from the source as a of .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the of . This result will be null at the end of an array.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously reads the next JSON token from the source as a of .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the of . This result will be null at the end of an array.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously reads the next JSON token from the source as a of .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the of . This result will be null at the end of an array.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously reads the next JSON token from the source as a of .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the of . This result will be null at the end of an array.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously reads the next JSON token from the source as a of .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the of . This result will be null at the end of an array.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously reads the next JSON token from the source as a .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the . This result will be null at the end of an array.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Specifies the state of the reader.
-
-
-
-
- A read method has not been called.
-
-
-
-
- The end of the file has been reached successfully.
-
-
-
-
- Reader is at a property.
-
-
-
-
- Reader is at the start of an object.
-
-
-
-
- Reader is in an object.
-
-
-
-
- Reader is at the start of an array.
-
-
-
-
- Reader is in an array.
-
-
-
-
- The method has been called.
-
-
-
-
- Reader has just read a value.
-
-
-
-
- Reader is at the start of a constructor.
-
-
-
-
- Reader is in a constructor.
-
-
-
-
- An error occurred that prevents the read operation from continuing.
-
-
-
-
- The end of the file has been reached successfully.
-
-
-
-
- Gets the current reader state.
-
- The current reader state.
-
-
-
- Gets or sets a value indicating whether the source should be closed when this reader is closed.
-
-
- true to close the source when this reader is closed; otherwise false. The default is true.
-
-
-
-
- Gets or sets a value indicating whether multiple pieces of JSON content can
- be read from a continuous stream without erroring.
-
-
- true to support reading multiple pieces of JSON content; otherwise false.
- The default is false.
-
-
-
-
- Gets the quotation mark character used to enclose the value of a string.
-
-
-
-
- Gets or sets how time zones are handled when reading JSON.
-
-
-
-
- Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON.
-
-
-
-
- Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
-
-
-
-
- Gets or sets how custom date formatted strings are parsed when reading JSON.
-
-
-
-
- Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a .
- A null value means there is no maximum.
- The default value is 64.
-
-
-
-
- Gets the type of the current JSON token.
-
-
-
-
- Gets the text value of the current JSON token.
-
-
-
-
- Gets the .NET type for the current JSON token.
-
-
-
-
- Gets the depth of the current token in the JSON document.
-
- The depth of the current token in the JSON document.
-
-
-
- Gets the path of the current JSON token.
-
-
-
-
- Gets or sets the culture used when reading JSON. Defaults to .
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Reads the next JSON token from the source.
-
- true if the next token was read successfully; false if there are no more tokens to read.
-
-
-
- Reads the next JSON token from the source as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a .
-
- A . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a [].
-
- A [] or null if the next JSON token is null. This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Skips the children of the current token.
-
-
-
-
- Sets the current token.
-
- The new token.
-
-
-
- Sets the current token and value.
-
- The new token.
- The value.
-
-
-
- Sets the current token and value.
-
- The new token.
- The value.
- A flag indicating whether the position index inside an array should be updated.
-
-
-
- Sets the state based on current token type.
-
-
-
-
- Releases unmanaged and - optionally - managed resources.
-
- true to release both managed and unmanaged resources; false to release only unmanaged resources.
-
-
-
- Changes the reader's state to .
- If is set to true, the source is also closed.
-
-
-
-
- The exception thrown when an error occurs while reading JSON text.
-
-
-
-
- Gets the line number indicating where the error occurred.
-
- The line number indicating where the error occurred.
-
-
-
- Gets the line position indicating where the error occurred.
-
- The line position indicating where the error occurred.
-
-
-
- Gets the path to the JSON where the error occurred.
-
- The path to the JSON where the error occurred.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- with a specified error message.
-
- The error message that explains the reason for the exception.
-
-
-
- Initializes a new instance of the class
- with a specified error message and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Initializes a new instance of the class
- with a specified error message, JSON path, line number, line position, and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The path to the JSON where the error occurred.
- The line number indicating where the error occurred.
- The line position indicating where the error occurred.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Instructs the to always serialize the member, and to require that the member has a value.
-
-
-
-
- The exception thrown when an error occurs during JSON serialization or deserialization.
-
-
-
-
- Gets the line number indicating where the error occurred.
-
- The line number indicating where the error occurred.
-
-
-
- Gets the line position indicating where the error occurred.
-
- The line position indicating where the error occurred.
-
-
-
- Gets the path to the JSON where the error occurred.
-
- The path to the JSON where the error occurred.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- with a specified error message.
-
- The error message that explains the reason for the exception.
-
-
-
- Initializes a new instance of the class
- with a specified error message and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Initializes a new instance of the class
- with a specified error message, JSON path, line number, line position, and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The path to the JSON where the error occurred.
- The line number indicating where the error occurred.
- The line position indicating where the error occurred.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Serializes and deserializes objects into and from the JSON format.
- The enables you to control how objects are encoded into JSON.
-
-
-
-
- Occurs when the errors during serialization and deserialization.
-
-
-
-
- Gets or sets the used by the serializer when resolving references.
-
-
-
-
- Gets or sets the used by the serializer when resolving type names.
-
-
-
-
- Gets or sets the used by the serializer when resolving type names.
-
-
-
-
- Gets or sets the used by the serializer when writing trace messages.
-
- The trace writer.
-
-
-
- Gets or sets the equality comparer used by the serializer when comparing references.
-
- The equality comparer.
-
-
-
- Gets or sets how type name writing and reading is handled by the serializer.
- The default value is .
-
-
- should be used with caution when your application deserializes JSON from an external source.
- Incoming types should be validated with a custom
- when deserializing with a value other than .
-
-
-
-
- Gets or sets how a type name assembly is written and resolved by the serializer.
- The default value is .
-
- The type name assembly format.
-
-
-
- Gets or sets how a type name assembly is written and resolved by the serializer.
- The default value is .
-
- The type name assembly format.
-
-
-
- Gets or sets how object references are preserved by the serializer.
- The default value is .
-
-
-
-
- Gets or sets how reference loops (e.g. a class referencing itself) is handled.
- The default value is .
-
-
-
-
- Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization.
- The default value is .
-
-
-
-
- Gets or sets how null values are handled during serialization and deserialization.
- The default value is .
-
-
-
-
- Gets or sets how default values are handled during serialization and deserialization.
- The default value is .
-
-
-
-
- Gets or sets how objects are created during deserialization.
- The default value is .
-
- The object creation handling.
-
-
-
- Gets or sets how constructors are used during deserialization.
- The default value is .
-
- The constructor handling.
-
-
-
- Gets or sets how metadata properties are used during deserialization.
- The default value is .
-
- The metadata properties handling.
-
-
-
- Gets a collection that will be used during serialization.
-
- Collection that will be used during serialization.
-
-
-
- Gets or sets the contract resolver used by the serializer when
- serializing .NET objects to JSON and vice versa.
-
-
-
-
- Gets or sets the used by the serializer when invoking serialization callback methods.
-
- The context.
-
-
-
- Indicates how JSON text output is formatted.
- The default value is .
-
-
-
-
- Gets or sets how dates are written to JSON text.
- The default value is .
-
-
-
-
- Gets or sets how time zones are handled during serialization and deserialization.
- The default value is .
-
-
-
-
- Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON.
- The default value is .
-
-
-
-
- Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
- The default value is .
-
-
-
-
- Gets or sets how special floating point numbers, e.g. ,
- and ,
- are written as JSON text.
- The default value is .
-
-
-
-
- Gets or sets how strings are escaped when writing JSON text.
- The default value is .
-
-
-
-
- Gets or sets how and values are formatted when writing JSON text,
- and the expected date format when reading JSON text.
- The default value is "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK".
-
-
-
-
- Gets or sets the culture used when reading JSON.
- The default value is .
-
-
-
-
- Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a .
- A null value means there is no maximum.
- The default value is 64.
-
-
-
-
- Gets a value indicating whether there will be a check for additional JSON content after deserializing an object.
- The default value is false.
-
-
- true if there will be a check for additional JSON content after deserializing an object; otherwise, false.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Creates a new instance.
- The will not use default settings
- from .
-
-
- A new instance.
- The will not use default settings
- from .
-
-
-
-
- Creates a new instance using the specified .
- The will not use default settings
- from .
-
- The settings to be applied to the .
-
- A new instance using the specified .
- The will not use default settings
- from .
-
-
-
-
- Creates a new instance.
- The will use default settings
- from .
-
-
- A new instance.
- The will use default settings
- from .
-
-
-
-
- Creates a new instance using the specified .
- The will use default settings
- from as well as the specified .
-
- The settings to be applied to the .
-
- A new instance using the specified .
- The will use default settings
- from as well as the specified .
-
-
-
-
- Populates the JSON values onto the target object.
-
- The that contains the JSON structure to read values from.
- The target object to populate values onto.
-
-
-
- Populates the JSON values onto the target object.
-
- The that contains the JSON structure to read values from.
- The target object to populate values onto.
-
-
-
- Deserializes the JSON structure contained by the specified .
-
- The that contains the JSON structure to deserialize.
- The being deserialized.
-
-
-
- Deserializes the JSON structure contained by the specified
- into an instance of the specified type.
-
- The containing the object.
- The of object being deserialized.
- The instance of being deserialized.
-
-
-
- Deserializes the JSON structure contained by the specified
- into an instance of the specified type.
-
- The containing the object.
- The type of the object to deserialize.
- The instance of being deserialized.
-
-
-
- Deserializes the JSON structure contained by the specified
- into an instance of the specified type.
-
- The containing the object.
- The of object being deserialized.
- The instance of being deserialized.
-
-
-
- Serializes the specified and writes the JSON structure
- using the specified .
-
- The used to write the JSON structure.
- The to serialize.
-
-
-
- Serializes the specified and writes the JSON structure
- using the specified .
-
- The used to write the JSON structure.
- The to serialize.
-
- The type of the value being serialized.
- This parameter is used when is to write out the type name if the type of the value does not match.
- Specifying the type is optional.
-
-
-
-
- Serializes the specified and writes the JSON structure
- using the specified .
-
- The used to write the JSON structure.
- The to serialize.
-
- The type of the value being serialized.
- This parameter is used when is Auto to write out the type name if the type of the value does not match.
- Specifying the type is optional.
-
-
-
-
- Serializes the specified and writes the JSON structure
- using the specified .
-
- The used to write the JSON structure.
- The to serialize.
-
-
-
- Specifies the settings on a object.
-
-
-
-
- Gets or sets how reference loops (e.g. a class referencing itself) are handled.
- The default value is .
-
- Reference loop handling.
-
-
-
- Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization.
- The default value is .
-
- Missing member handling.
-
-
-
- Gets or sets how objects are created during deserialization.
- The default value is .
-
- The object creation handling.
-
-
-
- Gets or sets how null values are handled during serialization and deserialization.
- The default value is .
-
- Null value handling.
-
-
-
- Gets or sets how default values are handled during serialization and deserialization.
- The default value is .
-
- The default value handling.
-
-
-
- Gets or sets a collection that will be used during serialization.
-
- The converters.
-
-
-
- Gets or sets how object references are preserved by the serializer.
- The default value is .
-
- The preserve references handling.
-
-
-
- Gets or sets how type name writing and reading is handled by the serializer.
- The default value is .
-
-
- should be used with caution when your application deserializes JSON from an external source.
- Incoming types should be validated with a custom
- when deserializing with a value other than .
-
- The type name handling.
-
-
-
- Gets or sets how metadata properties are used during deserialization.
- The default value is .
-
- The metadata properties handling.
-
-
-
- Gets or sets how a type name assembly is written and resolved by the serializer.
- The default value is .
-
- The type name assembly format.
-
-
-
- Gets or sets how a type name assembly is written and resolved by the serializer.
- The default value is .
-
- The type name assembly format.
-
-
-
- Gets or sets how constructors are used during deserialization.
- The default value is .
-
- The constructor handling.
-
-
-
- Gets or sets the contract resolver used by the serializer when
- serializing .NET objects to JSON and vice versa.
-
- The contract resolver.
-
-
-
- Gets or sets the equality comparer used by the serializer when comparing references.
-
- The equality comparer.
-
-
-
- Gets or sets the used by the serializer when resolving references.
-
- The reference resolver.
-
-
-
- Gets or sets a function that creates the used by the serializer when resolving references.
-
- A function that creates the used by the serializer when resolving references.
-
-
-
- Gets or sets the used by the serializer when writing trace messages.
-
- The trace writer.
-
-
-
- Gets or sets the used by the serializer when resolving type names.
-
- The binder.
-
-
-
- Gets or sets the used by the serializer when resolving type names.
-
- The binder.
-
-
-
- Gets or sets the error handler called during serialization and deserialization.
-
- The error handler called during serialization and deserialization.
-
-
-
- Gets or sets the used by the serializer when invoking serialization callback methods.
-
- The context.
-
-
-
- Gets or sets how and values are formatted when writing JSON text,
- and the expected date format when reading JSON text.
- The default value is "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK".
-
-
-
-
- Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a .
- A null value means there is no maximum.
- The default value is 64.
-
-
-
-
- Indicates how JSON text output is formatted.
- The default value is .
-
-
-
-
- Gets or sets how dates are written to JSON text.
- The default value is .
-
-
-
-
- Gets or sets how time zones are handled during serialization and deserialization.
- The default value is .
-
-
-
-
- Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON.
- The default value is .
-
-
-
-
- Gets or sets how special floating point numbers, e.g. ,
- and ,
- are written as JSON.
- The default value is .
-
-
-
-
- Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
- The default value is .
-
-
-
-
- Gets or sets how strings are escaped when writing JSON text.
- The default value is .
-
-
-
-
- Gets or sets the culture used when reading JSON.
- The default value is .
-
-
-
-
- Gets a value indicating whether there will be a check for additional content after deserializing an object.
- The default value is false.
-
-
- true if there will be a check for additional content after deserializing an object; otherwise, false.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- using values copied from the passed in .
-
-
-
-
- Represents a reader that provides fast, non-cached, forward-only access to JSON text data.
-
-
-
-
- Asynchronously reads the next JSON token from the source.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns true if the next token was read successfully; false if there are no more tokens to read.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously reads the next JSON token from the source as a of .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the of . This result will be null at the end of an array.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously reads the next JSON token from the source as a [].
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the []. This result will be null at the end of an array.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously reads the next JSON token from the source as a of .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the of . This result will be null at the end of an array.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously reads the next JSON token from the source as a of .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the of . This result will be null at the end of an array.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously reads the next JSON token from the source as a of .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the of . This result will be null at the end of an array.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously reads the next JSON token from the source as a of .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the of . This result will be null at the end of an array.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously reads the next JSON token from the source as a of .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the of . This result will be null at the end of an array.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously reads the next JSON token from the source as a .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the . This result will be null at the end of an array.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Initializes a new instance of the class with the specified .
-
- The containing the JSON data to read.
-
-
-
- Gets or sets the reader's property name table.
-
-
-
-
- Gets or sets the reader's character buffer pool.
-
-
-
-
- Reads the next JSON token from the underlying .
-
-
- true if the next token was read successfully; false if there are no more tokens to read.
-
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a .
-
- A . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a [].
-
- A [] or null if the next JSON token is null. This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Changes the reader's state to .
- If is set to true, the underlying is also closed.
-
-
-
-
- Gets a value indicating whether the class can return line information.
-
-
- true if and can be provided; otherwise, false.
-
-
-
-
- Gets the current line number.
-
-
- The current line number or 0 if no line information is available (for example, returns false).
-
-
-
-
- Gets the current line position.
-
-
- The current line position or 0 if no line information is available (for example, returns false).
-
-
-
-
- Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
-
-
-
-
- Asynchronously flushes whatever is in the buffer to the destination and also flushes the destination.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes the JSON value delimiter.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes the specified end token.
-
- The end token to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously closes this writer.
- If is set to true, the destination is also closed.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes the end of the current JSON object or array.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes indent characters.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes an indent space.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes raw JSON without changing the writer's state.
-
- The raw JSON to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a null value.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes the property name of a name/value pair of a JSON object.
-
- The name of the property.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes the property name of a name/value pair of a JSON object.
-
- The name of the property.
- A flag to indicate whether the text should be escaped when it is written as a JSON property name.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes the beginning of a JSON array.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes the beginning of a JSON object.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes the start of a constructor with the given name.
-
- The name of the constructor.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes an undefined value.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes the given white space.
-
- The string of white space characters.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a [] value.
-
- The [] value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a comment /*...*/ containing the specified text.
-
- Text to place inside the comment.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes the end of an array.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes the end of a constructor.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes the end of a JSON object.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes raw JSON where a value is expected and updates the writer's state.
-
- The raw JSON to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Gets or sets the writer's character array pool.
-
-
-
-
- Gets or sets how many s to write for each level in the hierarchy when is set to .
-
-
-
-
- Gets or sets which character to use to quote attribute values.
-
-
-
-
- Gets or sets which character to use for indenting when is set to .
-
-
-
-
- Gets or sets a value indicating whether object names will be surrounded with quotes.
-
-
-
-
- Initializes a new instance of the class using the specified .
-
- The to write to.
-
-
-
- Flushes whatever is in the buffer to the underlying and also flushes the underlying .
-
-
-
-
- Closes this writer.
- If is set to true, the underlying is also closed.
- If is set to true, the JSON is auto-completed.
-
-
-
-
- Writes the beginning of a JSON object.
-
-
-
-
- Writes the beginning of a JSON array.
-
-
-
-
- Writes the start of a constructor with the given name.
-
- The name of the constructor.
-
-
-
- Writes the specified end token.
-
- The end token to write.
-
-
-
- Writes the property name of a name/value pair on a JSON object.
-
- The name of the property.
-
-
-
- Writes the property name of a name/value pair on a JSON object.
-
- The name of the property.
- A flag to indicate whether the text should be escaped when it is written as a JSON property name.
-
-
-
- Writes indent characters.
-
-
-
-
- Writes the JSON value delimiter.
-
-
-
-
- Writes an indent space.
-
-
-
-
- Writes a value.
- An error will raised if the value cannot be written as a single JSON token.
-
- The value to write.
-
-
-
- Writes a null value.
-
-
-
-
- Writes an undefined value.
-
-
-
-
- Writes raw JSON.
-
- The raw JSON to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a [] value.
-
- The [] value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a comment /*...*/ containing the specified text.
-
- Text to place inside the comment.
-
-
-
- Writes the given white space.
-
- The string of white space characters.
-
-
-
- Specifies the type of JSON token.
-
-
-
-
- This is returned by the if a read method has not been called.
-
-
-
-
- An object start token.
-
-
-
-
- An array start token.
-
-
-
-
- A constructor start token.
-
-
-
-
- An object property name.
-
-
-
-
- A comment.
-
-
-
-
- Raw JSON.
-
-
-
-
- An integer.
-
-
-
-
- A float.
-
-
-
-
- A string.
-
-
-
-
- A boolean.
-
-
-
-
- A null token.
-
-
-
-
- An undefined token.
-
-
-
-
- An object end token.
-
-
-
-
- An array end token.
-
-
-
-
- A constructor end token.
-
-
-
-
- A Date.
-
-
-
-
- Byte data.
-
-
-
-
-
- Represents a reader that provides validation.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Sets an event handler for receiving schema validation errors.
-
-
-
-
- Gets the text value of the current JSON token.
-
-
-
-
-
- Gets the depth of the current token in the JSON document.
-
- The depth of the current token in the JSON document.
-
-
-
- Gets the path of the current JSON token.
-
-
-
-
- Gets the quotation mark character used to enclose the value of a string.
-
-
-
-
-
- Gets the type of the current JSON token.
-
-
-
-
-
- Gets the .NET type for the current JSON token.
-
-
-
-
-
- Initializes a new instance of the class that
- validates the content returned from the given .
-
- The to read from while validating.
-
-
-
- Gets or sets the schema.
-
- The schema.
-
-
-
- Gets the used to construct this .
-
- The specified in the constructor.
-
-
-
- Changes the reader's state to .
- If is set to true, the underlying is also closed.
-
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of .
-
-
-
- Reads the next JSON token from the underlying as a [].
-
-
- A [] or null if the next JSON token is null.
-
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of .
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of .
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of .
-
-
-
- Reads the next JSON token from the underlying as a .
-
- A . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of .
-
-
-
- Reads the next JSON token from the underlying .
-
-
- true if the next token was read successfully; false if there are no more tokens to read.
-
-
-
-
- Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
-
-
-
-
- Asynchronously closes this writer.
- If is set to true, the destination is also closed.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously flushes whatever is in the buffer to the destination and also flushes the destination.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the specified end token.
-
- The end token to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes indent characters.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the JSON value delimiter.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes an indent space.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes raw JSON without changing the writer's state.
-
- The raw JSON to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the end of the current JSON object or array.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the end of an array.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the end of a constructor.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the end of a JSON object.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a null value.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the property name of a name/value pair of a JSON object.
-
- The name of the property.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the property name of a name/value pair of a JSON object.
-
- The name of the property.
- A flag to indicate whether the text should be escaped when it is written as a JSON property name.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the beginning of a JSON array.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a comment /*...*/ containing the specified text.
-
- Text to place inside the comment.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes raw JSON where a value is expected and updates the writer's state.
-
- The raw JSON to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the start of a constructor with the given name.
-
- The name of the constructor.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the beginning of a JSON object.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the current token.
-
- The to read the token from.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the current token.
-
- The to read the token from.
- A flag indicating whether the current token's children should be written.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the token and its value.
-
- The to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the token and its value.
-
- The to write.
-
- The value to write.
- A value is only required for tokens that have an associated value, e.g. the property name for .
- null can be passed to the method for tokens that don't have a value, e.g. .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a [] value.
-
- The [] value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes an undefined value.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the given white space.
-
- The string of white space characters.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously ets the state of the .
-
- The being written.
- The value being written.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Gets or sets a value indicating whether the destination should be closed when this writer is closed.
-
-
- true to close the destination when this writer is closed; otherwise false. The default is true.
-
-
-
-
- Gets or sets a value indicating whether the JSON should be auto-completed when this writer is closed.
-
-
- true to auto-complete the JSON when this writer is closed; otherwise false. The default is true.
-
-
-
-
- Gets the top.
-
- The top.
-
-
-
- Gets the state of the writer.
-
-
-
-
- Gets the path of the writer.
-
-
-
-
- Gets or sets a value indicating how JSON text output should be formatted.
-
-
-
-
- Gets or sets how dates are written to JSON text.
-
-
-
-
- Gets or sets how time zones are handled when writing JSON text.
-
-
-
-
- Gets or sets how strings are escaped when writing JSON text.
-
-
-
-
- Gets or sets how special floating point numbers, e.g. ,
- and ,
- are written to JSON text.
-
-
-
-
- Gets or sets how and values are formatted when writing JSON text.
-
-
-
-
- Gets or sets the culture used when writing JSON. Defaults to .
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Flushes whatever is in the buffer to the destination and also flushes the destination.
-
-
-
-
- Closes this writer.
- If is set to true, the destination is also closed.
- If is set to true, the JSON is auto-completed.
-
-
-
-
- Writes the beginning of a JSON object.
-
-
-
-
- Writes the end of a JSON object.
-
-
-
-
- Writes the beginning of a JSON array.
-
-
-
-
- Writes the end of an array.
-
-
-
-
- Writes the start of a constructor with the given name.
-
- The name of the constructor.
-
-
-
- Writes the end constructor.
-
-
-
-
- Writes the property name of a name/value pair of a JSON object.
-
- The name of the property.
-
-
-
- Writes the property name of a name/value pair of a JSON object.
-
- The name of the property.
- A flag to indicate whether the text should be escaped when it is written as a JSON property name.
-
-
-
- Writes the end of the current JSON object or array.
-
-
-
-
- Writes the current token and its children.
-
- The to read the token from.
-
-
-
- Writes the current token.
-
- The to read the token from.
- A flag indicating whether the current token's children should be written.
-
-
-
- Writes the token and its value.
-
- The to write.
-
- The value to write.
- A value is only required for tokens that have an associated value, e.g. the property name for .
- null can be passed to the method for tokens that don't have a value, e.g. .
-
-
-
-
- Writes the token.
-
- The to write.
-
-
-
- Writes the specified end token.
-
- The end token to write.
-
-
-
- Writes indent characters.
-
-
-
-
- Writes the JSON value delimiter.
-
-
-
-
- Writes an indent space.
-
-
-
-
- Writes a null value.
-
-
-
-
- Writes an undefined value.
-
-
-
-
- Writes raw JSON without changing the writer's state.
-
- The raw JSON to write.
-
-
-
- Writes raw JSON where a value is expected and updates the writer's state.
-
- The raw JSON to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a [] value.
-
- The [] value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
- An error will raised if the value cannot be written as a single JSON token.
-
- The value to write.
-
-
-
- Writes a comment /*...*/ containing the specified text.
-
- Text to place inside the comment.
-
-
-
- Writes the given white space.
-
- The string of white space characters.
-
-
-
- Releases unmanaged and - optionally - managed resources.
-
- true to release both managed and unmanaged resources; false to release only unmanaged resources.
-
-
-
- Sets the state of the .
-
- The being written.
- The value being written.
-
-
-
- The exception thrown when an error occurs while writing JSON text.
-
-
-
-
- Gets the path to the JSON where the error occurred.
-
- The path to the JSON where the error occurred.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- with a specified error message.
-
- The error message that explains the reason for the exception.
-
-
-
- Initializes a new instance of the class
- with a specified error message and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Initializes a new instance of the class
- with a specified error message, JSON path and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The path to the JSON where the error occurred.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Specifies how JSON comments are handled when loading JSON.
-
-
-
-
- Ignore comments.
-
-
-
-
- Load comments as a with type .
-
-
-
-
- Specifies how duplicate property names are handled when loading JSON.
-
-
-
-
- Replace the existing value when there is a duplicate property. The value of the last property in the JSON object will be used.
-
-
-
-
- Ignore the new value when there is a duplicate property. The value of the first property in the JSON object will be used.
-
-
-
-
- Throw a when a duplicate property is encountered.
-
-
-
-
- Contains the LINQ to JSON extension methods.
-
-
-
-
- Returns a collection of tokens that contains the ancestors of every token in the source collection.
-
- The type of the objects in source, constrained to .
- An of that contains the source collection.
- An of that contains the ancestors of every token in the source collection.
-
-
-
- Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection.
-
- The type of the objects in source, constrained to .
- An of that contains the source collection.
- An of that contains every token in the source collection, the ancestors of every token in the source collection.
-
-
-
- Returns a collection of tokens that contains the descendants of every token in the source collection.
-
- The type of the objects in source, constrained to .
- An of that contains the source collection.
- An of that contains the descendants of every token in the source collection.
-
-
-
- Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection.
-
- The type of the objects in source, constrained to .
- An of that contains the source collection.
- An of that contains every token in the source collection, and the descendants of every token in the source collection.
-
-
-
- Returns a collection of child properties of every object in the source collection.
-
- An of that contains the source collection.
- An of that contains the properties of every object in the source collection.
-
-
-
- Returns a collection of child values of every object in the source collection with the given key.
-
- An of that contains the source collection.
- The token key.
- An of that contains the values of every token in the source collection with the given key.
-
-
-
- Returns a collection of child values of every object in the source collection.
-
- An of that contains the source collection.
- An of that contains the values of every token in the source collection.
-
-
-
- Returns a collection of converted child values of every object in the source collection with the given key.
-
- The type to convert the values to.
- An of that contains the source collection.
- The token key.
- An that contains the converted values of every token in the source collection with the given key.
-
-
-
- Returns a collection of converted child values of every object in the source collection.
-
- The type to convert the values to.
- An of that contains the source collection.
- An that contains the converted values of every token in the source collection.
-
-
-
- Converts the value.
-
- The type to convert the value to.
- A cast as a of .
- A converted value.
-
-
-
- Converts the value.
-
- The source collection type.
- The type to convert the value to.
- A cast as a of .
- A converted value.
-
-
-
- Returns a collection of child tokens of every array in the source collection.
-
- The source collection type.
- An of that contains the source collection.
- An of that contains the values of every token in the source collection.
-
-
-
- Returns a collection of converted child tokens of every array in the source collection.
-
- An of that contains the source collection.
- The type to convert the values to.
- The source collection type.
- An that contains the converted values of every token in the source collection.
-
-
-
- Returns the input typed as .
-
- An of that contains the source collection.
- The input typed as .
-
-
-
- Returns the input typed as .
-
- The source collection type.
- An of that contains the source collection.
- The input typed as .
-
-
-
- Represents a collection of objects.
-
- The type of token.
-
-
-
- Gets the of with the specified key.
-
-
-
-
-
- Represents a JSON array.
-
-
-
-
-
-
-
- Writes this token to a asynchronously.
-
- A into which this method will write.
- The token to monitor for cancellation requests.
- A collection of which will be used when writing the token.
- A that represents the asynchronous write operation.
-
-
-
- Asynchronously loads a from a .
-
- A that will be read for the content of the .
- If this is null, default load settings will be used.
- The token to monitor for cancellation requests. The default value is .
- A representing the asynchronous load. The property contains the JSON that was read from the specified .
-
-
-
- Asynchronously loads a from a .
-
- A that will be read for the content of the .
- The used to load the JSON.
- If this is null, default load settings will be used.
- The token to monitor for cancellation requests. The default value is .
- A representing the asynchronous load. The property contains the JSON that was read from the specified .
-
-
-
- Gets the container's children tokens.
-
- The container's children tokens.
-
-
-
- Gets the node type for this .
-
- The type.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class from another object.
-
- A object to copy from.
-
-
-
- Initializes a new instance of the class with the specified content.
-
- The contents of the array.
-
-
-
- Initializes a new instance of the class with the specified content.
-
- The contents of the array.
-
-
-
- Loads an from a .
-
- A that will be read for the content of the .
- A that contains the JSON that was read from the specified .
-
-
-
- Loads an from a .
-
- A that will be read for the content of the .
- The used to load the JSON.
- If this is null, default load settings will be used.
- A that contains the JSON that was read from the specified .
-
-
-
- Load a from a string that contains JSON.
-
- A that contains JSON.
- A populated from the string that contains JSON.
-
-
-
-
-
-
- Load a from a string that contains JSON.
-
- A that contains JSON.
- The used to load the JSON.
- If this is null, default load settings will be used.
- A populated from the string that contains JSON.
-
-
-
-
-
-
- Creates a from an object.
-
- The object that will be used to create .
- A with the values of the specified object.
-
-
-
- Creates a from an object.
-
- The object that will be used to create .
- The that will be used to read the object.
- A with the values of the specified object.
-
-
-
- Writes this token to a .
-
- A into which this method will write.
- A collection of which will be used when writing the token.
-
-
-
- Gets the with the specified key.
-
- The with the specified key.
-
-
-
- Gets or sets the at the specified index.
-
-
-
-
-
- Determines the index of a specific item in the .
-
- The object to locate in the .
-
- The index of if found in the list; otherwise, -1.
-
-
-
-
- Inserts an item to the at the specified index.
-
- The zero-based index at which should be inserted.
- The object to insert into the .
-
- is not a valid index in the .
-
-
-
-
- Removes the item at the specified index.
-
- The zero-based index of the item to remove.
-
- is not a valid index in the .
-
-
-
-
- Returns an enumerator that iterates through the collection.
-
-
- A of that can be used to iterate through the collection.
-
-
-
-
- Adds an item to the .
-
- The object to add to the .
-
-
-
- Removes all items from the .
-
-
-
-
- Determines whether the contains a specific value.
-
- The object to locate in the .
-
- true if is found in the ; otherwise, false.
-
-
-
-
- Copies the elements of the to an array, starting at a particular array index.
-
- The array.
- Index of the array.
-
-
-
- Gets a value indicating whether the is read-only.
-
- true if the is read-only; otherwise, false.
-
-
-
- Removes the first occurrence of a specific object from the .
-
- The object to remove from the .
-
- true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original .
-
-
-
-
- Represents a JSON constructor.
-
-
-
-
- Writes this token to a asynchronously.
-
- A into which this method will write.
- The token to monitor for cancellation requests.
- A collection of which will be used when writing the token.
- A that represents the asynchronous write operation.
-
-
-
- Asynchronously loads a from a .
-
- A that will be read for the content of the .
- The token to monitor for cancellation requests. The default value is .
-
- A that represents the asynchronous load. The
- property returns a that contains the JSON that was read from the specified .
-
-
-
- Asynchronously loads a from a .
-
- A that will be read for the content of the .
- The used to load the JSON.
- If this is null, default load settings will be used.
- The token to monitor for cancellation requests. The default value is .
-
- A that represents the asynchronous load. The
- property returns a that contains the JSON that was read from the specified .
-
-
-
- Gets the container's children tokens.
-
- The container's children tokens.
-
-
-
- Gets or sets the name of this constructor.
-
- The constructor name.
-
-
-
- Gets the node type for this .
-
- The type.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class from another object.
-
- A object to copy from.
-
-
-
- Initializes a new instance of the class with the specified name and content.
-
- The constructor name.
- The contents of the constructor.
-
-
-
- Initializes a new instance of the class with the specified name and content.
-
- The constructor name.
- The contents of the constructor.
-
-
-
- Initializes a new instance of the class with the specified name.
-
- The constructor name.
-
-
-
- Writes this token to a .
-
- A into which this method will write.
- A collection of which will be used when writing the token.
-
-
-
- Gets the with the specified key.
-
- The with the specified key.
-
-
-
- Loads a from a .
-
- A that will be read for the content of the .
- A that contains the JSON that was read from the specified .
-
-
-
- Loads a from a .
-
- A that will be read for the content of the .
- The used to load the JSON.
- If this is null, default load settings will be used.
- A that contains the JSON that was read from the specified .
-
-
-
- Represents a token that can contain other tokens.
-
-
-
-
- Occurs when the items list of the collection has changed, or the collection is reset.
-
-
-
-
- Gets the container's children tokens.
-
- The container's children tokens.
-
-
-
- Raises the event.
-
- The instance containing the event data.
-
-
-
- Gets a value indicating whether this token has child tokens.
-
-
- true if this token has child values; otherwise, false.
-
-
-
-
- Get the first child token of this token.
-
-
- A containing the first child token of the .
-
-
-
-
- Get the last child token of this token.
-
-
- A containing the last child token of the .
-
-
-
-
- Returns a collection of the child tokens of this token, in document order.
-
-
- An of containing the child tokens of this , in document order.
-
-
-
-
- Returns a collection of the child values of this token, in document order.
-
- The type to convert the values to.
-
- A containing the child values of this , in document order.
-
-
-
-
- Returns a collection of the descendant tokens for this token in document order.
-
- An of containing the descendant tokens of the .
-
-
-
- Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order.
-
- An of containing this token, and all the descendant tokens of the .
-
-
-
- Adds the specified content as children of this .
-
- The content to be added.
-
-
-
- Adds the specified content as the first children of this .
-
- The content to be added.
-
-
-
- Creates a that can be used to add tokens to the .
-
- A that is ready to have content written to it.
-
-
-
- Replaces the child nodes of this token with the specified content.
-
- The content.
-
-
-
- Removes the child nodes from this token.
-
-
-
-
- Merge the specified content into this .
-
- The content to be merged.
-
-
-
- Merge the specified content into this using .
-
- The content to be merged.
- The used to merge the content.
-
-
-
- Gets the count of child JSON tokens.
-
- The count of child JSON tokens.
-
-
-
- Represents a collection of objects.
-
- The type of token.
-
-
-
- An empty collection of objects.
-
-
-
-
- Initializes a new instance of the struct.
-
- The enumerable.
-
-
-
- Returns an enumerator that can be used to iterate through the collection.
-
-
- A that can be used to iterate through the collection.
-
-
-
-
- Gets the of with the specified key.
-
-
-
-
-
- Determines whether the specified is equal to this instance.
-
- The to compare with this instance.
-
- true if the specified is equal to this instance; otherwise, false.
-
-
-
-
- Determines whether the specified is equal to this instance.
-
- The to compare with this instance.
-
- true if the specified is equal to this instance; otherwise, false.
-
-
-
-
- Returns a hash code for this instance.
-
-
- A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
-
-
-
-
- Represents a JSON object.
-
-
-
-
-
-
-
- Writes this token to a asynchronously.
-
- A into which this method will write.
- The token to monitor for cancellation requests.
- A collection of which will be used when writing the token.
- A that represents the asynchronous write operation.
-
-
-
- Asynchronously loads a from a .
-
- A that will be read for the content of the .
- The token to monitor for cancellation requests. The default value is .
-
- A that represents the asynchronous load. The
- property returns a that contains the JSON that was read from the specified .
-
-
-
- Asynchronously loads a from a .
-
- A that will be read for the content of the .
- The used to load the JSON.
- If this is null, default load settings will be used.
- The token to monitor for cancellation requests. The default value is .
-
- A that represents the asynchronous load. The
- property returns a that contains the JSON that was read from the specified .
-
-
-
- Gets the container's children tokens.
-
- The container's children tokens.
-
-
-
- Occurs when a property value changes.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class from another object.
-
- A object to copy from.
-
-
-
- Initializes a new instance of the class with the specified content.
-
- The contents of the object.
-
-
-
- Initializes a new instance of the class with the specified content.
-
- The contents of the object.
-
-
-
- Gets the node type for this .
-
- The type.
-
-
-
- Gets an of of this object's properties.
-
- An of of this object's properties.
-
-
-
- Gets a with the specified name.
-
- The property name.
- A with the specified name or null.
-
-
-
- Gets the with the specified name.
- The exact name will be searched for first and if no matching property is found then
- the will be used to match a property.
-
- The property name.
- One of the enumeration values that specifies how the strings will be compared.
- A matched with the specified name or null.
-
-
-
- Gets a of of this object's property values.
-
- A of of this object's property values.
-
-
-
- Gets the with the specified key.
-
- The with the specified key.
-
-
-
- Gets or sets the with the specified property name.
-
-
-
-
-
- Loads a from a .
-
- A that will be read for the content of the .
- A that contains the JSON that was read from the specified .
-
- is not valid JSON.
-
-
-
-
- Loads a from a .
-
- A that will be read for the content of the .
- The used to load the JSON.
- If this is null, default load settings will be used.
- A that contains the JSON that was read from the specified .
-
- is not valid JSON.
-
-
-
-
- Load a from a string that contains JSON.
-
- A that contains JSON.
- A populated from the string that contains JSON.
-
- is not valid JSON.
-
-
-
-
-
-
-
- Load a from a string that contains JSON.
-
- A that contains JSON.
- The used to load the JSON.
- If this is null, default load settings will be used.
- A populated from the string that contains JSON.
-
- is not valid JSON.
-
-
-
-
-
-
-
- Creates a from an object.
-
- The object that will be used to create .
- A with the values of the specified object.
-
-
-
- Creates a from an object.
-
- The object that will be used to create .
- The that will be used to read the object.
- A with the values of the specified object.
-
-
-
- Writes this token to a .
-
- A into which this method will write.
- A collection of which will be used when writing the token.
-
-
-
- Gets the with the specified property name.
-
- Name of the property.
- The with the specified property name.
-
-
-
- Gets the with the specified property name.
- The exact property name will be searched for first and if no matching property is found then
- the will be used to match a property.
-
- Name of the property.
- One of the enumeration values that specifies how the strings will be compared.
- The with the specified property name.
-
-
-
- Tries to get the with the specified property name.
- The exact property name will be searched for first and if no matching property is found then
- the will be used to match a property.
-
- Name of the property.
- The value.
- One of the enumeration values that specifies how the strings will be compared.
- true if a value was successfully retrieved; otherwise, false.
-
-
-
- Adds the specified property name.
-
- Name of the property.
- The value.
-
-
-
- Determines whether the JSON object has the specified property name.
-
- Name of the property.
- true if the JSON object has the specified property name; otherwise, false.
-
-
-
- Removes the property with the specified name.
-
- Name of the property.
- true if item was successfully removed; otherwise, false.
-
-
-
- Tries to get the with the specified property name.
-
- Name of the property.
- The value.
- true if a value was successfully retrieved; otherwise, false.
-
-
-
- Returns an enumerator that can be used to iterate through the collection.
-
-
- A that can be used to iterate through the collection.
-
-
-
-
- Raises the event with the provided arguments.
-
- Name of the property.
-
-
-
- Returns the responsible for binding operations performed on this object.
-
- The expression tree representation of the runtime value.
-
- The to bind this object.
-
-
-
-
- Represents a JSON property.
-
-
-
-
- Writes this token to a asynchronously.
-
- A into which this method will write.
- The token to monitor for cancellation requests.
- A collection of which will be used when writing the token.
- A that represents the asynchronous write operation.
-
-
-
- Asynchronously loads a from a .
-
- A that will be read for the content of the .
- The token to monitor for cancellation requests. The default value is .
- A representing the asynchronous creation. The
- property returns a that contains the JSON that was read from the specified .
-
-
-
- Asynchronously loads a from a .
-
- A that will be read for the content of the .
- The used to load the JSON.
- If this is null, default load settings will be used.
- The token to monitor for cancellation requests. The default value is .
- A representing the asynchronous creation. The
- property returns a that contains the JSON that was read from the specified .
-
-
-
- Gets the container's children tokens.
-
- The container's children tokens.
-
-
-
- Gets the property name.
-
- The property name.
-
-
-
- Gets or sets the property value.
-
- The property value.
-
-
-
- Initializes a new instance of the class from another object.
-
- A object to copy from.
-
-
-
- Gets the node type for this .
-
- The type.
-
-
-
- Initializes a new instance of the class.
-
- The property name.
- The property content.
-
-
-
- Initializes a new instance of the class.
-
- The property name.
- The property content.
-
-
-
- Writes this token to a .
-
- A into which this method will write.
- A collection of which will be used when writing the token.
-
-
-
- Loads a from a .
-
- A that will be read for the content of the .
- A that contains the JSON that was read from the specified .
-
-
-
- Loads a from a .
-
- A that will be read for the content of the .
- The used to load the JSON.
- If this is null, default load settings will be used.
- A that contains the JSON that was read from the specified .
-
-
-
- Represents a raw JSON string.
-
-
-
-
- Asynchronously creates an instance of with the content of the reader's current token.
-
- The reader.
- The token to monitor for cancellation requests. The default value is .
- A representing the asynchronous creation. The
- property returns an instance of with the content of the reader's current token.
-
-
-
- Initializes a new instance of the class from another object.
-
- A object to copy from.
-
-
-
- Initializes a new instance of the class.
-
- The raw json.
-
-
-
- Creates an instance of with the content of the reader's current token.
-
- The reader.
- An instance of with the content of the reader's current token.
-
-
-
- Specifies the settings used when cloning JSON.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets a flag that indicates whether to copy annotations when cloning a .
- The default value is true.
-
-
- A flag that indicates whether to copy annotations when cloning a .
-
-
-
-
- Specifies the settings used when loading JSON.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets how JSON comments are handled when loading JSON.
- The default value is .
-
- The JSON comment handling.
-
-
-
- Gets or sets how JSON line info is handled when loading JSON.
- The default value is .
-
- The JSON line info handling.
-
-
-
- Gets or sets how duplicate property names in JSON objects are handled when loading JSON.
- The default value is .
-
- The JSON duplicate property name handling.
-
-
-
- Specifies the settings used when merging JSON.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets the method used when merging JSON arrays.
-
- The method used when merging JSON arrays.
-
-
-
- Gets or sets how null value properties are merged.
-
- How null value properties are merged.
-
-
-
- Gets or sets the comparison used to match property names while merging.
- The exact property name will be searched for first and if no matching property is found then
- the will be used to match a property.
-
- The comparison used to match property names while merging.
-
-
-
- Specifies the settings used when selecting JSON.
-
-
-
-
- Gets or sets a timeout that will be used when executing regular expressions.
-
- The timeout that will be used when executing regular expressions.
-
-
-
- Gets or sets a flag that indicates whether an error should be thrown if
- no tokens are found when evaluating part of the expression.
-
-
- A flag that indicates whether an error should be thrown if
- no tokens are found when evaluating part of the expression.
-
-
-
-
- Represents an abstract JSON token.
-
-
-
-
- Writes this token to a asynchronously.
-
- A into which this method will write.
- The token to monitor for cancellation requests.
- A collection of which will be used when writing the token.
- A that represents the asynchronous write operation.
-
-
-
- Writes this token to a asynchronously.
-
- A into which this method will write.
- A collection of which will be used when writing the token.
- A that represents the asynchronous write operation.
-
-
-
- Asynchronously creates a from a .
-
- An positioned at the token to read into this .
- The token to monitor for cancellation requests. The default value is .
-
- A that represents the asynchronous creation. The
- property returns a that contains
- the token and its descendant tokens
- that were read from the reader. The runtime type of the token is determined
- by the token type of the first token encountered in the reader.
-
-
-
-
- Asynchronously creates a from a .
-
- An positioned at the token to read into this .
- The used to load the JSON.
- If this is null, default load settings will be used.
- The token to monitor for cancellation requests. The default value is .
-
- A that represents the asynchronous creation. The
- property returns a that contains
- the token and its descendant tokens
- that were read from the reader. The runtime type of the token is determined
- by the token type of the first token encountered in the reader.
-
-
-
-
- Asynchronously creates a from a .
-
- A positioned at the token to read into this .
- The token to monitor for cancellation requests. The default value is .
-
- A that represents the asynchronous creation. The
- property returns a that contains the token and its descendant tokens
- that were read from the reader. The runtime type of the token is determined
- by the token type of the first token encountered in the reader.
-
-
-
-
- Asynchronously creates a from a .
-
- A positioned at the token to read into this .
- The used to load the JSON.
- If this is null, default load settings will be used.
- The token to monitor for cancellation requests. The default value is .
-
- A that represents the asynchronous creation. The
- property returns a that contains the token and its descendant tokens
- that were read from the reader. The runtime type of the token is determined
- by the token type of the first token encountered in the reader.
-
-
-
-
- Gets a comparer that can compare two tokens for value equality.
-
- A that can compare two nodes for value equality.
-
-
-
- Gets or sets the parent.
-
- The parent.
-
-
-
- Gets the root of this .
-
- The root of this .
-
-
-
- Gets the node type for this .
-
- The type.
-
-
-
- Gets a value indicating whether this token has child tokens.
-
-
- true if this token has child values; otherwise, false.
-
-
-
-
- Compares the values of two tokens, including the values of all descendant tokens.
-
- The first to compare.
- The second to compare.
- true if the tokens are equal; otherwise false.
-
-
-
- Gets the next sibling token of this node.
-
- The that contains the next sibling token.
-
-
-
- Gets the previous sibling token of this node.
-
- The that contains the previous sibling token.
-
-
-
- Gets the path of the JSON token.
-
-
-
-
- Adds the specified content immediately after this token.
-
- A content object that contains simple content or a collection of content objects to be added after this token.
-
-
-
- Adds the specified content immediately before this token.
-
- A content object that contains simple content or a collection of content objects to be added before this token.
-
-
-
- Returns a collection of the ancestor tokens of this token.
-
- A collection of the ancestor tokens of this token.
-
-
-
- Returns a collection of tokens that contain this token, and the ancestors of this token.
-
- A collection of tokens that contain this token, and the ancestors of this token.
-
-
-
- Returns a collection of the sibling tokens after this token, in document order.
-
- A collection of the sibling tokens after this tokens, in document order.
-
-
-
- Returns a collection of the sibling tokens before this token, in document order.
-
- A collection of the sibling tokens before this token, in document order.
-
-
-
- Gets the with the specified key.
-
- The with the specified key.
-
-
-
- Gets the with the specified key converted to the specified type.
-
- The type to convert the token to.
- The token key.
- The converted token value.
-
-
-
- Get the first child token of this token.
-
- A containing the first child token of the .
-
-
-
- Get the last child token of this token.
-
- A containing the last child token of the .
-
-
-
- Returns a collection of the child tokens of this token, in document order.
-
- An of containing the child tokens of this , in document order.
-
-
-
- Returns a collection of the child tokens of this token, in document order, filtered by the specified type.
-
- The type to filter the child tokens on.
- A containing the child tokens of this , in document order.
-
-
-
- Returns a collection of the child values of this token, in document order.
-
- The type to convert the values to.
- A containing the child values of this , in document order.
-
-
-
- Removes this token from its parent.
-
-
-
-
- Replaces this token with the specified token.
-
- The value.
-
-
-
- Writes this token to a .
-
- A into which this method will write.
- A collection of which will be used when writing the token.
-
-
-
- Returns the indented JSON for this token.
-
-
- ToString() returns a non-JSON string value for tokens with a type of .
- If you want the JSON for all token types then you should use .
-
-
- The indented JSON for this token.
-
-
-
-
- Returns the JSON for this token using the given formatting and converters.
-
- Indicates how the output should be formatted.
- A collection of s which will be used when writing the token.
- The JSON for this token using the given formatting and converters.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to [].
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from [] to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Creates a for this token.
-
- A that can be used to read this token and its descendants.
-
-
-
- Creates a from an object.
-
- The object that will be used to create .
- A with the value of the specified object.
-
-
-
- Creates a from an object using the specified .
-
- The object that will be used to create .
- The that will be used when reading the object.
- A with the value of the specified object.
-
-
-
- Creates an instance of the specified .NET type from the .
-
- The object type that the token will be deserialized to.
- The new object created from the JSON value.
-
-
-
- Creates an instance of the specified .NET type from the .
-
- The object type that the token will be deserialized to.
- The new object created from the JSON value.
-
-
-
- Creates an instance of the specified .NET type from the using the specified .
-
- The object type that the token will be deserialized to.
- The that will be used when creating the object.
- The new object created from the JSON value.
-
-
-
- Creates an instance of the specified .NET type from the using the specified .
-
- The object type that the token will be deserialized to.
- The that will be used when creating the object.
- The new object created from the JSON value.
-
-
-
- Creates a from a .
-
- A positioned at the token to read into this .
-
- A that contains the token and its descendant tokens
- that were read from the reader. The runtime type of the token is determined
- by the token type of the first token encountered in the reader.
-
-
-
-
- Creates a from a .
-
- An positioned at the token to read into this .
- The used to load the JSON.
- If this is null, default load settings will be used.
-
- A that contains the token and its descendant tokens
- that were read from the reader. The runtime type of the token is determined
- by the token type of the first token encountered in the reader.
-
-
-
-
- Load a from a string that contains JSON.
-
- A that contains JSON.
- A populated from the string that contains JSON.
-
-
-
- Load a from a string that contains JSON.
-
- A that contains JSON.
- The used to load the JSON.
- If this is null, default load settings will be used.
- A populated from the string that contains JSON.
-
-
-
- Creates a from a .
-
- A positioned at the token to read into this .
- The used to load the JSON.
- If this is null, default load settings will be used.
-
- A that contains the token and its descendant tokens
- that were read from the reader. The runtime type of the token is determined
- by the token type of the first token encountered in the reader.
-
-
-
-
- Creates a from a .
-
- A positioned at the token to read into this .
-
- A that contains the token and its descendant tokens
- that were read from the reader. The runtime type of the token is determined
- by the token type of the first token encountered in the reader.
-
-
-
-
- Selects a using a JSONPath expression. Selects the token that matches the object path.
-
-
- A that contains a JSONPath expression.
-
- A , or null.
-
-
-
- Selects a using a JSONPath expression. Selects the token that matches the object path.
-
-
- A that contains a JSONPath expression.
-
- A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression.
- A .
-
-
-
- Selects a using a JSONPath expression. Selects the token that matches the object path.
-
-
- A that contains a JSONPath expression.
-
- The used to select tokens.
- A .
-
-
-
- Selects a collection of elements using a JSONPath expression.
-
-
- A that contains a JSONPath expression.
-
- An of that contains the selected elements.
-
-
-
- Selects a collection of elements using a JSONPath expression.
-
-
- A that contains a JSONPath expression.
-
- A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression.
- An of that contains the selected elements.
-
-
-
- Selects a collection of elements using a JSONPath expression.
-
-
- A that contains a JSONPath expression.
-
- The used to select tokens.
- An of that contains the selected elements.
-
-
-
- Returns the responsible for binding operations performed on this object.
-
- The expression tree representation of the runtime value.
-
- The to bind this object.
-
-
-
-
- Returns the responsible for binding operations performed on this object.
-
- The expression tree representation of the runtime value.
-
- The to bind this object.
-
-
-
-
- Creates a new instance of the . All child tokens are recursively cloned.
-
- A new instance of the .
-
-
-
- Creates a new instance of the . All child tokens are recursively cloned.
-
- A object to configure cloning settings.
- A new instance of the .
-
-
-
- Adds an object to the annotation list of this .
-
- The annotation to add.
-
-
-
- Get the first annotation object of the specified type from this .
-
- The type of the annotation to retrieve.
- The first annotation object that matches the specified type, or null if no annotation is of the specified type.
-
-
-
- Gets the first annotation object of the specified type from this .
-
- The of the annotation to retrieve.
- The first annotation object that matches the specified type, or null if no annotation is of the specified type.
-
-
-
- Gets a collection of annotations of the specified type for this .
-
- The type of the annotations to retrieve.
- An that contains the annotations for this .
-
-
-
- Gets a collection of annotations of the specified type for this .
-
- The of the annotations to retrieve.
- An of that contains the annotations that match the specified type for this .
-
-
-
- Removes the annotations of the specified type from this .
-
- The type of annotations to remove.
-
-
-
- Removes the annotations of the specified type from this .
-
- The of annotations to remove.
-
-
-
- Compares tokens to determine whether they are equal.
-
-
-
-
- Determines whether the specified objects are equal.
-
- The first object of type to compare.
- The second object of type to compare.
-
- true if the specified objects are equal; otherwise, false.
-
-
-
-
- Returns a hash code for the specified object.
-
- The for which a hash code is to be returned.
- A hash code for the specified object.
- The type of is a reference type and is null.
-
-
-
- Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data.
-
-
-
-
- Gets the at the reader's current position.
-
-
-
-
- Initializes a new instance of the class.
-
- The token to read from.
-
-
-
- Initializes a new instance of the class.
-
- The token to read from.
- The initial path of the token. It is prepended to the returned .
-
-
-
- Reads the next JSON token from the underlying .
-
-
- true if the next token was read successfully; false if there are no more tokens to read.
-
-
-
-
- Gets the path of the current JSON token.
-
-
-
-
- Specifies the type of token.
-
-
-
-
- No token type has been set.
-
-
-
-
- A JSON object.
-
-
-
-
- A JSON array.
-
-
-
-
- A JSON constructor.
-
-
-
-
- A JSON object property.
-
-
-
-
- A comment.
-
-
-
-
- An integer value.
-
-
-
-
- A float value.
-
-
-
-
- A string value.
-
-
-
-
- A boolean value.
-
-
-
-
- A null value.
-
-
-
-
- An undefined value.
-
-
-
-
- A date value.
-
-
-
-
- A raw JSON value.
-
-
-
-
- A collection of bytes value.
-
-
-
-
- A Guid value.
-
-
-
-
- A Uri value.
-
-
-
-
- A TimeSpan value.
-
-
-
-
- Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
-
-
-
-
- Gets the at the writer's current position.
-
-
-
-
- Gets the token being written.
-
- The token being written.
-
-
-
- Initializes a new instance of the class writing to the given .
-
- The container being written to.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Flushes whatever is in the buffer to the underlying .
-
-
-
-
- Closes this writer.
- If is set to true, the JSON is auto-completed.
-
-
- Setting to true has no additional effect, since the underlying is a type that cannot be closed.
-
-
-
-
- Writes the beginning of a JSON object.
-
-
-
-
- Writes the beginning of a JSON array.
-
-
-
-
- Writes the start of a constructor with the given name.
-
- The name of the constructor.
-
-
-
- Writes the end.
-
- The token.
-
-
-
- Writes the property name of a name/value pair on a JSON object.
-
- The name of the property.
-
-
-
- Writes a value.
- An error will be raised if the value cannot be written as a single JSON token.
-
- The value to write.
-
-
-
- Writes a null value.
-
-
-
-
- Writes an undefined value.
-
-
-
-
- Writes raw JSON.
-
- The raw JSON to write.
-
-
-
- Writes a comment /*...*/ containing the specified text.
-
- Text to place inside the comment.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a [] value.
-
- The [] value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Represents a value in JSON (string, integer, date, etc).
-
-
-
-
- Writes this token to a asynchronously.
-
- A into which this method will write.
- The token to monitor for cancellation requests.
- A collection of which will be used when writing the token.
- A that represents the asynchronous write operation.
-
-
-
- Initializes a new instance of the class from another object.
-
- A object to copy from.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Gets a value indicating whether this token has child tokens.
-
-
- true if this token has child values; otherwise, false.
-
-
-
-
- Creates a comment with the given value.
-
- The value.
- A comment with the given value.
-
-
-
- Creates a string with the given value.
-
- The value.
- A string with the given value.
-
-
-
- Creates a null value.
-
- A null value.
-
-
-
- Creates a undefined value.
-
- A undefined value.
-
-
-
- Gets the node type for this .
-
- The type.
-
-
-
- Gets or sets the underlying token value.
-
- The underlying token value.
-
-
-
- Writes this token to a .
-
- A into which this method will write.
- A collection of s which will be used when writing the token.
-
-
-
- Indicates whether the current object is equal to another object of the same type.
-
-
- true if the current object is equal to the parameter; otherwise, false.
-
- An object to compare with this object.
-
-
-
- Determines whether the specified is equal to the current .
-
- The to compare with the current .
-
- true if the specified is equal to the current ; otherwise, false.
-
-
-
-
- Serves as a hash function for a particular type.
-
-
- A hash code for the current .
-
-
-
-
- Returns a that represents this instance.
-
-
- ToString() returns a non-JSON string value for tokens with a type of .
- If you want the JSON for all token types then you should use .
-
-
- A that represents this instance.
-
-
-
-
- Returns a that represents this instance.
-
- The format.
-
- A that represents this instance.
-
-
-
-
- Returns a that represents this instance.
-
- The format provider.
-
- A that represents this instance.
-
-
-
-
- Returns a that represents this instance.
-
- The format.
- The format provider.
-
- A that represents this instance.
-
-
-
-
- Returns the responsible for binding operations performed on this object.
-
- The expression tree representation of the runtime value.
-
- The to bind this object.
-
-
-
-
- Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
-
- An object to compare with this instance.
-
- A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings:
- Value
- Meaning
- Less than zero
- This instance is less than .
- Zero
- This instance is equal to .
- Greater than zero
- This instance is greater than .
-
-
- is not of the same type as this instance.
-
-
-
-
- Specifies how line information is handled when loading JSON.
-
-
-
-
- Ignore line information.
-
-
-
-
- Load line information.
-
-
-
-
- Specifies how JSON arrays are merged together.
-
-
-
- Concatenate arrays.
-
-
- Union arrays, skipping items that already exist.
-
-
- Replace all array items.
-
-
- Merge array items together, matched by index.
-
-
-
- Specifies how null value properties are merged.
-
-
-
-
- The content's null value properties will be ignored during merging.
-
-
-
-
- The content's null value properties will be merged.
-
-
-
-
- Specifies the member serialization options for the .
-
-
-
-
- All public members are serialized by default. Members can be excluded using or .
- This is the default member serialization mode.
-
-
-
-
- Only members marked with or are serialized.
- This member serialization mode can also be set by marking the class with .
-
-
-
-
- All public and private fields are serialized. Members can be excluded using or .
- This member serialization mode can also be set by marking the class with
- and setting IgnoreSerializableAttribute on to false.
-
-
-
-
- Specifies metadata property handling options for the .
-
-
-
-
- Read metadata properties located at the start of a JSON object.
-
-
-
-
- Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance.
-
-
-
-
- Do not try to read metadata properties.
-
-
-
-
- Specifies missing member handling options for the .
-
-
-
-
- Ignore a missing member and do not attempt to deserialize it.
-
-
-
-
- Throw a when a missing member is encountered during deserialization.
-
-
-
-
- Specifies null value handling options for the .
-
-
-
-
-
-
-
-
- Include null values when serializing and deserializing objects.
-
-
-
-
- Ignore null values when serializing and deserializing objects.
-
-
-
-
- Specifies how object creation is handled by the .
-
-
-
-
- Reuse existing objects, create new objects when needed.
-
-
-
-
- Only reuse existing objects.
-
-
-
-
- Always create new objects.
-
-
-
-
- Specifies reference handling options for the .
- Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement .
-
-
-
-
-
-
-
- Do not preserve references when serializing types.
-
-
-
-
- Preserve references when serializing into a JSON object structure.
-
-
-
-
- Preserve references when serializing into a JSON array structure.
-
-
-
-
- Preserve references when serializing.
-
-
-
-
- Specifies reference loop handling options for the .
-
-
-
-
- Throw a when a loop is encountered.
-
-
-
-
- Ignore loop references and do not serialize.
-
-
-
-
- Serialize loop references.
-
-
-
-
- Indicating whether a property is required.
-
-
-
-
- The property is not required. The default state.
-
-
-
-
- The property must be defined in JSON but can be a null value.
-
-
-
-
- The property must be defined in JSON and cannot be a null value.
-
-
-
-
- The property is not required but it cannot be a null value.
-
-
-
-
-
- Contains the JSON schema extension methods.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
-
- Determines whether the is valid.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
- The source to test.
- The schema to test with.
-
- true if the specified is valid; otherwise, false.
-
-
-
-
-
- Determines whether the is valid.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
- The source to test.
- The schema to test with.
- When this method returns, contains any error messages generated while validating.
-
- true if the specified is valid; otherwise, false.
-
-
-
-
-
- Validates the specified .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
- The source to test.
- The schema to test with.
-
-
-
-
- Validates the specified .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
- The source to test.
- The schema to test with.
- The validation event handler.
-
-
-
-
- An in-memory representation of a JSON Schema.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Gets or sets the id.
-
-
-
-
- Gets or sets the title.
-
-
-
-
- Gets or sets whether the object is required.
-
-
-
-
- Gets or sets whether the object is read-only.
-
-
-
-
- Gets or sets whether the object is visible to users.
-
-
-
-
- Gets or sets whether the object is transient.
-
-
-
-
- Gets or sets the description of the object.
-
-
-
-
- Gets or sets the types of values allowed by the object.
-
- The type.
-
-
-
- Gets or sets the pattern.
-
- The pattern.
-
-
-
- Gets or sets the minimum length.
-
- The minimum length.
-
-
-
- Gets or sets the maximum length.
-
- The maximum length.
-
-
-
- Gets or sets a number that the value should be divisible by.
-
- A number that the value should be divisible by.
-
-
-
- Gets or sets the minimum.
-
- The minimum.
-
-
-
- Gets or sets the maximum.
-
- The maximum.
-
-
-
- Gets or sets a flag indicating whether the value can not equal the number defined by the minimum attribute ().
-
- A flag indicating whether the value can not equal the number defined by the minimum attribute ().
-
-
-
- Gets or sets a flag indicating whether the value can not equal the number defined by the maximum attribute ().
-
- A flag indicating whether the value can not equal the number defined by the maximum attribute ().
-
-
-
- Gets or sets the minimum number of items.
-
- The minimum number of items.
-
-
-
- Gets or sets the maximum number of items.
-
- The maximum number of items.
-
-
-
- Gets or sets the of items.
-
- The of items.
-
-
-
- Gets or sets a value indicating whether items in an array are validated using the instance at their array position from .
-
-
- true if items are validated using their array position; otherwise, false.
-
-
-
-
- Gets or sets the of additional items.
-
- The of additional items.
-
-
-
- Gets or sets a value indicating whether additional items are allowed.
-
-
- true if additional items are allowed; otherwise, false.
-
-
-
-
- Gets or sets whether the array items must be unique.
-
-
-
-
- Gets or sets the of properties.
-
- The of properties.
-
-
-
- Gets or sets the of additional properties.
-
- The of additional properties.
-
-
-
- Gets or sets the pattern properties.
-
- The pattern properties.
-
-
-
- Gets or sets a value indicating whether additional properties are allowed.
-
-
- true if additional properties are allowed; otherwise, false.
-
-
-
-
- Gets or sets the required property if this property is present.
-
- The required property if this property is present.
-
-
-
- Gets or sets the a collection of valid enum values allowed.
-
- A collection of valid enum values allowed.
-
-
-
- Gets or sets disallowed types.
-
- The disallowed types.
-
-
-
- Gets or sets the default value.
-
- The default value.
-
-
-
- Gets or sets the collection of that this schema extends.
-
- The collection of that this schema extends.
-
-
-
- Gets or sets the format.
-
- The format.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Reads a from the specified .
-
- The containing the JSON Schema to read.
- The object representing the JSON Schema.
-
-
-
- Reads a from the specified .
-
- The containing the JSON Schema to read.
- The to use when resolving schema references.
- The object representing the JSON Schema.
-
-
-
- Load a from a string that contains JSON Schema.
-
- A that contains JSON Schema.
- A populated from the string that contains JSON Schema.
-
-
-
- Load a from a string that contains JSON Schema using the specified .
-
- A that contains JSON Schema.
- The resolver.
- A populated from the string that contains JSON Schema.
-
-
-
- Writes this schema to a .
-
- A into which this method will write.
-
-
-
- Writes this schema to a using the specified .
-
- A into which this method will write.
- The resolver used.
-
-
-
- Returns a that represents the current .
-
-
- A that represents the current .
-
-
-
-
-
- Returns detailed information about the schema exception.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Gets the line number indicating where the error occurred.
-
- The line number indicating where the error occurred.
-
-
-
- Gets the line position indicating where the error occurred.
-
- The line position indicating where the error occurred.
-
-
-
- Gets the path to the JSON where the error occurred.
-
- The path to the JSON where the error occurred.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- with a specified error message.
-
- The error message that explains the reason for the exception.
-
-
-
- Initializes a new instance of the class
- with a specified error message and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
-
- Generates a from a specified .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Gets or sets how undefined schemas are handled by the serializer.
-
-
-
-
- Gets or sets the contract resolver.
-
- The contract resolver.
-
-
-
- Generate a from the specified type.
-
- The type to generate a from.
- A generated from the specified type.
-
-
-
- Generate a from the specified type.
-
- The type to generate a from.
- The used to resolve schema references.
- A generated from the specified type.
-
-
-
- Generate a from the specified type.
-
- The type to generate a from.
- Specify whether the generated root will be nullable.
- A generated from the specified type.
-
-
-
- Generate a from the specified type.
-
- The type to generate a from.
- The used to resolve schema references.
- Specify whether the generated root will be nullable.
- A generated from the specified type.
-
-
-
-
- Resolves from an id.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Gets or sets the loaded schemas.
-
- The loaded schemas.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets a for the specified reference.
-
- The id.
- A for the specified reference.
-
-
-
-
- The value types allowed by the .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- No type specified.
-
-
-
-
- String type.
-
-
-
-
- Float type.
-
-
-
-
- Integer type.
-
-
-
-
- Boolean type.
-
-
-
-
- Object type.
-
-
-
-
- Array type.
-
-
-
-
- Null type.
-
-
-
-
- Any type.
-
-
-
-
-
- Specifies undefined schema Id handling options for the .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Do not infer a schema Id.
-
-
-
-
- Use the .NET type name as the schema Id.
-
-
-
-
- Use the assembly qualified .NET type name as the schema Id.
-
-
-
-
-
- Returns detailed information related to the .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Gets the associated with the validation error.
-
- The JsonSchemaException associated with the validation error.
-
-
-
- Gets the path of the JSON location where the validation error occurred.
-
- The path of the JSON location where the validation error occurred.
-
-
-
- Gets the text description corresponding to the validation error.
-
- The text description.
-
-
-
-
- Represents the callback method that will handle JSON schema validation events and the .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Allows users to control class loading and mandate what class to load.
-
-
-
-
- When overridden in a derived class, controls the binding of a serialized object to a type.
-
- Specifies the name of the serialized object.
- Specifies the name of the serialized object
- The type of the object the formatter creates a new instance of.
-
-
-
- When overridden in a derived class, controls the binding of a serialized object to a type.
-
- The type of the object the formatter creates a new instance of.
- Specifies the name of the serialized object.
- Specifies the name of the serialized object.
-
-
-
- A camel case naming strategy.
-
-
-
-
- Initializes a new instance of the class.
-
-
- A flag indicating whether dictionary keys should be processed.
-
-
- A flag indicating whether explicitly specified property names should be processed,
- e.g. a property name customized with a .
-
-
-
-
- Initializes a new instance of the class.
-
-
- A flag indicating whether dictionary keys should be processed.
-
-
- A flag indicating whether explicitly specified property names should be processed,
- e.g. a property name customized with a .
-
-
- A flag indicating whether extension data names should be processed.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Resolves the specified property name.
-
- The property name to resolve.
- The resolved property name.
-
-
-
- Resolves member mappings for a type, camel casing property names.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Resolves the contract for a given type.
-
- The type to resolve a contract for.
- The contract for a given type.
-
-
-
- Used by to resolve a for a given .
-
-
-
-
- Gets a value indicating whether members are being get and set using dynamic code generation.
- This value is determined by the runtime permissions available.
-
-
- true if using dynamic code generation; otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether compiler generated members should be serialized.
-
-
- true if serialized compiler generated members; otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether to ignore IsSpecified members when serializing and deserializing types.
-
-
- true if the IsSpecified members will be ignored when serializing and deserializing types; otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether to ignore ShouldSerialize members when serializing and deserializing types.
-
-
- true if the ShouldSerialize members will be ignored when serializing and deserializing types; otherwise, false.
-
-
-
-
- Gets or sets the naming strategy used to resolve how property names and dictionary keys are serialized.
-
- The naming strategy used to resolve how property names and dictionary keys are serialized.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Resolves the contract for a given type.
-
- The type to resolve a contract for.
- The contract for a given type.
-
-
-
- Gets the serializable members for the type.
-
- The type to get serializable members for.
- The serializable members for the type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates the constructor parameters.
-
- The constructor to create properties for.
- The type's member properties.
- Properties for the given .
-
-
-
- Creates a for the given .
-
- The matching member property.
- The constructor parameter.
- A created for the given .
-
-
-
- Resolves the default for the contract.
-
- Type of the object.
- The contract's default .
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Determines which contract type is created for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates properties for the given .
-
- The type to create properties for.
- /// The member serialization mode for the type.
- Properties for the given .
-
-
-
- Creates the used by the serializer to get and set values from a member.
-
- The member.
- The used by the serializer to get and set values from a member.
-
-
-
- Creates a for the given .
-
- The member's parent .
- The member to create a for.
- A created for the given .
-
-
-
- Resolves the name of the property.
-
- Name of the property.
- Resolved name of the property.
-
-
-
- Resolves the name of the extension data. By default no changes are made to extension data names.
-
- Name of the extension data.
- Resolved name of the extension data.
-
-
-
- Resolves the key of the dictionary. By default is used to resolve dictionary keys.
-
- Key of the dictionary.
- Resolved key of the dictionary.
-
-
-
- Gets the resolved name of the property.
-
- Name of the property.
- Name of the property.
-
-
-
- The default naming strategy. Property names and dictionary keys are unchanged.
-
-
-
-
- Resolves the specified property name.
-
- The property name to resolve.
- The resolved property name.
-
-
-
- The default serialization binder used when resolving and loading classes from type names.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- When overridden in a derived class, controls the binding of a serialized object to a type.
-
- Specifies the name of the serialized object.
- Specifies the name of the serialized object.
-
- The type of the object the formatter creates a new instance of.
-
-
-
-
- When overridden in a derived class, controls the binding of a serialized object to a type.
-
- The type of the object the formatter creates a new instance of.
- Specifies the name of the serialized object.
- Specifies the name of the serialized object.
-
-
-
- Provides information surrounding an error.
-
-
-
-
- Gets the error.
-
- The error.
-
-
-
- Gets the original object that caused the error.
-
- The original object that caused the error.
-
-
-
- Gets the member that caused the error.
-
- The member that caused the error.
-
-
-
- Gets the path of the JSON location where the error occurred.
-
- The path of the JSON location where the error occurred.
-
-
-
- Gets or sets a value indicating whether this is handled.
-
- true if handled; otherwise, false.
-
-
-
- Provides data for the Error event.
-
-
-
-
- Gets the current object the error event is being raised against.
-
- The current object the error event is being raised against.
-
-
-
- Gets the error context.
-
- The error context.
-
-
-
- Initializes a new instance of the class.
-
- The current object.
- The error context.
-
-
-
- Get and set values for a using dynamic methods.
-
-
-
-
- Initializes a new instance of the class.
-
- The member info.
-
-
-
- Sets the value.
-
- The target to set the value on.
- The value to set on the target.
-
-
-
- Gets the value.
-
- The target to get the value from.
- The value.
-
-
-
- Provides methods to get attributes.
-
-
-
-
- Returns a collection of all of the attributes, or an empty collection if there are no attributes.
-
- When true, look up the hierarchy chain for the inherited custom attribute.
- A collection of s, or an empty collection.
-
-
-
- Returns a collection of attributes, identified by type, or an empty collection if there are no attributes.
-
- The type of the attributes.
- When true, look up the hierarchy chain for the inherited custom attribute.
- A collection of s, or an empty collection.
-
-
-
- Used by to resolve a for a given .
-
-
-
-
-
-
-
-
- Resolves the contract for a given type.
-
- The type to resolve a contract for.
- The contract for a given type.
-
-
-
- Used to resolve references when serializing and deserializing JSON by the .
-
-
-
-
- Resolves a reference to its object.
-
- The serialization context.
- The reference to resolve.
- The object that was resolved from the reference.
-
-
-
- Gets the reference for the specified object.
-
- The serialization context.
- The object to get a reference for.
- The reference to the object.
-
-
-
- Determines whether the specified object is referenced.
-
- The serialization context.
- The object to test for a reference.
-
- true if the specified object is referenced; otherwise, false.
-
-
-
-
- Adds a reference to the specified object.
-
- The serialization context.
- The reference.
- The object to reference.
-
-
-
- Allows users to control class loading and mandate what class to load.
-
-
-
-
- When implemented, controls the binding of a serialized object to a type.
-
- Specifies the name of the serialized object.
- Specifies the name of the serialized object
- The type of the object the formatter creates a new instance of.
-
-
-
- When implemented, controls the binding of a serialized object to a type.
-
- The type of the object the formatter creates a new instance of.
- Specifies the name of the serialized object.
- Specifies the name of the serialized object.
-
-
-
- Represents a trace writer.
-
-
-
-
- Gets the that will be used to filter the trace messages passed to the writer.
- For example a filter level of will exclude messages and include ,
- and messages.
-
- The that will be used to filter the trace messages passed to the writer.
-
-
-
- Writes the specified trace level, message and optional exception.
-
- The at which to write this trace.
- The trace message.
- The trace exception. This parameter is optional.
-
-
-
- Provides methods to get and set values.
-
-
-
-
- Sets the value.
-
- The target to set the value on.
- The value to set on the target.
-
-
-
- Gets the value.
-
- The target to get the value from.
- The value.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Gets the of the collection items.
-
- The of the collection items.
-
-
-
- Gets a value indicating whether the collection type is a multidimensional array.
-
- true if the collection type is a multidimensional array; otherwise, false.
-
-
-
- Gets or sets the function used to create the object. When set this function will override .
-
- The function used to create the object.
-
-
-
- Gets a value indicating whether the creator has a parameter with the collection values.
-
- true if the creator has a parameter with the collection values; otherwise, false.
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Gets or sets the default collection items .
-
- The converter.
-
-
-
- Gets or sets a value indicating whether the collection items preserve object references.
-
- true if collection items preserve object references; otherwise, false.
-
-
-
- Gets or sets the collection item reference loop handling.
-
- The reference loop handling.
-
-
-
- Gets or sets the collection item type name handling.
-
- The type name handling.
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Handles serialization callback events.
-
- The object that raised the callback event.
- The streaming context.
-
-
-
- Handles serialization error callback events.
-
- The object that raised the callback event.
- The streaming context.
- The error context.
-
-
-
- Sets extension data for an object during deserialization.
-
- The object to set extension data on.
- The extension data key.
- The extension data value.
-
-
-
- Gets extension data for an object during serialization.
-
- The object to set extension data on.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Gets the underlying type for the contract.
-
- The underlying type for the contract.
-
-
-
- Gets or sets the type created during deserialization.
-
- The type created during deserialization.
-
-
-
- Gets or sets whether this type contract is serialized as a reference.
-
- Whether this type contract is serialized as a reference.
-
-
-
- Gets or sets the default for this contract.
-
- The converter.
-
-
-
- Gets the internally resolved for the contract's type.
- This converter is used as a fallback converter when no other converter is resolved.
- Setting will always override this converter.
-
-
-
-
- Gets or sets all methods called immediately after deserialization of the object.
-
- The methods called immediately after deserialization of the object.
-
-
-
- Gets or sets all methods called during deserialization of the object.
-
- The methods called during deserialization of the object.
-
-
-
- Gets or sets all methods called after serialization of the object graph.
-
- The methods called after serialization of the object graph.
-
-
-
- Gets or sets all methods called before serialization of the object.
-
- The methods called before serialization of the object.
-
-
-
- Gets or sets all method called when an error is thrown during the serialization of the object.
-
- The methods called when an error is thrown during the serialization of the object.
-
-
-
- Gets or sets the default creator method used to create the object.
-
- The default creator method used to create the object.
-
-
-
- Gets or sets a value indicating whether the default creator is non-public.
-
- true if the default object creator is non-public; otherwise, false.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Gets or sets the dictionary key resolver.
-
- The dictionary key resolver.
-
-
-
- Gets the of the dictionary keys.
-
- The of the dictionary keys.
-
-
-
- Gets the of the dictionary values.
-
- The of the dictionary values.
-
-
-
- Gets or sets the function used to create the object. When set this function will override .
-
- The function used to create the object.
-
-
-
- Gets a value indicating whether the creator has a parameter with the dictionary values.
-
- true if the creator has a parameter with the dictionary values; otherwise, false.
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Gets the object's properties.
-
- The object's properties.
-
-
-
- Gets or sets the property name resolver.
-
- The property name resolver.
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Gets or sets the object member serialization.
-
- The member object serialization.
-
-
-
- Gets or sets the missing member handling used when deserializing this object.
-
- The missing member handling.
-
-
-
- Gets or sets a value that indicates whether the object's properties are required.
-
-
- A value indicating whether the object's properties are required.
-
-
-
-
- Gets or sets how the object's properties with null values are handled during serialization and deserialization.
-
- How the object's properties with null values are handled during serialization and deserialization.
-
-
-
- Gets the object's properties.
-
- The object's properties.
-
-
-
- Gets a collection of instances that define the parameters used with .
-
-
-
-
- Gets or sets the function used to create the object. When set this function will override .
- This function is called with a collection of arguments which are defined by the collection.
-
- The function used to create the object.
-
-
-
- Gets or sets the extension data setter.
-
-
-
-
- Gets or sets the extension data getter.
-
-
-
-
- Gets or sets the extension data value type.
-
-
-
-
- Gets or sets the extension data name resolver.
-
- The extension data name resolver.
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Maps a JSON property to a .NET member or constructor parameter.
-
-
-
-
- Gets or sets the name of the property.
-
- The name of the property.
-
-
-
- Gets or sets the type that declared this property.
-
- The type that declared this property.
-
-
-
- Gets or sets the order of serialization of a member.
-
- The numeric order of serialization.
-
-
-
- Gets or sets the name of the underlying member or parameter.
-
- The name of the underlying member or parameter.
-
-
-
- Gets the that will get and set the during serialization.
-
- The that will get and set the during serialization.
-
-
-
- Gets or sets the for this property.
-
- The for this property.
-
-
-
- Gets or sets the type of the property.
-
- The type of the property.
-
-
-
- Gets or sets the for the property.
- If set this converter takes precedence over the contract converter for the property type.
-
- The converter.
-
-
-
- Gets or sets the member converter.
-
- The member converter.
-
-
-
- Gets or sets a value indicating whether this is ignored.
-
- true if ignored; otherwise, false.
-
-
-
- Gets or sets a value indicating whether this is readable.
-
- true if readable; otherwise, false.
-
-
-
- Gets or sets a value indicating whether this is writable.
-
- true if writable; otherwise, false.
-
-
-
- Gets or sets a value indicating whether this has a member attribute.
-
- true if has a member attribute; otherwise, false.
-
-
-
- Gets the default value.
-
- The default value.
-
-
-
- Gets or sets a value indicating whether this is required.
-
- A value indicating whether this is required.
-
-
-
- Gets a value indicating whether has a value specified.
-
-
-
-
- Gets or sets a value indicating whether this property preserves object references.
-
-
- true if this instance is reference; otherwise, false.
-
-
-
-
- Gets or sets the property null value handling.
-
- The null value handling.
-
-
-
- Gets or sets the property default value handling.
-
- The default value handling.
-
-
-
- Gets or sets the property reference loop handling.
-
- The reference loop handling.
-
-
-
- Gets or sets the property object creation handling.
-
- The object creation handling.
-
-
-
- Gets or sets or sets the type name handling.
-
- The type name handling.
-
-
-
- Gets or sets a predicate used to determine whether the property should be serialized.
-
- A predicate used to determine whether the property should be serialized.
-
-
-
- Gets or sets a predicate used to determine whether the property should be deserialized.
-
- A predicate used to determine whether the property should be deserialized.
-
-
-
- Gets or sets a predicate used to determine whether the property should be serialized.
-
- A predicate used to determine whether the property should be serialized.
-
-
-
- Gets or sets an action used to set whether the property has been deserialized.
-
- An action used to set whether the property has been deserialized.
-
-
-
- Returns a that represents this instance.
-
-
- A that represents this instance.
-
-
-
-
- Gets or sets the converter used when serializing the property's collection items.
-
- The collection's items converter.
-
-
-
- Gets or sets whether this property's collection items are serialized as a reference.
-
- Whether this property's collection items are serialized as a reference.
-
-
-
- Gets or sets the type name handling used when serializing the property's collection items.
-
- The collection's items type name handling.
-
-
-
- Gets or sets the reference loop handling used when serializing the property's collection items.
-
- The collection's items reference loop handling.
-
-
-
- A collection of objects.
-
-
-
-
- Initializes a new instance of the class.
-
- The type.
-
-
-
- When implemented in a derived class, extracts the key from the specified element.
-
- The element from which to extract the key.
- The key for the specified element.
-
-
-
- Adds a object.
-
- The property to add to the collection.
-
-
-
- Gets the closest matching object.
- First attempts to get an exact case match of and then
- a case insensitive match.
-
- Name of the property.
- A matching property if found.
-
-
-
- Gets a property by property name.
-
- The name of the property to get.
- Type property name string comparison.
- A matching property if found.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Lookup and create an instance of the type described by the argument.
-
- The type to create.
- Optional arguments to pass to an initializing constructor of the JsonConverter.
- If null, the default constructor is used.
-
-
-
- A kebab case naming strategy.
-
-
-
-
- Initializes a new instance of the class.
-
-
- A flag indicating whether dictionary keys should be processed.
-
-
- A flag indicating whether explicitly specified property names should be processed,
- e.g. a property name customized with a .
-
-
-
-
- Initializes a new instance of the class.
-
-
- A flag indicating whether dictionary keys should be processed.
-
-
- A flag indicating whether explicitly specified property names should be processed,
- e.g. a property name customized with a .
-
-
- A flag indicating whether extension data names should be processed.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Resolves the specified property name.
-
- The property name to resolve.
- The resolved property name.
-
-
-
- Represents a trace writer that writes to memory. When the trace message limit is
- reached then old trace messages will be removed as new messages are added.
-
-
-
-
- Gets the that will be used to filter the trace messages passed to the writer.
- For example a filter level of will exclude messages and include ,
- and messages.
-
-
- The that will be used to filter the trace messages passed to the writer.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Writes the specified trace level, message and optional exception.
-
- The at which to write this trace.
- The trace message.
- The trace exception. This parameter is optional.
-
-
-
- Returns an enumeration of the most recent trace messages.
-
- An enumeration of the most recent trace messages.
-
-
-
- Returns a of the most recent trace messages.
-
-
- A of the most recent trace messages.
-
-
-
-
- A base class for resolving how property names and dictionary keys are serialized.
-
-
-
-
- A flag indicating whether dictionary keys should be processed.
- Defaults to false.
-
-
-
-
- A flag indicating whether extension data names should be processed.
- Defaults to false.
-
-
-
-
- A flag indicating whether explicitly specified property names,
- e.g. a property name customized with a , should be processed.
- Defaults to false.
-
-
-
-
- Gets the serialized name for a given property name.
-
- The initial property name.
- A flag indicating whether the property has had a name explicitly specified.
- The serialized property name.
-
-
-
- Gets the serialized name for a given extension data name.
-
- The initial extension data name.
- The serialized extension data name.
-
-
-
- Gets the serialized key for a given dictionary key.
-
- The initial dictionary key.
- The serialized dictionary key.
-
-
-
- Resolves the specified property name.
-
- The property name to resolve.
- The resolved property name.
-
-
-
- Hash code calculation
-
-
-
-
-
- Object equality implementation
-
-
-
-
-
-
- Compare to another NamingStrategy
-
-
-
-
-
-
- Represents a method that constructs an object.
-
- The object type to create.
-
-
-
- When applied to a method, specifies that the method is called when an error occurs serializing an object.
-
-
-
-
- Provides methods to get attributes from a , , or .
-
-
-
-
- Initializes a new instance of the class.
-
- The instance to get attributes for. This parameter should be a , , or .
-
-
-
- Returns a collection of all of the attributes, or an empty collection if there are no attributes.
-
- When true, look up the hierarchy chain for the inherited custom attribute.
- A collection of s, or an empty collection.
-
-
-
- Returns a collection of attributes, identified by type, or an empty collection if there are no attributes.
-
- The type of the attributes.
- When true, look up the hierarchy chain for the inherited custom attribute.
- A collection of s, or an empty collection.
-
-
-
- Get and set values for a using reflection.
-
-
-
-
- Initializes a new instance of the class.
-
- The member info.
-
-
-
- Sets the value.
-
- The target to set the value on.
- The value to set on the target.
-
-
-
- Gets the value.
-
- The target to get the value from.
- The value.
-
-
-
- A snake case naming strategy.
-
-
-
-
- Initializes a new instance of the class.
-
-
- A flag indicating whether dictionary keys should be processed.
-
-
- A flag indicating whether explicitly specified property names should be processed,
- e.g. a property name customized with a .
-
-
-
-
- Initializes a new instance of the class.
-
-
- A flag indicating whether dictionary keys should be processed.
-
-
- A flag indicating whether explicitly specified property names should be processed,
- e.g. a property name customized with a .
-
-
- A flag indicating whether extension data names should be processed.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Resolves the specified property name.
-
- The property name to resolve.
- The resolved property name.
-
-
-
- Specifies how strings are escaped when writing JSON text.
-
-
-
-
- Only control characters (e.g. newline) are escaped.
-
-
-
-
- All non-ASCII and control characters (e.g. newline) are escaped.
-
-
-
-
- HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped.
-
-
-
-
- Specifies what messages to output for the class.
-
-
-
-
- Output no tracing and debugging messages.
-
-
-
-
- Output error-handling messages.
-
-
-
-
- Output warnings and error-handling messages.
-
-
-
-
- Output informational messages, warnings, and error-handling messages.
-
-
-
-
- Output all debugging and tracing messages.
-
-
-
-
- Indicates the method that will be used during deserialization for locating and loading assemblies.
-
-
-
-
- In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the LoadWithPartialName method of the class is used to load the assembly.
-
-
-
-
- In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The Load method of the class is used to load the assembly.
-
-
-
-
- Specifies type name handling options for the .
-
-
- should be used with caution when your application deserializes JSON from an external source.
- Incoming types should be validated with a custom
- when deserializing with a value other than .
-
-
-
-
- Do not include the .NET type name when serializing types.
-
-
-
-
- Include the .NET type name when serializing into a JSON object structure.
-
-
-
-
- Include the .NET type name when serializing into a JSON array structure.
-
-
-
-
- Always include the .NET type name when serializing.
-
-
-
-
- Include the .NET type name when the type of the object being serialized is not the same as its declared type.
- Note that this doesn't include the root serialized object by default. To include the root object's type name in JSON
- you must specify a root type object with
- or .
-
-
-
-
- Determines whether the collection is null or empty.
-
- The collection.
-
- true if the collection is null or empty; otherwise, false.
-
-
-
-
- Adds the elements of the specified collection to the specified generic .
-
- The list to add to.
- The collection of elements to add.
-
-
-
- Converts the value to the specified type. If the value is unable to be converted, the
- value is checked whether it assignable to the specified type.
-
- The value to convert.
- The culture to use when converting.
- The type to convert or cast the value to.
-
- The converted type. If conversion was unsuccessful, the initial value
- is returned if assignable to the target type.
-
-
-
-
- Helper method for generating a MetaObject which calls a
- specific method on Dynamic that returns a result
-
-
-
-
- Helper method for generating a MetaObject which calls a
- specific method on Dynamic, but uses one of the arguments for
- the result.
-
-
-
-
- Helper method for generating a MetaObject which calls a
- specific method on Dynamic, but uses one of the arguments for
- the result.
-
-
-
-
- Returns a Restrictions object which includes our current restrictions merged
- with a restriction limiting our type
-
-
-
-
- Helper class for serializing immutable collections.
- Note that this is used by all builds, even those that don't support immutable collections, in case the DLL is GACed
- https://github.com/JamesNK/Newtonsoft.Json/issues/652
-
-
-
-
- List of primitive types which can be widened.
-
-
-
-
- Widening masks for primitive types above.
- Index of the value in this array defines a type we're widening,
- while the bits in mask define types it can be widened to (including itself).
-
- For example, value at index 0 defines a bool type, and it only has bit 0 set,
- i.e. bool values can be assigned only to bool.
-
-
-
-
- Checks if value of primitive type can be
- assigned to parameter of primitive type .
-
- Source primitive type.
- Target primitive type.
- true if source type can be widened to target type, false otherwise.
-
-
-
- Checks if a set of values with given can be used
- to invoke a method with specified .
-
- Method parameters.
- Argument types.
- Try to pack extra arguments into the last parameter when it is marked up with .
- true if method can be called with given arguments, false otherwise.
-
-
-
- Compares two sets of parameters to determine
- which one suits better for given argument types.
-
-
-
-
- Returns a best method overload for given argument .
-
- List of method candidates.
- Argument types.
- Best method overload, or null if none matched.
-
-
-
- Gets the type of the typed collection's items.
-
- The type.
- The type of the typed collection's items.
-
-
-
- Gets the member's underlying type.
-
- The member.
- The underlying type of the member.
-
-
-
- Determines whether the property is an indexed property.
-
- The property.
-
- true if the property is an indexed property; otherwise, false.
-
-
-
-
- Gets the member's value on the object.
-
- The member.
- The target object.
- The member's value on the object.
-
-
-
- Sets the member's value on the target object.
-
- The member.
- The target.
- The value.
-
-
-
- Determines whether the specified MemberInfo can be read.
-
- The MemberInfo to determine whether can be read.
- /// if set to true then allow the member to be gotten non-publicly.
-
- true if the specified MemberInfo can be read; otherwise, false.
-
-
-
-
- Determines whether the specified MemberInfo can be set.
-
- The MemberInfo to determine whether can be set.
- if set to true then allow the member to be set non-publicly.
- if set to true then allow the member to be set if read-only.
-
- true if the specified MemberInfo can be set; otherwise, false.
-
-
-
-
- Builds a string. Unlike this class lets you reuse its internal buffer.
-
-
-
-
- Determines whether the string is all white space. Empty string will return false.
-
- The string to test whether it is all white space.
-
- true if the string is all white space; otherwise, false.
-
-
-
-
- Specifies the state of the .
-
-
-
-
- An exception has been thrown, which has left the in an invalid state.
- You may call the method to put the in the Closed state.
- Any other method calls result in an being thrown.
-
-
-
-
- The method has been called.
-
-
-
-
- An object is being written.
-
-
-
-
- An array is being written.
-
-
-
-
- A constructor is being written.
-
-
-
-
- A property is being written.
-
-
-
-
- A write method has not been called.
-
-
-
-
- Indicates the method that will be used during deserialization for locating and loading assemblies.
-
-
-
-
- In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the method is used to load the assembly.
-
-
-
-
- In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The is used to load the assembly.
-
-
-
- Specifies that an output will not be null even if the corresponding type allows it.
-
-
- Specifies that when a method returns , the parameter will not be null even if the corresponding type allows it.
-
-
- Initializes the attribute with the specified return value condition.
-
- The return value condition. If the method returns this value, the associated parameter will not be null.
-
-
-
- Gets the return value condition.
-
-
- Specifies that an output may be null even if the corresponding type disallows it.
-
-
- Specifies that null is allowed as an input even if the corresponding type disallows it.
-
-
-
- Specifies that the method will not return if the associated Boolean parameter is passed the specified value.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The condition parameter value. Code after the method will be considered unreachable by diagnostics if the argument to
- the associated parameter matches this value.
-
-
-
- Gets the condition parameter value.
-
-
-
diff --git a/packages/Newtonsoft.Json.13.0.3/lib/netstandard1.3/Newtonsoft.Json.dll b/packages/Newtonsoft.Json.13.0.3/lib/netstandard1.3/Newtonsoft.Json.dll
deleted file mode 100644
index b683225..0000000
Binary files a/packages/Newtonsoft.Json.13.0.3/lib/netstandard1.3/Newtonsoft.Json.dll and /dev/null differ
diff --git a/packages/Newtonsoft.Json.13.0.3/lib/netstandard1.3/Newtonsoft.Json.xml b/packages/Newtonsoft.Json.13.0.3/lib/netstandard1.3/Newtonsoft.Json.xml
deleted file mode 100644
index 4de49a7..0000000
--- a/packages/Newtonsoft.Json.13.0.3/lib/netstandard1.3/Newtonsoft.Json.xml
+++ /dev/null
@@ -1,11173 +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 BSON data.
-
-
-
-
- Gets or sets a value indicating whether binary data reading should be compatible with incorrect Json.NET 3.5 written binary.
-
-
- true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether the root object will be read as a JSON array.
-
-
- true if the root object will be read as a JSON array; otherwise, false.
-
-
-
-
- Gets or sets the used when reading values from BSON.
-
- The used when reading values from BSON.
-
-
-
- Initializes a new instance of the class.
-
- The containing the BSON data to read.
-
-
-
- Initializes a new instance of the class.
-
- The containing the BSON data to read.
-
-
-
- Initializes a new instance of the class.
-
- The containing the BSON data to read.
- if set to true the root object will be read as a JSON array.
- The used when reading values from BSON.
-
-
-
- Initializes a new instance of the class.
-
- The containing the BSON data to read.
- if set to true the root object will be read as a JSON array.
- The used when reading values from BSON.
-
-
-
- Reads the next JSON token from the underlying .
-
-
- true if the next token was read successfully; false if there are no more tokens to read.
-
-
-
-
- Changes the reader's state to .
- If is set to true, the underlying is also closed.
-
-
-
-
- Represents a writer that provides a fast, non-cached, forward-only way of generating BSON data.
-
-
-
-
- Gets or sets the used when writing values to BSON.
- When set to no conversion will occur.
-
- The used when writing values to BSON.
-
-
-
- Initializes a new instance of the class.
-
- The to write to.
-
-
-
- Initializes a new instance of the class.
-
- The to write to.
-
-
-
- Flushes whatever is in the buffer to the underlying and also flushes the underlying stream.
-
-
-
-
- Writes the end.
-
- The token.
-
-
-
- Writes a comment /*...*/ containing the specified text.
-
- Text to place inside the comment.
-
-
-
- Writes the start of a constructor with the given name.
-
- The name of the constructor.
-
-
-
- Writes raw JSON.
-
- The raw JSON to write.
-
-
-
- Writes raw JSON where a value is expected and updates the writer's state.
-
- The raw JSON to write.
-
-
-
- Writes the beginning of a JSON array.
-
-
-
-
- Writes the beginning of a JSON object.
-
-
-
-
- Writes the property name of a name/value pair on a JSON object.
-
- The name of the property.
-
-
-
- Closes this writer.
- If is set to true, the underlying is also closed.
- If is set to true, the JSON is auto-completed.
-
-
-
-
- Writes a value.
- An error will raised if the value cannot be written as a single JSON token.
-
- The value to write.
-
-
-
- Writes a null value.
-
-
-
-
- Writes an undefined value.
-
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a [] value.
-
- The [] value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a [] value that represents a BSON object id.
-
- The Object ID value to write.
-
-
-
- Writes a BSON regex.
-
- The regex pattern.
- The regex options.
-
-
-
- Specifies how constructors are used when initializing objects during deserialization by the .
-
-
-
-
- First attempt to use the public default constructor, then fall back to a single parameterized constructor, then to the non-public default constructor.
-
-
-
-
- Json.NET will use a non-public default constructor before falling back to a parameterized constructor.
-
-
-
-
- Converts a binary value to and from a base 64 string value.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts a to and from JSON and BSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Creates a custom object.
-
- The object type to convert.
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Creates an object which will then be populated by the serializer.
-
- Type of the object.
- The created object.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Gets a value indicating whether this can write JSON.
-
-
- true if this can write JSON; otherwise, false.
-
-
-
-
- Provides a base class for converting a to and from JSON.
-
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts a F# discriminated union type to and from JSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts an to and from JSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Gets a value indicating whether this can write JSON.
-
-
- true if this can write JSON; otherwise, false.
-
-
-
-
- Converts a to and from the ISO 8601 date format (e.g. "2008-04-12T12:53Z").
-
-
-
-
- Gets or sets the date time styles used when converting a date to and from JSON.
-
- The date time styles used when converting a date to and from JSON.
-
-
-
- Gets or sets the date time format used when converting a date to and from JSON.
-
- The date time format used when converting a date to and from JSON.
-
-
-
- Gets or sets the culture used when converting a date to and from JSON.
-
- The culture used when converting a date to and from JSON.
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Converts a to and from a JavaScript Date constructor (e.g. new Date(52231943)).
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing property value of the JSON that is being converted.
- The calling serializer.
- The object value.
-
-
-
- Converts a to and from JSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts a to and from JSON and BSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts an to and from its name string value.
-
-
-
-
- Gets or sets a value indicating whether the written enum text should be camel case.
- The default value is false.
-
- true if the written enum text will be camel case; otherwise, false.
-
-
-
- Gets or sets the naming strategy used to resolve how enum text is written.
-
- The naming strategy used to resolve how enum text is written.
-
-
-
- Gets or sets a value indicating whether integer values are allowed when serializing and deserializing.
- The default value is true.
-
- true if integers are allowed when serializing and deserializing; otherwise, false.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- true if the written enum text will be camel case; otherwise, false.
-
-
-
- Initializes a new instance of the class.
-
- The naming strategy used to resolve how enum text is written.
- true if integers are allowed when serializing and deserializing; otherwise, false.
-
-
-
- Initializes a new instance of the class.
-
- The of the used to write enum text.
-
-
-
- Initializes a new instance of the class.
-
- The of the used to write enum text.
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
- When non-null, there must be a constructor defined in the that exactly matches the number,
- order, and type of these parameters.
-
-
-
-
- Initializes a new instance of the class.
-
- The of the used to write enum text.
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
- When non-null, there must be a constructor defined in the that exactly matches the number,
- order, and type of these parameters.
-
- true if integers are allowed when serializing and deserializing; otherwise, false.
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts a to and from Unix epoch time
-
-
-
-
- Gets or sets a value indicating whether the dates before Unix epoch
- should converted to and from JSON.
-
-
- true to allow converting dates before Unix epoch to and from JSON;
- false to throw an exception when a date being converted to or from JSON
- occurred before Unix epoch. The default value is false.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
-
- true to allow converting dates before Unix epoch to and from JSON;
- false to throw an exception when a date being converted to or from JSON
- occurred before Unix epoch. The default value is 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 property value of the JSON that is being converted.
- The calling serializer.
- The object value.
-
-
-
- Converts a to and from a string (e.g. "1.2.3.4").
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing property value of the JSON that is being converted.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts XML to and from JSON.
-
-
-
-
- Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produced multiple root elements.
-
- The name of the deserialized root element.
-
-
-
- Gets or sets a value to indicate whether to write the Json.NET array attribute.
- This attribute helps preserve arrays when converting the written XML back to JSON.
-
- true if the array attribute is written to the XML; otherwise, false.
-
-
-
- Gets or sets a value indicating whether to write the root JSON object.
-
- true if the JSON root object is omitted; otherwise, false.
-
-
-
- Gets or sets a value indicating whether to encode special characters when converting JSON to XML.
- If true, special characters like ':', '@', '?', '#' and '$' in JSON property names aren't used to specify
- XML namespaces, attributes or processing directives. Instead special characters are encoded and written
- as part of the XML element name.
-
- true if special characters are encoded; otherwise, false.
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The calling serializer.
- The value.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Checks if the is a namespace attribute.
-
- Attribute name to test.
- The attribute name prefix if it has one, otherwise an empty string.
- true if attribute name is for a namespace attribute, otherwise false.
-
-
-
- Determines whether this instance can convert the specified value type.
-
- Type of the value.
-
- true if this instance can convert the specified value type; otherwise, false.
-
-
-
-
- Specifies how dates are formatted when writing JSON text.
-
-
-
-
- Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z".
-
-
-
-
- Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/".
-
-
-
-
- Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text.
-
-
-
-
- Date formatted strings are not parsed to a date type and are read as strings.
-
-
-
-
- Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to .
-
-
-
-
- Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to .
-
-
-
-
- Specifies how to treat the time value when converting between string and .
-
-
-
-
- Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time.
-
-
-
-
- Treat as a UTC. If the object represents a local time, it is converted to a UTC.
-
-
-
-
- Treat as a local time if a is being converted to a string.
- If a string is being converted to , convert to a local time if a time zone is specified.
-
-
-
-
- Time zone information should be preserved when converting.
-
-
-
-
- The default JSON name table implementation.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets a string containing the same characters as the specified range of characters in the given array.
-
- The character array containing the name to find.
- The zero-based index into the array specifying the first character of the name.
- The number of characters in the name.
- A string containing the same characters as the specified range of characters in the given array.
-
-
-
- Adds the specified string into name table.
-
- The string to add.
- This method is not thread-safe.
- The resolved string.
-
-
-
- Specifies default value handling options for the .
-
-
-
-
-
-
-
-
- Include members where the member value is the same as the member's default value when serializing objects.
- Included members are written to JSON. Has no effect when deserializing.
-
-
-
-
- Ignore members where the member value is the same as the member's default value when serializing objects
- so that it is not written to JSON.
- This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers,
- decimals and floating point numbers; and false for booleans). The default value ignored can be changed by
- placing the on the property.
-
-
-
-
- Members with a default value but no JSON will be set to their default value when deserializing.
-
-
-
-
- Ignore members where the member value is the same as the member's default value when serializing objects
- and set members to their default value when deserializing.
-
-
-
-
- Specifies float format handling options when writing special floating point numbers, e.g. ,
- and with .
-
-
-
-
- Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity".
-
-
-
-
- Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity.
- Note that this will produce non-valid JSON.
-
-
-
-
- Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a of property.
-
-
-
-
- Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
-
-
-
-
- Floating point numbers are parsed to .
-
-
-
-
- Floating point numbers are parsed to .
-
-
-
-
- Specifies formatting options for the .
-
-
-
-
- No special formatting is applied. This is the default.
-
-
-
-
- Causes child objects to be indented according to the and settings.
-
-
-
-
- Provides an interface for using pooled arrays.
-
- The array type content.
-
-
-
- Rent an array from the pool. This array must be returned when it is no longer needed.
-
- The minimum required length of the array. The returned array may be longer.
- The rented array from the pool. This array must be returned when it is no longer needed.
-
-
-
- Return an array to the pool.
-
- The array that is being returned.
-
-
-
- Provides an interface to enable a class to return line and position information.
-
-
-
-
- Gets a value indicating whether the class can return line information.
-
-
- true if and can be provided; otherwise, false.
-
-
-
-
- Gets the current line number.
-
- The current line number or 0 if no line information is available (for example, when returns false).
-
-
-
- Gets the current line position.
-
- The current line position or 0 if no line information is available (for example, when returns false).
-
-
-
- Instructs the how to serialize the collection.
-
-
-
-
- Gets or sets a value indicating whether null items are allowed in the collection.
-
- true if null items are allowed in the collection; otherwise, false.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class with a flag indicating whether the array can contain null items.
-
- A flag indicating whether the array can contain null items.
-
-
-
- Initializes a new instance of the class with the specified container Id.
-
- The container Id.
-
-
-
- Instructs the to use the specified constructor when deserializing that object.
-
-
-
-
- Instructs the how to serialize the object.
-
-
-
-
- Gets or sets the id.
-
- The id.
-
-
-
- Gets or sets the title.
-
- The title.
-
-
-
- Gets or sets the description.
-
- The description.
-
-
-
- Gets or sets the collection's items converter.
-
- The collection's items converter.
-
-
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
- When non-null, there must be a constructor defined in the that exactly matches the number,
- order, and type of these parameters.
-
-
-
- [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })]
-
-
-
-
-
- Gets or sets the of the .
-
- The of the .
-
-
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
- When non-null, there must be a constructor defined in the that exactly matches the number,
- order, and type of these parameters.
-
-
-
- [JsonContainer(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })]
-
-
-
-
-
- Gets or sets a value that indicates whether to preserve object references.
-
-
- true to keep object reference; otherwise, false. The default is false.
-
-
-
-
- Gets or sets a value that indicates whether to preserve collection's items references.
-
-
- true to keep collection's items object references; otherwise, false. The default is false.
-
-
-
-
- Gets or sets the reference loop handling used when serializing the collection's items.
-
- The reference loop handling.
-
-
-
- Gets or sets the type name handling used when serializing the collection's items.
-
- The type name handling.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class with the specified container Id.
-
- The container Id.
-
-
-
- Provides methods for converting between .NET types and JSON types.
-
-
-
-
-
-
-
- Gets or sets a function that creates default .
- Default settings are automatically used by serialization methods on ,
- and and on .
- To serialize without using any default settings create a with
- .
-
-
-
-
- Represents JavaScript's boolean value true as a string. This field is read-only.
-
-
-
-
- Represents JavaScript's boolean value false as a string. This field is read-only.
-
-
-
-
- Represents JavaScript's null as a string. This field is read-only.
-
-
-
-
- Represents JavaScript's undefined as a string. This field is read-only.
-
-
-
-
- Represents JavaScript's positive infinity as a string. This field is read-only.
-
-
-
-
- Represents JavaScript's negative infinity as a string. This field is read-only.
-
-
-
-
- Represents JavaScript's NaN as a string. This field is read-only.
-
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation using the specified.
-
- The value to convert.
- The format the date will be converted to.
- The time zone handling when the date is converted to a string.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation using the specified.
-
- The value to convert.
- The format the date will be converted to.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- The string delimiter character.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- The string delimiter character.
- The string escape handling.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Serializes the specified object to a JSON string.
-
- The object to serialize.
- A JSON string representation of the object.
-
-
-
- Serializes the specified object to a JSON string using formatting.
-
- The object to serialize.
- Indicates how the output should be formatted.
-
- A JSON string representation of the object.
-
-
-
-
- Serializes the specified object to a JSON string using a collection of .
-
- The object to serialize.
- A collection of converters used while serializing.
- A JSON string representation of the object.
-
-
-
- Serializes the specified object to a JSON string using formatting and a collection of .
-
- The object to serialize.
- Indicates how the output should be formatted.
- A collection of converters used while serializing.
- A JSON string representation of the object.
-
-
-
- Serializes the specified object to a JSON string using .
-
- The object to serialize.
- The used to serialize the object.
- If this is null, default serialization settings will be used.
-
- A JSON string representation of the object.
-
-
-
-
- Serializes the specified object to a JSON string using a type, formatting and .
-
- The object to serialize.
- The used to serialize the object.
- If this is null, default serialization settings will be used.
-
- The type of the value being serialized.
- This parameter is used when is to write out the type name if the type of the value does not match.
- Specifying the type is optional.
-
-
- A JSON string representation of the object.
-
-
-
-
- Serializes the specified object to a JSON string using formatting and .
-
- The object to serialize.
- Indicates how the output should be formatted.
- The used to serialize the object.
- If this is null, default serialization settings will be used.
-
- A JSON string representation of the object.
-
-
-
-
- Serializes the specified object to a JSON string using a type, formatting and .
-
- The object to serialize.
- Indicates how the output should be formatted.
- The used to serialize the object.
- If this is null, default serialization settings will be used.
-
- The type of the value being serialized.
- This parameter is used when is to write out the type name if the type of the value does not match.
- Specifying the type is optional.
-
-
- A JSON string representation of the object.
-
-
-
-
- Deserializes the JSON to a .NET object.
-
- The JSON to deserialize.
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to a .NET object using .
-
- The JSON to deserialize.
-
- The used to deserialize the object.
- If this is null, default serialization settings will be used.
-
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to the specified .NET type.
-
- The JSON to deserialize.
- The of object being deserialized.
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to the specified .NET type.
-
- The type of the object to deserialize to.
- The JSON to deserialize.
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to the given anonymous type.
-
-
- The anonymous type to deserialize to. This can't be specified
- traditionally and must be inferred from the anonymous type passed
- as a parameter.
-
- The JSON to deserialize.
- The anonymous type object.
- The deserialized anonymous type from the JSON string.
-
-
-
- Deserializes the JSON to the given anonymous type using .
-
-
- The anonymous type to deserialize to. This can't be specified
- traditionally and must be inferred from the anonymous type passed
- as a parameter.
-
- The JSON to deserialize.
- The anonymous type object.
-
- The used to deserialize the object.
- If this is null, default serialization settings will be used.
-
- The deserialized anonymous type from the JSON string.
-
-
-
- Deserializes the JSON to the specified .NET type using a collection of .
-
- The type of the object to deserialize to.
- The JSON to deserialize.
- Converters to use while deserializing.
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to the specified .NET type using .
-
- The type of the object to deserialize to.
- The object to deserialize.
-
- The used to deserialize the object.
- If this is null, default serialization settings will be used.
-
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to the specified .NET type using a collection of .
-
- The JSON to deserialize.
- The type of the object to deserialize.
- Converters to use while deserializing.
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to the specified .NET type using .
-
- The JSON to deserialize.
- The type of the object to deserialize to.
-
- The used to deserialize the object.
- If this is null, default serialization settings will be used.
-
- The deserialized object from the JSON string.
-
-
-
- Populates the object with values from the JSON string.
-
- The JSON to populate values from.
- The target object to populate values onto.
-
-
-
- Populates the object with values from the JSON string using .
-
- The JSON to populate values from.
- The target object to populate values onto.
-
- The used to deserialize the object.
- If this is null, default serialization settings will be used.
-
-
-
-
- Serializes the to a JSON string.
-
- The node to serialize.
- A JSON string of the .
-
-
-
- Serializes the to a JSON string using formatting.
-
- The node to serialize.
- Indicates how the output should be formatted.
- A JSON string of the .
-
-
-
- Serializes the to a JSON string using formatting and omits the root object if is true.
-
- The node to serialize.
- Indicates how the output should be formatted.
- Omits writing the root object.
- A JSON string of the .
-
-
-
- Deserializes the from a JSON string.
-
- The JSON string.
- The deserialized .
-
-
-
- Deserializes the from a JSON string nested in a root element specified by .
-
- The JSON string.
- The name of the root element to append when deserializing.
- The deserialized .
-
-
-
- Deserializes the from a JSON string nested in a root element specified by
- and writes a Json.NET array attribute for collections.
-
- The JSON string.
- The name of the root element to append when deserializing.
-
- A value to indicate whether to write the Json.NET array attribute.
- This attribute helps preserve arrays when converting the written XML back to JSON.
-
- The deserialized .
-
-
-
- Deserializes the from a JSON string nested in a root element specified by ,
- writes a Json.NET array attribute for collections, and encodes special characters.
-
- The JSON string.
- The name of the root element to append when deserializing.
-
- A value to indicate whether to write the Json.NET array attribute.
- This attribute helps preserve arrays when converting the written XML back to JSON.
-
-
- A value to indicate whether to encode special characters when converting JSON to XML.
- If true, special characters like ':', '@', '?', '#' and '$' in JSON property names aren't used to specify
- XML namespaces, attributes or processing directives. Instead special characters are encoded and written
- as part of the XML element name.
-
- The deserialized .
-
-
-
- Serializes the to a JSON string.
-
- The node to convert to JSON.
- A JSON string of the .
-
-
-
- Serializes the to a JSON string using formatting.
-
- The node to convert to JSON.
- Indicates how the output should be formatted.
- A JSON string of the .
-
-
-
- Serializes the to a JSON string using formatting and omits the root object if is true.
-
- The node to serialize.
- Indicates how the output should be formatted.
- Omits writing the root object.
- A JSON string of the .
-
-
-
- Deserializes the from a JSON string.
-
- The JSON string.
- The deserialized .
-
-
-
- Deserializes the from a JSON string nested in a root element specified by .
-
- The JSON string.
- The name of the root element to append when deserializing.
- The deserialized .
-
-
-
- Deserializes the from a JSON string nested in a root element specified by
- and writes a Json.NET array attribute for collections.
-
- The JSON string.
- The name of the root element to append when deserializing.
-
- A value to indicate whether to write the Json.NET array attribute.
- This attribute helps preserve arrays when converting the written XML back to JSON.
-
- The deserialized .
-
-
-
- Deserializes the from a JSON string nested in a root element specified by ,
- writes a Json.NET array attribute for collections, and encodes special characters.
-
- The JSON string.
- The name of the root element to append when deserializing.
-
- A value to indicate whether to write the Json.NET array attribute.
- This attribute helps preserve arrays when converting the written XML back to JSON.
-
-
- A value to indicate whether to encode special characters when converting JSON to XML.
- If true, special characters like ':', '@', '?', '#' and '$' in JSON property names aren't used to specify
- XML namespaces, attributes or processing directives. Instead special characters are encoded and written
- as part of the XML element name.
-
- The deserialized .
-
-
-
- Converts an object to and from JSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Gets a value indicating whether this can read JSON.
-
- true if this can read JSON; otherwise, false.
-
-
-
- Gets a value indicating whether this can write JSON.
-
- true if this can write JSON; otherwise, false.
-
-
-
- Converts an object to and from JSON.
-
- The object type to convert.
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read. If there is no existing value then null will be used.
- The existing value has a value.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Instructs the to use the specified when serializing the member or class.
-
-
-
-
- Gets the of the .
-
- The of the .
-
-
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
-
-
-
-
- Initializes a new instance of the class.
-
- Type of the .
-
-
-
- Initializes a new instance of the class.
-
- Type of the .
- Parameter list to use when constructing the . Can be null.
-
-
-
- Represents a collection of .
-
-
-
-
- Instructs the how to serialize the collection.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class with the specified container Id.
-
- The container Id.
-
-
-
- The exception thrown when an error occurs during JSON serialization or deserialization.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- with a specified error message.
-
- The error message that explains the reason for the exception.
-
-
-
- Initializes a new instance of the class
- with a specified error message and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Instructs the to deserialize properties with no matching class member into the specified collection
- and write values during serialization.
-
-
-
-
- Gets or sets a value that indicates whether to write extension data when serializing the object.
-
-
- true to write extension data when serializing the object; otherwise, false. The default is true.
-
-
-
-
- Gets or sets a value that indicates whether to read extension data when deserializing the object.
-
-
- true to read extension data when deserializing the object; otherwise, false. The default is true.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Instructs the not to serialize the public field or public read/write property value.
-
-
-
-
- Base class for a table of atomized string objects.
-
-
-
-
- Gets a string containing the same characters as the specified range of characters in the given array.
-
- The character array containing the name to find.
- The zero-based index into the array specifying the first character of the name.
- The number of characters in the name.
- A string containing the same characters as the specified range of characters in the given array.
-
-
-
- Instructs the how to serialize the object.
-
-
-
-
- Gets or sets the member serialization.
-
- The member serialization.
-
-
-
- Gets or sets the missing member handling used when deserializing this object.
-
- The missing member handling.
-
-
-
- Gets or sets how the object's properties with null values are handled during serialization and deserialization.
-
- How the object's properties with null values are handled during serialization and deserialization.
-
-
-
- Gets or sets a value that indicates whether the object's properties are required.
-
-
- A value indicating whether the object's properties are required.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class with the specified member serialization.
-
- The member serialization.
-
-
-
- Initializes a new instance of the class with the specified container Id.
-
- The container Id.
-
-
-
- Instructs the to always serialize the member with the specified name.
-
-
-
-
- Gets or sets the type used when serializing the property's collection items.
-
- The collection's items type.
-
-
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
- When non-null, there must be a constructor defined in the that exactly matches the number,
- order, and type of these parameters.
-
-
-
- [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })]
-
-
-
-
-
- Gets or sets the of the .
-
- The of the .
-
-
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
- When non-null, there must be a constructor defined in the that exactly matches the number,
- order, and type of these parameters.
-
-
-
- [JsonProperty(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })]
-
-
-
-
-
- Gets or sets the null value handling used when serializing this property.
-
- The null value handling.
-
-
-
- Gets or sets the default value handling used when serializing this property.
-
- The default value handling.
-
-
-
- Gets or sets the reference loop handling used when serializing this property.
-
- The reference loop handling.
-
-
-
- Gets or sets the object creation handling used when deserializing this property.
-
- The object creation handling.
-
-
-
- Gets or sets the type name handling used when serializing this property.
-
- The type name handling.
-
-
-
- Gets or sets whether this property's value is serialized as a reference.
-
- Whether this property's value is serialized as a reference.
-
-
-
- Gets or sets the order of serialization of a member.
-
- The numeric order of serialization.
-
-
-
- Gets or sets a value indicating whether this property is required.
-
-
- A value indicating whether this property is required.
-
-
-
-
- Gets or sets the name of the property.
-
- The name of the property.
-
-
-
- Gets or sets the reference loop handling used when serializing the property's collection items.
-
- The collection's items reference loop handling.
-
-
-
- Gets or sets the type name handling used when serializing the property's collection items.
-
- The collection's items type name handling.
-
-
-
- Gets or sets whether this property's collection items are serialized as a reference.
-
- Whether this property's collection items are serialized as a reference.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class with the specified name.
-
- Name of the property.
-
-
-
- Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data.
-
-
-
-
- Asynchronously reads the next JSON token from the source.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns true if the next token was read successfully; false if there are no more tokens to read.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously skips the children of the current token.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously reads the next JSON token from the source as a of .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the of . This result will be null at the end of an array.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously reads the next JSON token from the source as a [].
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the []. This result will be null at the end of an array.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously reads the next JSON token from the source as a of .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the of . This result will be null at the end of an array.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously reads the next JSON token from the source as a of .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the of . This result will be null at the end of an array.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously reads the next JSON token from the source as a of .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the of . This result will be null at the end of an array.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously reads the next JSON token from the source as a of .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the of . This result will be null at the end of an array.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously reads the next JSON token from the source as a of .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the of . This result will be null at the end of an array.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously reads the next JSON token from the source as a .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the . This result will be null at the end of an array.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Specifies the state of the reader.
-
-
-
-
- A read method has not been called.
-
-
-
-
- The end of the file has been reached successfully.
-
-
-
-
- Reader is at a property.
-
-
-
-
- Reader is at the start of an object.
-
-
-
-
- Reader is in an object.
-
-
-
-
- Reader is at the start of an array.
-
-
-
-
- Reader is in an array.
-
-
-
-
- The method has been called.
-
-
-
-
- Reader has just read a value.
-
-
-
-
- Reader is at the start of a constructor.
-
-
-
-
- Reader is in a constructor.
-
-
-
-
- An error occurred that prevents the read operation from continuing.
-
-
-
-
- The end of the file has been reached successfully.
-
-
-
-
- Gets the current reader state.
-
- The current reader state.
-
-
-
- Gets or sets a value indicating whether the source should be closed when this reader is closed.
-
-
- true to close the source when this reader is closed; otherwise false. The default is true.
-
-
-
-
- Gets or sets a value indicating whether multiple pieces of JSON content can
- be read from a continuous stream without erroring.
-
-
- true to support reading multiple pieces of JSON content; otherwise false.
- The default is false.
-
-
-
-
- Gets the quotation mark character used to enclose the value of a string.
-
-
-
-
- Gets or sets how time zones are handled when reading JSON.
-
-
-
-
- Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON.
-
-
-
-
- Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
-
-
-
-
- Gets or sets how custom date formatted strings are parsed when reading JSON.
-
-
-
-
- Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a .
- A null value means there is no maximum.
- The default value is 64.
-
-
-
-
- Gets the type of the current JSON token.
-
-
-
-
- Gets the text value of the current JSON token.
-
-
-
-
- Gets the .NET type for the current JSON token.
-
-
-
-
- Gets the depth of the current token in the JSON document.
-
- The depth of the current token in the JSON document.
-
-
-
- Gets the path of the current JSON token.
-
-
-
-
- Gets or sets the culture used when reading JSON. Defaults to .
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Reads the next JSON token from the source.
-
- true if the next token was read successfully; false if there are no more tokens to read.
-
-
-
- Reads the next JSON token from the source as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a .
-
- A . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a [].
-
- A [] or null if the next JSON token is null. This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Skips the children of the current token.
-
-
-
-
- Sets the current token.
-
- The new token.
-
-
-
- Sets the current token and value.
-
- The new token.
- The value.
-
-
-
- Sets the current token and value.
-
- The new token.
- The value.
- A flag indicating whether the position index inside an array should be updated.
-
-
-
- Sets the state based on current token type.
-
-
-
-
- Releases unmanaged and - optionally - managed resources.
-
- true to release both managed and unmanaged resources; false to release only unmanaged resources.
-
-
-
- Changes the reader's state to .
- If is set to true, the source is also closed.
-
-
-
-
- The exception thrown when an error occurs while reading JSON text.
-
-
-
-
- Gets the line number indicating where the error occurred.
-
- The line number indicating where the error occurred.
-
-
-
- Gets the line position indicating where the error occurred.
-
- The line position indicating where the error occurred.
-
-
-
- Gets the path to the JSON where the error occurred.
-
- The path to the JSON where the error occurred.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- with a specified error message.
-
- The error message that explains the reason for the exception.
-
-
-
- Initializes a new instance of the class
- with a specified error message and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Initializes a new instance of the class
- with a specified error message, JSON path, line number, line position, and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The path to the JSON where the error occurred.
- The line number indicating where the error occurred.
- The line position indicating where the error occurred.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Instructs the to always serialize the member, and to require that the member has a value.
-
-
-
-
- The exception thrown when an error occurs during JSON serialization or deserialization.
-
-
-
-
- Gets the line number indicating where the error occurred.
-
- The line number indicating where the error occurred.
-
-
-
- Gets the line position indicating where the error occurred.
-
- The line position indicating where the error occurred.
-
-
-
- Gets the path to the JSON where the error occurred.
-
- The path to the JSON where the error occurred.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- with a specified error message.
-
- The error message that explains the reason for the exception.
-
-
-
- Initializes a new instance of the class
- with a specified error message and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Initializes a new instance of the class
- with a specified error message, JSON path, line number, line position, and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The path to the JSON where the error occurred.
- The line number indicating where the error occurred.
- The line position indicating where the error occurred.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Serializes and deserializes objects into and from the JSON format.
- The enables you to control how objects are encoded into JSON.
-
-
-
-
- Occurs when the errors during serialization and deserialization.
-
-
-
-
- Gets or sets the used by the serializer when resolving references.
-
-
-
-
- Gets or sets the used by the serializer when resolving type names.
-
-
-
-
- Gets or sets the used by the serializer when resolving type names.
-
-
-
-
- Gets or sets the used by the serializer when writing trace messages.
-
- The trace writer.
-
-
-
- Gets or sets the equality comparer used by the serializer when comparing references.
-
- The equality comparer.
-
-
-
- Gets or sets how type name writing and reading is handled by the serializer.
- The default value is .
-
-
- should be used with caution when your application deserializes JSON from an external source.
- Incoming types should be validated with a custom
- when deserializing with a value other than .
-
-
-
-
- Gets or sets how a type name assembly is written and resolved by the serializer.
- The default value is .
-
- The type name assembly format.
-
-
-
- Gets or sets how a type name assembly is written and resolved by the serializer.
- The default value is .
-
- The type name assembly format.
-
-
-
- Gets or sets how object references are preserved by the serializer.
- The default value is .
-
-
-
-
- Gets or sets how reference loops (e.g. a class referencing itself) is handled.
- The default value is .
-
-
-
-
- Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization.
- The default value is .
-
-
-
-
- Gets or sets how null values are handled during serialization and deserialization.
- The default value is .
-
-
-
-
- Gets or sets how default values are handled during serialization and deserialization.
- The default value is .
-
-
-
-
- Gets or sets how objects are created during deserialization.
- The default value is .
-
- The object creation handling.
-
-
-
- Gets or sets how constructors are used during deserialization.
- The default value is .
-
- The constructor handling.
-
-
-
- Gets or sets how metadata properties are used during deserialization.
- The default value is .
-
- The metadata properties handling.
-
-
-
- Gets a collection that will be used during serialization.
-
- Collection that will be used during serialization.
-
-
-
- Gets or sets the contract resolver used by the serializer when
- serializing .NET objects to JSON and vice versa.
-
-
-
-
- Gets or sets the used by the serializer when invoking serialization callback methods.
-
- The context.
-
-
-
- Indicates how JSON text output is formatted.
- The default value is .
-
-
-
-
- Gets or sets how dates are written to JSON text.
- The default value is .
-
-
-
-
- Gets or sets how time zones are handled during serialization and deserialization.
- The default value is .
-
-
-
-
- Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON.
- The default value is .
-
-
-
-
- Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
- The default value is .
-
-
-
-
- Gets or sets how special floating point numbers, e.g. ,
- and ,
- are written as JSON text.
- The default value is .
-
-
-
-
- Gets or sets how strings are escaped when writing JSON text.
- The default value is .
-
-
-
-
- Gets or sets how and values are formatted when writing JSON text,
- and the expected date format when reading JSON text.
- The default value is "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK".
-
-
-
-
- Gets or sets the culture used when reading JSON.
- The default value is .
-
-
-
-
- Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a .
- A null value means there is no maximum.
- The default value is 64.
-
-
-
-
- Gets a value indicating whether there will be a check for additional JSON content after deserializing an object.
- The default value is false.
-
-
- true if there will be a check for additional JSON content after deserializing an object; otherwise, false.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Creates a new instance.
- The will not use default settings
- from .
-
-
- A new instance.
- The will not use default settings
- from .
-
-
-
-
- Creates a new instance using the specified .
- The will not use default settings
- from .
-
- The settings to be applied to the .
-
- A new instance using the specified .
- The will not use default settings
- from .
-
-
-
-
- Creates a new instance.
- The will use default settings
- from .
-
-
- A new instance.
- The will use default settings
- from .
-
-
-
-
- Creates a new instance using the specified .
- The will use default settings
- from as well as the specified .
-
- The settings to be applied to the .
-
- A new instance using the specified .
- The will use default settings
- from as well as the specified .
-
-
-
-
- Populates the JSON values onto the target object.
-
- The that contains the JSON structure to read values from.
- The target object to populate values onto.
-
-
-
- Populates the JSON values onto the target object.
-
- The that contains the JSON structure to read values from.
- The target object to populate values onto.
-
-
-
- Deserializes the JSON structure contained by the specified .
-
- The that contains the JSON structure to deserialize.
- The being deserialized.
-
-
-
- Deserializes the JSON structure contained by the specified
- into an instance of the specified type.
-
- The containing the object.
- The of object being deserialized.
- The instance of being deserialized.
-
-
-
- Deserializes the JSON structure contained by the specified
- into an instance of the specified type.
-
- The containing the object.
- The type of the object to deserialize.
- The instance of being deserialized.
-
-
-
- Deserializes the JSON structure contained by the specified
- into an instance of the specified type.
-
- The containing the object.
- The of object being deserialized.
- The instance of being deserialized.
-
-
-
- Serializes the specified and writes the JSON structure
- using the specified .
-
- The used to write the JSON structure.
- The to serialize.
-
-
-
- Serializes the specified and writes the JSON structure
- using the specified .
-
- The used to write the JSON structure.
- The to serialize.
-
- The type of the value being serialized.
- This parameter is used when is to write out the type name if the type of the value does not match.
- Specifying the type is optional.
-
-
-
-
- Serializes the specified and writes the JSON structure
- using the specified .
-
- The used to write the JSON structure.
- The to serialize.
-
- The type of the value being serialized.
- This parameter is used when is Auto to write out the type name if the type of the value does not match.
- Specifying the type is optional.
-
-
-
-
- Serializes the specified and writes the JSON structure
- using the specified .
-
- The used to write the JSON structure.
- The to serialize.
-
-
-
- Specifies the settings on a object.
-
-
-
-
- Gets or sets how reference loops (e.g. a class referencing itself) are handled.
- The default value is .
-
- Reference loop handling.
-
-
-
- Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization.
- The default value is .
-
- Missing member handling.
-
-
-
- Gets or sets how objects are created during deserialization.
- The default value is .
-
- The object creation handling.
-
-
-
- Gets or sets how null values are handled during serialization and deserialization.
- The default value is .
-
- Null value handling.
-
-
-
- Gets or sets how default values are handled during serialization and deserialization.
- The default value is .
-
- The default value handling.
-
-
-
- Gets or sets a collection that will be used during serialization.
-
- The converters.
-
-
-
- Gets or sets how object references are preserved by the serializer.
- The default value is .
-
- The preserve references handling.
-
-
-
- Gets or sets how type name writing and reading is handled by the serializer.
- The default value is .
-
-
- should be used with caution when your application deserializes JSON from an external source.
- Incoming types should be validated with a custom
- when deserializing with a value other than .
-
- The type name handling.
-
-
-
- Gets or sets how metadata properties are used during deserialization.
- The default value is .
-
- The metadata properties handling.
-
-
-
- Gets or sets how a type name assembly is written and resolved by the serializer.
- The default value is .
-
- The type name assembly format.
-
-
-
- Gets or sets how a type name assembly is written and resolved by the serializer.
- The default value is .
-
- The type name assembly format.
-
-
-
- Gets or sets how constructors are used during deserialization.
- The default value is .
-
- The constructor handling.
-
-
-
- Gets or sets the contract resolver used by the serializer when
- serializing .NET objects to JSON and vice versa.
-
- The contract resolver.
-
-
-
- Gets or sets the equality comparer used by the serializer when comparing references.
-
- The equality comparer.
-
-
-
- Gets or sets the used by the serializer when resolving references.
-
- The reference resolver.
-
-
-
- Gets or sets a function that creates the used by the serializer when resolving references.
-
- A function that creates the used by the serializer when resolving references.
-
-
-
- Gets or sets the used by the serializer when writing trace messages.
-
- The trace writer.
-
-
-
- Gets or sets the used by the serializer when resolving type names.
-
- The binder.
-
-
-
- Gets or sets the used by the serializer when resolving type names.
-
- The binder.
-
-
-
- Gets or sets the error handler called during serialization and deserialization.
-
- The error handler called during serialization and deserialization.
-
-
-
- Gets or sets the used by the serializer when invoking serialization callback methods.
-
- The context.
-
-
-
- Gets or sets how and values are formatted when writing JSON text,
- and the expected date format when reading JSON text.
- The default value is "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK".
-
-
-
-
- Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a .
- A null value means there is no maximum.
- The default value is 64.
-
-
-
-
- Indicates how JSON text output is formatted.
- The default value is .
-
-
-
-
- Gets or sets how dates are written to JSON text.
- The default value is .
-
-
-
-
- Gets or sets how time zones are handled during serialization and deserialization.
- The default value is .
-
-
-
-
- Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON.
- The default value is .
-
-
-
-
- Gets or sets how special floating point numbers, e.g. ,
- and ,
- are written as JSON.
- The default value is .
-
-
-
-
- Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
- The default value is .
-
-
-
-
- Gets or sets how strings are escaped when writing JSON text.
- The default value is .
-
-
-
-
- Gets or sets the culture used when reading JSON.
- The default value is .
-
-
-
-
- Gets a value indicating whether there will be a check for additional content after deserializing an object.
- The default value is false.
-
-
- true if there will be a check for additional content after deserializing an object; otherwise, false.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- using values copied from the passed in .
-
-
-
-
- Represents a reader that provides fast, non-cached, forward-only access to JSON text data.
-
-
-
-
- Asynchronously reads the next JSON token from the source.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns true if the next token was read successfully; false if there are no more tokens to read.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously reads the next JSON token from the source as a of .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the of . This result will be null at the end of an array.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously reads the next JSON token from the source as a [].
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the []. This result will be null at the end of an array.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously reads the next JSON token from the source as a of .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the of . This result will be null at the end of an array.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously reads the next JSON token from the source as a of .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the of . This result will be null at the end of an array.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously reads the next JSON token from the source as a of .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the of . This result will be null at the end of an array.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously reads the next JSON token from the source as a of .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the of . This result will be null at the end of an array.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously reads the next JSON token from the source as a of .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the of . This result will be null at the end of an array.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously reads the next JSON token from the source as a .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the . This result will be null at the end of an array.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Initializes a new instance of the class with the specified .
-
- The containing the JSON data to read.
-
-
-
- Gets or sets the reader's property name table.
-
-
-
-
- Gets or sets the reader's character buffer pool.
-
-
-
-
- Reads the next JSON token from the underlying .
-
-
- true if the next token was read successfully; false if there are no more tokens to read.
-
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a .
-
- A . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a [].
-
- A [] or null if the next JSON token is null. This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Changes the reader's state to .
- If is set to true, the underlying is also closed.
-
-
-
-
- Gets a value indicating whether the class can return line information.
-
-
- true if and can be provided; otherwise, false.
-
-
-
-
- Gets the current line number.
-
-
- The current line number or 0 if no line information is available (for example, returns false).
-
-
-
-
- Gets the current line position.
-
-
- The current line position or 0 if no line information is available (for example, returns false).
-
-
-
-
- Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
-
-
-
-
- Asynchronously flushes whatever is in the buffer to the destination and also flushes the destination.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes the JSON value delimiter.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes the specified end token.
-
- The end token to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously closes this writer.
- If is set to true, the destination is also closed.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes the end of the current JSON object or array.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes indent characters.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes an indent space.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes raw JSON without changing the writer's state.
-
- The raw JSON to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a null value.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes the property name of a name/value pair of a JSON object.
-
- The name of the property.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes the property name of a name/value pair of a JSON object.
-
- The name of the property.
- A flag to indicate whether the text should be escaped when it is written as a JSON property name.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes the beginning of a JSON array.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes the beginning of a JSON object.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes the start of a constructor with the given name.
-
- The name of the constructor.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes an undefined value.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes the given white space.
-
- The string of white space characters.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a [] value.
-
- The [] value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a comment /*...*/ containing the specified text.
-
- Text to place inside the comment.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes the end of an array.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes the end of a constructor.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes the end of a JSON object.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes raw JSON where a value is expected and updates the writer's state.
-
- The raw JSON to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Gets or sets the writer's character array pool.
-
-
-
-
- Gets or sets how many s to write for each level in the hierarchy when is set to .
-
-
-
-
- Gets or sets which character to use to quote attribute values.
-
-
-
-
- Gets or sets which character to use for indenting when is set to .
-
-
-
-
- Gets or sets a value indicating whether object names will be surrounded with quotes.
-
-
-
-
- Initializes a new instance of the class using the specified .
-
- The to write to.
-
-
-
- Flushes whatever is in the buffer to the underlying and also flushes the underlying .
-
-
-
-
- Closes this writer.
- If is set to true, the underlying is also closed.
- If is set to true, the JSON is auto-completed.
-
-
-
-
- Writes the beginning of a JSON object.
-
-
-
-
- Writes the beginning of a JSON array.
-
-
-
-
- Writes the start of a constructor with the given name.
-
- The name of the constructor.
-
-
-
- Writes the specified end token.
-
- The end token to write.
-
-
-
- Writes the property name of a name/value pair on a JSON object.
-
- The name of the property.
-
-
-
- Writes the property name of a name/value pair on a JSON object.
-
- The name of the property.
- A flag to indicate whether the text should be escaped when it is written as a JSON property name.
-
-
-
- Writes indent characters.
-
-
-
-
- Writes the JSON value delimiter.
-
-
-
-
- Writes an indent space.
-
-
-
-
- Writes a value.
- An error will raised if the value cannot be written as a single JSON token.
-
- The value to write.
-
-
-
- Writes a null value.
-
-
-
-
- Writes an undefined value.
-
-
-
-
- Writes raw JSON.
-
- The raw JSON to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a [] value.
-
- The [] value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a comment /*...*/ containing the specified text.
-
- Text to place inside the comment.
-
-
-
- Writes the given white space.
-
- The string of white space characters.
-
-
-
- Specifies the type of JSON token.
-
-
-
-
- This is returned by the if a read method has not been called.
-
-
-
-
- An object start token.
-
-
-
-
- An array start token.
-
-
-
-
- A constructor start token.
-
-
-
-
- An object property name.
-
-
-
-
- A comment.
-
-
-
-
- Raw JSON.
-
-
-
-
- An integer.
-
-
-
-
- A float.
-
-
-
-
- A string.
-
-
-
-
- A boolean.
-
-
-
-
- A null token.
-
-
-
-
- An undefined token.
-
-
-
-
- An object end token.
-
-
-
-
- An array end token.
-
-
-
-
- A constructor end token.
-
-
-
-
- A Date.
-
-
-
-
- Byte data.
-
-
-
-
-
- Represents a reader that provides validation.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Sets an event handler for receiving schema validation errors.
-
-
-
-
- Gets the text value of the current JSON token.
-
-
-
-
-
- Gets the depth of the current token in the JSON document.
-
- The depth of the current token in the JSON document.
-
-
-
- Gets the path of the current JSON token.
-
-
-
-
- Gets the quotation mark character used to enclose the value of a string.
-
-
-
-
-
- Gets the type of the current JSON token.
-
-
-
-
-
- Gets the .NET type for the current JSON token.
-
-
-
-
-
- Initializes a new instance of the class that
- validates the content returned from the given .
-
- The to read from while validating.
-
-
-
- Gets or sets the schema.
-
- The schema.
-
-
-
- Gets the used to construct this .
-
- The specified in the constructor.
-
-
-
- Changes the reader's state to .
- If is set to true, the underlying is also closed.
-
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of .
-
-
-
- Reads the next JSON token from the underlying as a [].
-
-
- A [] or null if the next JSON token is null.
-
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of .
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of .
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of .
-
-
-
- Reads the next JSON token from the underlying as a .
-
- A . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of .
-
-
-
- Reads the next JSON token from the underlying .
-
-
- true if the next token was read successfully; false if there are no more tokens to read.
-
-
-
-
- Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
-
-
-
-
- Asynchronously closes this writer.
- If is set to true, the destination is also closed.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously flushes whatever is in the buffer to the destination and also flushes the destination.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the specified end token.
-
- The end token to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes indent characters.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the JSON value delimiter.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes an indent space.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes raw JSON without changing the writer's state.
-
- The raw JSON to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the end of the current JSON object or array.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the end of an array.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the end of a constructor.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the end of a JSON object.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a null value.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the property name of a name/value pair of a JSON object.
-
- The name of the property.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the property name of a name/value pair of a JSON object.
-
- The name of the property.
- A flag to indicate whether the text should be escaped when it is written as a JSON property name.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the beginning of a JSON array.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a comment /*...*/ containing the specified text.
-
- Text to place inside the comment.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes raw JSON where a value is expected and updates the writer's state.
-
- The raw JSON to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the start of a constructor with the given name.
-
- The name of the constructor.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the beginning of a JSON object.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the current token.
-
- The to read the token from.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the current token.
-
- The to read the token from.
- A flag indicating whether the current token's children should be written.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the token and its value.
-
- The to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the token and its value.
-
- The to write.
-
- The value to write.
- A value is only required for tokens that have an associated value, e.g. the property name for .
- null can be passed to the method for tokens that don't have a value, e.g. .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a [] value.
-
- The [] value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes an undefined value.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the given white space.
-
- The string of white space characters.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously ets the state of the .
-
- The being written.
- The value being written.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Gets or sets a value indicating whether the destination should be closed when this writer is closed.
-
-
- true to close the destination when this writer is closed; otherwise false. The default is true.
-
-
-
-
- Gets or sets a value indicating whether the JSON should be auto-completed when this writer is closed.
-
-
- true to auto-complete the JSON when this writer is closed; otherwise false. The default is true.
-
-
-
-
- Gets the top.
-
- The top.
-
-
-
- Gets the state of the writer.
-
-
-
-
- Gets the path of the writer.
-
-
-
-
- Gets or sets a value indicating how JSON text output should be formatted.
-
-
-
-
- Gets or sets how dates are written to JSON text.
-
-
-
-
- Gets or sets how time zones are handled when writing JSON text.
-
-
-
-
- Gets or sets how strings are escaped when writing JSON text.
-
-
-
-
- Gets or sets how special floating point numbers, e.g. ,
- and ,
- are written to JSON text.
-
-
-
-
- Gets or sets how and values are formatted when writing JSON text.
-
-
-
-
- Gets or sets the culture used when writing JSON. Defaults to .
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Flushes whatever is in the buffer to the destination and also flushes the destination.
-
-
-
-
- Closes this writer.
- If is set to true, the destination is also closed.
- If is set to true, the JSON is auto-completed.
-
-
-
-
- Writes the beginning of a JSON object.
-
-
-
-
- Writes the end of a JSON object.
-
-
-
-
- Writes the beginning of a JSON array.
-
-
-
-
- Writes the end of an array.
-
-
-
-
- Writes the start of a constructor with the given name.
-
- The name of the constructor.
-
-
-
- Writes the end constructor.
-
-
-
-
- Writes the property name of a name/value pair of a JSON object.
-
- The name of the property.
-
-
-
- Writes the property name of a name/value pair of a JSON object.
-
- The name of the property.
- A flag to indicate whether the text should be escaped when it is written as a JSON property name.
-
-
-
- Writes the end of the current JSON object or array.
-
-
-
-
- Writes the current token and its children.
-
- The to read the token from.
-
-
-
- Writes the current token.
-
- The to read the token from.
- A flag indicating whether the current token's children should be written.
-
-
-
- Writes the token and its value.
-
- The to write.
-
- The value to write.
- A value is only required for tokens that have an associated value, e.g. the property name for .
- null can be passed to the method for tokens that don't have a value, e.g. .
-
-
-
-
- Writes the token.
-
- The to write.
-
-
-
- Writes the specified end token.
-
- The end token to write.
-
-
-
- Writes indent characters.
-
-
-
-
- Writes the JSON value delimiter.
-
-
-
-
- Writes an indent space.
-
-
-
-
- Writes a null value.
-
-
-
-
- Writes an undefined value.
-
-
-
-
- Writes raw JSON without changing the writer's state.
-
- The raw JSON to write.
-
-
-
- Writes raw JSON where a value is expected and updates the writer's state.
-
- The raw JSON to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a [] value.
-
- The [] value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
- An error will raised if the value cannot be written as a single JSON token.
-
- The value to write.
-
-
-
- Writes a comment /*...*/ containing the specified text.
-
- Text to place inside the comment.
-
-
-
- Writes the given white space.
-
- The string of white space characters.
-
-
-
- Releases unmanaged and - optionally - managed resources.
-
- true to release both managed and unmanaged resources; false to release only unmanaged resources.
-
-
-
- Sets the state of the .
-
- The being written.
- The value being written.
-
-
-
- The exception thrown when an error occurs while writing JSON text.
-
-
-
-
- Gets the path to the JSON where the error occurred.
-
- The path to the JSON where the error occurred.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- with a specified error message.
-
- The error message that explains the reason for the exception.
-
-
-
- Initializes a new instance of the class
- with a specified error message and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Initializes a new instance of the class
- with a specified error message, JSON path and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The path to the JSON where the error occurred.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Specifies how JSON comments are handled when loading JSON.
-
-
-
-
- Ignore comments.
-
-
-
-
- Load comments as a with type .
-
-
-
-
- Specifies how duplicate property names are handled when loading JSON.
-
-
-
-
- Replace the existing value when there is a duplicate property. The value of the last property in the JSON object will be used.
-
-
-
-
- Ignore the new value when there is a duplicate property. The value of the first property in the JSON object will be used.
-
-
-
-
- Throw a when a duplicate property is encountered.
-
-
-
-
- Contains the LINQ to JSON extension methods.
-
-
-
-
- Returns a collection of tokens that contains the ancestors of every token in the source collection.
-
- The type of the objects in source, constrained to .
- An of that contains the source collection.
- An of that contains the ancestors of every token in the source collection.
-
-
-
- Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection.
-
- The type of the objects in source, constrained to .
- An of that contains the source collection.
- An of that contains every token in the source collection, the ancestors of every token in the source collection.
-
-
-
- Returns a collection of tokens that contains the descendants of every token in the source collection.
-
- The type of the objects in source, constrained to .
- An of that contains the source collection.
- An of that contains the descendants of every token in the source collection.
-
-
-
- Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection.
-
- The type of the objects in source, constrained to .
- An of that contains the source collection.
- An of that contains every token in the source collection, and the descendants of every token in the source collection.
-
-
-
- Returns a collection of child properties of every object in the source collection.
-
- An of that contains the source collection.
- An of that contains the properties of every object in the source collection.
-
-
-
- Returns a collection of child values of every object in the source collection with the given key.
-
- An of that contains the source collection.
- The token key.
- An of that contains the values of every token in the source collection with the given key.
-
-
-
- Returns a collection of child values of every object in the source collection.
-
- An of that contains the source collection.
- An of that contains the values of every token in the source collection.
-
-
-
- Returns a collection of converted child values of every object in the source collection with the given key.
-
- The type to convert the values to.
- An of that contains the source collection.
- The token key.
- An that contains the converted values of every token in the source collection with the given key.
-
-
-
- Returns a collection of converted child values of every object in the source collection.
-
- The type to convert the values to.
- An of that contains the source collection.
- An that contains the converted values of every token in the source collection.
-
-
-
- Converts the value.
-
- The type to convert the value to.
- A cast as a of .
- A converted value.
-
-
-
- Converts the value.
-
- The source collection type.
- The type to convert the value to.
- A cast as a of .
- A converted value.
-
-
-
- Returns a collection of child tokens of every array in the source collection.
-
- The source collection type.
- An of that contains the source collection.
- An of that contains the values of every token in the source collection.
-
-
-
- Returns a collection of converted child tokens of every array in the source collection.
-
- An of that contains the source collection.
- The type to convert the values to.
- The source collection type.
- An that contains the converted values of every token in the source collection.
-
-
-
- Returns the input typed as .
-
- An of that contains the source collection.
- The input typed as .
-
-
-
- Returns the input typed as .
-
- The source collection type.
- An of that contains the source collection.
- The input typed as .
-
-
-
- Represents a collection of objects.
-
- The type of token.
-
-
-
- Gets the of with the specified key.
-
-
-
-
-
- Represents a JSON array.
-
-
-
-
-
-
-
- Writes this token to a asynchronously.
-
- A into which this method will write.
- The token to monitor for cancellation requests.
- A collection of which will be used when writing the token.
- A that represents the asynchronous write operation.
-
-
-
- Asynchronously loads a from a .
-
- A that will be read for the content of the .
- If this is null, default load settings will be used.
- The token to monitor for cancellation requests. The default value is .
- A representing the asynchronous load. The property contains the JSON that was read from the specified .
-
-
-
- Asynchronously loads a from a .
-
- A that will be read for the content of the .
- The used to load the JSON.
- If this is null, default load settings will be used.
- The token to monitor for cancellation requests. The default value is .
- A representing the asynchronous load. The property contains the JSON that was read from the specified .
-
-
-
- Gets the container's children tokens.
-
- The container's children tokens.
-
-
-
- Gets the node type for this .
-
- The type.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class from another object.
-
- A object to copy from.
-
-
-
- Initializes a new instance of the class with the specified content.
-
- The contents of the array.
-
-
-
- Initializes a new instance of the class with the specified content.
-
- The contents of the array.
-
-
-
- Loads an from a .
-
- A that will be read for the content of the .
- A that contains the JSON that was read from the specified .
-
-
-
- Loads an from a .
-
- A that will be read for the content of the .
- The used to load the JSON.
- If this is null, default load settings will be used.
- A that contains the JSON that was read from the specified .
-
-
-
- Load a from a string that contains JSON.
-
- A that contains JSON.
- A populated from the string that contains JSON.
-
-
-
-
-
-
- Load a from a string that contains JSON.
-
- A that contains JSON.
- The used to load the JSON.
- If this is null, default load settings will be used.
- A populated from the string that contains JSON.
-
-
-
-
-
-
- Creates a from an object.
-
- The object that will be used to create .
- A with the values of the specified object.
-
-
-
- Creates a from an object.
-
- The object that will be used to create .
- The that will be used to read the object.
- A with the values of the specified object.
-
-
-
- Writes this token to a .
-
- A into which this method will write.
- A collection of which will be used when writing the token.
-
-
-
- Gets the with the specified key.
-
- The with the specified key.
-
-
-
- Gets or sets the at the specified index.
-
-
-
-
-
- Determines the index of a specific item in the .
-
- The object to locate in the .
-
- The index of if found in the list; otherwise, -1.
-
-
-
-
- Inserts an item to the at the specified index.
-
- The zero-based index at which should be inserted.
- The object to insert into the .
-
- is not a valid index in the .
-
-
-
-
- Removes the item at the specified index.
-
- The zero-based index of the item to remove.
-
- is not a valid index in the .
-
-
-
-
- Returns an enumerator that iterates through the collection.
-
-
- A of that can be used to iterate through the collection.
-
-
-
-
- Adds an item to the .
-
- The object to add to the .
-
-
-
- Removes all items from the .
-
-
-
-
- Determines whether the contains a specific value.
-
- The object to locate in the .
-
- true if is found in the ; otherwise, false.
-
-
-
-
- Copies the elements of the to an array, starting at a particular array index.
-
- The array.
- Index of the array.
-
-
-
- Gets a value indicating whether the is read-only.
-
- true if the is read-only; otherwise, false.
-
-
-
- Removes the first occurrence of a specific object from the .
-
- The object to remove from the .
-
- true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original .
-
-
-
-
- Represents a JSON constructor.
-
-
-
-
- Writes this token to a asynchronously.
-
- A into which this method will write.
- The token to monitor for cancellation requests.
- A collection of which will be used when writing the token.
- A that represents the asynchronous write operation.
-
-
-
- Asynchronously loads a from a .
-
- A that will be read for the content of the .
- The token to monitor for cancellation requests. The default value is .
-
- A that represents the asynchronous load. The
- property returns a that contains the JSON that was read from the specified .
-
-
-
- Asynchronously loads a from a .
-
- A that will be read for the content of the .
- The used to load the JSON.
- If this is null, default load settings will be used.
- The token to monitor for cancellation requests. The default value is .
-
- A that represents the asynchronous load. The
- property returns a that contains the JSON that was read from the specified .
-
-
-
- Gets the container's children tokens.
-
- The container's children tokens.
-
-
-
- Gets or sets the name of this constructor.
-
- The constructor name.
-
-
-
- Gets the node type for this .
-
- The type.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class from another object.
-
- A object to copy from.
-
-
-
- Initializes a new instance of the class with the specified name and content.
-
- The constructor name.
- The contents of the constructor.
-
-
-
- Initializes a new instance of the class with the specified name and content.
-
- The constructor name.
- The contents of the constructor.
-
-
-
- Initializes a new instance of the class with the specified name.
-
- The constructor name.
-
-
-
- Writes this token to a .
-
- A into which this method will write.
- A collection of which will be used when writing the token.
-
-
-
- Gets the with the specified key.
-
- The with the specified key.
-
-
-
- Loads a from a .
-
- A that will be read for the content of the .
- A that contains the JSON that was read from the specified .
-
-
-
- Loads a from a .
-
- A that will be read for the content of the .
- The used to load the JSON.
- If this is null, default load settings will be used.
- A that contains the JSON that was read from the specified .
-
-
-
- Represents a token that can contain other tokens.
-
-
-
-
- Occurs when the items list of the collection has changed, or the collection is reset.
-
-
-
-
- Gets the container's children tokens.
-
- The container's children tokens.
-
-
-
- Raises the event.
-
- The instance containing the event data.
-
-
-
- Gets a value indicating whether this token has child tokens.
-
-
- true if this token has child values; otherwise, false.
-
-
-
-
- Get the first child token of this token.
-
-
- A containing the first child token of the .
-
-
-
-
- Get the last child token of this token.
-
-
- A containing the last child token of the .
-
-
-
-
- Returns a collection of the child tokens of this token, in document order.
-
-
- An of containing the child tokens of this , in document order.
-
-
-
-
- Returns a collection of the child values of this token, in document order.
-
- The type to convert the values to.
-
- A containing the child values of this , in document order.
-
-
-
-
- Returns a collection of the descendant tokens for this token in document order.
-
- An of containing the descendant tokens of the .
-
-
-
- Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order.
-
- An of containing this token, and all the descendant tokens of the .
-
-
-
- Adds the specified content as children of this .
-
- The content to be added.
-
-
-
- Adds the specified content as the first children of this .
-
- The content to be added.
-
-
-
- Creates a that can be used to add tokens to the .
-
- A that is ready to have content written to it.
-
-
-
- Replaces the child nodes of this token with the specified content.
-
- The content.
-
-
-
- Removes the child nodes from this token.
-
-
-
-
- Merge the specified content into this .
-
- The content to be merged.
-
-
-
- Merge the specified content into this using .
-
- The content to be merged.
- The used to merge the content.
-
-
-
- Gets the count of child JSON tokens.
-
- The count of child JSON tokens.
-
-
-
- Represents a collection of objects.
-
- The type of token.
-
-
-
- An empty collection of objects.
-
-
-
-
- Initializes a new instance of the struct.
-
- The enumerable.
-
-
-
- Returns an enumerator that can be used to iterate through the collection.
-
-
- A that can be used to iterate through the collection.
-
-
-
-
- Gets the of with the specified key.
-
-
-
-
-
- Determines whether the specified is equal to this instance.
-
- The to compare with this instance.
-
- true if the specified is equal to this instance; otherwise, false.
-
-
-
-
- Determines whether the specified is equal to this instance.
-
- The to compare with this instance.
-
- true if the specified is equal to this instance; otherwise, false.
-
-
-
-
- Returns a hash code for this instance.
-
-
- A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
-
-
-
-
- Represents a JSON object.
-
-
-
-
-
-
-
- Writes this token to a asynchronously.
-
- A into which this method will write.
- The token to monitor for cancellation requests.
- A collection of which will be used when writing the token.
- A that represents the asynchronous write operation.
-
-
-
- Asynchronously loads a from a .
-
- A that will be read for the content of the .
- The token to monitor for cancellation requests. The default value is .
-
- A that represents the asynchronous load. The
- property returns a that contains the JSON that was read from the specified .
-
-
-
- Asynchronously loads a from a .
-
- A that will be read for the content of the .
- The used to load the JSON.
- If this is null, default load settings will be used.
- The token to monitor for cancellation requests. The default value is .
-
- A that represents the asynchronous load. The
- property returns a that contains the JSON that was read from the specified .
-
-
-
- Gets the container's children tokens.
-
- The container's children tokens.
-
-
-
- Occurs when a property value changes.
-
-
-
-
- Occurs when a property value is changing.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class from another object.
-
- A object to copy from.
-
-
-
- Initializes a new instance of the class with the specified content.
-
- The contents of the object.
-
-
-
- Initializes a new instance of the class with the specified content.
-
- The contents of the object.
-
-
-
- Gets the node type for this .
-
- The type.
-
-
-
- Gets an of of this object's properties.
-
- An of of this object's properties.
-
-
-
- Gets a with the specified name.
-
- The property name.
- A with the specified name or null.
-
-
-
- Gets the with the specified name.
- The exact name will be searched for first and if no matching property is found then
- the will be used to match a property.
-
- The property name.
- One of the enumeration values that specifies how the strings will be compared.
- A matched with the specified name or null.
-
-
-
- Gets a of of this object's property values.
-
- A of of this object's property values.
-
-
-
- Gets the with the specified key.
-
- The with the specified key.
-
-
-
- Gets or sets the with the specified property name.
-
-
-
-
-
- Loads a from a .
-
- A that will be read for the content of the .
- A that contains the JSON that was read from the specified .
-
- is not valid JSON.
-
-
-
-
- Loads a from a .
-
- A that will be read for the content of the .
- The used to load the JSON.
- If this is null, default load settings will be used.
- A that contains the JSON that was read from the specified .
-
- is not valid JSON.
-
-
-
-
- Load a from a string that contains JSON.
-
- A that contains JSON.
- A populated from the string that contains JSON.
-
- is not valid JSON.
-
-
-
-
-
-
-
- Load a from a string that contains JSON.
-
- A that contains JSON.
- The used to load the JSON.
- If this is null, default load settings will be used.
- A populated from the string that contains JSON.
-
- is not valid JSON.
-
-
-
-
-
-
-
- Creates a from an object.
-
- The object that will be used to create .
- A with the values of the specified object.
-
-
-
- Creates a from an object.
-
- The object that will be used to create .
- The that will be used to read the object.
- A with the values of the specified object.
-
-
-
- Writes this token to a .
-
- A into which this method will write.
- A collection of which will be used when writing the token.
-
-
-
- Gets the with the specified property name.
-
- Name of the property.
- The with the specified property name.
-
-
-
- Gets the with the specified property name.
- The exact property name will be searched for first and if no matching property is found then
- the will be used to match a property.
-
- Name of the property.
- One of the enumeration values that specifies how the strings will be compared.
- The with the specified property name.
-
-
-
- Tries to get the with the specified property name.
- The exact property name will be searched for first and if no matching property is found then
- the will be used to match a property.
-
- Name of the property.
- The value.
- One of the enumeration values that specifies how the strings will be compared.
- true if a value was successfully retrieved; otherwise, false.
-
-
-
- Adds the specified property name.
-
- Name of the property.
- The value.
-
-
-
- Determines whether the JSON object has the specified property name.
-
- Name of the property.
- true if the JSON object has the specified property name; otherwise, false.
-
-
-
- Removes the property with the specified name.
-
- Name of the property.
- true if item was successfully removed; otherwise, false.
-
-
-
- Tries to get the with the specified property name.
-
- Name of the property.
- The value.
- true if a value was successfully retrieved; otherwise, false.
-
-
-
- Returns an enumerator that can be used to iterate through the collection.
-
-
- A that can be used to iterate through the collection.
-
-
-
-
- Raises the event with the provided arguments.
-
- Name of the property.
-
-
-
- Raises the event with the provided arguments.
-
- Name of the property.
-
-
-
- Returns the responsible for binding operations performed on this object.
-
- The expression tree representation of the runtime value.
-
- The to bind this object.
-
-
-
-
- Represents a JSON property.
-
-
-
-
- Writes this token to a asynchronously.
-
- A into which this method will write.
- The token to monitor for cancellation requests.
- A collection of which will be used when writing the token.
- A that represents the asynchronous write operation.
-
-
-
- Asynchronously loads a from a .
-
- A that will be read for the content of the .
- The token to monitor for cancellation requests. The default value is .
- A representing the asynchronous creation. The
- property returns a that contains the JSON that was read from the specified .
-
-
-
- Asynchronously loads a from a .
-
- A that will be read for the content of the .
- The used to load the JSON.
- If this is null, default load settings will be used.
- The token to monitor for cancellation requests. The default value is .
- A representing the asynchronous creation. The
- property returns a that contains the JSON that was read from the specified .
-
-
-
- Gets the container's children tokens.
-
- The container's children tokens.
-
-
-
- Gets the property name.
-
- The property name.
-
-
-
- Gets or sets the property value.
-
- The property value.
-
-
-
- Initializes a new instance of the class from another object.
-
- A object to copy from.
-
-
-
- Gets the node type for this .
-
- The type.
-
-
-
- Initializes a new instance of the class.
-
- The property name.
- The property content.
-
-
-
- Initializes a new instance of the class.
-
- The property name.
- The property content.
-
-
-
- Writes this token to a .
-
- A into which this method will write.
- A collection of which will be used when writing the token.
-
-
-
- Loads a from a .
-
- A that will be read for the content of the .
- A that contains the JSON that was read from the specified .
-
-
-
- Loads a from a .
-
- A that will be read for the content of the .
- The used to load the JSON.
- If this is null, default load settings will be used.
- A that contains the JSON that was read from the specified .
-
-
-
- Represents a raw JSON string.
-
-
-
-
- Asynchronously creates an instance of with the content of the reader's current token.
-
- The reader.
- The token to monitor for cancellation requests. The default value is .
- A representing the asynchronous creation. The
- property returns an instance of with the content of the reader's current token.
-
-
-
- Initializes a new instance of the class from another object.
-
- A object to copy from.
-
-
-
- Initializes a new instance of the class.
-
- The raw json.
-
-
-
- Creates an instance of with the content of the reader's current token.
-
- The reader.
- An instance of with the content of the reader's current token.
-
-
-
- Specifies the settings used when cloning JSON.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets a flag that indicates whether to copy annotations when cloning a .
- The default value is true.
-
-
- A flag that indicates whether to copy annotations when cloning a .
-
-
-
-
- Specifies the settings used when loading JSON.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets how JSON comments are handled when loading JSON.
- The default value is .
-
- The JSON comment handling.
-
-
-
- Gets or sets how JSON line info is handled when loading JSON.
- The default value is .
-
- The JSON line info handling.
-
-
-
- Gets or sets how duplicate property names in JSON objects are handled when loading JSON.
- The default value is .
-
- The JSON duplicate property name handling.
-
-
-
- Specifies the settings used when merging JSON.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets the method used when merging JSON arrays.
-
- The method used when merging JSON arrays.
-
-
-
- Gets or sets how null value properties are merged.
-
- How null value properties are merged.
-
-
-
- Gets or sets the comparison used to match property names while merging.
- The exact property name will be searched for first and if no matching property is found then
- the will be used to match a property.
-
- The comparison used to match property names while merging.
-
-
-
- Specifies the settings used when selecting JSON.
-
-
-
-
- Gets or sets a timeout that will be used when executing regular expressions.
-
- The timeout that will be used when executing regular expressions.
-
-
-
- Gets or sets a flag that indicates whether an error should be thrown if
- no tokens are found when evaluating part of the expression.
-
-
- A flag that indicates whether an error should be thrown if
- no tokens are found when evaluating part of the expression.
-
-
-
-
- Represents an abstract JSON token.
-
-
-
-
- Writes this token to a asynchronously.
-
- A into which this method will write.
- The token to monitor for cancellation requests.
- A collection of which will be used when writing the token.
- A that represents the asynchronous write operation.
-
-
-
- Writes this token to a asynchronously.
-
- A into which this method will write.
- A collection of which will be used when writing the token.
- A that represents the asynchronous write operation.
-
-
-
- Asynchronously creates a from a .
-
- An positioned at the token to read into this .
- The token to monitor for cancellation requests. The default value is .
-
- A that represents the asynchronous creation. The
- property returns a that contains
- the token and its descendant tokens
- that were read from the reader. The runtime type of the token is determined
- by the token type of the first token encountered in the reader.
-
-
-
-
- Asynchronously creates a from a .
-
- An positioned at the token to read into this .
- The used to load the JSON.
- If this is null, default load settings will be used.
- The token to monitor for cancellation requests. The default value is .
-
- A that represents the asynchronous creation. The
- property returns a that contains
- the token and its descendant tokens
- that were read from the reader. The runtime type of the token is determined
- by the token type of the first token encountered in the reader.
-
-
-
-
- Asynchronously creates a from a .
-
- A positioned at the token to read into this .
- The token to monitor for cancellation requests. The default value is .
-
- A that represents the asynchronous creation. The
- property returns a that contains the token and its descendant tokens
- that were read from the reader. The runtime type of the token is determined
- by the token type of the first token encountered in the reader.
-
-
-
-
- Asynchronously creates a from a .
-
- A positioned at the token to read into this .
- The used to load the JSON.
- If this is null, default load settings will be used.
- The token to monitor for cancellation requests. The default value is .
-
- A that represents the asynchronous creation. The
- property returns a that contains the token and its descendant tokens
- that were read from the reader. The runtime type of the token is determined
- by the token type of the first token encountered in the reader.
-
-
-
-
- Gets a comparer that can compare two tokens for value equality.
-
- A that can compare two nodes for value equality.
-
-
-
- Gets or sets the parent.
-
- The parent.
-
-
-
- Gets the root of this .
-
- The root of this .
-
-
-
- Gets the node type for this .
-
- The type.
-
-
-
- Gets a value indicating whether this token has child tokens.
-
-
- true if this token has child values; otherwise, false.
-
-
-
-
- Compares the values of two tokens, including the values of all descendant tokens.
-
- The first to compare.
- The second to compare.
- true if the tokens are equal; otherwise false.
-
-
-
- Gets the next sibling token of this node.
-
- The that contains the next sibling token.
-
-
-
- Gets the previous sibling token of this node.
-
- The that contains the previous sibling token.
-
-
-
- Gets the path of the JSON token.
-
-
-
-
- Adds the specified content immediately after this token.
-
- A content object that contains simple content or a collection of content objects to be added after this token.
-
-
-
- Adds the specified content immediately before this token.
-
- A content object that contains simple content or a collection of content objects to be added before this token.
-
-
-
- Returns a collection of the ancestor tokens of this token.
-
- A collection of the ancestor tokens of this token.
-
-
-
- Returns a collection of tokens that contain this token, and the ancestors of this token.
-
- A collection of tokens that contain this token, and the ancestors of this token.
-
-
-
- Returns a collection of the sibling tokens after this token, in document order.
-
- A collection of the sibling tokens after this tokens, in document order.
-
-
-
- Returns a collection of the sibling tokens before this token, in document order.
-
- A collection of the sibling tokens before this token, in document order.
-
-
-
- Gets the with the specified key.
-
- The with the specified key.
-
-
-
- Gets the with the specified key converted to the specified type.
-
- The type to convert the token to.
- The token key.
- The converted token value.
-
-
-
- Get the first child token of this token.
-
- A containing the first child token of the .
-
-
-
- Get the last child token of this token.
-
- A containing the last child token of the .
-
-
-
- Returns a collection of the child tokens of this token, in document order.
-
- An of containing the child tokens of this , in document order.
-
-
-
- Returns a collection of the child tokens of this token, in document order, filtered by the specified type.
-
- The type to filter the child tokens on.
- A containing the child tokens of this , in document order.
-
-
-
- Returns a collection of the child values of this token, in document order.
-
- The type to convert the values to.
- A containing the child values of this , in document order.
-
-
-
- Removes this token from its parent.
-
-
-
-
- Replaces this token with the specified token.
-
- The value.
-
-
-
- Writes this token to a .
-
- A into which this method will write.
- A collection of which will be used when writing the token.
-
-
-
- Returns the indented JSON for this token.
-
-
- ToString() returns a non-JSON string value for tokens with a type of .
- If you want the JSON for all token types then you should use .
-
-
- The indented JSON for this token.
-
-
-
-
- Returns the JSON for this token using the given formatting and converters.
-
- Indicates how the output should be formatted.
- A collection of s which will be used when writing the token.
- The JSON for this token using the given formatting and converters.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to [].
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from [] to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Creates a for this token.
-
- A that can be used to read this token and its descendants.
-
-
-
- Creates a from an object.
-
- The object that will be used to create .
- A with the value of the specified object.
-
-
-
- Creates a from an object using the specified .
-
- The object that will be used to create .
- The that will be used when reading the object.
- A with the value of the specified object.
-
-
-
- Creates an instance of the specified .NET type from the .
-
- The object type that the token will be deserialized to.
- The new object created from the JSON value.
-
-
-
- Creates an instance of the specified .NET type from the .
-
- The object type that the token will be deserialized to.
- The new object created from the JSON value.
-
-
-
- Creates an instance of the specified .NET type from the using the specified .
-
- The object type that the token will be deserialized to.
- The that will be used when creating the object.
- The new object created from the JSON value.
-
-
-
- Creates an instance of the specified .NET type from the using the specified .
-
- The object type that the token will be deserialized to.
- The that will be used when creating the object.
- The new object created from the JSON value.
-
-
-
- Creates a from a .
-
- A positioned at the token to read into this .
-
- A that contains the token and its descendant tokens
- that were read from the reader. The runtime type of the token is determined
- by the token type of the first token encountered in the reader.
-
-
-
-
- Creates a from a .
-
- An positioned at the token to read into this .
- The used to load the JSON.
- If this is null, default load settings will be used.
-
- A that contains the token and its descendant tokens
- that were read from the reader. The runtime type of the token is determined
- by the token type of the first token encountered in the reader.
-
-
-
-
- Load a from a string that contains JSON.
-
- A that contains JSON.
- A populated from the string that contains JSON.
-
-
-
- Load a from a string that contains JSON.
-
- A that contains JSON.
- The used to load the JSON.
- If this is null, default load settings will be used.
- A populated from the string that contains JSON.
-
-
-
- Creates a from a .
-
- A positioned at the token to read into this .
- The used to load the JSON.
- If this is null, default load settings will be used.
-
- A that contains the token and its descendant tokens
- that were read from the reader. The runtime type of the token is determined
- by the token type of the first token encountered in the reader.
-
-
-
-
- Creates a from a .
-
- A positioned at the token to read into this .
-
- A that contains the token and its descendant tokens
- that were read from the reader. The runtime type of the token is determined
- by the token type of the first token encountered in the reader.
-
-
-
-
- Selects a using a JSONPath expression. Selects the token that matches the object path.
-
-
- A that contains a JSONPath expression.
-
- A , or null.
-
-
-
- Selects a using a JSONPath expression. Selects the token that matches the object path.
-
-
- A that contains a JSONPath expression.
-
- A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression.
- A .
-
-
-
- Selects a using a JSONPath expression. Selects the token that matches the object path.
-
-
- A that contains a JSONPath expression.
-
- The used to select tokens.
- A .
-
-
-
- Selects a collection of elements using a JSONPath expression.
-
-
- A that contains a JSONPath expression.
-
- An of that contains the selected elements.
-
-
-
- Selects a collection of elements using a JSONPath expression.
-
-
- A that contains a JSONPath expression.
-
- A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression.
- An of that contains the selected elements.
-
-
-
- Selects a collection of elements using a JSONPath expression.
-
-
- A that contains a JSONPath expression.
-
- The used to select tokens.
- An of that contains the selected elements.
-
-
-
- Returns the responsible for binding operations performed on this object.
-
- The expression tree representation of the runtime value.
-
- The to bind this object.
-
-
-
-
- Returns the responsible for binding operations performed on this object.
-
- The expression tree representation of the runtime value.
-
- The to bind this object.
-
-
-
-
- Creates a new instance of the . All child tokens are recursively cloned.
-
- A new instance of the .
-
-
-
- Creates a new instance of the . All child tokens are recursively cloned.
-
- A object to configure cloning settings.
- A new instance of the .
-
-
-
- Adds an object to the annotation list of this .
-
- The annotation to add.
-
-
-
- Get the first annotation object of the specified type from this .
-
- The type of the annotation to retrieve.
- The first annotation object that matches the specified type, or null if no annotation is of the specified type.
-
-
-
- Gets the first annotation object of the specified type from this .
-
- The of the annotation to retrieve.
- The first annotation object that matches the specified type, or null if no annotation is of the specified type.
-
-
-
- Gets a collection of annotations of the specified type for this .
-
- The type of the annotations to retrieve.
- An that contains the annotations for this .
-
-
-
- Gets a collection of annotations of the specified type for this .
-
- The of the annotations to retrieve.
- An of that contains the annotations that match the specified type for this .
-
-
-
- Removes the annotations of the specified type from this .
-
- The type of annotations to remove.
-
-
-
- Removes the annotations of the specified type from this .
-
- The of annotations to remove.
-
-
-
- Compares tokens to determine whether they are equal.
-
-
-
-
- Determines whether the specified objects are equal.
-
- The first object of type to compare.
- The second object of type to compare.
-
- true if the specified objects are equal; otherwise, false.
-
-
-
-
- Returns a hash code for the specified object.
-
- The for which a hash code is to be returned.
- A hash code for the specified object.
- The type of is a reference type and is null.
-
-
-
- Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data.
-
-
-
-
- Gets the at the reader's current position.
-
-
-
-
- Initializes a new instance of the class.
-
- The token to read from.
-
-
-
- Initializes a new instance of the class.
-
- The token to read from.
- The initial path of the token. It is prepended to the returned .
-
-
-
- Reads the next JSON token from the underlying .
-
-
- true if the next token was read successfully; false if there are no more tokens to read.
-
-
-
-
- Gets the path of the current JSON token.
-
-
-
-
- Specifies the type of token.
-
-
-
-
- No token type has been set.
-
-
-
-
- A JSON object.
-
-
-
-
- A JSON array.
-
-
-
-
- A JSON constructor.
-
-
-
-
- A JSON object property.
-
-
-
-
- A comment.
-
-
-
-
- An integer value.
-
-
-
-
- A float value.
-
-
-
-
- A string value.
-
-
-
-
- A boolean value.
-
-
-
-
- A null value.
-
-
-
-
- An undefined value.
-
-
-
-
- A date value.
-
-
-
-
- A raw JSON value.
-
-
-
-
- A collection of bytes value.
-
-
-
-
- A Guid value.
-
-
-
-
- A Uri value.
-
-
-
-
- A TimeSpan value.
-
-
-
-
- Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
-
-
-
-
- Gets the at the writer's current position.
-
-
-
-
- Gets the token being written.
-
- The token being written.
-
-
-
- Initializes a new instance of the class writing to the given .
-
- The container being written to.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Flushes whatever is in the buffer to the underlying .
-
-
-
-
- Closes this writer.
- If is set to true, the JSON is auto-completed.
-
-
- Setting to true has no additional effect, since the underlying is a type that cannot be closed.
-
-
-
-
- Writes the beginning of a JSON object.
-
-
-
-
- Writes the beginning of a JSON array.
-
-
-
-
- Writes the start of a constructor with the given name.
-
- The name of the constructor.
-
-
-
- Writes the end.
-
- The token.
-
-
-
- Writes the property name of a name/value pair on a JSON object.
-
- The name of the property.
-
-
-
- Writes a value.
- An error will be raised if the value cannot be written as a single JSON token.
-
- The value to write.
-
-
-
- Writes a null value.
-
-
-
-
- Writes an undefined value.
-
-
-
-
- Writes raw JSON.
-
- The raw JSON to write.
-
-
-
- Writes a comment /*...*/ containing the specified text.
-
- Text to place inside the comment.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a [] value.
-
- The [] value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Represents a value in JSON (string, integer, date, etc).
-
-
-
-
- Writes this token to a asynchronously.
-
- A into which this method will write.
- The token to monitor for cancellation requests.
- A collection of which will be used when writing the token.
- A that represents the asynchronous write operation.
-
-
-
- Initializes a new instance of the class from another object.
-
- A object to copy from.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Gets a value indicating whether this token has child tokens.
-
-
- true if this token has child values; otherwise, false.
-
-
-
-
- Creates a comment with the given value.
-
- The value.
- A comment with the given value.
-
-
-
- Creates a string with the given value.
-
- The value.
- A string with the given value.
-
-
-
- Creates a null value.
-
- A null value.
-
-
-
- Creates a undefined value.
-
- A undefined value.
-
-
-
- Gets the node type for this .
-
- The type.
-
-
-
- Gets or sets the underlying token value.
-
- The underlying token value.
-
-
-
- Writes this token to a .
-
- A into which this method will write.
- A collection of s which will be used when writing the token.
-
-
-
- Indicates whether the current object is equal to another object of the same type.
-
-
- true if the current object is equal to the parameter; otherwise, false.
-
- An object to compare with this object.
-
-
-
- Determines whether the specified is equal to the current .
-
- The to compare with the current .
-
- true if the specified is equal to the current ; otherwise, false.
-
-
-
-
- Serves as a hash function for a particular type.
-
-
- A hash code for the current .
-
-
-
-
- Returns a that represents this instance.
-
-
- ToString() returns a non-JSON string value for tokens with a type of .
- If you want the JSON for all token types then you should use .
-
-
- A that represents this instance.
-
-
-
-
- Returns a that represents this instance.
-
- The format.
-
- A that represents this instance.
-
-
-
-
- Returns a that represents this instance.
-
- The format provider.
-
- A that represents this instance.
-
-
-
-
- Returns a that represents this instance.
-
- The format.
- The format provider.
-
- A that represents this instance.
-
-
-
-
- Returns the responsible for binding operations performed on this object.
-
- The expression tree representation of the runtime value.
-
- The to bind this object.
-
-
-
-
- Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
-
- An object to compare with this instance.
-
- A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings:
- Value
- Meaning
- Less than zero
- This instance is less than .
- Zero
- This instance is equal to .
- Greater than zero
- This instance is greater than .
-
-
- is not of the same type as this instance.
-
-
-
-
- Specifies how line information is handled when loading JSON.
-
-
-
-
- Ignore line information.
-
-
-
-
- Load line information.
-
-
-
-
- Specifies how JSON arrays are merged together.
-
-
-
- Concatenate arrays.
-
-
- Union arrays, skipping items that already exist.
-
-
- Replace all array items.
-
-
- Merge array items together, matched by index.
-
-
-
- Specifies how null value properties are merged.
-
-
-
-
- The content's null value properties will be ignored during merging.
-
-
-
-
- The content's null value properties will be merged.
-
-
-
-
- Specifies the member serialization options for the .
-
-
-
-
- All public members are serialized by default. Members can be excluded using or .
- This is the default member serialization mode.
-
-
-
-
- Only members marked with or are serialized.
- This member serialization mode can also be set by marking the class with .
-
-
-
-
- All public and private fields are serialized. Members can be excluded using or .
- This member serialization mode can also be set by marking the class with
- and setting IgnoreSerializableAttribute on to false.
-
-
-
-
- Specifies metadata property handling options for the .
-
-
-
-
- Read metadata properties located at the start of a JSON object.
-
-
-
-
- Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance.
-
-
-
-
- Do not try to read metadata properties.
-
-
-
-
- Specifies missing member handling options for the .
-
-
-
-
- Ignore a missing member and do not attempt to deserialize it.
-
-
-
-
- Throw a when a missing member is encountered during deserialization.
-
-
-
-
- Specifies null value handling options for the .
-
-
-
-
-
-
-
-
- Include null values when serializing and deserializing objects.
-
-
-
-
- Ignore null values when serializing and deserializing objects.
-
-
-
-
- Specifies how object creation is handled by the .
-
-
-
-
- Reuse existing objects, create new objects when needed.
-
-
-
-
- Only reuse existing objects.
-
-
-
-
- Always create new objects.
-
-
-
-
- Specifies reference handling options for the .
- Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement .
-
-
-
-
-
-
-
- Do not preserve references when serializing types.
-
-
-
-
- Preserve references when serializing into a JSON object structure.
-
-
-
-
- Preserve references when serializing into a JSON array structure.
-
-
-
-
- Preserve references when serializing.
-
-
-
-
- Specifies reference loop handling options for the .
-
-
-
-
- Throw a when a loop is encountered.
-
-
-
-
- Ignore loop references and do not serialize.
-
-
-
-
- Serialize loop references.
-
-
-
-
- Indicating whether a property is required.
-
-
-
-
- The property is not required. The default state.
-
-
-
-
- The property must be defined in JSON but can be a null value.
-
-
-
-
- The property must be defined in JSON and cannot be a null value.
-
-
-
-
- The property is not required but it cannot be a null value.
-
-
-
-
-
- Contains the JSON schema extension methods.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
-
- Determines whether the is valid.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
- The source to test.
- The schema to test with.
-
- true if the specified is valid; otherwise, false.
-
-
-
-
-
- Determines whether the is valid.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
- The source to test.
- The schema to test with.
- When this method returns, contains any error messages generated while validating.
-
- true if the specified is valid; otherwise, false.
-
-
-
-
-
- Validates the specified .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
- The source to test.
- The schema to test with.
-
-
-
-
- Validates the specified .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
- The source to test.
- The schema to test with.
- The validation event handler.
-
-
-
-
- An in-memory representation of a JSON Schema.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Gets or sets the id.
-
-
-
-
- Gets or sets the title.
-
-
-
-
- Gets or sets whether the object is required.
-
-
-
-
- Gets or sets whether the object is read-only.
-
-
-
-
- Gets or sets whether the object is visible to users.
-
-
-
-
- Gets or sets whether the object is transient.
-
-
-
-
- Gets or sets the description of the object.
-
-
-
-
- Gets or sets the types of values allowed by the object.
-
- The type.
-
-
-
- Gets or sets the pattern.
-
- The pattern.
-
-
-
- Gets or sets the minimum length.
-
- The minimum length.
-
-
-
- Gets or sets the maximum length.
-
- The maximum length.
-
-
-
- Gets or sets a number that the value should be divisible by.
-
- A number that the value should be divisible by.
-
-
-
- Gets or sets the minimum.
-
- The minimum.
-
-
-
- Gets or sets the maximum.
-
- The maximum.
-
-
-
- Gets or sets a flag indicating whether the value can not equal the number defined by the minimum attribute ().
-
- A flag indicating whether the value can not equal the number defined by the minimum attribute ().
-
-
-
- Gets or sets a flag indicating whether the value can not equal the number defined by the maximum attribute ().
-
- A flag indicating whether the value can not equal the number defined by the maximum attribute ().
-
-
-
- Gets or sets the minimum number of items.
-
- The minimum number of items.
-
-
-
- Gets or sets the maximum number of items.
-
- The maximum number of items.
-
-
-
- Gets or sets the of items.
-
- The of items.
-
-
-
- Gets or sets a value indicating whether items in an array are validated using the instance at their array position from .
-
-
- true if items are validated using their array position; otherwise, false.
-
-
-
-
- Gets or sets the of additional items.
-
- The of additional items.
-
-
-
- Gets or sets a value indicating whether additional items are allowed.
-
-
- true if additional items are allowed; otherwise, false.
-
-
-
-
- Gets or sets whether the array items must be unique.
-
-
-
-
- Gets or sets the of properties.
-
- The of properties.
-
-
-
- Gets or sets the of additional properties.
-
- The of additional properties.
-
-
-
- Gets or sets the pattern properties.
-
- The pattern properties.
-
-
-
- Gets or sets a value indicating whether additional properties are allowed.
-
-
- true if additional properties are allowed; otherwise, false.
-
-
-
-
- Gets or sets the required property if this property is present.
-
- The required property if this property is present.
-
-
-
- Gets or sets the a collection of valid enum values allowed.
-
- A collection of valid enum values allowed.
-
-
-
- Gets or sets disallowed types.
-
- The disallowed types.
-
-
-
- Gets or sets the default value.
-
- The default value.
-
-
-
- Gets or sets the collection of that this schema extends.
-
- The collection of that this schema extends.
-
-
-
- Gets or sets the format.
-
- The format.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Reads a from the specified .
-
- The containing the JSON Schema to read.
- The object representing the JSON Schema.
-
-
-
- Reads a from the specified .
-
- The containing the JSON Schema to read.
- The to use when resolving schema references.
- The object representing the JSON Schema.
-
-
-
- Load a from a string that contains JSON Schema.
-
- A that contains JSON Schema.
- A populated from the string that contains JSON Schema.
-
-
-
- Load a from a string that contains JSON Schema using the specified .
-
- A that contains JSON Schema.
- The resolver.
- A populated from the string that contains JSON Schema.
-
-
-
- Writes this schema to a .
-
- A into which this method will write.
-
-
-
- Writes this schema to a using the specified .
-
- A into which this method will write.
- The resolver used.
-
-
-
- Returns a that represents the current .
-
-
- A that represents the current .
-
-
-
-
-
- Returns detailed information about the schema exception.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Gets the line number indicating where the error occurred.
-
- The line number indicating where the error occurred.
-
-
-
- Gets the line position indicating where the error occurred.
-
- The line position indicating where the error occurred.
-
-
-
- Gets the path to the JSON where the error occurred.
-
- The path to the JSON where the error occurred.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- with a specified error message.
-
- The error message that explains the reason for the exception.
-
-
-
- Initializes a new instance of the class
- with a specified error message and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
-
- Generates a from a specified .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Gets or sets how undefined schemas are handled by the serializer.
-
-
-
-
- Gets or sets the contract resolver.
-
- The contract resolver.
-
-
-
- Generate a from the specified type.
-
- The type to generate a from.
- A generated from the specified type.
-
-
-
- Generate a from the specified type.
-
- The type to generate a from.
- The used to resolve schema references.
- A generated from the specified type.
-
-
-
- Generate a from the specified type.
-
- The type to generate a from.
- Specify whether the generated root will be nullable.
- A generated from the specified type.
-
-
-
- Generate a from the specified type.
-
- The type to generate a from.
- The used to resolve schema references.
- Specify whether the generated root will be nullable.
- A generated from the specified type.
-
-
-
-
- Resolves from an id.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Gets or sets the loaded schemas.
-
- The loaded schemas.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets a for the specified reference.
-
- The id.
- A for the specified reference.
-
-
-
-
- The value types allowed by the .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- No type specified.
-
-
-
-
- String type.
-
-
-
-
- Float type.
-
-
-
-
- Integer type.
-
-
-
-
- Boolean type.
-
-
-
-
- Object type.
-
-
-
-
- Array type.
-
-
-
-
- Null type.
-
-
-
-
- Any type.
-
-
-
-
-
- Specifies undefined schema Id handling options for the .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Do not infer a schema Id.
-
-
-
-
- Use the .NET type name as the schema Id.
-
-
-
-
- Use the assembly qualified .NET type name as the schema Id.
-
-
-
-
-
- Returns detailed information related to the .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Gets the associated with the validation error.
-
- The JsonSchemaException associated with the validation error.
-
-
-
- Gets the path of the JSON location where the validation error occurred.
-
- The path of the JSON location where the validation error occurred.
-
-
-
- Gets the text description corresponding to the validation error.
-
- The text description.
-
-
-
-
- Represents the callback method that will handle JSON schema validation events and the .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Allows users to control class loading and mandate what class to load.
-
-
-
-
- When overridden in a derived class, controls the binding of a serialized object to a type.
-
- Specifies the name of the serialized object.
- Specifies the name of the serialized object
- The type of the object the formatter creates a new instance of.
-
-
-
- When overridden in a derived class, controls the binding of a serialized object to a type.
-
- The type of the object the formatter creates a new instance of.
- Specifies the name of the serialized object.
- Specifies the name of the serialized object.
-
-
-
- A camel case naming strategy.
-
-
-
-
- Initializes a new instance of the class.
-
-
- A flag indicating whether dictionary keys should be processed.
-
-
- A flag indicating whether explicitly specified property names should be processed,
- e.g. a property name customized with a .
-
-
-
-
- Initializes a new instance of the class.
-
-
- A flag indicating whether dictionary keys should be processed.
-
-
- A flag indicating whether explicitly specified property names should be processed,
- e.g. a property name customized with a .
-
-
- A flag indicating whether extension data names should be processed.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Resolves the specified property name.
-
- The property name to resolve.
- The resolved property name.
-
-
-
- Resolves member mappings for a type, camel casing property names.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Resolves the contract for a given type.
-
- The type to resolve a contract for.
- The contract for a given type.
-
-
-
- Used by to resolve a for a given .
-
-
-
-
- Gets a value indicating whether members are being get and set using dynamic code generation.
- This value is determined by the runtime permissions available.
-
-
- true if using dynamic code generation; otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether compiler generated members should be serialized.
-
-
- true if serialized compiler generated members; otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether to ignore the interface when serializing and deserializing types.
-
-
- true if the interface will be ignored when serializing and deserializing types; otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether to ignore the attribute when serializing and deserializing types.
-
-
- true if the attribute will be ignored when serializing and deserializing types; otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether to ignore IsSpecified members when serializing and deserializing types.
-
-
- true if the IsSpecified members will be ignored when serializing and deserializing types; otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether to ignore ShouldSerialize members when serializing and deserializing types.
-
-
- true if the ShouldSerialize members will be ignored when serializing and deserializing types; otherwise, false.
-
-
-
-
- Gets or sets the naming strategy used to resolve how property names and dictionary keys are serialized.
-
- The naming strategy used to resolve how property names and dictionary keys are serialized.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Resolves the contract for a given type.
-
- The type to resolve a contract for.
- The contract for a given type.
-
-
-
- Gets the serializable members for the type.
-
- The type to get serializable members for.
- The serializable members for the type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates the constructor parameters.
-
- The constructor to create properties for.
- The type's member properties.
- Properties for the given .
-
-
-
- Creates a for the given .
-
- The matching member property.
- The constructor parameter.
- A created for the given .
-
-
-
- Resolves the default for the contract.
-
- Type of the object.
- The contract's default .
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Determines which contract type is created for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates properties for the given .
-
- The type to create properties for.
- /// The member serialization mode for the type.
- Properties for the given .
-
-
-
- Creates the used by the serializer to get and set values from a member.
-
- The member.
- The used by the serializer to get and set values from a member.
-
-
-
- Creates a for the given .
-
- The member's parent .
- The member to create a for.
- A created for the given .
-
-
-
- Resolves the name of the property.
-
- Name of the property.
- Resolved name of the property.
-
-
-
- Resolves the name of the extension data. By default no changes are made to extension data names.
-
- Name of the extension data.
- Resolved name of the extension data.
-
-
-
- Resolves the key of the dictionary. By default is used to resolve dictionary keys.
-
- Key of the dictionary.
- Resolved key of the dictionary.
-
-
-
- Gets the resolved name of the property.
-
- Name of the property.
- Name of the property.
-
-
-
- The default naming strategy. Property names and dictionary keys are unchanged.
-
-
-
-
- Resolves the specified property name.
-
- The property name to resolve.
- The resolved property name.
-
-
-
- The default serialization binder used when resolving and loading classes from type names.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- When overridden in a derived class, controls the binding of a serialized object to a type.
-
- Specifies the name of the serialized object.
- Specifies the name of the serialized object.
-
- The type of the object the formatter creates a new instance of.
-
-
-
-
- When overridden in a derived class, controls the binding of a serialized object to a type.
-
- The type of the object the formatter creates a new instance of.
- Specifies the name of the serialized object.
- Specifies the name of the serialized object.
-
-
-
- Provides information surrounding an error.
-
-
-
-
- Gets the error.
-
- The error.
-
-
-
- Gets the original object that caused the error.
-
- The original object that caused the error.
-
-
-
- Gets the member that caused the error.
-
- The member that caused the error.
-
-
-
- Gets the path of the JSON location where the error occurred.
-
- The path of the JSON location where the error occurred.
-
-
-
- Gets or sets a value indicating whether this is handled.
-
- true if handled; otherwise, false.
-
-
-
- Provides data for the Error event.
-
-
-
-
- Gets the current object the error event is being raised against.
-
- The current object the error event is being raised against.
-
-
-
- Gets the error context.
-
- The error context.
-
-
-
- Initializes a new instance of the class.
-
- The current object.
- The error context.
-
-
-
- Get and set values for a using dynamic methods.
-
-
-
-
- Initializes a new instance of the class.
-
- The member info.
-
-
-
- Sets the value.
-
- The target to set the value on.
- The value to set on the target.
-
-
-
- Gets the value.
-
- The target to get the value from.
- The value.
-
-
-
- Provides methods to get attributes.
-
-
-
-
- Returns a collection of all of the attributes, or an empty collection if there are no attributes.
-
- When true, look up the hierarchy chain for the inherited custom attribute.
- A collection of s, or an empty collection.
-
-
-
- Returns a collection of attributes, identified by type, or an empty collection if there are no attributes.
-
- The type of the attributes.
- When true, look up the hierarchy chain for the inherited custom attribute.
- A collection of s, or an empty collection.
-
-
-
- Used by to resolve a for a given .
-
-
-
-
-
-
-
-
- Resolves the contract for a given type.
-
- The type to resolve a contract for.
- The contract for a given type.
-
-
-
- Used to resolve references when serializing and deserializing JSON by the .
-
-
-
-
- Resolves a reference to its object.
-
- The serialization context.
- The reference to resolve.
- The object that was resolved from the reference.
-
-
-
- Gets the reference for the specified object.
-
- The serialization context.
- The object to get a reference for.
- The reference to the object.
-
-
-
- Determines whether the specified object is referenced.
-
- The serialization context.
- The object to test for a reference.
-
- true if the specified object is referenced; otherwise, false.
-
-
-
-
- Adds a reference to the specified object.
-
- The serialization context.
- The reference.
- The object to reference.
-
-
-
- Allows users to control class loading and mandate what class to load.
-
-
-
-
- When implemented, controls the binding of a serialized object to a type.
-
- Specifies the name of the serialized object.
- Specifies the name of the serialized object
- The type of the object the formatter creates a new instance of.
-
-
-
- When implemented, controls the binding of a serialized object to a type.
-
- The type of the object the formatter creates a new instance of.
- Specifies the name of the serialized object.
- Specifies the name of the serialized object.
-
-
-
- Represents a trace writer.
-
-
-
-
- Gets the that will be used to filter the trace messages passed to the writer.
- For example a filter level of will exclude messages and include ,
- and messages.
-
- The that will be used to filter the trace messages passed to the writer.
-
-
-
- Writes the specified trace level, message and optional exception.
-
- The at which to write this trace.
- The trace message.
- The trace exception. This parameter is optional.
-
-
-
- Provides methods to get and set values.
-
-
-
-
- Sets the value.
-
- The target to set the value on.
- The value to set on the target.
-
-
-
- Gets the value.
-
- The target to get the value from.
- The value.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Gets the of the collection items.
-
- The of the collection items.
-
-
-
- Gets a value indicating whether the collection type is a multidimensional array.
-
- true if the collection type is a multidimensional array; otherwise, false.
-
-
-
- Gets or sets the function used to create the object. When set this function will override .
-
- The function used to create the object.
-
-
-
- Gets a value indicating whether the creator has a parameter with the collection values.
-
- true if the creator has a parameter with the collection values; otherwise, false.
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Gets or sets the default collection items .
-
- The converter.
-
-
-
- Gets or sets a value indicating whether the collection items preserve object references.
-
- true if collection items preserve object references; otherwise, false.
-
-
-
- Gets or sets the collection item reference loop handling.
-
- The reference loop handling.
-
-
-
- Gets or sets the collection item type name handling.
-
- The type name handling.
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Handles serialization callback events.
-
- The object that raised the callback event.
- The streaming context.
-
-
-
- Handles serialization error callback events.
-
- The object that raised the callback event.
- The streaming context.
- The error context.
-
-
-
- Sets extension data for an object during deserialization.
-
- The object to set extension data on.
- The extension data key.
- The extension data value.
-
-
-
- Gets extension data for an object during serialization.
-
- The object to set extension data on.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Gets the underlying type for the contract.
-
- The underlying type for the contract.
-
-
-
- Gets or sets the type created during deserialization.
-
- The type created during deserialization.
-
-
-
- Gets or sets whether this type contract is serialized as a reference.
-
- Whether this type contract is serialized as a reference.
-
-
-
- Gets or sets the default for this contract.
-
- The converter.
-
-
-
- Gets the internally resolved for the contract's type.
- This converter is used as a fallback converter when no other converter is resolved.
- Setting will always override this converter.
-
-
-
-
- Gets or sets all methods called immediately after deserialization of the object.
-
- The methods called immediately after deserialization of the object.
-
-
-
- Gets or sets all methods called during deserialization of the object.
-
- The methods called during deserialization of the object.
-
-
-
- Gets or sets all methods called after serialization of the object graph.
-
- The methods called after serialization of the object graph.
-
-
-
- Gets or sets all methods called before serialization of the object.
-
- The methods called before serialization of the object.
-
-
-
- Gets or sets all method called when an error is thrown during the serialization of the object.
-
- The methods called when an error is thrown during the serialization of the object.
-
-
-
- Gets or sets the default creator method used to create the object.
-
- The default creator method used to create the object.
-
-
-
- Gets or sets a value indicating whether the default creator is non-public.
-
- true if the default object creator is non-public; otherwise, false.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Gets or sets the dictionary key resolver.
-
- The dictionary key resolver.
-
-
-
- Gets the of the dictionary keys.
-
- The of the dictionary keys.
-
-
-
- Gets the of the dictionary values.
-
- The of the dictionary values.
-
-
-
- Gets or sets the function used to create the object. When set this function will override .
-
- The function used to create the object.
-
-
-
- Gets a value indicating whether the creator has a parameter with the dictionary values.
-
- true if the creator has a parameter with the dictionary values; otherwise, false.
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Gets the object's properties.
-
- The object's properties.
-
-
-
- Gets or sets the property name resolver.
-
- The property name resolver.
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Gets or sets the object constructor.
-
- The object constructor.
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Gets or sets the object member serialization.
-
- The member object serialization.
-
-
-
- Gets or sets the missing member handling used when deserializing this object.
-
- The missing member handling.
-
-
-
- Gets or sets a value that indicates whether the object's properties are required.
-
-
- A value indicating whether the object's properties are required.
-
-
-
-
- Gets or sets how the object's properties with null values are handled during serialization and deserialization.
-
- How the object's properties with null values are handled during serialization and deserialization.
-
-
-
- Gets the object's properties.
-
- The object's properties.
-
-
-
- Gets a collection of instances that define the parameters used with .
-
-
-
-
- Gets or sets the function used to create the object. When set this function will override .
- This function is called with a collection of arguments which are defined by the collection.
-
- The function used to create the object.
-
-
-
- Gets or sets the extension data setter.
-
-
-
-
- Gets or sets the extension data getter.
-
-
-
-
- Gets or sets the extension data value type.
-
-
-
-
- Gets or sets the extension data name resolver.
-
- The extension data name resolver.
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Maps a JSON property to a .NET member or constructor parameter.
-
-
-
-
- Gets or sets the name of the property.
-
- The name of the property.
-
-
-
- Gets or sets the type that declared this property.
-
- The type that declared this property.
-
-
-
- Gets or sets the order of serialization of a member.
-
- The numeric order of serialization.
-
-
-
- Gets or sets the name of the underlying member or parameter.
-
- The name of the underlying member or parameter.
-
-
-
- Gets the that will get and set the during serialization.
-
- The that will get and set the during serialization.
-
-
-
- Gets or sets the for this property.
-
- The for this property.
-
-
-
- Gets or sets the type of the property.
-
- The type of the property.
-
-
-
- Gets or sets the for the property.
- If set this converter takes precedence over the contract converter for the property type.
-
- The converter.
-
-
-
- Gets or sets the member converter.
-
- The member converter.
-
-
-
- Gets or sets a value indicating whether this is ignored.
-
- true if ignored; otherwise, false.
-
-
-
- Gets or sets a value indicating whether this is readable.
-
- true if readable; otherwise, false.
-
-
-
- Gets or sets a value indicating whether this is writable.
-
- true if writable; otherwise, false.
-
-
-
- Gets or sets a value indicating whether this has a member attribute.
-
- true if has a member attribute; otherwise, false.
-
-
-
- Gets the default value.
-
- The default value.
-
-
-
- Gets or sets a value indicating whether this is required.
-
- A value indicating whether this is required.
-
-
-
- Gets a value indicating whether has a value specified.
-
-
-
-
- Gets or sets a value indicating whether this property preserves object references.
-
-
- true if this instance is reference; otherwise, false.
-
-
-
-
- Gets or sets the property null value handling.
-
- The null value handling.
-
-
-
- Gets or sets the property default value handling.
-
- The default value handling.
-
-
-
- Gets or sets the property reference loop handling.
-
- The reference loop handling.
-
-
-
- Gets or sets the property object creation handling.
-
- The object creation handling.
-
-
-
- Gets or sets or sets the type name handling.
-
- The type name handling.
-
-
-
- Gets or sets a predicate used to determine whether the property should be serialized.
-
- A predicate used to determine whether the property should be serialized.
-
-
-
- Gets or sets a predicate used to determine whether the property should be deserialized.
-
- A predicate used to determine whether the property should be deserialized.
-
-
-
- Gets or sets a predicate used to determine whether the property should be serialized.
-
- A predicate used to determine whether the property should be serialized.
-
-
-
- Gets or sets an action used to set whether the property has been deserialized.
-
- An action used to set whether the property has been deserialized.
-
-
-
- Returns a that represents this instance.
-
-
- A that represents this instance.
-
-
-
-
- Gets or sets the converter used when serializing the property's collection items.
-
- The collection's items converter.
-
-
-
- Gets or sets whether this property's collection items are serialized as a reference.
-
- Whether this property's collection items are serialized as a reference.
-
-
-
- Gets or sets the type name handling used when serializing the property's collection items.
-
- The collection's items type name handling.
-
-
-
- Gets or sets the reference loop handling used when serializing the property's collection items.
-
- The collection's items reference loop handling.
-
-
-
- A collection of objects.
-
-
-
-
- Initializes a new instance of the class.
-
- The type.
-
-
-
- When implemented in a derived class, extracts the key from the specified element.
-
- The element from which to extract the key.
- The key for the specified element.
-
-
-
- Adds a object.
-
- The property to add to the collection.
-
-
-
- Gets the closest matching object.
- First attempts to get an exact case match of and then
- a case insensitive match.
-
- Name of the property.
- A matching property if found.
-
-
-
- Gets a property by property name.
-
- The name of the property to get.
- Type property name string comparison.
- A matching property if found.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Lookup and create an instance of the type described by the argument.
-
- The type to create.
- Optional arguments to pass to an initializing constructor of the JsonConverter.
- If null, the default constructor is used.
-
-
-
- A kebab case naming strategy.
-
-
-
-
- Initializes a new instance of the class.
-
-
- A flag indicating whether dictionary keys should be processed.
-
-
- A flag indicating whether explicitly specified property names should be processed,
- e.g. a property name customized with a .
-
-
-
-
- Initializes a new instance of the class.
-
-
- A flag indicating whether dictionary keys should be processed.
-
-
- A flag indicating whether explicitly specified property names should be processed,
- e.g. a property name customized with a .
-
-
- A flag indicating whether extension data names should be processed.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Resolves the specified property name.
-
- The property name to resolve.
- The resolved property name.
-
-
-
- Represents a trace writer that writes to memory. When the trace message limit is
- reached then old trace messages will be removed as new messages are added.
-
-
-
-
- Gets the that will be used to filter the trace messages passed to the writer.
- For example a filter level of will exclude messages and include ,
- and messages.
-
-
- The that will be used to filter the trace messages passed to the writer.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Writes the specified trace level, message and optional exception.
-
- The at which to write this trace.
- The trace message.
- The trace exception. This parameter is optional.
-
-
-
- Returns an enumeration of the most recent trace messages.
-
- An enumeration of the most recent trace messages.
-
-
-
- Returns a of the most recent trace messages.
-
-
- A of the most recent trace messages.
-
-
-
-
- A base class for resolving how property names and dictionary keys are serialized.
-
-
-
-
- A flag indicating whether dictionary keys should be processed.
- Defaults to false.
-
-
-
-
- A flag indicating whether extension data names should be processed.
- Defaults to false.
-
-
-
-
- A flag indicating whether explicitly specified property names,
- e.g. a property name customized with a , should be processed.
- Defaults to false.
-
-
-
-
- Gets the serialized name for a given property name.
-
- The initial property name.
- A flag indicating whether the property has had a name explicitly specified.
- The serialized property name.
-
-
-
- Gets the serialized name for a given extension data name.
-
- The initial extension data name.
- The serialized extension data name.
-
-
-
- Gets the serialized key for a given dictionary key.
-
- The initial dictionary key.
- The serialized dictionary key.
-
-
-
- Resolves the specified property name.
-
- The property name to resolve.
- The resolved property name.
-
-
-
- Hash code calculation
-
-
-
-
-
- Object equality implementation
-
-
-
-
-
-
- Compare to another NamingStrategy
-
-
-
-
-
-
- Represents a method that constructs an object.
-
- The object type to create.
-
-
-
- When applied to a method, specifies that the method is called when an error occurs serializing an object.
-
-
-
-
- Provides methods to get attributes from a , , or .
-
-
-
-
- Initializes a new instance of the class.
-
- The instance to get attributes for. This parameter should be a , , or .
-
-
-
- Returns a collection of all of the attributes, or an empty collection if there are no attributes.
-
- When true, look up the hierarchy chain for the inherited custom attribute.
- A collection of s, or an empty collection.
-
-
-
- Returns a collection of attributes, identified by type, or an empty collection if there are no attributes.
-
- The type of the attributes.
- When true, look up the hierarchy chain for the inherited custom attribute.
- A collection of s, or an empty collection.
-
-
-
- Get and set values for a using reflection.
-
-
-
-
- Initializes a new instance of the class.
-
- The member info.
-
-
-
- Sets the value.
-
- The target to set the value on.
- The value to set on the target.
-
-
-
- Gets the value.
-
- The target to get the value from.
- The value.
-
-
-
- A snake case naming strategy.
-
-
-
-
- Initializes a new instance of the class.
-
-
- A flag indicating whether dictionary keys should be processed.
-
-
- A flag indicating whether explicitly specified property names should be processed,
- e.g. a property name customized with a .
-
-
-
-
- Initializes a new instance of the class.
-
-
- A flag indicating whether dictionary keys should be processed.
-
-
- A flag indicating whether explicitly specified property names should be processed,
- e.g. a property name customized with a .
-
-
- A flag indicating whether extension data names should be processed.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Resolves the specified property name.
-
- The property name to resolve.
- The resolved property name.
-
-
-
- Specifies how strings are escaped when writing JSON text.
-
-
-
-
- Only control characters (e.g. newline) are escaped.
-
-
-
-
- All non-ASCII and control characters (e.g. newline) are escaped.
-
-
-
-
- HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped.
-
-
-
-
- Specifies what messages to output for the class.
-
-
-
-
- Output no tracing and debugging messages.
-
-
-
-
- Output error-handling messages.
-
-
-
-
- Output warnings and error-handling messages.
-
-
-
-
- Output informational messages, warnings, and error-handling messages.
-
-
-
-
- Output all debugging and tracing messages.
-
-
-
-
- Indicates the method that will be used during deserialization for locating and loading assemblies.
-
-
-
-
- In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the LoadWithPartialName method of the class is used to load the assembly.
-
-
-
-
- In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The Load method of the class is used to load the assembly.
-
-
-
-
- Specifies type name handling options for the .
-
-
- should be used with caution when your application deserializes JSON from an external source.
- Incoming types should be validated with a custom
- when deserializing with a value other than .
-
-
-
-
- Do not include the .NET type name when serializing types.
-
-
-
-
- Include the .NET type name when serializing into a JSON object structure.
-
-
-
-
- Include the .NET type name when serializing into a JSON array structure.
-
-
-
-
- Always include the .NET type name when serializing.
-
-
-
-
- Include the .NET type name when the type of the object being serialized is not the same as its declared type.
- Note that this doesn't include the root serialized object by default. To include the root object's type name in JSON
- you must specify a root type object with
- or .
-
-
-
-
- Determines whether the collection is null or empty.
-
- The collection.
-
- true if the collection is null or empty; otherwise, false.
-
-
-
-
- Adds the elements of the specified collection to the specified generic .
-
- The list to add to.
- The collection of elements to add.
-
-
-
- Converts the value to the specified type. If the value is unable to be converted, the
- value is checked whether it assignable to the specified type.
-
- The value to convert.
- The culture to use when converting.
- The type to convert or cast the value to.
-
- The converted type. If conversion was unsuccessful, the initial value
- is returned if assignable to the target type.
-
-
-
-
- Helper method for generating a MetaObject which calls a
- specific method on Dynamic that returns a result
-
-
-
-
- Helper method for generating a MetaObject which calls a
- specific method on Dynamic, but uses one of the arguments for
- the result.
-
-
-
-
- Helper method for generating a MetaObject which calls a
- specific method on Dynamic, but uses one of the arguments for
- the result.
-
-
-
-
- Returns a Restrictions object which includes our current restrictions merged
- with a restriction limiting our type
-
-
-
-
- Helper class for serializing immutable collections.
- Note that this is used by all builds, even those that don't support immutable collections, in case the DLL is GACed
- https://github.com/JamesNK/Newtonsoft.Json/issues/652
-
-
-
-
- List of primitive types which can be widened.
-
-
-
-
- Widening masks for primitive types above.
- Index of the value in this array defines a type we're widening,
- while the bits in mask define types it can be widened to (including itself).
-
- For example, value at index 0 defines a bool type, and it only has bit 0 set,
- i.e. bool values can be assigned only to bool.
-
-
-
-
- Checks if value of primitive type can be
- assigned to parameter of primitive type .
-
- Source primitive type.
- Target primitive type.
- true if source type can be widened to target type, false otherwise.
-
-
-
- Checks if a set of values with given can be used
- to invoke a method with specified .
-
- Method parameters.
- Argument types.
- Try to pack extra arguments into the last parameter when it is marked up with .
- true if method can be called with given arguments, false otherwise.
-
-
-
- Compares two sets of parameters to determine
- which one suits better for given argument types.
-
-
-
-
- Returns a best method overload for given argument .
-
- List of method candidates.
- Argument types.
- Best method overload, or null if none matched.
-
-
-
- Gets the type of the typed collection's items.
-
- The type.
- The type of the typed collection's items.
-
-
-
- Gets the member's underlying type.
-
- The member.
- The underlying type of the member.
-
-
-
- Determines whether the property is an indexed property.
-
- The property.
-
- true if the property is an indexed property; otherwise, false.
-
-
-
-
- Gets the member's value on the object.
-
- The member.
- The target object.
- The member's value on the object.
-
-
-
- Sets the member's value on the target object.
-
- The member.
- The target.
- The value.
-
-
-
- Determines whether the specified MemberInfo can be read.
-
- The MemberInfo to determine whether can be read.
- /// if set to true then allow the member to be gotten non-publicly.
-
- true if the specified MemberInfo can be read; otherwise, false.
-
-
-
-
- Determines whether the specified MemberInfo can be set.
-
- The MemberInfo to determine whether can be set.
- if set to true then allow the member to be set non-publicly.
- if set to true then allow the member to be set if read-only.
-
- true if the specified MemberInfo can be set; otherwise, false.
-
-
-
-
- Builds a string. Unlike this class lets you reuse its internal buffer.
-
-
-
-
- Determines whether the string is all white space. Empty string will return false.
-
- The string to test whether it is all white space.
-
- true if the string is all white space; otherwise, false.
-
-
-
-
- Specifies the state of the .
-
-
-
-
- An exception has been thrown, which has left the in an invalid state.
- You may call the method to put the in the Closed state.
- Any other method calls result in an being thrown.
-
-
-
-
- The method has been called.
-
-
-
-
- An object is being written.
-
-
-
-
- An array is being written.
-
-
-
-
- A constructor is being written.
-
-
-
-
- A property is being written.
-
-
-
-
- A write method has not been called.
-
-
-
-
- Indicates the method that will be used during deserialization for locating and loading assemblies.
-
-
-
-
- In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the method is used to load the assembly.
-
-
-
-
- In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The is used to load the assembly.
-
-
-
- Specifies that an output will not be null even if the corresponding type allows it.
-
-
- Specifies that when a method returns , the parameter will not be null even if the corresponding type allows it.
-
-
- Initializes the attribute with the specified return value condition.
-
- The return value condition. If the method returns this value, the associated parameter will not be null.
-
-
-
- Gets the return value condition.
-
-
- Specifies that an output may be null even if the corresponding type disallows it.
-
-
- Specifies that null is allowed as an input even if the corresponding type disallows it.
-
-
-
- Specifies that the method will not return if the associated Boolean parameter is passed the specified value.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The condition parameter value. Code after the method will be considered unreachable by diagnostics if the argument to
- the associated parameter matches this value.
-
-
-
- Gets the condition parameter value.
-
-
-
diff --git a/packages/Newtonsoft.Json.13.0.3/lib/netstandard2.0/Newtonsoft.Json.dll b/packages/Newtonsoft.Json.13.0.3/lib/netstandard2.0/Newtonsoft.Json.dll
deleted file mode 100644
index 3af21d5..0000000
Binary files a/packages/Newtonsoft.Json.13.0.3/lib/netstandard2.0/Newtonsoft.Json.dll and /dev/null differ
diff --git a/packages/Newtonsoft.Json.13.0.3/lib/netstandard2.0/Newtonsoft.Json.xml b/packages/Newtonsoft.Json.13.0.3/lib/netstandard2.0/Newtonsoft.Json.xml
deleted file mode 100644
index 3357dd6..0000000
--- a/packages/Newtonsoft.Json.13.0.3/lib/netstandard2.0/Newtonsoft.Json.xml
+++ /dev/null
@@ -1,11338 +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 BSON data.
-
-
-
-
- Gets or sets a value indicating whether binary data reading should be compatible with incorrect Json.NET 3.5 written binary.
-
-
- true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether the root object will be read as a JSON array.
-
-
- true if the root object will be read as a JSON array; otherwise, false.
-
-
-
-
- Gets or sets the used when reading values from BSON.
-
- The used when reading values from BSON.
-
-
-
- Initializes a new instance of the class.
-
- The containing the BSON data to read.
-
-
-
- Initializes a new instance of the class.
-
- The containing the BSON data to read.
-
-
-
- Initializes a new instance of the class.
-
- The containing the BSON data to read.
- if set to true the root object will be read as a JSON array.
- The used when reading values from BSON.
-
-
-
- Initializes a new instance of the class.
-
- The containing the BSON data to read.
- if set to true the root object will be read as a JSON array.
- The used when reading values from BSON.
-
-
-
- Reads the next JSON token from the underlying .
-
-
- true if the next token was read successfully; false if there are no more tokens to read.
-
-
-
-
- Changes the reader's state to .
- If is set to true, the underlying is also closed.
-
-
-
-
- Represents a writer that provides a fast, non-cached, forward-only way of generating BSON data.
-
-
-
-
- Gets or sets the used when writing values to BSON.
- When set to no conversion will occur.
-
- The used when writing values to BSON.
-
-
-
- Initializes a new instance of the class.
-
- The to write to.
-
-
-
- Initializes a new instance of the class.
-
- The to write to.
-
-
-
- Flushes whatever is in the buffer to the underlying and also flushes the underlying stream.
-
-
-
-
- Writes the end.
-
- The token.
-
-
-
- Writes a comment /*...*/ containing the specified text.
-
- Text to place inside the comment.
-
-
-
- Writes the start of a constructor with the given name.
-
- The name of the constructor.
-
-
-
- Writes raw JSON.
-
- The raw JSON to write.
-
-
-
- Writes raw JSON where a value is expected and updates the writer's state.
-
- The raw JSON to write.
-
-
-
- Writes the beginning of a JSON array.
-
-
-
-
- Writes the beginning of a JSON object.
-
-
-
-
- Writes the property name of a name/value pair on a JSON object.
-
- The name of the property.
-
-
-
- Closes this writer.
- If is set to true, the underlying is also closed.
- If is set to true, the JSON is auto-completed.
-
-
-
-
- Writes a value.
- An error will raised if the value cannot be written as a single JSON token.
-
- The value to write.
-
-
-
- Writes a null value.
-
-
-
-
- Writes an undefined value.
-
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a [] value.
-
- The [] value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a [] value that represents a BSON object id.
-
- The Object ID value to write.
-
-
-
- Writes a BSON regex.
-
- The regex pattern.
- The regex options.
-
-
-
- Specifies how constructors are used when initializing objects during deserialization by the .
-
-
-
-
- First attempt to use the public default constructor, then fall back to a single parameterized constructor, then to the non-public default constructor.
-
-
-
-
- Json.NET will use a non-public default constructor before falling back to a parameterized constructor.
-
-
-
-
- Converts a binary value to and from a base 64 string value.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts a to and from JSON and BSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Creates a custom object.
-
- The object type to convert.
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Creates an object which will then be populated by the serializer.
-
- Type of the object.
- The created object.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Gets a value indicating whether this can write JSON.
-
-
- true if this can write JSON; otherwise, false.
-
-
-
-
- Converts a to and from JSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified value type.
-
- Type of the value.
-
- true if this instance can convert the specified value type; otherwise, false.
-
-
-
-
- Converts a to and from JSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified value type.
-
- Type of the value.
-
- true if this instance can convert the specified value type; otherwise, false.
-
-
-
-
- Provides a base class for converting a to and from JSON.
-
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts a F# discriminated union type to and from JSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts an Entity Framework to and from JSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts an to and from JSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Gets a value indicating whether this can write JSON.
-
-
- true if this can write JSON; otherwise, false.
-
-
-
-
- Converts a to and from the ISO 8601 date format (e.g. "2008-04-12T12:53Z").
-
-
-
-
- Gets or sets the date time styles used when converting a date to and from JSON.
-
- The date time styles used when converting a date to and from JSON.
-
-
-
- Gets or sets the date time format used when converting a date to and from JSON.
-
- The date time format used when converting a date to and from JSON.
-
-
-
- Gets or sets the culture used when converting a date to and from JSON.
-
- The culture used when converting a date to and from JSON.
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Converts a to and from a JavaScript Date constructor (e.g. new Date(52231943)).
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing property value of the JSON that is being converted.
- The calling serializer.
- The object value.
-
-
-
- Converts a to and from JSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts a to and from JSON and BSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts an to and from its name string value.
-
-
-
-
- Gets or sets a value indicating whether the written enum text should be camel case.
- The default value is false.
-
- true if the written enum text will be camel case; otherwise, false.
-
-
-
- Gets or sets the naming strategy used to resolve how enum text is written.
-
- The naming strategy used to resolve how enum text is written.
-
-
-
- Gets or sets a value indicating whether integer values are allowed when serializing and deserializing.
- The default value is true.
-
- true if integers are allowed when serializing and deserializing; otherwise, false.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- true if the written enum text will be camel case; otherwise, false.
-
-
-
- Initializes a new instance of the class.
-
- The naming strategy used to resolve how enum text is written.
- true if integers are allowed when serializing and deserializing; otherwise, false.
-
-
-
- Initializes a new instance of the class.
-
- The of the used to write enum text.
-
-
-
- Initializes a new instance of the class.
-
- The of the used to write enum text.
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
- When non-null, there must be a constructor defined in the that exactly matches the number,
- order, and type of these parameters.
-
-
-
-
- Initializes a new instance of the class.
-
- The of the used to write enum text.
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
- When non-null, there must be a constructor defined in the that exactly matches the number,
- order, and type of these parameters.
-
- true if integers are allowed when serializing and deserializing; otherwise, false.
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts a to and from Unix epoch time
-
-
-
-
- Gets or sets a value indicating whether the dates before Unix epoch
- should converted to and from JSON.
-
-
- true to allow converting dates before Unix epoch to and from JSON;
- false to throw an exception when a date being converted to or from JSON
- occurred before Unix epoch. The default value is false.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
-
- true to allow converting dates before Unix epoch to and from JSON;
- false to throw an exception when a date being converted to or from JSON
- occurred before Unix epoch. The default value is 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 property value of the JSON that is being converted.
- The calling serializer.
- The object value.
-
-
-
- Converts a to and from a string (e.g. "1.2.3.4").
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing property value of the JSON that is being converted.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Converts XML to and from JSON.
-
-
-
-
- Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produced multiple root elements.
-
- The name of the deserialized root element.
-
-
-
- Gets or sets a value to indicate whether to write the Json.NET array attribute.
- This attribute helps preserve arrays when converting the written XML back to JSON.
-
- true if the array attribute is written to the XML; otherwise, false.
-
-
-
- Gets or sets a value indicating whether to write the root JSON object.
-
- true if the JSON root object is omitted; otherwise, false.
-
-
-
- Gets or sets a value indicating whether to encode special characters when converting JSON to XML.
- If true, special characters like ':', '@', '?', '#' and '$' in JSON property names aren't used to specify
- XML namespaces, attributes or processing directives. Instead special characters are encoded and written
- as part of the XML element name.
-
- true if special characters are encoded; otherwise, false.
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The calling serializer.
- The value.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Checks if the is a namespace attribute.
-
- Attribute name to test.
- The attribute name prefix if it has one, otherwise an empty string.
- true if attribute name is for a namespace attribute, otherwise false.
-
-
-
- Determines whether this instance can convert the specified value type.
-
- Type of the value.
-
- true if this instance can convert the specified value type; otherwise, false.
-
-
-
-
- Specifies how dates are formatted when writing JSON text.
-
-
-
-
- Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z".
-
-
-
-
- Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/".
-
-
-
-
- Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text.
-
-
-
-
- Date formatted strings are not parsed to a date type and are read as strings.
-
-
-
-
- Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to .
-
-
-
-
- Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to .
-
-
-
-
- Specifies how to treat the time value when converting between string and .
-
-
-
-
- Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time.
-
-
-
-
- Treat as a UTC. If the object represents a local time, it is converted to a UTC.
-
-
-
-
- Treat as a local time if a is being converted to a string.
- If a string is being converted to , convert to a local time if a time zone is specified.
-
-
-
-
- Time zone information should be preserved when converting.
-
-
-
-
- The default JSON name table implementation.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets a string containing the same characters as the specified range of characters in the given array.
-
- The character array containing the name to find.
- The zero-based index into the array specifying the first character of the name.
- The number of characters in the name.
- A string containing the same characters as the specified range of characters in the given array.
-
-
-
- Adds the specified string into name table.
-
- The string to add.
- This method is not thread-safe.
- The resolved string.
-
-
-
- Specifies default value handling options for the .
-
-
-
-
-
-
-
-
- Include members where the member value is the same as the member's default value when serializing objects.
- Included members are written to JSON. Has no effect when deserializing.
-
-
-
-
- Ignore members where the member value is the same as the member's default value when serializing objects
- so that it is not written to JSON.
- This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers,
- decimals and floating point numbers; and false for booleans). The default value ignored can be changed by
- placing the on the property.
-
-
-
-
- Members with a default value but no JSON will be set to their default value when deserializing.
-
-
-
-
- Ignore members where the member value is the same as the member's default value when serializing objects
- and set members to their default value when deserializing.
-
-
-
-
- Specifies float format handling options when writing special floating point numbers, e.g. ,
- and with .
-
-
-
-
- Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity".
-
-
-
-
- Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity.
- Note that this will produce non-valid JSON.
-
-
-
-
- Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a of property.
-
-
-
-
- Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
-
-
-
-
- Floating point numbers are parsed to .
-
-
-
-
- Floating point numbers are parsed to .
-
-
-
-
- Specifies formatting options for the .
-
-
-
-
- No special formatting is applied. This is the default.
-
-
-
-
- Causes child objects to be indented according to the and settings.
-
-
-
-
- Provides an interface for using pooled arrays.
-
- The array type content.
-
-
-
- Rent an array from the pool. This array must be returned when it is no longer needed.
-
- The minimum required length of the array. The returned array may be longer.
- The rented array from the pool. This array must be returned when it is no longer needed.
-
-
-
- Return an array to the pool.
-
- The array that is being returned.
-
-
-
- Provides an interface to enable a class to return line and position information.
-
-
-
-
- Gets a value indicating whether the class can return line information.
-
-
- true if and can be provided; otherwise, false.
-
-
-
-
- Gets the current line number.
-
- The current line number or 0 if no line information is available (for example, when returns false).
-
-
-
- Gets the current line position.
-
- The current line position or 0 if no line information is available (for example, when returns false).
-
-
-
- Instructs the how to serialize the collection.
-
-
-
-
- Gets or sets a value indicating whether null items are allowed in the collection.
-
- true if null items are allowed in the collection; otherwise, false.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class with a flag indicating whether the array can contain null items.
-
- A flag indicating whether the array can contain null items.
-
-
-
- Initializes a new instance of the class with the specified container Id.
-
- The container Id.
-
-
-
- Instructs the to use the specified constructor when deserializing that object.
-
-
-
-
- Instructs the how to serialize the object.
-
-
-
-
- Gets or sets the id.
-
- The id.
-
-
-
- Gets or sets the title.
-
- The title.
-
-
-
- Gets or sets the description.
-
- The description.
-
-
-
- Gets or sets the collection's items converter.
-
- The collection's items converter.
-
-
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
- When non-null, there must be a constructor defined in the that exactly matches the number,
- order, and type of these parameters.
-
-
-
- [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })]
-
-
-
-
-
- Gets or sets the of the .
-
- The of the .
-
-
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
- When non-null, there must be a constructor defined in the that exactly matches the number,
- order, and type of these parameters.
-
-
-
- [JsonContainer(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })]
-
-
-
-
-
- Gets or sets a value that indicates whether to preserve object references.
-
-
- true to keep object reference; otherwise, false. The default is false.
-
-
-
-
- Gets or sets a value that indicates whether to preserve collection's items references.
-
-
- true to keep collection's items object references; otherwise, false. The default is false.
-
-
-
-
- Gets or sets the reference loop handling used when serializing the collection's items.
-
- The reference loop handling.
-
-
-
- Gets or sets the type name handling used when serializing the collection's items.
-
- The type name handling.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class with the specified container Id.
-
- The container Id.
-
-
-
- Provides methods for converting between .NET types and JSON types.
-
-
-
-
-
-
-
- Gets or sets a function that creates default .
- Default settings are automatically used by serialization methods on ,
- and and on .
- To serialize without using any default settings create a with
- .
-
-
-
-
- Represents JavaScript's boolean value true as a string. This field is read-only.
-
-
-
-
- Represents JavaScript's boolean value false as a string. This field is read-only.
-
-
-
-
- Represents JavaScript's null as a string. This field is read-only.
-
-
-
-
- Represents JavaScript's undefined as a string. This field is read-only.
-
-
-
-
- Represents JavaScript's positive infinity as a string. This field is read-only.
-
-
-
-
- Represents JavaScript's negative infinity as a string. This field is read-only.
-
-
-
-
- Represents JavaScript's NaN as a string. This field is read-only.
-
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation using the specified.
-
- The value to convert.
- The format the date will be converted to.
- The time zone handling when the date is converted to a string.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation using the specified.
-
- The value to convert.
- The format the date will be converted to.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- The string delimiter character.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- The string delimiter character.
- The string escape handling.
- A JSON string representation of the .
-
-
-
- Converts the to its JSON string representation.
-
- The value to convert.
- A JSON string representation of the .
-
-
-
- Serializes the specified object to a JSON string.
-
- The object to serialize.
- A JSON string representation of the object.
-
-
-
- Serializes the specified object to a JSON string using formatting.
-
- The object to serialize.
- Indicates how the output should be formatted.
-
- A JSON string representation of the object.
-
-
-
-
- Serializes the specified object to a JSON string using a collection of .
-
- The object to serialize.
- A collection of converters used while serializing.
- A JSON string representation of the object.
-
-
-
- Serializes the specified object to a JSON string using formatting and a collection of .
-
- The object to serialize.
- Indicates how the output should be formatted.
- A collection of converters used while serializing.
- A JSON string representation of the object.
-
-
-
- Serializes the specified object to a JSON string using .
-
- The object to serialize.
- The used to serialize the object.
- If this is null, default serialization settings will be used.
-
- A JSON string representation of the object.
-
-
-
-
- Serializes the specified object to a JSON string using a type, formatting and .
-
- The object to serialize.
- The used to serialize the object.
- If this is null, default serialization settings will be used.
-
- The type of the value being serialized.
- This parameter is used when is to write out the type name if the type of the value does not match.
- Specifying the type is optional.
-
-
- A JSON string representation of the object.
-
-
-
-
- Serializes the specified object to a JSON string using formatting and .
-
- The object to serialize.
- Indicates how the output should be formatted.
- The used to serialize the object.
- If this is null, default serialization settings will be used.
-
- A JSON string representation of the object.
-
-
-
-
- Serializes the specified object to a JSON string using a type, formatting and .
-
- The object to serialize.
- Indicates how the output should be formatted.
- The used to serialize the object.
- If this is null, default serialization settings will be used.
-
- The type of the value being serialized.
- This parameter is used when is to write out the type name if the type of the value does not match.
- Specifying the type is optional.
-
-
- A JSON string representation of the object.
-
-
-
-
- Deserializes the JSON to a .NET object.
-
- The JSON to deserialize.
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to a .NET object using .
-
- The JSON to deserialize.
-
- The used to deserialize the object.
- If this is null, default serialization settings will be used.
-
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to the specified .NET type.
-
- The JSON to deserialize.
- The of object being deserialized.
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to the specified .NET type.
-
- The type of the object to deserialize to.
- The JSON to deserialize.
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to the given anonymous type.
-
-
- The anonymous type to deserialize to. This can't be specified
- traditionally and must be inferred from the anonymous type passed
- as a parameter.
-
- The JSON to deserialize.
- The anonymous type object.
- The deserialized anonymous type from the JSON string.
-
-
-
- Deserializes the JSON to the given anonymous type using .
-
-
- The anonymous type to deserialize to. This can't be specified
- traditionally and must be inferred from the anonymous type passed
- as a parameter.
-
- The JSON to deserialize.
- The anonymous type object.
-
- The used to deserialize the object.
- If this is null, default serialization settings will be used.
-
- The deserialized anonymous type from the JSON string.
-
-
-
- Deserializes the JSON to the specified .NET type using a collection of .
-
- The type of the object to deserialize to.
- The JSON to deserialize.
- Converters to use while deserializing.
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to the specified .NET type using .
-
- The type of the object to deserialize to.
- The object to deserialize.
-
- The used to deserialize the object.
- If this is null, default serialization settings will be used.
-
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to the specified .NET type using a collection of .
-
- The JSON to deserialize.
- The type of the object to deserialize.
- Converters to use while deserializing.
- The deserialized object from the JSON string.
-
-
-
- Deserializes the JSON to the specified .NET type using .
-
- The JSON to deserialize.
- The type of the object to deserialize to.
-
- The used to deserialize the object.
- If this is null, default serialization settings will be used.
-
- The deserialized object from the JSON string.
-
-
-
- Populates the object with values from the JSON string.
-
- The JSON to populate values from.
- The target object to populate values onto.
-
-
-
- Populates the object with values from the JSON string using .
-
- The JSON to populate values from.
- The target object to populate values onto.
-
- The used to deserialize the object.
- If this is null, default serialization settings will be used.
-
-
-
-
- Serializes the to a JSON string.
-
- The node to serialize.
- A JSON string of the .
-
-
-
- Serializes the to a JSON string using formatting.
-
- The node to serialize.
- Indicates how the output should be formatted.
- A JSON string of the .
-
-
-
- Serializes the to a JSON string using formatting and omits the root object if is true.
-
- The node to serialize.
- Indicates how the output should be formatted.
- Omits writing the root object.
- A JSON string of the .
-
-
-
- Deserializes the from a JSON string.
-
- The JSON string.
- The deserialized .
-
-
-
- Deserializes the from a JSON string nested in a root element specified by .
-
- The JSON string.
- The name of the root element to append when deserializing.
- The deserialized .
-
-
-
- Deserializes the from a JSON string nested in a root element specified by
- and writes a Json.NET array attribute for collections.
-
- The JSON string.
- The name of the root element to append when deserializing.
-
- A value to indicate whether to write the Json.NET array attribute.
- This attribute helps preserve arrays when converting the written XML back to JSON.
-
- The deserialized .
-
-
-
- Deserializes the from a JSON string nested in a root element specified by ,
- writes a Json.NET array attribute for collections, and encodes special characters.
-
- The JSON string.
- The name of the root element to append when deserializing.
-
- A value to indicate whether to write the Json.NET array attribute.
- This attribute helps preserve arrays when converting the written XML back to JSON.
-
-
- A value to indicate whether to encode special characters when converting JSON to XML.
- If true, special characters like ':', '@', '?', '#' and '$' in JSON property names aren't used to specify
- XML namespaces, attributes or processing directives. Instead special characters are encoded and written
- as part of the XML element name.
-
- The deserialized .
-
-
-
- Serializes the to a JSON string.
-
- The node to convert to JSON.
- A JSON string of the .
-
-
-
- Serializes the to a JSON string using formatting.
-
- The node to convert to JSON.
- Indicates how the output should be formatted.
- A JSON string of the .
-
-
-
- Serializes the to a JSON string using formatting and omits the root object if is true.
-
- The node to serialize.
- Indicates how the output should be formatted.
- Omits writing the root object.
- A JSON string of the .
-
-
-
- Deserializes the from a JSON string.
-
- The JSON string.
- The deserialized .
-
-
-
- Deserializes the from a JSON string nested in a root element specified by .
-
- The JSON string.
- The name of the root element to append when deserializing.
- The deserialized .
-
-
-
- Deserializes the from a JSON string nested in a root element specified by
- and writes a Json.NET array attribute for collections.
-
- The JSON string.
- The name of the root element to append when deserializing.
-
- A value to indicate whether to write the Json.NET array attribute.
- This attribute helps preserve arrays when converting the written XML back to JSON.
-
- The deserialized .
-
-
-
- Deserializes the from a JSON string nested in a root element specified by ,
- writes a Json.NET array attribute for collections, and encodes special characters.
-
- The JSON string.
- The name of the root element to append when deserializing.
-
- A value to indicate whether to write the Json.NET array attribute.
- This attribute helps preserve arrays when converting the written XML back to JSON.
-
-
- A value to indicate whether to encode special characters when converting JSON to XML.
- If true, special characters like ':', '@', '?', '#' and '$' in JSON property names aren't used to specify
- XML namespaces, attributes or processing directives. Instead special characters are encoded and written
- as part of the XML element name.
-
- The deserialized .
-
-
-
- Converts an object to and from JSON.
-
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Gets a value indicating whether this can read JSON.
-
- true if this can read JSON; otherwise, false.
-
-
-
- Gets a value indicating whether this can write JSON.
-
- true if this can write JSON; otherwise, false.
-
-
-
- Converts an object to and from JSON.
-
- The object type to convert.
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Writes the JSON representation of the object.
-
- The to write to.
- The value.
- The calling serializer.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read.
- The calling serializer.
- The object value.
-
-
-
- Reads the JSON representation of the object.
-
- The to read from.
- Type of the object.
- The existing value of object being read. If there is no existing value then null will be used.
- The existing value has a value.
- The calling serializer.
- The object value.
-
-
-
- Determines whether this instance can convert the specified object type.
-
- Type of the object.
-
- true if this instance can convert the specified object type; otherwise, false.
-
-
-
-
- Instructs the to use the specified when serializing the member or class.
-
-
-
-
- Gets the of the .
-
- The of the .
-
-
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
-
-
-
-
- Initializes a new instance of the class.
-
- Type of the .
-
-
-
- Initializes a new instance of the class.
-
- Type of the .
- Parameter list to use when constructing the . Can be null.
-
-
-
- Represents a collection of .
-
-
-
-
- Instructs the how to serialize the collection.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class with the specified container Id.
-
- The container Id.
-
-
-
- The exception thrown when an error occurs during JSON serialization or deserialization.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- with a specified error message.
-
- The error message that explains the reason for the exception.
-
-
-
- Initializes a new instance of the class
- with a specified error message and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Initializes a new instance of the class.
-
- The that holds the serialized object data about the exception being thrown.
- The that contains contextual information about the source or destination.
- The parameter is null.
- The class name is null or is zero (0).
-
-
-
- Instructs the to deserialize properties with no matching class member into the specified collection
- and write values during serialization.
-
-
-
-
- Gets or sets a value that indicates whether to write extension data when serializing the object.
-
-
- true to write extension data when serializing the object; otherwise, false. The default is true.
-
-
-
-
- Gets or sets a value that indicates whether to read extension data when deserializing the object.
-
-
- true to read extension data when deserializing the object; otherwise, false. The default is true.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Instructs the not to serialize the public field or public read/write property value.
-
-
-
-
- Base class for a table of atomized string objects.
-
-
-
-
- Gets a string containing the same characters as the specified range of characters in the given array.
-
- The character array containing the name to find.
- The zero-based index into the array specifying the first character of the name.
- The number of characters in the name.
- A string containing the same characters as the specified range of characters in the given array.
-
-
-
- Instructs the how to serialize the object.
-
-
-
-
- Gets or sets the member serialization.
-
- The member serialization.
-
-
-
- Gets or sets the missing member handling used when deserializing this object.
-
- The missing member handling.
-
-
-
- Gets or sets how the object's properties with null values are handled during serialization and deserialization.
-
- How the object's properties with null values are handled during serialization and deserialization.
-
-
-
- Gets or sets a value that indicates whether the object's properties are required.
-
-
- A value indicating whether the object's properties are required.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class with the specified member serialization.
-
- The member serialization.
-
-
-
- Initializes a new instance of the class with the specified container Id.
-
- The container Id.
-
-
-
- Instructs the to always serialize the member with the specified name.
-
-
-
-
- Gets or sets the type used when serializing the property's collection items.
-
- The collection's items type.
-
-
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
- When non-null, there must be a constructor defined in the that exactly matches the number,
- order, and type of these parameters.
-
-
-
- [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })]
-
-
-
-
-
- Gets or sets the of the .
-
- The of the .
-
-
-
- The parameter list to use when constructing the described by .
- If null, the default constructor is used.
- When non-null, there must be a constructor defined in the that exactly matches the number,
- order, and type of these parameters.
-
-
-
- [JsonProperty(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })]
-
-
-
-
-
- Gets or sets the null value handling used when serializing this property.
-
- The null value handling.
-
-
-
- Gets or sets the default value handling used when serializing this property.
-
- The default value handling.
-
-
-
- Gets or sets the reference loop handling used when serializing this property.
-
- The reference loop handling.
-
-
-
- Gets or sets the object creation handling used when deserializing this property.
-
- The object creation handling.
-
-
-
- Gets or sets the type name handling used when serializing this property.
-
- The type name handling.
-
-
-
- Gets or sets whether this property's value is serialized as a reference.
-
- Whether this property's value is serialized as a reference.
-
-
-
- Gets or sets the order of serialization of a member.
-
- The numeric order of serialization.
-
-
-
- Gets or sets a value indicating whether this property is required.
-
-
- A value indicating whether this property is required.
-
-
-
-
- Gets or sets the name of the property.
-
- The name of the property.
-
-
-
- Gets or sets the reference loop handling used when serializing the property's collection items.
-
- The collection's items reference loop handling.
-
-
-
- Gets or sets the type name handling used when serializing the property's collection items.
-
- The collection's items type name handling.
-
-
-
- Gets or sets whether this property's collection items are serialized as a reference.
-
- Whether this property's collection items are serialized as a reference.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class with the specified name.
-
- Name of the property.
-
-
-
- Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data.
-
-
-
-
- Asynchronously reads the next JSON token from the source.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns true if the next token was read successfully; false if there are no more tokens to read.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously skips the children of the current token.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously reads the next JSON token from the source as a of .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the of . This result will be null at the end of an array.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously reads the next JSON token from the source as a [].
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the []. This result will be null at the end of an array.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously reads the next JSON token from the source as a of .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the of . This result will be null at the end of an array.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously reads the next JSON token from the source as a of .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the of . This result will be null at the end of an array.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously reads the next JSON token from the source as a of .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the of . This result will be null at the end of an array.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously reads the next JSON token from the source as a of .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the of . This result will be null at the end of an array.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously reads the next JSON token from the source as a of .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the of . This result will be null at the end of an array.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously reads the next JSON token from the source as a .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the . This result will be null at the end of an array.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Specifies the state of the reader.
-
-
-
-
- A read method has not been called.
-
-
-
-
- The end of the file has been reached successfully.
-
-
-
-
- Reader is at a property.
-
-
-
-
- Reader is at the start of an object.
-
-
-
-
- Reader is in an object.
-
-
-
-
- Reader is at the start of an array.
-
-
-
-
- Reader is in an array.
-
-
-
-
- The method has been called.
-
-
-
-
- Reader has just read a value.
-
-
-
-
- Reader is at the start of a constructor.
-
-
-
-
- Reader is in a constructor.
-
-
-
-
- An error occurred that prevents the read operation from continuing.
-
-
-
-
- The end of the file has been reached successfully.
-
-
-
-
- Gets the current reader state.
-
- The current reader state.
-
-
-
- Gets or sets a value indicating whether the source should be closed when this reader is closed.
-
-
- true to close the source when this reader is closed; otherwise false. The default is true.
-
-
-
-
- Gets or sets a value indicating whether multiple pieces of JSON content can
- be read from a continuous stream without erroring.
-
-
- true to support reading multiple pieces of JSON content; otherwise false.
- The default is false.
-
-
-
-
- Gets the quotation mark character used to enclose the value of a string.
-
-
-
-
- Gets or sets how time zones are handled when reading JSON.
-
-
-
-
- Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON.
-
-
-
-
- Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
-
-
-
-
- Gets or sets how custom date formatted strings are parsed when reading JSON.
-
-
-
-
- Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a .
- A null value means there is no maximum.
- The default value is 64.
-
-
-
-
- Gets the type of the current JSON token.
-
-
-
-
- Gets the text value of the current JSON token.
-
-
-
-
- Gets the .NET type for the current JSON token.
-
-
-
-
- Gets the depth of the current token in the JSON document.
-
- The depth of the current token in the JSON document.
-
-
-
- Gets the path of the current JSON token.
-
-
-
-
- Gets or sets the culture used when reading JSON. Defaults to .
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Reads the next JSON token from the source.
-
- true if the next token was read successfully; false if there are no more tokens to read.
-
-
-
- Reads the next JSON token from the source as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a .
-
- A . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a [].
-
- A [] or null if the next JSON token is null. This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the source as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Skips the children of the current token.
-
-
-
-
- Sets the current token.
-
- The new token.
-
-
-
- Sets the current token and value.
-
- The new token.
- The value.
-
-
-
- Sets the current token and value.
-
- The new token.
- The value.
- A flag indicating whether the position index inside an array should be updated.
-
-
-
- Sets the state based on current token type.
-
-
-
-
- Releases unmanaged and - optionally - managed resources.
-
- true to release both managed and unmanaged resources; false to release only unmanaged resources.
-
-
-
- Changes the reader's state to .
- If is set to true, the source is also closed.
-
-
-
-
- The exception thrown when an error occurs while reading JSON text.
-
-
-
-
- Gets the line number indicating where the error occurred.
-
- The line number indicating where the error occurred.
-
-
-
- Gets the line position indicating where the error occurred.
-
- The line position indicating where the error occurred.
-
-
-
- Gets the path to the JSON where the error occurred.
-
- The path to the JSON where the error occurred.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- with a specified error message.
-
- The error message that explains the reason for the exception.
-
-
-
- Initializes a new instance of the class
- with a specified error message and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Initializes a new instance of the class.
-
- The that holds the serialized object data about the exception being thrown.
- The that contains contextual information about the source or destination.
- The parameter is null.
- The class name is null or is zero (0).
-
-
-
- Initializes a new instance of the class
- with a specified error message, JSON path, line number, line position, and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The path to the JSON where the error occurred.
- The line number indicating where the error occurred.
- The line position indicating where the error occurred.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Instructs the to always serialize the member, and to require that the member has a value.
-
-
-
-
- The exception thrown when an error occurs during JSON serialization or deserialization.
-
-
-
-
- Gets the line number indicating where the error occurred.
-
- The line number indicating where the error occurred.
-
-
-
- Gets the line position indicating where the error occurred.
-
- The line position indicating where the error occurred.
-
-
-
- Gets the path to the JSON where the error occurred.
-
- The path to the JSON where the error occurred.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- with a specified error message.
-
- The error message that explains the reason for the exception.
-
-
-
- Initializes a new instance of the class
- with a specified error message and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Initializes a new instance of the class.
-
- The that holds the serialized object data about the exception being thrown.
- The that contains contextual information about the source or destination.
- The parameter is null.
- The class name is null or is zero (0).
-
-
-
- Initializes a new instance of the class
- with a specified error message, JSON path, line number, line position, and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The path to the JSON where the error occurred.
- The line number indicating where the error occurred.
- The line position indicating where the error occurred.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Serializes and deserializes objects into and from the JSON format.
- The enables you to control how objects are encoded into JSON.
-
-
-
-
- Occurs when the errors during serialization and deserialization.
-
-
-
-
- Gets or sets the used by the serializer when resolving references.
-
-
-
-
- Gets or sets the used by the serializer when resolving type names.
-
-
-
-
- Gets or sets the used by the serializer when resolving type names.
-
-
-
-
- Gets or sets the used by the serializer when writing trace messages.
-
- The trace writer.
-
-
-
- Gets or sets the equality comparer used by the serializer when comparing references.
-
- The equality comparer.
-
-
-
- Gets or sets how type name writing and reading is handled by the serializer.
- The default value is .
-
-
- should be used with caution when your application deserializes JSON from an external source.
- Incoming types should be validated with a custom
- when deserializing with a value other than .
-
-
-
-
- Gets or sets how a type name assembly is written and resolved by the serializer.
- The default value is .
-
- The type name assembly format.
-
-
-
- Gets or sets how a type name assembly is written and resolved by the serializer.
- The default value is .
-
- The type name assembly format.
-
-
-
- Gets or sets how object references are preserved by the serializer.
- The default value is .
-
-
-
-
- Gets or sets how reference loops (e.g. a class referencing itself) is handled.
- The default value is .
-
-
-
-
- Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization.
- The default value is .
-
-
-
-
- Gets or sets how null values are handled during serialization and deserialization.
- The default value is .
-
-
-
-
- Gets or sets how default values are handled during serialization and deserialization.
- The default value is .
-
-
-
-
- Gets or sets how objects are created during deserialization.
- The default value is .
-
- The object creation handling.
-
-
-
- Gets or sets how constructors are used during deserialization.
- The default value is .
-
- The constructor handling.
-
-
-
- Gets or sets how metadata properties are used during deserialization.
- The default value is .
-
- The metadata properties handling.
-
-
-
- Gets a collection that will be used during serialization.
-
- Collection that will be used during serialization.
-
-
-
- Gets or sets the contract resolver used by the serializer when
- serializing .NET objects to JSON and vice versa.
-
-
-
-
- Gets or sets the used by the serializer when invoking serialization callback methods.
-
- The context.
-
-
-
- Indicates how JSON text output is formatted.
- The default value is .
-
-
-
-
- Gets or sets how dates are written to JSON text.
- The default value is .
-
-
-
-
- Gets or sets how time zones are handled during serialization and deserialization.
- The default value is .
-
-
-
-
- Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON.
- The default value is .
-
-
-
-
- Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
- The default value is .
-
-
-
-
- Gets or sets how special floating point numbers, e.g. ,
- and ,
- are written as JSON text.
- The default value is .
-
-
-
-
- Gets or sets how strings are escaped when writing JSON text.
- The default value is .
-
-
-
-
- Gets or sets how and values are formatted when writing JSON text,
- and the expected date format when reading JSON text.
- The default value is "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK".
-
-
-
-
- Gets or sets the culture used when reading JSON.
- The default value is .
-
-
-
-
- Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a .
- A null value means there is no maximum.
- The default value is 64.
-
-
-
-
- Gets a value indicating whether there will be a check for additional JSON content after deserializing an object.
- The default value is false.
-
-
- true if there will be a check for additional JSON content after deserializing an object; otherwise, false.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Creates a new instance.
- The will not use default settings
- from .
-
-
- A new instance.
- The will not use default settings
- from .
-
-
-
-
- Creates a new instance using the specified .
- The will not use default settings
- from .
-
- The settings to be applied to the .
-
- A new instance using the specified .
- The will not use default settings
- from .
-
-
-
-
- Creates a new instance.
- The will use default settings
- from .
-
-
- A new instance.
- The will use default settings
- from .
-
-
-
-
- Creates a new instance using the specified .
- The will use default settings
- from as well as the specified .
-
- The settings to be applied to the .
-
- A new instance using the specified .
- The will use default settings
- from as well as the specified .
-
-
-
-
- Populates the JSON values onto the target object.
-
- The that contains the JSON structure to read values from.
- The target object to populate values onto.
-
-
-
- Populates the JSON values onto the target object.
-
- The that contains the JSON structure to read values from.
- The target object to populate values onto.
-
-
-
- Deserializes the JSON structure contained by the specified .
-
- The that contains the JSON structure to deserialize.
- The being deserialized.
-
-
-
- Deserializes the JSON structure contained by the specified
- into an instance of the specified type.
-
- The containing the object.
- The of object being deserialized.
- The instance of being deserialized.
-
-
-
- Deserializes the JSON structure contained by the specified
- into an instance of the specified type.
-
- The containing the object.
- The type of the object to deserialize.
- The instance of being deserialized.
-
-
-
- Deserializes the JSON structure contained by the specified
- into an instance of the specified type.
-
- The containing the object.
- The of object being deserialized.
- The instance of being deserialized.
-
-
-
- Serializes the specified and writes the JSON structure
- using the specified .
-
- The used to write the JSON structure.
- The to serialize.
-
-
-
- Serializes the specified and writes the JSON structure
- using the specified .
-
- The used to write the JSON structure.
- The to serialize.
-
- The type of the value being serialized.
- This parameter is used when is to write out the type name if the type of the value does not match.
- Specifying the type is optional.
-
-
-
-
- Serializes the specified and writes the JSON structure
- using the specified .
-
- The used to write the JSON structure.
- The to serialize.
-
- The type of the value being serialized.
- This parameter is used when is Auto to write out the type name if the type of the value does not match.
- Specifying the type is optional.
-
-
-
-
- Serializes the specified and writes the JSON structure
- using the specified .
-
- The used to write the JSON structure.
- The to serialize.
-
-
-
- Specifies the settings on a object.
-
-
-
-
- Gets or sets how reference loops (e.g. a class referencing itself) are handled.
- The default value is .
-
- Reference loop handling.
-
-
-
- Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization.
- The default value is .
-
- Missing member handling.
-
-
-
- Gets or sets how objects are created during deserialization.
- The default value is .
-
- The object creation handling.
-
-
-
- Gets or sets how null values are handled during serialization and deserialization.
- The default value is .
-
- Null value handling.
-
-
-
- Gets or sets how default values are handled during serialization and deserialization.
- The default value is .
-
- The default value handling.
-
-
-
- Gets or sets a collection that will be used during serialization.
-
- The converters.
-
-
-
- Gets or sets how object references are preserved by the serializer.
- The default value is .
-
- The preserve references handling.
-
-
-
- Gets or sets how type name writing and reading is handled by the serializer.
- The default value is .
-
-
- should be used with caution when your application deserializes JSON from an external source.
- Incoming types should be validated with a custom
- when deserializing with a value other than .
-
- The type name handling.
-
-
-
- Gets or sets how metadata properties are used during deserialization.
- The default value is .
-
- The metadata properties handling.
-
-
-
- Gets or sets how a type name assembly is written and resolved by the serializer.
- The default value is .
-
- The type name assembly format.
-
-
-
- Gets or sets how a type name assembly is written and resolved by the serializer.
- The default value is .
-
- The type name assembly format.
-
-
-
- Gets or sets how constructors are used during deserialization.
- The default value is .
-
- The constructor handling.
-
-
-
- Gets or sets the contract resolver used by the serializer when
- serializing .NET objects to JSON and vice versa.
-
- The contract resolver.
-
-
-
- Gets or sets the equality comparer used by the serializer when comparing references.
-
- The equality comparer.
-
-
-
- Gets or sets the used by the serializer when resolving references.
-
- The reference resolver.
-
-
-
- Gets or sets a function that creates the used by the serializer when resolving references.
-
- A function that creates the used by the serializer when resolving references.
-
-
-
- Gets or sets the used by the serializer when writing trace messages.
-
- The trace writer.
-
-
-
- Gets or sets the used by the serializer when resolving type names.
-
- The binder.
-
-
-
- Gets or sets the used by the serializer when resolving type names.
-
- The binder.
-
-
-
- Gets or sets the error handler called during serialization and deserialization.
-
- The error handler called during serialization and deserialization.
-
-
-
- Gets or sets the used by the serializer when invoking serialization callback methods.
-
- The context.
-
-
-
- Gets or sets how and values are formatted when writing JSON text,
- and the expected date format when reading JSON text.
- The default value is "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK".
-
-
-
-
- Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a .
- A null value means there is no maximum.
- The default value is 64.
-
-
-
-
- Indicates how JSON text output is formatted.
- The default value is .
-
-
-
-
- Gets or sets how dates are written to JSON text.
- The default value is .
-
-
-
-
- Gets or sets how time zones are handled during serialization and deserialization.
- The default value is .
-
-
-
-
- Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON.
- The default value is .
-
-
-
-
- Gets or sets how special floating point numbers, e.g. ,
- and ,
- are written as JSON.
- The default value is .
-
-
-
-
- Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
- The default value is .
-
-
-
-
- Gets or sets how strings are escaped when writing JSON text.
- The default value is .
-
-
-
-
- Gets or sets the culture used when reading JSON.
- The default value is .
-
-
-
-
- Gets a value indicating whether there will be a check for additional content after deserializing an object.
- The default value is false.
-
-
- true if there will be a check for additional content after deserializing an object; otherwise, false.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- using values copied from the passed in .
-
-
-
-
- Represents a reader that provides fast, non-cached, forward-only access to JSON text data.
-
-
-
-
- Asynchronously reads the next JSON token from the source.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns true if the next token was read successfully; false if there are no more tokens to read.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously reads the next JSON token from the source as a of .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the of . This result will be null at the end of an array.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously reads the next JSON token from the source as a [].
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the []. This result will be null at the end of an array.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously reads the next JSON token from the source as a of .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the of . This result will be null at the end of an array.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously reads the next JSON token from the source as a of .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the of . This result will be null at the end of an array.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously reads the next JSON token from the source as a of .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the of . This result will be null at the end of an array.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously reads the next JSON token from the source as a of .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the of . This result will be null at the end of an array.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously reads the next JSON token from the source as a of .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the of . This result will be null at the end of an array.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously reads the next JSON token from the source as a .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous read. The
- property returns the . This result will be null at the end of an array.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Initializes a new instance of the class with the specified .
-
- The containing the JSON data to read.
-
-
-
- Gets or sets the reader's property name table.
-
-
-
-
- Gets or sets the reader's character buffer pool.
-
-
-
-
- Reads the next JSON token from the underlying .
-
-
- true if the next token was read successfully; false if there are no more tokens to read.
-
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a .
-
- A . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a [].
-
- A [] or null if the next JSON token is null. This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Changes the reader's state to .
- If is set to true, the underlying is also closed.
-
-
-
-
- Gets a value indicating whether the class can return line information.
-
-
- true if and can be provided; otherwise, false.
-
-
-
-
- Gets the current line number.
-
-
- The current line number or 0 if no line information is available (for example, returns false).
-
-
-
-
- Gets the current line position.
-
-
- The current line position or 0 if no line information is available (for example, returns false).
-
-
-
-
- Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
-
-
-
-
- Asynchronously flushes whatever is in the buffer to the destination and also flushes the destination.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes the JSON value delimiter.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes the specified end token.
-
- The end token to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously closes this writer.
- If is set to true, the destination is also closed.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes the end of the current JSON object or array.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes indent characters.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes an indent space.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes raw JSON without changing the writer's state.
-
- The raw JSON to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a null value.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes the property name of a name/value pair of a JSON object.
-
- The name of the property.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes the property name of a name/value pair of a JSON object.
-
- The name of the property.
- A flag to indicate whether the text should be escaped when it is written as a JSON property name.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes the beginning of a JSON array.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes the beginning of a JSON object.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes the start of a constructor with the given name.
-
- The name of the constructor.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes an undefined value.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes the given white space.
-
- The string of white space characters.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a [] value.
-
- The [] value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes a comment /*...*/ containing the specified text.
-
- Text to place inside the comment.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes the end of an array.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes the end of a constructor.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes the end of a JSON object.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Asynchronously writes raw JSON where a value is expected and updates the writer's state.
-
- The raw JSON to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- Derived classes must override this method to get asynchronous behaviour. Otherwise it will
- execute synchronously, returning an already-completed task.
-
-
-
- Gets or sets the writer's character array pool.
-
-
-
-
- Gets or sets how many s to write for each level in the hierarchy when is set to .
-
-
-
-
- Gets or sets which character to use to quote attribute values.
-
-
-
-
- Gets or sets which character to use for indenting when is set to .
-
-
-
-
- Gets or sets a value indicating whether object names will be surrounded with quotes.
-
-
-
-
- Initializes a new instance of the class using the specified .
-
- The to write to.
-
-
-
- Flushes whatever is in the buffer to the underlying and also flushes the underlying .
-
-
-
-
- Closes this writer.
- If is set to true, the underlying is also closed.
- If is set to true, the JSON is auto-completed.
-
-
-
-
- Writes the beginning of a JSON object.
-
-
-
-
- Writes the beginning of a JSON array.
-
-
-
-
- Writes the start of a constructor with the given name.
-
- The name of the constructor.
-
-
-
- Writes the specified end token.
-
- The end token to write.
-
-
-
- Writes the property name of a name/value pair on a JSON object.
-
- The name of the property.
-
-
-
- Writes the property name of a name/value pair on a JSON object.
-
- The name of the property.
- A flag to indicate whether the text should be escaped when it is written as a JSON property name.
-
-
-
- Writes indent characters.
-
-
-
-
- Writes the JSON value delimiter.
-
-
-
-
- Writes an indent space.
-
-
-
-
- Writes a value.
- An error will raised if the value cannot be written as a single JSON token.
-
- The value to write.
-
-
-
- Writes a null value.
-
-
-
-
- Writes an undefined value.
-
-
-
-
- Writes raw JSON.
-
- The raw JSON to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a [] value.
-
- The [] value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a comment /*...*/ containing the specified text.
-
- Text to place inside the comment.
-
-
-
- Writes the given white space.
-
- The string of white space characters.
-
-
-
- Specifies the type of JSON token.
-
-
-
-
- This is returned by the if a read method has not been called.
-
-
-
-
- An object start token.
-
-
-
-
- An array start token.
-
-
-
-
- A constructor start token.
-
-
-
-
- An object property name.
-
-
-
-
- A comment.
-
-
-
-
- Raw JSON.
-
-
-
-
- An integer.
-
-
-
-
- A float.
-
-
-
-
- A string.
-
-
-
-
- A boolean.
-
-
-
-
- A null token.
-
-
-
-
- An undefined token.
-
-
-
-
- An object end token.
-
-
-
-
- An array end token.
-
-
-
-
- A constructor end token.
-
-
-
-
- A Date.
-
-
-
-
- Byte data.
-
-
-
-
-
- Represents a reader that provides validation.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Sets an event handler for receiving schema validation errors.
-
-
-
-
- Gets the text value of the current JSON token.
-
-
-
-
-
- Gets the depth of the current token in the JSON document.
-
- The depth of the current token in the JSON document.
-
-
-
- Gets the path of the current JSON token.
-
-
-
-
- Gets the quotation mark character used to enclose the value of a string.
-
-
-
-
-
- Gets the type of the current JSON token.
-
-
-
-
-
- Gets the .NET type for the current JSON token.
-
-
-
-
-
- Initializes a new instance of the class that
- validates the content returned from the given .
-
- The to read from while validating.
-
-
-
- Gets or sets the schema.
-
- The schema.
-
-
-
- Gets the used to construct this .
-
- The specified in the constructor.
-
-
-
- Changes the reader's state to .
- If is set to true, the underlying is also closed.
-
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of .
-
-
-
- Reads the next JSON token from the underlying as a [].
-
-
- A [] or null if the next JSON token is null.
-
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of .
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of .
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of .
-
-
-
- Reads the next JSON token from the underlying as a .
-
- A . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of . This method will return null at the end of an array.
-
-
-
- Reads the next JSON token from the underlying as a of .
-
- A of .
-
-
-
- Reads the next JSON token from the underlying .
-
-
- true if the next token was read successfully; false if there are no more tokens to read.
-
-
-
-
- Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
-
-
-
-
- Asynchronously closes this writer.
- If is set to true, the destination is also closed.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously flushes whatever is in the buffer to the destination and also flushes the destination.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the specified end token.
-
- The end token to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes indent characters.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the JSON value delimiter.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes an indent space.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes raw JSON without changing the writer's state.
-
- The raw JSON to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the end of the current JSON object or array.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the end of an array.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the end of a constructor.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the end of a JSON object.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a null value.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the property name of a name/value pair of a JSON object.
-
- The name of the property.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the property name of a name/value pair of a JSON object.
-
- The name of the property.
- A flag to indicate whether the text should be escaped when it is written as a JSON property name.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the beginning of a JSON array.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a comment /*...*/ containing the specified text.
-
- Text to place inside the comment.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes raw JSON where a value is expected and updates the writer's state.
-
- The raw JSON to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the start of a constructor with the given name.
-
- The name of the constructor.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the beginning of a JSON object.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the current token.
-
- The to read the token from.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the current token.
-
- The to read the token from.
- A flag indicating whether the current token's children should be written.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the token and its value.
-
- The to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the token and its value.
-
- The to write.
-
- The value to write.
- A value is only required for tokens that have an associated value, e.g. the property name for .
- null can be passed to the method for tokens that don't have a value, e.g. .
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a [] value.
-
- The [] value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a value.
-
- The value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes a of value.
-
- The of value to write.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes an undefined value.
-
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously writes the given white space.
-
- The string of white space characters.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Asynchronously ets the state of the .
-
- The being written.
- The value being written.
- The token to monitor for cancellation requests. The default value is .
- A that represents the asynchronous operation.
- The default behaviour is to execute synchronously, returning an already-completed task. Derived
- classes can override this behaviour for true asynchronicity.
-
-
-
- Gets or sets a value indicating whether the destination should be closed when this writer is closed.
-
-
- true to close the destination when this writer is closed; otherwise false. The default is true.
-
-
-
-
- Gets or sets a value indicating whether the JSON should be auto-completed when this writer is closed.
-
-
- true to auto-complete the JSON when this writer is closed; otherwise false. The default is true.
-
-
-
-
- Gets the top.
-
- The top.
-
-
-
- Gets the state of the writer.
-
-
-
-
- Gets the path of the writer.
-
-
-
-
- Gets or sets a value indicating how JSON text output should be formatted.
-
-
-
-
- Gets or sets how dates are written to JSON text.
-
-
-
-
- Gets or sets how time zones are handled when writing JSON text.
-
-
-
-
- Gets or sets how strings are escaped when writing JSON text.
-
-
-
-
- Gets or sets how special floating point numbers, e.g. ,
- and ,
- are written to JSON text.
-
-
-
-
- Gets or sets how and values are formatted when writing JSON text.
-
-
-
-
- Gets or sets the culture used when writing JSON. Defaults to .
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Flushes whatever is in the buffer to the destination and also flushes the destination.
-
-
-
-
- Closes this writer.
- If is set to true, the destination is also closed.
- If is set to true, the JSON is auto-completed.
-
-
-
-
- Writes the beginning of a JSON object.
-
-
-
-
- Writes the end of a JSON object.
-
-
-
-
- Writes the beginning of a JSON array.
-
-
-
-
- Writes the end of an array.
-
-
-
-
- Writes the start of a constructor with the given name.
-
- The name of the constructor.
-
-
-
- Writes the end constructor.
-
-
-
-
- Writes the property name of a name/value pair of a JSON object.
-
- The name of the property.
-
-
-
- Writes the property name of a name/value pair of a JSON object.
-
- The name of the property.
- A flag to indicate whether the text should be escaped when it is written as a JSON property name.
-
-
-
- Writes the end of the current JSON object or array.
-
-
-
-
- Writes the current token and its children.
-
- The to read the token from.
-
-
-
- Writes the current token.
-
- The to read the token from.
- A flag indicating whether the current token's children should be written.
-
-
-
- Writes the token and its value.
-
- The to write.
-
- The value to write.
- A value is only required for tokens that have an associated value, e.g. the property name for .
- null can be passed to the method for tokens that don't have a value, e.g. .
-
-
-
-
- Writes the token.
-
- The to write.
-
-
-
- Writes the specified end token.
-
- The end token to write.
-
-
-
- Writes indent characters.
-
-
-
-
- Writes the JSON value delimiter.
-
-
-
-
- Writes an indent space.
-
-
-
-
- Writes a null value.
-
-
-
-
- Writes an undefined value.
-
-
-
-
- Writes raw JSON without changing the writer's state.
-
- The raw JSON to write.
-
-
-
- Writes raw JSON where a value is expected and updates the writer's state.
-
- The raw JSON to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a of value.
-
- The of value to write.
-
-
-
- Writes a [] value.
-
- The [] value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
- An error will raised if the value cannot be written as a single JSON token.
-
- The value to write.
-
-
-
- Writes a comment /*...*/ containing the specified text.
-
- Text to place inside the comment.
-
-
-
- Writes the given white space.
-
- The string of white space characters.
-
-
-
- Releases unmanaged and - optionally - managed resources.
-
- true to release both managed and unmanaged resources; false to release only unmanaged resources.
-
-
-
- Sets the state of the .
-
- The being written.
- The value being written.
-
-
-
- The exception thrown when an error occurs while writing JSON text.
-
-
-
-
- Gets the path to the JSON where the error occurred.
-
- The path to the JSON where the error occurred.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- with a specified error message.
-
- The error message that explains the reason for the exception.
-
-
-
- Initializes a new instance of the class
- with a specified error message and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Initializes a new instance of the class.
-
- The that holds the serialized object data about the exception being thrown.
- The that contains contextual information about the source or destination.
- The parameter is null.
- The class name is null or is zero (0).
-
-
-
- Initializes a new instance of the class
- with a specified error message, JSON path and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The path to the JSON where the error occurred.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Specifies how JSON comments are handled when loading JSON.
-
-
-
-
- Ignore comments.
-
-
-
-
- Load comments as a with type .
-
-
-
-
- Specifies how duplicate property names are handled when loading JSON.
-
-
-
-
- Replace the existing value when there is a duplicate property. The value of the last property in the JSON object will be used.
-
-
-
-
- Ignore the new value when there is a duplicate property. The value of the first property in the JSON object will be used.
-
-
-
-
- Throw a when a duplicate property is encountered.
-
-
-
-
- Contains the LINQ to JSON extension methods.
-
-
-
-
- Returns a collection of tokens that contains the ancestors of every token in the source collection.
-
- The type of the objects in source, constrained to .
- An of that contains the source collection.
- An of that contains the ancestors of every token in the source collection.
-
-
-
- Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection.
-
- The type of the objects in source, constrained to .
- An of that contains the source collection.
- An of that contains every token in the source collection, the ancestors of every token in the source collection.
-
-
-
- Returns a collection of tokens that contains the descendants of every token in the source collection.
-
- The type of the objects in source, constrained to .
- An of that contains the source collection.
- An of that contains the descendants of every token in the source collection.
-
-
-
- Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection.
-
- The type of the objects in source, constrained to .
- An of that contains the source collection.
- An of that contains every token in the source collection, and the descendants of every token in the source collection.
-
-
-
- Returns a collection of child properties of every object in the source collection.
-
- An of that contains the source collection.
- An of that contains the properties of every object in the source collection.
-
-
-
- Returns a collection of child values of every object in the source collection with the given key.
-
- An of that contains the source collection.
- The token key.
- An of that contains the values of every token in the source collection with the given key.
-
-
-
- Returns a collection of child values of every object in the source collection.
-
- An of that contains the source collection.
- An of that contains the values of every token in the source collection.
-
-
-
- Returns a collection of converted child values of every object in the source collection with the given key.
-
- The type to convert the values to.
- An of that contains the source collection.
- The token key.
- An that contains the converted values of every token in the source collection with the given key.
-
-
-
- Returns a collection of converted child values of every object in the source collection.
-
- The type to convert the values to.
- An of that contains the source collection.
- An that contains the converted values of every token in the source collection.
-
-
-
- Converts the value.
-
- The type to convert the value to.
- A cast as a of .
- A converted value.
-
-
-
- Converts the value.
-
- The source collection type.
- The type to convert the value to.
- A cast as a of .
- A converted value.
-
-
-
- Returns a collection of child tokens of every array in the source collection.
-
- The source collection type.
- An of that contains the source collection.
- An of that contains the values of every token in the source collection.
-
-
-
- Returns a collection of converted child tokens of every array in the source collection.
-
- An of that contains the source collection.
- The type to convert the values to.
- The source collection type.
- An that contains the converted values of every token in the source collection.
-
-
-
- Returns the input typed as .
-
- An of that contains the source collection.
- The input typed as .
-
-
-
- Returns the input typed as .
-
- The source collection type.
- An of that contains the source collection.
- The input typed as .
-
-
-
- Represents a collection of objects.
-
- The type of token.
-
-
-
- Gets the of with the specified key.
-
-
-
-
-
- Represents a JSON array.
-
-
-
-
-
-
-
- Writes this token to a asynchronously.
-
- A into which this method will write.
- The token to monitor for cancellation requests.
- A collection of which will be used when writing the token.
- A that represents the asynchronous write operation.
-
-
-
- Asynchronously loads a from a .
-
- A that will be read for the content of the .
- If this is null, default load settings will be used.
- The token to monitor for cancellation requests. The default value is .
- A representing the asynchronous load. The property contains the JSON that was read from the specified .
-
-
-
- Asynchronously loads a from a .
-
- A that will be read for the content of the .
- The used to load the JSON.
- If this is null, default load settings will be used.
- The token to monitor for cancellation requests. The default value is .
- A representing the asynchronous load. The property contains the JSON that was read from the specified .
-
-
-
- Gets the container's children tokens.
-
- The container's children tokens.
-
-
-
- Gets the node type for this .
-
- The type.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class from another object.
-
- A object to copy from.
-
-
-
- Initializes a new instance of the class with the specified content.
-
- The contents of the array.
-
-
-
- Initializes a new instance of the class with the specified content.
-
- The contents of the array.
-
-
-
- Loads an from a .
-
- A that will be read for the content of the .
- A that contains the JSON that was read from the specified .
-
-
-
- Loads an from a .
-
- A that will be read for the content of the .
- The used to load the JSON.
- If this is null, default load settings will be used.
- A that contains the JSON that was read from the specified .
-
-
-
- Load a from a string that contains JSON.
-
- A that contains JSON.
- A populated from the string that contains JSON.
-
-
-
-
-
-
- Load a from a string that contains JSON.
-
- A that contains JSON.
- The used to load the JSON.
- If this is null, default load settings will be used.
- A populated from the string that contains JSON.
-
-
-
-
-
-
- Creates a from an object.
-
- The object that will be used to create .
- A with the values of the specified object.
-
-
-
- Creates a from an object.
-
- The object that will be used to create .
- The that will be used to read the object.
- A with the values of the specified object.
-
-
-
- Writes this token to a .
-
- A into which this method will write.
- A collection of which will be used when writing the token.
-
-
-
- Gets the with the specified key.
-
- The with the specified key.
-
-
-
- Gets or sets the at the specified index.
-
-
-
-
-
- Determines the index of a specific item in the .
-
- The object to locate in the .
-
- The index of if found in the list; otherwise, -1.
-
-
-
-
- Inserts an item to the at the specified index.
-
- The zero-based index at which should be inserted.
- The object to insert into the .
-
- is not a valid index in the .
-
-
-
-
- Removes the item at the specified index.
-
- The zero-based index of the item to remove.
-
- is not a valid index in the .
-
-
-
-
- Returns an enumerator that iterates through the collection.
-
-
- A of that can be used to iterate through the collection.
-
-
-
-
- Adds an item to the .
-
- The object to add to the .
-
-
-
- Removes all items from the .
-
-
-
-
- Determines whether the contains a specific value.
-
- The object to locate in the .
-
- true if is found in the ; otherwise, false.
-
-
-
-
- Copies the elements of the to an array, starting at a particular array index.
-
- The array.
- Index of the array.
-
-
-
- Gets a value indicating whether the is read-only.
-
- true if the is read-only; otherwise, false.
-
-
-
- Removes the first occurrence of a specific object from the .
-
- The object to remove from the .
-
- true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original .
-
-
-
-
- Represents a JSON constructor.
-
-
-
-
- Writes this token to a asynchronously.
-
- A into which this method will write.
- The token to monitor for cancellation requests.
- A collection of which will be used when writing the token.
- A that represents the asynchronous write operation.
-
-
-
- Asynchronously loads a from a .
-
- A that will be read for the content of the .
- The token to monitor for cancellation requests. The default value is .
-
- A that represents the asynchronous load. The
- property returns a that contains the JSON that was read from the specified .
-
-
-
- Asynchronously loads a from a .
-
- A that will be read for the content of the .
- The used to load the JSON.
- If this is null, default load settings will be used.
- The token to monitor for cancellation requests. The default value is .
-
- A that represents the asynchronous load. The
- property returns a that contains the JSON that was read from the specified .
-
-
-
- Gets the container's children tokens.
-
- The container's children tokens.
-
-
-
- Gets or sets the name of this constructor.
-
- The constructor name.
-
-
-
- Gets the node type for this .
-
- The type.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class from another object.
-
- A object to copy from.
-
-
-
- Initializes a new instance of the class with the specified name and content.
-
- The constructor name.
- The contents of the constructor.
-
-
-
- Initializes a new instance of the class with the specified name and content.
-
- The constructor name.
- The contents of the constructor.
-
-
-
- Initializes a new instance of the class with the specified name.
-
- The constructor name.
-
-
-
- Writes this token to a .
-
- A into which this method will write.
- A collection of which will be used when writing the token.
-
-
-
- Gets the with the specified key.
-
- The with the specified key.
-
-
-
- Loads a from a .
-
- A that will be read for the content of the .
- A that contains the JSON that was read from the specified .
-
-
-
- Loads a from a .
-
- A that will be read for the content of the .
- The used to load the JSON.
- If this is null, default load settings will be used.
- A that contains the JSON that was read from the specified .
-
-
-
- Represents a token that can contain other tokens.
-
-
-
-
- Occurs when the list changes or an item in the list changes.
-
-
-
-
- Occurs before an item is added to the collection.
-
-
-
-
- Occurs when the items list of the collection has changed, or the collection is reset.
-
-
-
-
- Gets the container's children tokens.
-
- The container's children tokens.
-
-
-
- Raises the event.
-
- The instance containing the event data.
-
-
-
- Raises the event.
-
- The instance containing the event data.
-
-
-
- Raises the event.
-
- The instance containing the event data.
-
-
-
- Gets a value indicating whether this token has child tokens.
-
-
- true if this token has child values; otherwise, false.
-
-
-
-
- Get the first child token of this token.
-
-
- A containing the first child token of the .
-
-
-
-
- Get the last child token of this token.
-
-
- A containing the last child token of the .
-
-
-
-
- Returns a collection of the child tokens of this token, in document order.
-
-
- An of containing the child tokens of this , in document order.
-
-
-
-
- Returns a collection of the child values of this token, in document order.
-
- The type to convert the values to.
-
- A containing the child values of this , in document order.
-
-
-
-
- Returns a collection of the descendant tokens for this token in document order.
-
- An of containing the descendant tokens of the .
-
-
-
- Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order.
-
- An of containing this token, and all the descendant tokens of the .
-
-
-
- Adds the specified content as children of this .
-
- The content to be added.
-
-
-
- Adds the specified content as the first children of this .
-
- The content to be added.
-
-
-
- Creates a that can be used to add tokens to the .
-
- A that is ready to have content written to it.
-
-
-
- Replaces the child nodes of this token with the specified content.
-
- The content.
-
-
-
- Removes the child nodes from this token.
-
-
-
-
- Merge the specified content into this .
-
- The content to be merged.
-
-
-
- Merge the specified content into this using .
-
- The content to be merged.
- The used to merge the content.
-
-
-
- Gets the count of child JSON tokens.
-
- The count of child JSON tokens.
-
-
-
- Represents a collection of objects.
-
- The type of token.
-
-
-
- An empty collection of objects.
-
-
-
-
- Initializes a new instance of the struct.
-
- The enumerable.
-
-
-
- Returns an enumerator that can be used to iterate through the collection.
-
-
- A that can be used to iterate through the collection.
-
-
-
-
- Gets the of with the specified key.
-
-
-
-
-
- Determines whether the specified is equal to this instance.
-
- The to compare with this instance.
-
- true if the specified is equal to this instance; otherwise, false.
-
-
-
-
- Determines whether the specified is equal to this instance.
-
- The to compare with this instance.
-
- true if the specified is equal to this instance; otherwise, false.
-
-
-
-
- Returns a hash code for this instance.
-
-
- A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
-
-
-
-
- Represents a JSON object.
-
-
-
-
-
-
-
- Writes this token to a asynchronously.
-
- A into which this method will write.
- The token to monitor for cancellation requests.
- A collection of which will be used when writing the token.
- A that represents the asynchronous write operation.
-
-
-
- Asynchronously loads a from a .
-
- A that will be read for the content of the .
- The token to monitor for cancellation requests. The default value is .
-
- A that represents the asynchronous load. The
- property returns a that contains the JSON that was read from the specified .
-
-
-
- Asynchronously loads a from a .
-
- A that will be read for the content of the .
- The used to load the JSON.
- If this is null, default load settings will be used.
- The token to monitor for cancellation requests. The default value is .
-
- A that represents the asynchronous load. The
- property returns a that contains the JSON that was read from the specified .
-
-
-
- Gets the container's children tokens.
-
- The container's children tokens.
-
-
-
- Occurs when a property value changes.
-
-
-
-
- Occurs when a property value is changing.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class from another object.
-
- A object to copy from.
-
-
-
- Initializes a new instance of the class with the specified content.
-
- The contents of the object.
-
-
-
- Initializes a new instance of the class with the specified content.
-
- The contents of the object.
-
-
-
- Gets the node type for this .
-
- The type.
-
-
-
- Gets an of of this object's properties.
-
- An of of this object's properties.
-
-
-
- Gets a with the specified name.
-
- The property name.
- A with the specified name or null.
-
-
-
- Gets the with the specified name.
- The exact name will be searched for first and if no matching property is found then
- the will be used to match a property.
-
- The property name.
- One of the enumeration values that specifies how the strings will be compared.
- A matched with the specified name or null.
-
-
-
- Gets a of of this object's property values.
-
- A of of this object's property values.
-
-
-
- Gets the with the specified key.
-
- The with the specified key.
-
-
-
- Gets or sets the with the specified property name.
-
-
-
-
-
- Loads a from a .
-
- A that will be read for the content of the .
- A that contains the JSON that was read from the specified .
-
- is not valid JSON.
-
-
-
-
- Loads a from a .
-
- A that will be read for the content of the .
- The used to load the JSON.
- If this is null, default load settings will be used.
- A that contains the JSON that was read from the specified .
-
- is not valid JSON.
-
-
-
-
- Load a from a string that contains JSON.
-
- A that contains JSON.
- A populated from the string that contains JSON.
-
- is not valid JSON.
-
-
-
-
-
-
-
- Load a from a string that contains JSON.
-
- A that contains JSON.
- The used to load the JSON.
- If this is null, default load settings will be used.
- A populated from the string that contains JSON.
-
- is not valid JSON.
-
-
-
-
-
-
-
- Creates a from an object.
-
- The object that will be used to create .
- A with the values of the specified object.
-
-
-
- Creates a from an object.
-
- The object that will be used to create .
- The that will be used to read the object.
- A with the values of the specified object.
-
-
-
- Writes this token to a .
-
- A into which this method will write.
- A collection of which will be used when writing the token.
-
-
-
- Gets the with the specified property name.
-
- Name of the property.
- The with the specified property name.
-
-
-
- Gets the with the specified property name.
- The exact property name will be searched for first and if no matching property is found then
- the will be used to match a property.
-
- Name of the property.
- One of the enumeration values that specifies how the strings will be compared.
- The with the specified property name.
-
-
-
- Tries to get the with the specified property name.
- The exact property name will be searched for first and if no matching property is found then
- the will be used to match a property.
-
- Name of the property.
- The value.
- One of the enumeration values that specifies how the strings will be compared.
- true if a value was successfully retrieved; otherwise, false.
-
-
-
- Adds the specified property name.
-
- Name of the property.
- The value.
-
-
-
- Determines whether the JSON object has the specified property name.
-
- Name of the property.
- true if the JSON object has the specified property name; otherwise, false.
-
-
-
- Removes the property with the specified name.
-
- Name of the property.
- true if item was successfully removed; otherwise, false.
-
-
-
- Tries to get the with the specified property name.
-
- Name of the property.
- The value.
- true if a value was successfully retrieved; otherwise, false.
-
-
-
- Returns an enumerator that can be used to iterate through the collection.
-
-
- A that can be used to iterate through the collection.
-
-
-
-
- Raises the event with the provided arguments.
-
- Name of the property.
-
-
-
- Raises the event with the provided arguments.
-
- Name of the property.
-
-
-
- Returns the responsible for binding operations performed on this object.
-
- The expression tree representation of the runtime value.
-
- The to bind this object.
-
-
-
-
- Represents a JSON property.
-
-
-
-
- Writes this token to a asynchronously.
-
- A into which this method will write.
- The token to monitor for cancellation requests.
- A collection of which will be used when writing the token.
- A that represents the asynchronous write operation.
-
-
-
- Asynchronously loads a from a .
-
- A that will be read for the content of the .
- The token to monitor for cancellation requests. The default value is .
- A representing the asynchronous creation. The
- property returns a that contains the JSON that was read from the specified .
-
-
-
- Asynchronously loads a from a .
-
- A that will be read for the content of the .
- The used to load the JSON.
- If this is null, default load settings will be used.
- The token to monitor for cancellation requests. The default value is .
- A representing the asynchronous creation. The
- property returns a that contains the JSON that was read from the specified .
-
-
-
- Gets the container's children tokens.
-
- The container's children tokens.
-
-
-
- Gets the property name.
-
- The property name.
-
-
-
- Gets or sets the property value.
-
- The property value.
-
-
-
- Initializes a new instance of the class from another object.
-
- A object to copy from.
-
-
-
- Gets the node type for this .
-
- The type.
-
-
-
- Initializes a new instance of the class.
-
- The property name.
- The property content.
-
-
-
- Initializes a new instance of the class.
-
- The property name.
- The property content.
-
-
-
- Writes this token to a .
-
- A into which this method will write.
- A collection of which will be used when writing the token.
-
-
-
- Loads a from a .
-
- A that will be read for the content of the .
- A that contains the JSON that was read from the specified .
-
-
-
- Loads a from a .
-
- A that will be read for the content of the .
- The used to load the JSON.
- If this is null, default load settings will be used.
- A that contains the JSON that was read from the specified .
-
-
-
- Represents a view of a .
-
-
-
-
- Initializes a new instance of the class.
-
- The name.
-
-
-
- When overridden in a derived class, returns whether resetting an object changes its value.
-
-
- true if resetting the component changes its value; otherwise, false.
-
- The component to test for reset capability.
-
-
-
- When overridden in a derived class, gets the current value of the property on a component.
-
-
- The value of a property for a given component.
-
- The component with the property for which to retrieve the value.
-
-
-
- When overridden in a derived class, resets the value for this property of the component to the default value.
-
- The component with the property value that is to be reset to the default value.
-
-
-
- When overridden in a derived class, sets the value of the component to a different value.
-
- The component with the property value that is to be set.
- The new value.
-
-
-
- When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted.
-
-
- true if the property should be persisted; otherwise, false.
-
- The component with the property to be examined for persistence.
-
-
-
- When overridden in a derived class, gets the type of the component this property is bound to.
-
-
- A that represents the type of component this property is bound to.
- When the or
-
- methods are invoked, the object specified might be an instance of this type.
-
-
-
-
- When overridden in a derived class, gets a value indicating whether this property is read-only.
-
-
- true if the property is read-only; otherwise, false.
-
-
-
-
- When overridden in a derived class, gets the type of the property.
-
-
- A that represents the type of the property.
-
-
-
-
- Gets the hash code for the name of the member.
-
-
-
- The hash code for the name of the member.
-
-
-
-
- Represents a raw JSON string.
-
-
-
-
- Asynchronously creates an instance of with the content of the reader's current token.
-
- The reader.
- The token to monitor for cancellation requests. The default value is .
- A representing the asynchronous creation. The
- property returns an instance of with the content of the reader's current token.
-
-
-
- Initializes a new instance of the class from another object.
-
- A object to copy from.
-
-
-
- Initializes a new instance of the class.
-
- The raw json.
-
-
-
- Creates an instance of with the content of the reader's current token.
-
- The reader.
- An instance of with the content of the reader's current token.
-
-
-
- Specifies the settings used when cloning JSON.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets a flag that indicates whether to copy annotations when cloning a .
- The default value is true.
-
-
- A flag that indicates whether to copy annotations when cloning a .
-
-
-
-
- Specifies the settings used when loading JSON.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets how JSON comments are handled when loading JSON.
- The default value is .
-
- The JSON comment handling.
-
-
-
- Gets or sets how JSON line info is handled when loading JSON.
- The default value is .
-
- The JSON line info handling.
-
-
-
- Gets or sets how duplicate property names in JSON objects are handled when loading JSON.
- The default value is .
-
- The JSON duplicate property name handling.
-
-
-
- Specifies the settings used when merging JSON.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets the method used when merging JSON arrays.
-
- The method used when merging JSON arrays.
-
-
-
- Gets or sets how null value properties are merged.
-
- How null value properties are merged.
-
-
-
- Gets or sets the comparison used to match property names while merging.
- The exact property name will be searched for first and if no matching property is found then
- the will be used to match a property.
-
- The comparison used to match property names while merging.
-
-
-
- Specifies the settings used when selecting JSON.
-
-
-
-
- Gets or sets a timeout that will be used when executing regular expressions.
-
- The timeout that will be used when executing regular expressions.
-
-
-
- Gets or sets a flag that indicates whether an error should be thrown if
- no tokens are found when evaluating part of the expression.
-
-
- A flag that indicates whether an error should be thrown if
- no tokens are found when evaluating part of the expression.
-
-
-
-
- Represents an abstract JSON token.
-
-
-
-
- Writes this token to a asynchronously.
-
- A into which this method will write.
- The token to monitor for cancellation requests.
- A collection of which will be used when writing the token.
- A that represents the asynchronous write operation.
-
-
-
- Writes this token to a asynchronously.
-
- A into which this method will write.
- A collection of which will be used when writing the token.
- A that represents the asynchronous write operation.
-
-
-
- Asynchronously creates a from a .
-
- An positioned at the token to read into this .
- The token to monitor for cancellation requests. The default value is .
-
- A that represents the asynchronous creation. The
- property returns a that contains
- the token and its descendant tokens
- that were read from the reader. The runtime type of the token is determined
- by the token type of the first token encountered in the reader.
-
-
-
-
- Asynchronously creates a from a .
-
- An positioned at the token to read into this .
- The used to load the JSON.
- If this is null, default load settings will be used.
- The token to monitor for cancellation requests. The default value is .
-
- A that represents the asynchronous creation. The
- property returns a that contains
- the token and its descendant tokens
- that were read from the reader. The runtime type of the token is determined
- by the token type of the first token encountered in the reader.
-
-
-
-
- Asynchronously creates a from a .
-
- A positioned at the token to read into this .
- The token to monitor for cancellation requests. The default value is .
-
- A that represents the asynchronous creation. The
- property returns a that contains the token and its descendant tokens
- that were read from the reader. The runtime type of the token is determined
- by the token type of the first token encountered in the reader.
-
-
-
-
- Asynchronously creates a from a .
-
- A positioned at the token to read into this .
- The used to load the JSON.
- If this is null, default load settings will be used.
- The token to monitor for cancellation requests. The default value is .
-
- A that represents the asynchronous creation. The
- property returns a that contains the token and its descendant tokens
- that were read from the reader. The runtime type of the token is determined
- by the token type of the first token encountered in the reader.
-
-
-
-
- Gets a comparer that can compare two tokens for value equality.
-
- A that can compare two nodes for value equality.
-
-
-
- Gets or sets the parent.
-
- The parent.
-
-
-
- Gets the root of this .
-
- The root of this .
-
-
-
- Gets the node type for this .
-
- The type.
-
-
-
- Gets a value indicating whether this token has child tokens.
-
-
- true if this token has child values; otherwise, false.
-
-
-
-
- Compares the values of two tokens, including the values of all descendant tokens.
-
- The first to compare.
- The second to compare.
- true if the tokens are equal; otherwise false.
-
-
-
- Gets the next sibling token of this node.
-
- The that contains the next sibling token.
-
-
-
- Gets the previous sibling token of this node.
-
- The that contains the previous sibling token.
-
-
-
- Gets the path of the JSON token.
-
-
-
-
- Adds the specified content immediately after this token.
-
- A content object that contains simple content or a collection of content objects to be added after this token.
-
-
-
- Adds the specified content immediately before this token.
-
- A content object that contains simple content or a collection of content objects to be added before this token.
-
-
-
- Returns a collection of the ancestor tokens of this token.
-
- A collection of the ancestor tokens of this token.
-
-
-
- Returns a collection of tokens that contain this token, and the ancestors of this token.
-
- A collection of tokens that contain this token, and the ancestors of this token.
-
-
-
- Returns a collection of the sibling tokens after this token, in document order.
-
- A collection of the sibling tokens after this tokens, in document order.
-
-
-
- Returns a collection of the sibling tokens before this token, in document order.
-
- A collection of the sibling tokens before this token, in document order.
-
-
-
- Gets the with the specified key.
-
- The with the specified key.
-
-
-
- Gets the with the specified key converted to the specified type.
-
- The type to convert the token to.
- The token key.
- The converted token value.
-
-
-
- Get the first child token of this token.
-
- A containing the first child token of the .
-
-
-
- Get the last child token of this token.
-
- A containing the last child token of the .
-
-
-
- Returns a collection of the child tokens of this token, in document order.
-
- An of containing the child tokens of this , in document order.
-
-
-
- Returns a collection of the child tokens of this token, in document order, filtered by the specified type.
-
- The type to filter the child tokens on.
- A containing the child tokens of this , in document order.
-
-
-
- Returns a collection of the child values of this token, in document order.
-
- The type to convert the values to.
- A containing the child values of this , in document order.
-
-
-
- Removes this token from its parent.
-
-
-
-
- Replaces this token with the specified token.
-
- The value.
-
-
-
- Writes this token to a .
-
- A into which this method will write.
- A collection of which will be used when writing the token.
-
-
-
- Returns the indented JSON for this token.
-
-
- ToString() returns a non-JSON string value for tokens with a type of .
- If you want the JSON for all token types then you should use .
-
-
- The indented JSON for this token.
-
-
-
-
- Returns the JSON for this token using the given formatting and converters.
-
- Indicates how the output should be formatted.
- A collection of s which will be used when writing the token.
- The JSON for this token using the given formatting and converters.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to [].
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to of .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an explicit conversion from to .
-
- The value.
- The result of the conversion.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from [] to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Performs an implicit conversion from of to .
-
- The value to create a from.
- The initialized with the specified value.
-
-
-
- Creates a for this token.
-
- A that can be used to read this token and its descendants.
-
-
-
- Creates a from an object.
-
- The object that will be used to create .
- A with the value of the specified object.
-
-
-
- Creates a from an object using the specified .
-
- The object that will be used to create .
- The that will be used when reading the object.
- A with the value of the specified object.
-
-
-
- Creates an instance of the specified .NET type from the .
-
- The object type that the token will be deserialized to.
- The new object created from the JSON value.
-
-
-
- Creates an instance of the specified .NET type from the .
-
- The object type that the token will be deserialized to.
- The new object created from the JSON value.
-
-
-
- Creates an instance of the specified .NET type from the using the specified .
-
- The object type that the token will be deserialized to.
- The that will be used when creating the object.
- The new object created from the JSON value.
-
-
-
- Creates an instance of the specified .NET type from the using the specified .
-
- The object type that the token will be deserialized to.
- The that will be used when creating the object.
- The new object created from the JSON value.
-
-
-
- Creates a from a .
-
- A positioned at the token to read into this .
-
- A that contains the token and its descendant tokens
- that were read from the reader. The runtime type of the token is determined
- by the token type of the first token encountered in the reader.
-
-
-
-
- Creates a from a .
-
- An positioned at the token to read into this .
- The used to load the JSON.
- If this is null, default load settings will be used.
-
- A that contains the token and its descendant tokens
- that were read from the reader. The runtime type of the token is determined
- by the token type of the first token encountered in the reader.
-
-
-
-
- Load a from a string that contains JSON.
-
- A that contains JSON.
- A populated from the string that contains JSON.
-
-
-
- Load a from a string that contains JSON.
-
- A that contains JSON.
- The used to load the JSON.
- If this is null, default load settings will be used.
- A populated from the string that contains JSON.
-
-
-
- Creates a from a .
-
- A positioned at the token to read into this .
- The used to load the JSON.
- If this is null, default load settings will be used.
-
- A that contains the token and its descendant tokens
- that were read from the reader. The runtime type of the token is determined
- by the token type of the first token encountered in the reader.
-
-
-
-
- Creates a from a .
-
- A positioned at the token to read into this .
-
- A that contains the token and its descendant tokens
- that were read from the reader. The runtime type of the token is determined
- by the token type of the first token encountered in the reader.
-
-
-
-
- Selects a using a JSONPath expression. Selects the token that matches the object path.
-
-
- A that contains a JSONPath expression.
-
- A , or null.
-
-
-
- Selects a using a JSONPath expression. Selects the token that matches the object path.
-
-
- A that contains a JSONPath expression.
-
- A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression.
- A .
-
-
-
- Selects a using a JSONPath expression. Selects the token that matches the object path.
-
-
- A that contains a JSONPath expression.
-
- The used to select tokens.
- A .
-
-
-
- Selects a collection of elements using a JSONPath expression.
-
-
- A that contains a JSONPath expression.
-
- An of that contains the selected elements.
-
-
-
- Selects a collection of elements using a JSONPath expression.
-
-
- A that contains a JSONPath expression.
-
- A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression.
- An of that contains the selected elements.
-
-
-
- Selects a collection of elements using a JSONPath expression.
-
-
- A that contains a JSONPath expression.
-
- The used to select tokens.
- An of that contains the selected elements.
-
-
-
- Returns the responsible for binding operations performed on this object.
-
- The expression tree representation of the runtime value.
-
- The to bind this object.
-
-
-
-
- Returns the responsible for binding operations performed on this object.
-
- The expression tree representation of the runtime value.
-
- The to bind this object.
-
-
-
-
- Creates a new instance of the . All child tokens are recursively cloned.
-
- A new instance of the .
-
-
-
- Creates a new instance of the . All child tokens are recursively cloned.
-
- A object to configure cloning settings.
- A new instance of the .
-
-
-
- Adds an object to the annotation list of this .
-
- The annotation to add.
-
-
-
- Get the first annotation object of the specified type from this .
-
- The type of the annotation to retrieve.
- The first annotation object that matches the specified type, or null if no annotation is of the specified type.
-
-
-
- Gets the first annotation object of the specified type from this .
-
- The of the annotation to retrieve.
- The first annotation object that matches the specified type, or null if no annotation is of the specified type.
-
-
-
- Gets a collection of annotations of the specified type for this .
-
- The type of the annotations to retrieve.
- An that contains the annotations for this .
-
-
-
- Gets a collection of annotations of the specified type for this .
-
- The of the annotations to retrieve.
- An of that contains the annotations that match the specified type for this .
-
-
-
- Removes the annotations of the specified type from this .
-
- The type of annotations to remove.
-
-
-
- Removes the annotations of the specified type from this .
-
- The of annotations to remove.
-
-
-
- Compares tokens to determine whether they are equal.
-
-
-
-
- Determines whether the specified objects are equal.
-
- The first object of type to compare.
- The second object of type to compare.
-
- true if the specified objects are equal; otherwise, false.
-
-
-
-
- Returns a hash code for the specified object.
-
- The for which a hash code is to be returned.
- A hash code for the specified object.
- The type of is a reference type and is null.
-
-
-
- Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data.
-
-
-
-
- Gets the at the reader's current position.
-
-
-
-
- Initializes a new instance of the class.
-
- The token to read from.
-
-
-
- Initializes a new instance of the class.
-
- The token to read from.
- The initial path of the token. It is prepended to the returned .
-
-
-
- Reads the next JSON token from the underlying .
-
-
- true if the next token was read successfully; false if there are no more tokens to read.
-
-
-
-
- Gets the path of the current JSON token.
-
-
-
-
- Specifies the type of token.
-
-
-
-
- No token type has been set.
-
-
-
-
- A JSON object.
-
-
-
-
- A JSON array.
-
-
-
-
- A JSON constructor.
-
-
-
-
- A JSON object property.
-
-
-
-
- A comment.
-
-
-
-
- An integer value.
-
-
-
-
- A float value.
-
-
-
-
- A string value.
-
-
-
-
- A boolean value.
-
-
-
-
- A null value.
-
-
-
-
- An undefined value.
-
-
-
-
- A date value.
-
-
-
-
- A raw JSON value.
-
-
-
-
- A collection of bytes value.
-
-
-
-
- A Guid value.
-
-
-
-
- A Uri value.
-
-
-
-
- A TimeSpan value.
-
-
-
-
- Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data.
-
-
-
-
- Gets the at the writer's current position.
-
-
-
-
- Gets the token being written.
-
- The token being written.
-
-
-
- Initializes a new instance of the class writing to the given .
-
- The container being written to.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Flushes whatever is in the buffer to the underlying .
-
-
-
-
- Closes this writer.
- If is set to true, the JSON is auto-completed.
-
-
- Setting to true has no additional effect, since the underlying is a type that cannot be closed.
-
-
-
-
- Writes the beginning of a JSON object.
-
-
-
-
- Writes the beginning of a JSON array.
-
-
-
-
- Writes the start of a constructor with the given name.
-
- The name of the constructor.
-
-
-
- Writes the end.
-
- The token.
-
-
-
- Writes the property name of a name/value pair on a JSON object.
-
- The name of the property.
-
-
-
- Writes a value.
- An error will be raised if the value cannot be written as a single JSON token.
-
- The value to write.
-
-
-
- Writes a null value.
-
-
-
-
- Writes an undefined value.
-
-
-
-
- Writes raw JSON.
-
- The raw JSON to write.
-
-
-
- Writes a comment /*...*/ containing the specified text.
-
- Text to place inside the comment.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a [] value.
-
- The [] value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Writes a value.
-
- The value to write.
-
-
-
- Represents a value in JSON (string, integer, date, etc).
-
-
-
-
- Writes this token to a asynchronously.
-
- A into which this method will write.
- The token to monitor for cancellation requests.
- A collection of which will be used when writing the token.
- A that represents the asynchronous write operation.
-
-
-
- Initializes a new instance of the class from another object.
-
- A object to copy from.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Initializes a new instance of the class with the given value.
-
- The value.
-
-
-
- Gets a value indicating whether this token has child tokens.
-
-
- true if this token has child values; otherwise, false.
-
-
-
-
- Creates a comment with the given value.
-
- The value.
- A comment with the given value.
-
-
-
- Creates a string with the given value.
-
- The value.
- A string with the given value.
-
-
-
- Creates a null value.
-
- A null value.
-
-
-
- Creates a undefined value.
-
- A undefined value.
-
-
-
- Gets the node type for this .
-
- The type.
-
-
-
- Gets or sets the underlying token value.
-
- The underlying token value.
-
-
-
- Writes this token to a .
-
- A into which this method will write.
- A collection of s which will be used when writing the token.
-
-
-
- Indicates whether the current object is equal to another object of the same type.
-
-
- true if the current object is equal to the parameter; otherwise, false.
-
- An object to compare with this object.
-
-
-
- Determines whether the specified is equal to the current .
-
- The to compare with the current .
-
- true if the specified is equal to the current ; otherwise, false.
-
-
-
-
- Serves as a hash function for a particular type.
-
-
- A hash code for the current .
-
-
-
-
- Returns a that represents this instance.
-
-
- ToString() returns a non-JSON string value for tokens with a type of .
- If you want the JSON for all token types then you should use .
-
-
- A that represents this instance.
-
-
-
-
- Returns a that represents this instance.
-
- The format.
-
- A that represents this instance.
-
-
-
-
- Returns a that represents this instance.
-
- The format provider.
-
- A that represents this instance.
-
-
-
-
- Returns a that represents this instance.
-
- The format.
- The format provider.
-
- A that represents this instance.
-
-
-
-
- Returns the responsible for binding operations performed on this object.
-
- The expression tree representation of the runtime value.
-
- The to bind this object.
-
-
-
-
- Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
-
- An object to compare with this instance.
-
- A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings:
- Value
- Meaning
- Less than zero
- This instance is less than .
- Zero
- This instance is equal to .
- Greater than zero
- This instance is greater than .
-
-
- is not of the same type as this instance.
-
-
-
-
- Specifies how line information is handled when loading JSON.
-
-
-
-
- Ignore line information.
-
-
-
-
- Load line information.
-
-
-
-
- Specifies how JSON arrays are merged together.
-
-
-
- Concatenate arrays.
-
-
- Union arrays, skipping items that already exist.
-
-
- Replace all array items.
-
-
- Merge array items together, matched by index.
-
-
-
- Specifies how null value properties are merged.
-
-
-
-
- The content's null value properties will be ignored during merging.
-
-
-
-
- The content's null value properties will be merged.
-
-
-
-
- Specifies the member serialization options for the .
-
-
-
-
- All public members are serialized by default. Members can be excluded using or .
- This is the default member serialization mode.
-
-
-
-
- Only members marked with or are serialized.
- This member serialization mode can also be set by marking the class with .
-
-
-
-
- All public and private fields are serialized. Members can be excluded using or .
- This member serialization mode can also be set by marking the class with
- and setting IgnoreSerializableAttribute on to false.
-
-
-
-
- Specifies metadata property handling options for the .
-
-
-
-
- Read metadata properties located at the start of a JSON object.
-
-
-
-
- Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance.
-
-
-
-
- Do not try to read metadata properties.
-
-
-
-
- Specifies missing member handling options for the .
-
-
-
-
- Ignore a missing member and do not attempt to deserialize it.
-
-
-
-
- Throw a when a missing member is encountered during deserialization.
-
-
-
-
- Specifies null value handling options for the .
-
-
-
-
-
-
-
-
- Include null values when serializing and deserializing objects.
-
-
-
-
- Ignore null values when serializing and deserializing objects.
-
-
-
-
- Specifies how object creation is handled by the .
-
-
-
-
- Reuse existing objects, create new objects when needed.
-
-
-
-
- Only reuse existing objects.
-
-
-
-
- Always create new objects.
-
-
-
-
- Specifies reference handling options for the .
- Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement .
-
-
-
-
-
-
-
- Do not preserve references when serializing types.
-
-
-
-
- Preserve references when serializing into a JSON object structure.
-
-
-
-
- Preserve references when serializing into a JSON array structure.
-
-
-
-
- Preserve references when serializing.
-
-
-
-
- Specifies reference loop handling options for the .
-
-
-
-
- Throw a when a loop is encountered.
-
-
-
-
- Ignore loop references and do not serialize.
-
-
-
-
- Serialize loop references.
-
-
-
-
- Indicating whether a property is required.
-
-
-
-
- The property is not required. The default state.
-
-
-
-
- The property must be defined in JSON but can be a null value.
-
-
-
-
- The property must be defined in JSON and cannot be a null value.
-
-
-
-
- The property is not required but it cannot be a null value.
-
-
-
-
-
- Contains the JSON schema extension methods.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
-
- Determines whether the is valid.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
- The source to test.
- The schema to test with.
-
- true if the specified is valid; otherwise, false.
-
-
-
-
-
- Determines whether the is valid.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
- The source to test.
- The schema to test with.
- When this method returns, contains any error messages generated while validating.
-
- true if the specified is valid; otherwise, false.
-
-
-
-
-
- Validates the specified .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
- The source to test.
- The schema to test with.
-
-
-
-
- Validates the specified .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
- The source to test.
- The schema to test with.
- The validation event handler.
-
-
-
-
- An in-memory representation of a JSON Schema.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Gets or sets the id.
-
-
-
-
- Gets or sets the title.
-
-
-
-
- Gets or sets whether the object is required.
-
-
-
-
- Gets or sets whether the object is read-only.
-
-
-
-
- Gets or sets whether the object is visible to users.
-
-
-
-
- Gets or sets whether the object is transient.
-
-
-
-
- Gets or sets the description of the object.
-
-
-
-
- Gets or sets the types of values allowed by the object.
-
- The type.
-
-
-
- Gets or sets the pattern.
-
- The pattern.
-
-
-
- Gets or sets the minimum length.
-
- The minimum length.
-
-
-
- Gets or sets the maximum length.
-
- The maximum length.
-
-
-
- Gets or sets a number that the value should be divisible by.
-
- A number that the value should be divisible by.
-
-
-
- Gets or sets the minimum.
-
- The minimum.
-
-
-
- Gets or sets the maximum.
-
- The maximum.
-
-
-
- Gets or sets a flag indicating whether the value can not equal the number defined by the minimum attribute ().
-
- A flag indicating whether the value can not equal the number defined by the minimum attribute ().
-
-
-
- Gets or sets a flag indicating whether the value can not equal the number defined by the maximum attribute ().
-
- A flag indicating whether the value can not equal the number defined by the maximum attribute ().
-
-
-
- Gets or sets the minimum number of items.
-
- The minimum number of items.
-
-
-
- Gets or sets the maximum number of items.
-
- The maximum number of items.
-
-
-
- Gets or sets the of items.
-
- The of items.
-
-
-
- Gets or sets a value indicating whether items in an array are validated using the instance at their array position from .
-
-
- true if items are validated using their array position; otherwise, false.
-
-
-
-
- Gets or sets the of additional items.
-
- The of additional items.
-
-
-
- Gets or sets a value indicating whether additional items are allowed.
-
-
- true if additional items are allowed; otherwise, false.
-
-
-
-
- Gets or sets whether the array items must be unique.
-
-
-
-
- Gets or sets the of properties.
-
- The of properties.
-
-
-
- Gets or sets the of additional properties.
-
- The of additional properties.
-
-
-
- Gets or sets the pattern properties.
-
- The pattern properties.
-
-
-
- Gets or sets a value indicating whether additional properties are allowed.
-
-
- true if additional properties are allowed; otherwise, false.
-
-
-
-
- Gets or sets the required property if this property is present.
-
- The required property if this property is present.
-
-
-
- Gets or sets the a collection of valid enum values allowed.
-
- A collection of valid enum values allowed.
-
-
-
- Gets or sets disallowed types.
-
- The disallowed types.
-
-
-
- Gets or sets the default value.
-
- The default value.
-
-
-
- Gets or sets the collection of that this schema extends.
-
- The collection of that this schema extends.
-
-
-
- Gets or sets the format.
-
- The format.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Reads a from the specified .
-
- The containing the JSON Schema to read.
- The object representing the JSON Schema.
-
-
-
- Reads a from the specified .
-
- The containing the JSON Schema to read.
- The to use when resolving schema references.
- The object representing the JSON Schema.
-
-
-
- Load a from a string that contains JSON Schema.
-
- A that contains JSON Schema.
- A populated from the string that contains JSON Schema.
-
-
-
- Load a from a string that contains JSON Schema using the specified .
-
- A that contains JSON Schema.
- The resolver.
- A populated from the string that contains JSON Schema.
-
-
-
- Writes this schema to a .
-
- A into which this method will write.
-
-
-
- Writes this schema to a using the specified .
-
- A into which this method will write.
- The resolver used.
-
-
-
- Returns a that represents the current .
-
-
- A that represents the current .
-
-
-
-
-
- Returns detailed information about the schema exception.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Gets the line number indicating where the error occurred.
-
- The line number indicating where the error occurred.
-
-
-
- Gets the line position indicating where the error occurred.
-
- The line position indicating where the error occurred.
-
-
-
- Gets the path to the JSON where the error occurred.
-
- The path to the JSON where the error occurred.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- with a specified error message.
-
- The error message that explains the reason for the exception.
-
-
-
- Initializes a new instance of the class
- with a specified error message and a reference to the inner exception that is the cause of this exception.
-
- The error message that explains the reason for the exception.
- The exception that is the cause of the current exception, or null if no inner exception is specified.
-
-
-
- Initializes a new instance of the class.
-
- The that holds the serialized object data about the exception being thrown.
- The that contains contextual information about the source or destination.
- The parameter is null.
- The class name is null or is zero (0).
-
-
-
-
- Generates a from a specified .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Gets or sets how undefined schemas are handled by the serializer.
-
-
-
-
- Gets or sets the contract resolver.
-
- The contract resolver.
-
-
-
- Generate a from the specified type.
-
- The type to generate a from.
- A generated from the specified type.
-
-
-
- Generate a from the specified type.
-
- The type to generate a from.
- The used to resolve schema references.
- A generated from the specified type.
-
-
-
- Generate a from the specified type.
-
- The type to generate a from.
- Specify whether the generated root will be nullable.
- A generated from the specified type.
-
-
-
- Generate a from the specified type.
-
- The type to generate a from.
- The used to resolve schema references.
- Specify whether the generated root will be nullable.
- A generated from the specified type.
-
-
-
-
- Resolves from an id.
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Gets or sets the loaded schemas.
-
- The loaded schemas.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets a for the specified reference.
-
- The id.
- A for the specified reference.
-
-
-
-
- The value types allowed by the .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- No type specified.
-
-
-
-
- String type.
-
-
-
-
- Float type.
-
-
-
-
- Integer type.
-
-
-
-
- Boolean type.
-
-
-
-
- Object type.
-
-
-
-
- Array type.
-
-
-
-
- Null type.
-
-
-
-
- Any type.
-
-
-
-
-
- Specifies undefined schema Id handling options for the .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Do not infer a schema Id.
-
-
-
-
- Use the .NET type name as the schema Id.
-
-
-
-
- Use the assembly qualified .NET type name as the schema Id.
-
-
-
-
-
- Returns detailed information related to the .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- Gets the associated with the validation error.
-
- The JsonSchemaException associated with the validation error.
-
-
-
- Gets the path of the JSON location where the validation error occurred.
-
- The path of the JSON location where the validation error occurred.
-
-
-
- Gets the text description corresponding to the validation error.
-
- The text description.
-
-
-
-
- Represents the callback method that will handle JSON schema validation events and the .
-
-
- JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
-
-
-
-
-
- A camel case naming strategy.
-
-
-
-
- Initializes a new instance of the class.
-
-
- A flag indicating whether dictionary keys should be processed.
-
-
- A flag indicating whether explicitly specified property names should be processed,
- e.g. a property name customized with a .
-
-
-
-
- Initializes a new instance of the class.
-
-
- A flag indicating whether dictionary keys should be processed.
-
-
- A flag indicating whether explicitly specified property names should be processed,
- e.g. a property name customized with a .
-
-
- A flag indicating whether extension data names should be processed.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Resolves the specified property name.
-
- The property name to resolve.
- The resolved property name.
-
-
-
- Resolves member mappings for a type, camel casing property names.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Resolves the contract for a given type.
-
- The type to resolve a contract for.
- The contract for a given type.
-
-
-
- Used by to resolve a for a given .
-
-
-
-
- Gets a value indicating whether members are being get and set using dynamic code generation.
- This value is determined by the runtime permissions available.
-
-
- true if using dynamic code generation; otherwise, false.
-
-
-
-
- Gets or sets the default members search flags.
-
- The default members search flags.
-
-
-
- Gets or sets a value indicating whether compiler generated members should be serialized.
-
-
- true if serialized compiler generated members; otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether to ignore the interface when serializing and deserializing types.
-
-
- true if the interface will be ignored when serializing and deserializing types; otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether to ignore the attribute when serializing and deserializing types.
-
-
- true if the attribute will be ignored when serializing and deserializing types; otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether to ignore IsSpecified members when serializing and deserializing types.
-
-
- true if the IsSpecified members will be ignored when serializing and deserializing types; otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether to ignore ShouldSerialize members when serializing and deserializing types.
-
-
- true if the ShouldSerialize members will be ignored when serializing and deserializing types; otherwise, false.
-
-
-
-
- Gets or sets the naming strategy used to resolve how property names and dictionary keys are serialized.
-
- The naming strategy used to resolve how property names and dictionary keys are serialized.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Resolves the contract for a given type.
-
- The type to resolve a contract for.
- The contract for a given type.
-
-
-
- Gets the serializable members for the type.
-
- The type to get serializable members for.
- The serializable members for the type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates the constructor parameters.
-
- The constructor to create properties for.
- The type's member properties.
- Properties for the given .
-
-
-
- Creates a for the given .
-
- The matching member property.
- The constructor parameter.
- A created for the given .
-
-
-
- Resolves the default for the contract.
-
- Type of the object.
- The contract's default .
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates a for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Determines which contract type is created for the given type.
-
- Type of the object.
- A for the given type.
-
-
-
- Creates properties for the given .
-
- The type to create properties for.
- /// The member serialization mode for the type.
- Properties for the given .
-
-
-
- Creates the used by the serializer to get and set values from a member.
-
- The member.
- The used by the serializer to get and set values from a member.
-
-
-
- Creates a for the given .
-
- The member's parent .
- The member to create a for.
- A created for the given .
-
-
-
- Resolves the name of the property.
-
- Name of the property.
- Resolved name of the property.
-
-
-
- Resolves the name of the extension data. By default no changes are made to extension data names.
-
- Name of the extension data.
- Resolved name of the extension data.
-
-
-
- Resolves the key of the dictionary. By default is used to resolve dictionary keys.
-
- Key of the dictionary.
- Resolved key of the dictionary.
-
-
-
- Gets the resolved name of the property.
-
- Name of the property.
- Name of the property.
-
-
-
- The default naming strategy. Property names and dictionary keys are unchanged.
-
-
-
-
- Resolves the specified property name.
-
- The property name to resolve.
- The resolved property name.
-
-
-
- The default serialization binder used when resolving and loading classes from type names.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- When overridden in a derived class, controls the binding of a serialized object to a type.
-
- Specifies the name of the serialized object.
- Specifies the name of the serialized object.
-
- The type of the object the formatter creates a new instance of.
-
-
-
-
- When overridden in a derived class, controls the binding of a serialized object to a type.
-
- The type of the object the formatter creates a new instance of.
- Specifies the name of the serialized object.
- Specifies the name of the serialized object.
-
-
-
- Represents a trace writer that writes to the application's instances.
-
-
-
-
- Gets the that will be used to filter the trace messages passed to the writer.
- For example a filter level of will exclude messages and include ,
- and messages.
-
-
- The that will be used to filter the trace messages passed to the writer.
-
-
-
-
- Writes the specified trace level, message and optional exception.
-
- The at which to write this trace.
- The trace message.
- The trace exception. This parameter is optional.
-
-
-
- Provides information surrounding an error.
-
-
-
-
- Gets the error.
-
- The error.
-
-
-
- Gets the original object that caused the error.
-
- The original object that caused the error.
-
-
-
- Gets the member that caused the error.
-
- The member that caused the error.
-
-
-
- Gets the path of the JSON location where the error occurred.
-
- The path of the JSON location where the error occurred.
-
-
-
- Gets or sets a value indicating whether this is handled.
-
- true if handled; otherwise, false.
-
-
-
- Provides data for the Error event.
-
-
-
-
- Gets the current object the error event is being raised against.
-
- The current object the error event is being raised against.
-
-
-
- Gets the error context.
-
- The error context.
-
-
-
- Initializes a new instance of the class.
-
- The current object.
- The error context.
-
-
-
- Get and set values for a using dynamic methods.
-
-
-
-
- Initializes a new instance of the class.
-
- The member info.
-
-
-
- Sets the value.
-
- The target to set the value on.
- The value to set on the target.
-
-
-
- Gets the value.
-
- The target to get the value from.
- The value.
-
-
-
- Provides methods to get attributes.
-
-
-
-
- Returns a collection of all of the attributes, or an empty collection if there are no attributes.
-
- When true, look up the hierarchy chain for the inherited custom attribute.
- A collection of s, or an empty collection.
-
-
-
- Returns a collection of attributes, identified by type, or an empty collection if there are no attributes.
-
- The type of the attributes.
- When true, look up the hierarchy chain for the inherited custom attribute.
- A collection of s, or an empty collection.
-
-
-
- Used by to resolve a for a given .
-
-
-
-
-
-
-
-
- Resolves the contract for a given type.
-
- The type to resolve a contract for.
- The contract for a given type.
-
-
-
- Used to resolve references when serializing and deserializing JSON by the .
-
-
-
-
- Resolves a reference to its object.
-
- The serialization context.
- The reference to resolve.
- The object that was resolved from the reference.
-
-
-
- Gets the reference for the specified object.
-
- The serialization context.
- The object to get a reference for.
- The reference to the object.
-
-
-
- Determines whether the specified object is referenced.
-
- The serialization context.
- The object to test for a reference.
-
- true if the specified object is referenced; otherwise, false.
-
-
-
-
- Adds a reference to the specified object.
-
- The serialization context.
- The reference.
- The object to reference.
-
-
-
- Allows users to control class loading and mandate what class to load.
-
-
-
-
- When implemented, controls the binding of a serialized object to a type.
-
- Specifies the name of the serialized object.
- Specifies the name of the serialized object
- The type of the object the formatter creates a new instance of.
-
-
-
- When implemented, controls the binding of a serialized object to a type.
-
- The type of the object the formatter creates a new instance of.
- Specifies the name of the serialized object.
- Specifies the name of the serialized object.
-
-
-
- Represents a trace writer.
-
-
-
-
- Gets the that will be used to filter the trace messages passed to the writer.
- For example a filter level of will exclude messages and include ,
- and messages.
-
- The that will be used to filter the trace messages passed to the writer.
-
-
-
- Writes the specified trace level, message and optional exception.
-
- The at which to write this trace.
- The trace message.
- The trace exception. This parameter is optional.
-
-
-
- Provides methods to get and set values.
-
-
-
-
- Sets the value.
-
- The target to set the value on.
- The value to set on the target.
-
-
-
- Gets the value.
-
- The target to get the value from.
- The value.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Gets the of the collection items.
-
- The of the collection items.
-
-
-
- Gets a value indicating whether the collection type is a multidimensional array.
-
- true if the collection type is a multidimensional array; otherwise, false.
-
-
-
- Gets or sets the function used to create the object. When set this function will override .
-
- The function used to create the object.
-
-
-
- Gets a value indicating whether the creator has a parameter with the collection values.
-
- true if the creator has a parameter with the collection values; otherwise, false.
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Gets or sets the default collection items .
-
- The converter.
-
-
-
- Gets or sets a value indicating whether the collection items preserve object references.
-
- true if collection items preserve object references; otherwise, false.
-
-
-
- Gets or sets the collection item reference loop handling.
-
- The reference loop handling.
-
-
-
- Gets or sets the collection item type name handling.
-
- The type name handling.
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Handles serialization callback events.
-
- The object that raised the callback event.
- The streaming context.
-
-
-
- Handles serialization error callback events.
-
- The object that raised the callback event.
- The streaming context.
- The error context.
-
-
-
- Sets extension data for an object during deserialization.
-
- The object to set extension data on.
- The extension data key.
- The extension data value.
-
-
-
- Gets extension data for an object during serialization.
-
- The object to set extension data on.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Gets the underlying type for the contract.
-
- The underlying type for the contract.
-
-
-
- Gets or sets the type created during deserialization.
-
- The type created during deserialization.
-
-
-
- Gets or sets whether this type contract is serialized as a reference.
-
- Whether this type contract is serialized as a reference.
-
-
-
- Gets or sets the default for this contract.
-
- The converter.
-
-
-
- Gets the internally resolved for the contract's type.
- This converter is used as a fallback converter when no other converter is resolved.
- Setting will always override this converter.
-
-
-
-
- Gets or sets all methods called immediately after deserialization of the object.
-
- The methods called immediately after deserialization of the object.
-
-
-
- Gets or sets all methods called during deserialization of the object.
-
- The methods called during deserialization of the object.
-
-
-
- Gets or sets all methods called after serialization of the object graph.
-
- The methods called after serialization of the object graph.
-
-
-
- Gets or sets all methods called before serialization of the object.
-
- The methods called before serialization of the object.
-
-
-
- Gets or sets all method called when an error is thrown during the serialization of the object.
-
- The methods called when an error is thrown during the serialization of the object.
-
-
-
- Gets or sets the default creator method used to create the object.
-
- The default creator method used to create the object.
-
-
-
- Gets or sets a value indicating whether the default creator is non-public.
-
- true if the default object creator is non-public; otherwise, false.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Gets or sets the dictionary key resolver.
-
- The dictionary key resolver.
-
-
-
- Gets the of the dictionary keys.
-
- The of the dictionary keys.
-
-
-
- Gets the of the dictionary values.
-
- The of the dictionary values.
-
-
-
- Gets or sets the function used to create the object. When set this function will override .
-
- The function used to create the object.
-
-
-
- Gets a value indicating whether the creator has a parameter with the dictionary values.
-
- true if the creator has a parameter with the dictionary values; otherwise, false.
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Gets the object's properties.
-
- The object's properties.
-
-
-
- Gets or sets the property name resolver.
-
- The property name resolver.
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Gets or sets the object constructor.
-
- The object constructor.
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Gets or sets the object member serialization.
-
- The member object serialization.
-
-
-
- Gets or sets the missing member handling used when deserializing this object.
-
- The missing member handling.
-
-
-
- Gets or sets a value that indicates whether the object's properties are required.
-
-
- A value indicating whether the object's properties are required.
-
-
-
-
- Gets or sets how the object's properties with null values are handled during serialization and deserialization.
-
- How the object's properties with null values are handled during serialization and deserialization.
-
-
-
- Gets the object's properties.
-
- The object's properties.
-
-
-
- Gets a collection of instances that define the parameters used with .
-
-
-
-
- Gets or sets the function used to create the object. When set this function will override .
- This function is called with a collection of arguments which are defined by the collection.
-
- The function used to create the object.
-
-
-
- Gets or sets the extension data setter.
-
-
-
-
- Gets or sets the extension data getter.
-
-
-
-
- Gets or sets the extension data value type.
-
-
-
-
- Gets or sets the extension data name resolver.
-
- The extension data name resolver.
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Maps a JSON property to a .NET member or constructor parameter.
-
-
-
-
- Gets or sets the name of the property.
-
- The name of the property.
-
-
-
- Gets or sets the type that declared this property.
-
- The type that declared this property.
-
-
-
- Gets or sets the order of serialization of a member.
-
- The numeric order of serialization.
-
-
-
- Gets or sets the name of the underlying member or parameter.
-
- The name of the underlying member or parameter.
-
-
-
- Gets the that will get and set the during serialization.
-
- The that will get and set the during serialization.
-
-
-
- Gets or sets the for this property.
-
- The for this property.
-
-
-
- Gets or sets the type of the property.
-
- The type of the property.
-
-
-
- Gets or sets the for the property.
- If set this converter takes precedence over the contract converter for the property type.
-
- The converter.
-
-
-
- Gets or sets the member converter.
-
- The member converter.
-
-
-
- Gets or sets a value indicating whether this is ignored.
-
- true if ignored; otherwise, false.
-
-
-
- Gets or sets a value indicating whether this is readable.
-
- true if readable; otherwise, false.
-
-
-
- Gets or sets a value indicating whether this is writable.
-
- true if writable; otherwise, false.
-
-
-
- Gets or sets a value indicating whether this has a member attribute.
-
- true if has a member attribute; otherwise, false.
-
-
-
- Gets the default value.
-
- The default value.
-
-
-
- Gets or sets a value indicating whether this is required.
-
- A value indicating whether this is required.
-
-
-
- Gets a value indicating whether has a value specified.
-
-
-
-
- Gets or sets a value indicating whether this property preserves object references.
-
-
- true if this instance is reference; otherwise, false.
-
-
-
-
- Gets or sets the property null value handling.
-
- The null value handling.
-
-
-
- Gets or sets the property default value handling.
-
- The default value handling.
-
-
-
- Gets or sets the property reference loop handling.
-
- The reference loop handling.
-
-
-
- Gets or sets the property object creation handling.
-
- The object creation handling.
-
-
-
- Gets or sets or sets the type name handling.
-
- The type name handling.
-
-
-
- Gets or sets a predicate used to determine whether the property should be serialized.
-
- A predicate used to determine whether the property should be serialized.
-
-
-
- Gets or sets a predicate used to determine whether the property should be deserialized.
-
- A predicate used to determine whether the property should be deserialized.
-
-
-
- Gets or sets a predicate used to determine whether the property should be serialized.
-
- A predicate used to determine whether the property should be serialized.
-
-
-
- Gets or sets an action used to set whether the property has been deserialized.
-
- An action used to set whether the property has been deserialized.
-
-
-
- Returns a that represents this instance.
-
-
- A that represents this instance.
-
-
-
-
- Gets or sets the converter used when serializing the property's collection items.
-
- The collection's items converter.
-
-
-
- Gets or sets whether this property's collection items are serialized as a reference.
-
- Whether this property's collection items are serialized as a reference.
-
-
-
- Gets or sets the type name handling used when serializing the property's collection items.
-
- The collection's items type name handling.
-
-
-
- Gets or sets the reference loop handling used when serializing the property's collection items.
-
- The collection's items reference loop handling.
-
-
-
- A collection of objects.
-
-
-
-
- Initializes a new instance of the class.
-
- The type.
-
-
-
- When implemented in a derived class, extracts the key from the specified element.
-
- The element from which to extract the key.
- The key for the specified element.
-
-
-
- Adds a object.
-
- The property to add to the collection.
-
-
-
- Gets the closest matching object.
- First attempts to get an exact case match of and then
- a case insensitive match.
-
- Name of the property.
- A matching property if found.
-
-
-
- Gets a property by property name.
-
- The name of the property to get.
- Type property name string comparison.
- A matching property if found.
-
-
-
- Contract details for a used by the .
-
-
-
-
- Initializes a new instance of the class.
-
- The underlying type for the contract.
-
-
-
- Lookup and create an instance of the type described by the argument.
-
- The type to create.
- Optional arguments to pass to an initializing constructor of the JsonConverter.
- If null, the default constructor is used.
-
-
-
- A kebab case naming strategy.
-
-
-
-
- Initializes a new instance of the class.
-
-
- A flag indicating whether dictionary keys should be processed.
-
-
- A flag indicating whether explicitly specified property names should be processed,
- e.g. a property name customized with a .
-
-
-
-
- Initializes a new instance of the class.
-
-
- A flag indicating whether dictionary keys should be processed.
-
-
- A flag indicating whether explicitly specified property names should be processed,
- e.g. a property name customized with a .
-
-
- A flag indicating whether extension data names should be processed.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Resolves the specified property name.
-
- The property name to resolve.
- The resolved property name.
-
-
-
- Represents a trace writer that writes to memory. When the trace message limit is
- reached then old trace messages will be removed as new messages are added.
-
-
-
-
- Gets the that will be used to filter the trace messages passed to the writer.
- For example a filter level of will exclude messages and include ,
- and messages.
-
-
- The that will be used to filter the trace messages passed to the writer.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Writes the specified trace level, message and optional exception.
-
- The at which to write this trace.
- The trace message.
- The trace exception. This parameter is optional.
-
-
-
- Returns an enumeration of the most recent trace messages.
-
- An enumeration of the most recent trace messages.
-
-
-
- Returns a of the most recent trace messages.
-
-
- A of the most recent trace messages.
-
-
-
-
- A base class for resolving how property names and dictionary keys are serialized.
-
-
-
-
- A flag indicating whether dictionary keys should be processed.
- Defaults to false.
-
-
-
-
- A flag indicating whether extension data names should be processed.
- Defaults to false.
-
-
-
-
- A flag indicating whether explicitly specified property names,
- e.g. a property name customized with a , should be processed.
- Defaults to false.
-
-
-
-
- Gets the serialized name for a given property name.
-
- The initial property name.
- A flag indicating whether the property has had a name explicitly specified.
- The serialized property name.
-
-
-
- Gets the serialized name for a given extension data name.
-
- The initial extension data name.
- The serialized extension data name.
-
-
-
- Gets the serialized key for a given dictionary key.
-
- The initial dictionary key.
- The serialized dictionary key.
-
-
-
- Resolves the specified property name.
-
- The property name to resolve.
- The resolved property name.
-
-
-
- Hash code calculation
-
-
-
-
-
- Object equality implementation
-
-
-
-
-
-
- Compare to another NamingStrategy
-
-
-
-
-
-
- Represents a method that constructs an object.
-
- The object type to create.
-
-
-
- When applied to a method, specifies that the method is called when an error occurs serializing an object.
-
-
-
-
- Provides methods to get attributes from a , , or .
-
-
-
-
- Initializes a new instance of the class.
-
- The instance to get attributes for. This parameter should be a , , or .
-
-
-
- Returns a collection of all of the attributes, or an empty collection if there are no attributes.
-
- When true, look up the hierarchy chain for the inherited custom attribute.
- A collection of s, or an empty collection.
-
-
-
- Returns a collection of attributes, identified by type, or an empty collection if there are no attributes.
-
- The type of the attributes.
- When true, look up the hierarchy chain for the inherited custom attribute.
- A collection of s, or an empty collection.
-
-
-
- Get and set values for a using reflection.
-
-
-
-
- Initializes a new instance of the class.
-
- The member info.
-
-
-
- Sets the value.
-
- The target to set the value on.
- The value to set on the target.
-
-
-
- Gets the value.
-
- The target to get the value from.
- The value.
-
-
-
- A snake case naming strategy.
-
-
-
-
- Initializes a new instance of the class.
-
-
- A flag indicating whether dictionary keys should be processed.
-
-
- A flag indicating whether explicitly specified property names should be processed,
- e.g. a property name customized with a .
-
-
-
-
- Initializes a new instance of the class.
-
-
- A flag indicating whether dictionary keys should be processed.
-
-
- A flag indicating whether explicitly specified property names should be processed,
- e.g. a property name customized with a .
-
-
- A flag indicating whether extension data names should be processed.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Resolves the specified property name.
-
- The property name to resolve.
- The resolved property name.
-
-
-
- Specifies how strings are escaped when writing JSON text.
-
-
-
-
- Only control characters (e.g. newline) are escaped.
-
-
-
-
- All non-ASCII and control characters (e.g. newline) are escaped.
-
-
-
-
- HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped.
-
-
-
-
- Indicates the method that will be used during deserialization for locating and loading assemblies.
-
-
-
-
- In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the LoadWithPartialName method of the class is used to load the assembly.
-
-
-
-
- In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The Load method of the class is used to load the assembly.
-
-
-
-
- Specifies type name handling options for the .
-
-
- should be used with caution when your application deserializes JSON from an external source.
- Incoming types should be validated with a custom
- when deserializing with a value other than .
-
-
-
-
- Do not include the .NET type name when serializing types.
-
-
-
-
- Include the .NET type name when serializing into a JSON object structure.
-
-
-
-
- Include the .NET type name when serializing into a JSON array structure.
-
-
-
-
- Always include the .NET type name when serializing.
-
-
-
-
- Include the .NET type name when the type of the object being serialized is not the same as its declared type.
- Note that this doesn't include the root serialized object by default. To include the root object's type name in JSON
- you must specify a root type object with
- or .
-
-
-
-
- Determines whether the collection is null or empty.
-
- The collection.
-
- true if the collection is null or empty; otherwise, false.
-
-
-
-
- Adds the elements of the specified collection to the specified generic .
-
- The list to add to.
- The collection of elements to add.
-
-
-
- Converts the value to the specified type. If the value is unable to be converted, the
- value is checked whether it assignable to the specified type.
-
- The value to convert.
- The culture to use when converting.
- The type to convert or cast the value to.
-
- The converted type. If conversion was unsuccessful, the initial value
- is returned if assignable to the target type.
-
-
-
-
- Helper method for generating a MetaObject which calls a
- specific method on Dynamic that returns a result
-
-
-
-
- Helper method for generating a MetaObject which calls a
- specific method on Dynamic, but uses one of the arguments for
- the result.
-
-
-
-
- Helper method for generating a MetaObject which calls a
- specific method on Dynamic, but uses one of the arguments for
- the result.
-
-
-
-
- Returns a Restrictions object which includes our current restrictions merged
- with a restriction limiting our type
-
-
-
-
- Helper class for serializing immutable collections.
- Note that this is used by all builds, even those that don't support immutable collections, in case the DLL is GACed
- https://github.com/JamesNK/Newtonsoft.Json/issues/652
-
-
-
-
- Gets the type of the typed collection's items.
-
- The type.
- The type of the typed collection's items.
-
-
-
- Gets the member's underlying type.
-
- The member.
- The underlying type of the member.
-
-
-
- Determines whether the property is an indexed property.
-
- The property.
-
- true if the property is an indexed property; otherwise, false.
-
-
-
-
- Gets the member's value on the object.
-
- The member.
- The target object.
- The member's value on the object.
-
-
-
- Sets the member's value on the target object.
-
- The member.
- The target.
- The value.
-
-
-
- Determines whether the specified MemberInfo can be read.
-
- The MemberInfo to determine whether can be read.
- /// if set to true then allow the member to be gotten non-publicly.
-
- true if the specified MemberInfo can be read; otherwise, false.
-
-
-
-
- Determines whether the specified MemberInfo can be set.
-
- The MemberInfo to determine whether can be set.
- if set to true then allow the member to be set non-publicly.
- if set to true then allow the member to be set if read-only.
-
- true if the specified MemberInfo can be set; otherwise, false.
-
-
-
-
- Builds a string. Unlike this class lets you reuse its internal buffer.
-
-
-
-
- Determines whether the string is all white space. Empty string will return false.
-
- The string to test whether it is all white space.
-
- true if the string is all white space; otherwise, false.
-
-
-
-
- Specifies the state of the .
-
-
-
-
- An exception has been thrown, which has left the in an invalid state.
- You may call the method to put the in the Closed state.
- Any other method calls result in an being thrown.
-
-
-
-
- The method has been called.
-
-
-
-
- An object is being written.
-
-
-
-
- An array is being written.
-
-
-
-
- A constructor is being written.
-
-
-
-
- A property is being written.
-
-
-
-
- A write method has not been called.
-
-
-
- Specifies that an output will not be null even if the corresponding type allows it.
-
-
- Specifies that when a method returns , the parameter will not be null even if the corresponding type allows it.
-
-
- Initializes the attribute with the specified return value condition.
-
- The return value condition. If the method returns this value, the associated parameter will not be null.
-
-
-
- Gets the return value condition.
-
-
- Specifies that an output may be null even if the corresponding type disallows it.
-
-
- Specifies that null is allowed as an input even if the corresponding type disallows it.
-
-
-
- Specifies that the method will not return if the associated Boolean parameter is passed the specified value.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The condition parameter value. Code after the method will be considered unreachable by diagnostics if the argument to
- the associated parameter matches this value.
-
-
-
- Gets the condition parameter value.
-
-
-
diff --git a/packages/Newtonsoft.Json.13.0.3/packageIcon.png b/packages/Newtonsoft.Json.13.0.3/packageIcon.png
deleted file mode 100644
index 10c06a5..0000000
Binary files a/packages/Newtonsoft.Json.13.0.3/packageIcon.png and /dev/null differ
diff --git a/packages/WebSocketSharp-netstandard.1.0.1/.signature.p7s b/packages/WebSocketSharp-netstandard.1.0.1/.signature.p7s
deleted file mode 100644
index 38e615d..0000000
Binary files a/packages/WebSocketSharp-netstandard.1.0.1/.signature.p7s and /dev/null differ
diff --git a/packages/WebSocketSharp-netstandard.1.0.1/WebSocketSharp-netstandard.1.0.1.nupkg b/packages/WebSocketSharp-netstandard.1.0.1/WebSocketSharp-netstandard.1.0.1.nupkg
deleted file mode 100644
index ee995d0..0000000
Binary files a/packages/WebSocketSharp-netstandard.1.0.1/WebSocketSharp-netstandard.1.0.1.nupkg and /dev/null differ
diff --git a/packages/WebSocketSharp-netstandard.1.0.1/lib/net35/websocket-sharp.dll b/packages/WebSocketSharp-netstandard.1.0.1/lib/net35/websocket-sharp.dll
deleted file mode 100644
index 545bd15..0000000
Binary files a/packages/WebSocketSharp-netstandard.1.0.1/lib/net35/websocket-sharp.dll and /dev/null differ
diff --git a/packages/WebSocketSharp-netstandard.1.0.1/lib/net35/websocket-sharp.xml b/packages/WebSocketSharp-netstandard.1.0.1/lib/net35/websocket-sharp.xml
deleted file mode 100644
index d4ffb44..0000000
--- a/packages/WebSocketSharp-netstandard.1.0.1/lib/net35/websocket-sharp.xml
+++ /dev/null
@@ -1,10326 +0,0 @@
-
-
-
- websocket-sharp
-
-
-
-
- Specifies the byte order.
-
-
-
-
- Specifies Little-endian.
-
-
-
-
- Specifies Big-endian.
-
-
-
-
- Represents the event data for the event.
-
-
-
- That event occurs when the WebSocket connection has been closed.
-
-
- If you would like to get the reason for the close, you should access
- the or property.
-
-
-
-
-
- Gets the status code for the close.
-
-
- A that represents the status code for the close if any.
-
-
-
-
- Gets the reason for the close.
-
-
- A that represents the reason for the close if any.
-
-
-
-
- Gets a value indicating whether the connection has been closed cleanly.
-
-
- true if the connection has been closed cleanly; otherwise, false.
-
-
-
-
- Indicates the status code for the WebSocket connection close.
-
-
-
- The values of this enumeration are defined in
-
- Section 7.4 of RFC 6455.
-
-
- "Reserved value" cannot be sent as a status code in
- closing handshake by an endpoint.
-
-
-
-
-
- Equivalent to close status 1000. Indicates normal close.
-
-
-
-
- Equivalent to close status 1001. Indicates that an endpoint is
- going away.
-
-
-
-
- Equivalent to close status 1002. Indicates that an endpoint is
- terminating the connection due to a protocol error.
-
-
-
-
- Equivalent to close status 1003. Indicates that an endpoint is
- terminating the connection because it has received a type of
- data that it cannot accept.
-
-
-
-
- Equivalent to close status 1004. Still undefined. A Reserved value.
-
-
-
-
- Equivalent to close status 1005. Indicates that no status code was
- actually present. A Reserved value.
-
-
-
-
- Equivalent to close status 1006. Indicates that the connection was
- closed abnormally. A Reserved value.
-
-
-
-
- Equivalent to close status 1007. Indicates that an endpoint is
- terminating the connection because it has received a message that
- contains data that is not consistent with the type of the message.
-
-
-
-
- Equivalent to close status 1008. Indicates that an endpoint is
- terminating the connection because it has received a message that
- violates its policy.
-
-
-
-
- Equivalent to close status 1009. Indicates that an endpoint is
- terminating the connection because it has received a message that
- is too big to process.
-
-
-
-
- Equivalent to close status 1010. Indicates that a client is
- terminating the connection because it has expected the server to
- negotiate one or more extension, but the server did not return
- them in the handshake response.
-
-
-
-
- Equivalent to close status 1011. Indicates that a server is
- terminating the connection because it has encountered an unexpected
- condition that prevented it from fulfilling the request.
-
-
-
-
- Equivalent to close status 1015. Indicates that the connection was
- closed due to a failure to perform a TLS handshake. A Reserved value.
-
-
-
-
- Specifies the method for compression.
-
-
- The methods are defined in
-
- Compression Extensions for WebSocket.
-
-
-
-
- Specifies no compression.
-
-
-
-
- Specifies DEFLATE.
-
-
-
-
- Represents the event data for the event.
-
-
-
- That event occurs when the gets an error.
-
-
- If you would like to get the error message, you should access
- the property.
-
-
- And if the error is due to an exception, you can get it by accessing
- the property.
-
-
-
-
-
- Gets the exception that caused the error.
-
-
- An instance that represents the cause of
- the error if it is due to an exception; otherwise, .
-
-
-
-
- Gets the error message.
-
-
- A that represents the error message.
-
-
-
-
- Provides a set of static methods for websocket-sharp.
-
-
-
-
- Determines whether the specified equals the specified ,
- and invokes the specified Action<int> delegate at the same time.
-
-
- true if equals ;
- otherwise, false.
-
-
- An to compare.
-
-
- A to compare.
-
-
- An Action<int> delegate that references the method(s) called
- at the same time as comparing. An parameter to pass to
- the method(s) is .
-
-
-
-
- Gets the absolute path from the specified .
-
-
- A that represents the absolute path if it's successfully found;
- otherwise, .
-
-
- A that represents the URI to get the absolute path from.
-
-
-
-
- Gets the name from the specified that contains a pair of name and
- value separated by a separator character.
-
-
- A that represents the name if any; otherwise, null.
-
-
- A that contains a pair of name and value separated by
- a separator character.
-
-
- A that represents the separator character.
-
-
-
-
- Gets the value from the specified that contains a pair of name and
- value separated by a separator character.
-
-
- A that represents the value if any; otherwise, null.
-
-
- A that contains a pair of name and value separated by
- a separator character.
-
-
- A that represents the separator character.
-
-
-
-
- Tries to create a new for WebSocket with
- the specified .
-
-
- true if the was successfully created;
- otherwise, false.
-
-
- A that represents a WebSocket URL to try.
-
-
- When this method returns, a that
- represents the WebSocket URL or
- if is invalid.
-
-
- When this method returns, a that
- represents an error message or
- if is valid.
-
-
-
-
- Determines whether the specified contains any of characters in
- the specified array of .
-
-
- true if contains any of ;
- otherwise, false.
-
-
- A to test.
-
-
- An array of that contains characters to find.
-
-
-
-
- Determines whether the specified contains
- the entry with the specified .
-
-
- true if contains the entry with
- ; otherwise, false.
-
-
- A to test.
-
-
- A that represents the key of the entry to find.
-
-
-
-
- Determines whether the specified contains the entry with
- the specified both and .
-
-
- true if contains the entry with both
- and ; otherwise, false.
-
-
- A to test.
-
-
- A that represents the key of the entry to find.
-
-
- A that represents the value of the entry to find.
-
-
-
-
- Emits the specified delegate if it isn't .
-
-
- A to emit.
-
-
- An from which emits this .
-
-
- A that contains no event data.
-
-
-
-
- Emits the specified EventHandler<TEventArgs> delegate if it isn't
- .
-
-
- An EventHandler<TEventArgs> to emit.
-
-
- An from which emits this .
-
-
- A TEventArgs that represents the event data.
-
-
- The type of the event data generated by the event.
-
-
-
-
- Gets the collection of the HTTP cookies from the specified HTTP .
-
-
- A that receives a collection of the HTTP cookies.
-
-
- A that contains a collection of the HTTP headers.
-
-
- true if is a collection of the response headers;
- otherwise, false.
-
-
-
-
- Gets the description of the specified HTTP status .
-
-
- A that represents the description of the HTTP status code.
-
-
- One of enum values, indicates the HTTP status code.
-
-
-
-
- Gets the description of the specified HTTP status .
-
-
- A that represents the description of the HTTP status code.
-
-
- An that represents the HTTP status code.
-
-
-
-
- Determines whether the specified is in the
- range of the status code for the WebSocket connection close.
-
-
-
- The ranges are the following:
-
-
- -
-
- 1000-2999: These numbers are reserved for definition by
- the WebSocket protocol.
-
-
- -
-
- 3000-3999: These numbers are reserved for use by libraries,
- frameworks, and applications.
-
-
- -
-
- 4000-4999: These numbers are reserved for private use.
-
-
-
-
-
- true if is in the range of
- the status code for the close; otherwise, false.
-
-
- A to test.
-
-
-
-
- Determines whether the specified is
- enclosed in the specified .
-
-
- true if is enclosed in
- ; otherwise, false.
-
-
- A to test.
-
-
- A to find.
-
-
-
-
- Determines whether the specified is host (this computer
- architecture) byte order.
-
-
- true if is host byte order; otherwise, false.
-
-
- One of the enum values, to test.
-
-
-
-
- Determines whether the specified
- represents a local IP address.
-
-
- This local means NOT REMOTE for the current host.
-
-
- true if represents a local IP address;
- otherwise, false.
-
-
- A to test.
-
-
-
-
- Determines whether the specified string is or
- an empty string.
-
-
- true if the string is or an empty string;
- otherwise, false.
-
-
- A to test.
-
-
-
-
- Determines whether the specified is
- a predefined scheme.
-
-
- true if is a predefined scheme;
- otherwise, false.
-
-
- A to test.
-
-
-
-
- Determines whether the specified is
- an HTTP Upgrade request to switch to the specified .
-
-
- true if is an HTTP Upgrade request to switch to
- ; otherwise, false.
-
-
- A that represents the HTTP request.
-
-
- A that represents the protocol name.
-
-
-
- is .
-
-
- -or-
-
-
- is .
-
-
-
- is empty.
-
-
-
-
- Determines whether the specified is a URI string.
-
-
- true if may be a URI string;
- otherwise, false.
-
-
- A to test.
-
-
-
-
- Retrieves a sub-array from the specified . A sub-array starts at
- the specified element position in .
-
-
- An array of T that receives a sub-array, or an empty array of T if any problems with
- the parameters.
-
-
- An array of T from which to retrieve a sub-array.
-
-
- An that represents the zero-based starting position of
- a sub-array in .
-
-
- An that represents the number of elements to retrieve.
-
-
- The type of elements in .
-
-
-
-
- Retrieves a sub-array from the specified . A sub-array starts at
- the specified element position in .
-
-
- An array of T that receives a sub-array, or an empty array of T if any problems with
- the parameters.
-
-
- An array of T from which to retrieve a sub-array.
-
-
- A that represents the zero-based starting position of
- a sub-array in .
-
-
- A that represents the number of elements to retrieve.
-
-
- The type of elements in .
-
-
-
-
- Executes the specified delegate times.
-
-
- An is the number of times to execute.
-
-
- An delegate that references the method(s) to execute.
-
-
-
-
- Executes the specified delegate times.
-
-
- A is the number of times to execute.
-
-
- An delegate that references the method(s) to execute.
-
-
-
-
- Executes the specified delegate times.
-
-
- A is the number of times to execute.
-
-
- An delegate that references the method(s) to execute.
-
-
-
-
- Executes the specified delegate times.
-
-
- A is the number of times to execute.
-
-
- An delegate that references the method(s) to execute.
-
-
-
-
- Executes the specified Action<int> delegate times.
-
-
- An is the number of times to execute.
-
-
- An Action<int> delegate that references the method(s) to execute.
- An parameter to pass to the method(s) is the zero-based count of
- iteration.
-
-
-
-
- Executes the specified Action<long> delegate times.
-
-
- A is the number of times to execute.
-
-
- An Action<long> delegate that references the method(s) to execute.
- A parameter to pass to the method(s) is the zero-based count of
- iteration.
-
-
-
-
- Executes the specified Action<uint> delegate times.
-
-
- A is the number of times to execute.
-
-
- An Action<uint> delegate that references the method(s) to execute.
- A parameter to pass to the method(s) is the zero-based count of
- iteration.
-
-
-
-
- Executes the specified Action<ulong> delegate times.
-
-
- A is the number of times to execute.
-
-
- An Action<ulong> delegate that references the method(s) to execute.
- A parameter to pass to this method(s) is the zero-based count of
- iteration.
-
-
-
-
- Converts the specified array of to the specified type data.
-
-
- A T converted from , or a default value of
- T if is an empty array of or
- if the type of T isn't , , ,
- , , , ,
- , , or .
-
-
- An array of to convert.
-
-
- One of the enum values, specifies the byte order of
- .
-
-
- The type of the return. The T must be a value type.
-
-
- is .
-
-
-
-
- Converts the specified to an array of .
-
-
- An array of converted from .
-
-
- A T to convert.
-
-
- One of the enum values, specifies the byte order of the return.
-
-
- The type of . The T must be a value type.
-
-
-
-
- Converts the order of the specified array of to the host byte order.
-
-
- An array of converted from .
-
-
- An array of to convert.
-
-
- One of the enum values, specifies the byte order of
- .
-
-
- is .
-
-
-
-
- Converts the specified to a that
- concatenates the each element of across the specified
- .
-
-
- A converted from ,
- or if is empty.
-
-
- An array of T to convert.
-
-
- A that represents the separator string.
-
-
- The type of elements in .
-
-
- is .
-
-
-
-
- Converts the specified to a .
-
-
- A converted from or
- if the convert has failed.
-
-
- A to convert.
-
-
-
-
- URL-decodes the specified .
-
-
- A that receives the decoded string or
- if it is or empty.
-
-
- A to decode.
-
-
-
-
- URL-encodes the specified .
-
-
- A that receives the encoded string or
- if it is or empty.
-
-
- A to encode.
-
-
-
-
- Writes and sends the specified data with the specified
- .
-
-
- A that represents the HTTP response used to
- send the content data.
-
-
- An array of that represents the content data to send.
-
-
-
- is .
-
-
- -or-
-
-
- is .
-
-
-
-
-
- Indicates whether a WebSocket frame is the final frame of a message.
-
-
- The values of this enumeration are defined in
- Section 5.2 of RFC 6455.
-
-
-
-
- Equivalent to numeric value 0. Indicates more frames of a message follow.
-
-
-
-
- Equivalent to numeric value 1. Indicates the final frame of a message.
-
-
-
-
- Represents a log data used by the class.
-
-
-
-
- Gets the information of the logging method caller.
-
-
- A that provides the information of the logging method caller.
-
-
-
-
- Gets the date and time when the log data was created.
-
-
- A that represents the date and time when the log data was created.
-
-
-
-
- Gets the logging level of the log data.
-
-
- One of the enum values, indicates the logging level of the log data.
-
-
-
-
- Gets the message of the log data.
-
-
- A that represents the message of the log data.
-
-
-
-
- Returns a that represents the current .
-
-
- A that represents the current .
-
-
-
-
- Provides a set of methods and properties for logging.
-
-
-
- If you output a log with lower than the value of the property,
- it cannot be outputted.
-
-
- The default output action writes a log to the standard output stream and the log file
- if the property has a valid path to it.
-
-
- If you would like to use the custom output action, you should set
- the property to any Action<LogData, string>
- delegate.
-
-
-
-
-
- Initializes a new instance of the class.
-
-
- This constructor initializes the current logging level with .
-
-
-
-
- Initializes a new instance of the class with
- the specified logging .
-
-
- One of the enum values.
-
-
-
-
- Initializes a new instance of the class with
- the specified logging , path to the log ,
- and action.
-
-
- One of the enum values.
-
-
- A that represents the path to the log file.
-
-
- An Action<LogData, string> delegate that references the method(s) used to
- output a log. A parameter passed to this delegate is
- .
-
-
-
-
- Gets or sets the current path to the log file.
-
-
- A that represents the current path to the log file if any.
-
-
-
-
- Gets or sets the current logging level.
-
-
- A log with lower than the value of this property cannot be outputted.
-
-
- One of the enum values, specifies the current logging level.
-
-
-
-
- Gets or sets the current output action used to output a log.
-
-
-
- An Action<LogData, string> delegate that references the method(s) used to
- output a log. A parameter passed to this delegate is the value of
- the property.
-
-
- If the value to set is , the current output action is changed to
- the default output action.
-
-
-
-
-
- Outputs as a log with .
-
-
- If the current logging level is higher than ,
- this method doesn't output as a log.
-
-
- A that represents the message to output as a log.
-
-
-
-
- Outputs as a log with .
-
-
- If the current logging level is higher than ,
- this method doesn't output as a log.
-
-
- A that represents the message to output as a log.
-
-
-
-
- Outputs as a log with .
-
-
- A that represents the message to output as a log.
-
-
-
-
- Outputs as a log with .
-
-
- If the current logging level is higher than ,
- this method doesn't output as a log.
-
-
- A that represents the message to output as a log.
-
-
-
-
- Outputs as a log with .
-
-
- If the current logging level is higher than ,
- this method doesn't output as a log.
-
-
- A that represents the message to output as a log.
-
-
-
-
- Outputs as a log with .
-
-
- If the current logging level is higher than ,
- this method doesn't output as a log.
-
-
- A that represents the message to output as a log.
-
-
-
-
- Specifies the logging level.
-
-
-
-
- Specifies the bottom logging level.
-
-
-
-
- Specifies the 2nd logging level from the bottom.
-
-
-
-
- Specifies the 3rd logging level from the bottom.
-
-
-
-
- Specifies the 3rd logging level from the top.
-
-
-
-
- Specifies the 2nd logging level from the top.
-
-
-
-
- Specifies the top logging level.
-
-
-
-
- Indicates whether the payload data of a WebSocket frame is masked.
-
-
- The values of this enumeration are defined in
- Section 5.2 of RFC 6455.
-
-
-
-
- Equivalent to numeric value 0. Indicates not masked.
-
-
-
-
- Equivalent to numeric value 1. Indicates masked.
-
-
-
-
- Represents the event data for the event.
-
-
-
- That event occurs when the receives
- a message or a ping if the
- property is set to true.
-
-
- If you would like to get the message data, you should access
- the or property.
-
-
-
-
-
- Gets the opcode for the message.
-
-
- , ,
- or .
-
-
-
-
- Gets the message data as a .
-
-
- A that represents the message data if its type is
- text or ping and if decoding it to a string has successfully done;
- otherwise, .
-
-
-
-
- Gets a value indicating whether the message type is binary.
-
-
- true if the message type is binary; otherwise, false.
-
-
-
-
- Gets a value indicating whether the message type is ping.
-
-
- true if the message type is ping; otherwise, false.
-
-
-
-
- Gets a value indicating whether the message type is text.
-
-
- true if the message type is text; otherwise, false.
-
-
-
-
- Gets the message data as an array of .
-
-
- An array of that represents the message data.
-
-
-
-
- Specifies the scheme for authentication.
-
-
-
-
- No authentication is allowed.
-
-
-
-
- Specifies digest authentication.
-
-
-
-
- Specifies basic authentication.
-
-
-
-
- Specifies anonymous authentication.
-
-
-
-
- Stores the parameters for the used by clients.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- with the specified .
-
-
- A that represents the target host server name.
-
-
-
-
- Copies the parameters from the specified to
- a new instance of the class.
-
-
- A from which to copy.
-
-
- is .
-
-
-
-
- Gets or sets a value indicating whether the certificate revocation
- list is checked during authentication.
-
-
-
- true if the certificate revocation list is checked during
- authentication; otherwise, false.
-
-
- The default value is false.
-
-
-
-
-
- Gets or sets the certificates from which to select one to
- supply to the server.
-
-
-
- A or .
-
-
- That collection contains client certificates from which to select.
-
-
- The default value is .
-
-
-
-
-
- Gets or sets the callback used to select the certificate to
- supply to the server.
-
-
- No certificate is supplied if the callback returns
- .
-
-
-
- A delegate that
- invokes the method called for selecting the certificate.
-
-
- The default value is a delegate that invokes a method that
- only returns .
-
-
-
-
-
- Gets or sets the protocols used for authentication.
-
-
-
- The enum values that represent
- the protocols used for authentication.
-
-
- The default value is .
-
-
-
-
-
- Gets or sets the callback used to validate the certificate
- supplied by the server.
-
-
- The certificate is valid if the callback returns true.
-
-
-
- A delegate that
- invokes the method called for validating the certificate.
-
-
- The default value is a delegate that invokes a method that
- only returns true.
-
-
-
-
-
- Gets or sets the target host server name.
-
-
-
- A or
- if not specified.
-
-
- That string represents the name of the server that
- will share a secure connection with a client.
-
-
-
-
-
- Provides a set of methods and properties used to manage an HTTP Cookie.
-
-
-
- The Cookie class supports the following cookie formats:
- Netscape specification,
- RFC 2109, and
- RFC 2965
-
-
- The Cookie class cannot be inherited.
-
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class with the specified
- and .
-
-
- A that represents the Name of the cookie.
-
-
- A that represents the Value of the cookie.
-
-
-
- is or empty.
-
-
- - or -
-
-
- contains an invalid character.
-
-
- - or -
-
-
- is .
-
-
- - or -
-
-
- contains a string not enclosed in double quotes
- that contains an invalid character.
-
-
-
-
-
- Initializes a new instance of the class with the specified
- , , and .
-
-
- A that represents the Name of the cookie.
-
-
- A that represents the Value of the cookie.
-
-
- A that represents the value of the Path attribute of the cookie.
-
-
-
- is or empty.
-
-
- - or -
-
-
- contains an invalid character.
-
-
- - or -
-
-
- is .
-
-
- - or -
-
-
- contains a string not enclosed in double quotes
- that contains an invalid character.
-
-
-
-
-
- Initializes a new instance of the class with the specified
- , , , and
- .
-
-
- A that represents the Name of the cookie.
-
-
- A that represents the Value of the cookie.
-
-
- A that represents the value of the Path attribute of the cookie.
-
-
- A that represents the value of the Domain attribute of the cookie.
-
-
-
- is or empty.
-
-
- - or -
-
-
- contains an invalid character.
-
-
- - or -
-
-
- is .
-
-
- - or -
-
-
- contains a string not enclosed in double quotes
- that contains an invalid character.
-
-
-
-
-
- Gets or sets the value of the Comment attribute of the cookie.
-
-
- A that represents the comment to document intended use of the cookie.
-
-
-
-
- Gets or sets the value of the CommentURL attribute of the cookie.
-
-
- A that represents the URI that provides the comment to document intended
- use of the cookie.
-
-
-
-
- Gets or sets a value indicating whether the client discards the cookie unconditionally
- when the client terminates.
-
-
- true if the client discards the cookie unconditionally when the client terminates;
- otherwise, false. The default value is false.
-
-
-
-
- Gets or sets the value of the Domain attribute of the cookie.
-
-
- A that represents the URI for which the cookie is valid.
-
-
-
-
- Gets or sets a value indicating whether the cookie has expired.
-
-
- true if the cookie has expired; otherwise, false.
- The default value is false.
-
-
-
-
- Gets or sets the value of the Expires attribute of the cookie.
-
-
- A that represents the date and time at which the cookie expires.
- The default value is .
-
-
-
-
- Gets or sets a value indicating whether non-HTTP APIs can access the cookie.
-
-
- true if non-HTTP APIs cannot access the cookie; otherwise, false.
- The default value is false.
-
-
-
-
- Gets or sets the Name of the cookie.
-
-
- A that represents the Name of the cookie.
-
-
-
- The value specified for a set operation is or empty.
-
-
- - or -
-
-
- The value specified for a set operation contains an invalid character.
-
-
-
-
-
- Gets or sets the value of the Path attribute of the cookie.
-
-
- A that represents the subset of URI on the origin server
- to which the cookie applies.
-
-
-
-
- Gets or sets the value of the Port attribute of the cookie.
-
-
- A that represents the list of TCP ports to which the cookie applies.
-
-
- The value specified for a set operation isn't enclosed in double quotes or
- couldn't be parsed.
-
-
-
-
- Gets or sets a value indicating whether the security level of the cookie is secure.
-
-
- When this property is true, the cookie may be included in the HTTP request
- only if the request is transmitted over the HTTPS.
-
-
- true if the security level of the cookie is secure; otherwise, false.
- The default value is false.
-
-
-
-
- Gets the time when the cookie was issued.
-
-
- A that represents the time when the cookie was issued.
-
-
-
-
- Gets or sets the Value of the cookie.
-
-
- A that represents the Value of the cookie.
-
-
-
- The value specified for a set operation is .
-
-
- - or -
-
-
- The value specified for a set operation contains a string not enclosed in double quotes
- that contains an invalid character.
-
-
-
-
-
- Gets or sets the value of the Version attribute of the cookie.
-
-
- An that represents the version of the HTTP state management
- to which the cookie conforms.
-
-
- The value specified for a set operation isn't 0 or 1.
-
-
-
-
- Determines whether the specified is equal to the current
- .
-
-
- An to compare with the current .
-
-
- true if is equal to the current ;
- otherwise, false.
-
-
-
-
- Serves as a hash function for a object.
-
-
- An that represents the hash code for the current .
-
-
-
-
- Returns a that represents the current .
-
-
- This method returns a to use to send an HTTP Cookie to
- an origin server.
-
-
- A that represents the current .
-
-
-
-
- Provides a collection container for instances of the class.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets the number of cookies in the collection.
-
-
- An that represents the number of cookies in the collection.
-
-
-
-
- Gets a value indicating whether the collection is read-only.
-
-
- true if the collection is read-only; otherwise, false.
- The default value is true.
-
-
-
-
- Gets a value indicating whether the access to the collection is thread safe.
-
-
- true if the access to the collection is thread safe; otherwise, false.
- The default value is false.
-
-
-
-
- Gets the at the specified from
- the collection.
-
-
- A at the specified in the collection.
-
-
- An that represents the zero-based index of the
- to find.
-
-
- is out of allowable range of indexes for the collection.
-
-
-
-
- Gets the with the specified from
- the collection.
-
-
- A with the specified in the collection.
-
-
- A that represents the name of the to find.
-
-
- is .
-
-
-
-
- Gets an object used to synchronize access to the collection.
-
-
- An used to synchronize access to the collection.
-
-
-
-
- Adds the specified to the collection.
-
-
- A to add.
-
-
- is .
-
-
-
-
- Adds the specified to the collection.
-
-
- A that contains the cookies to add.
-
-
- is .
-
-
-
-
- Copies the elements of the collection to the specified , starting at
- the specified in the .
-
-
- An that represents the destination of the elements copied from
- the collection.
-
-
- An that represents the zero-based index in
- at which copying begins.
-
-
- is .
-
-
- is less than zero.
-
-
-
- is multidimensional.
-
-
- -or-
-
-
- The number of elements in the collection is greater than the available space from
- to the end of the destination .
-
-
-
- The elements in the collection cannot be cast automatically to the type of the destination
- .
-
-
-
-
- Copies the elements of the collection to the specified array of ,
- starting at the specified in the .
-
-
- An array of that represents the destination of the elements
- copied from the collection.
-
-
- An that represents the zero-based index in
- at which copying begins.
-
-
- is .
-
-
- is less than zero.
-
-
- The number of elements in the collection is greater than the available space from
- to the end of the destination .
-
-
-
-
- Gets the enumerator used to iterate through the collection.
-
-
- An instance used to iterate through the collection.
-
-
-
-
- The exception that is thrown when a gets an error.
-
-
-
-
- Initializes a new instance of the class from
- the specified and .
-
-
- A that contains the serialized object data.
-
-
- A that specifies the source for the deserialization.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Populates the specified with the data needed to serialize
- the current .
-
-
- A that holds the serialized object data.
-
-
- A that specifies the destination for the serialization.
-
-
-
-
- Populates the specified with the data needed to serialize
- the current .
-
-
- A that holds the serialized object data.
-
-
- A that specifies the destination for the serialization.
-
-
-
-
- Holds the username and password from an HTTP Basic authentication attempt.
-
-
-
-
- Gets the password from a basic authentication attempt.
-
-
- A that represents the password.
-
-
-
-
- Holds the username and other parameters from
- an HTTP Digest authentication attempt.
-
-
-
-
- Gets the algorithm parameter from a digest authentication attempt.
-
-
- A that represents the algorithm parameter.
-
-
-
-
- Gets the cnonce parameter from a digest authentication attempt.
-
-
- A that represents the cnonce parameter.
-
-
-
-
- Gets the nc parameter from a digest authentication attempt.
-
-
- A that represents the nc parameter.
-
-
-
-
- Gets the nonce parameter from a digest authentication attempt.
-
-
- A that represents the nonce parameter.
-
-
-
-
- Gets the opaque parameter from a digest authentication attempt.
-
-
- A that represents the opaque parameter.
-
-
-
-
- Gets the qop parameter from a digest authentication attempt.
-
-
- A that represents the qop parameter.
-
-
-
-
- Gets the realm parameter from a digest authentication attempt.
-
-
- A that represents the realm parameter.
-
-
-
-
- Gets the response parameter from a digest authentication attempt.
-
-
- A that represents the response parameter.
-
-
-
-
- Gets the uri parameter from a digest authentication attempt.
-
-
- A that represents the uri parameter.
-
-
-
-
- Provides a simple, programmatically controlled HTTP listener.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets the scheme used to authenticate the clients.
-
-
- One of the enum values,
- represents the scheme used to authenticate the clients. The default value is
- .
-
-
- This listener has been closed.
-
-
-
-
- Gets or sets the delegate called to select the scheme used to authenticate the clients.
-
-
- If you set this property, the listener uses the authentication scheme selected by
- the delegate for each request. Or if you don't set, the listener uses the value of
- the property as the authentication
- scheme for all requests.
-
-
- A Func<, >
- delegate that references the method used to select an authentication scheme. The default
- value is .
-
-
- This listener has been closed.
-
-
-
-
- Gets or sets the path to the folder in which stores the certificate files used to
- authenticate the server on the secure connection.
-
-
-
- This property represents the path to the folder in which stores the certificate files
- associated with each port number of added URI prefixes. A set of the certificate files
- is a pair of the 'port number'.cer (DER) and 'port number'.key
- (DER, RSA Private Key).
-
-
- If this property is or empty, the result of
- System.Environment.GetFolderPath
- () is used as the default path.
-
-
-
- A that represents the path to the folder in which stores
- the certificate files. The default value is .
-
-
- This listener has been closed.
-
-
-
-
- Gets or sets a value indicating whether the listener returns exceptions that occur when
- sending the response to the client.
-
-
- true if the listener shouldn't return those exceptions; otherwise, false.
- The default value is false.
-
-
- This listener has been closed.
-
-
-
-
- Gets a value indicating whether the listener has been started.
-
-
- true if the listener has been started; otherwise, false.
-
-
-
-
- Gets a value indicating whether the listener can be used with the current operating system.
-
-
- true.
-
-
-
-
- Gets the logging functions.
-
-
- The default logging level is . If you would like to change it,
- you should set the Log.Level property to any of the enum
- values.
-
-
- A that provides the logging functions.
-
-
-
-
- Gets the URI prefixes handled by the listener.
-
-
- A that contains the URI prefixes.
-
-
- This listener has been closed.
-
-
-
-
- Gets or sets the name of the realm associated with the listener.
-
-
- If this property is or empty, "SECRET AREA" will be used as
- the name of the realm.
-
-
- A that represents the name of the realm. The default value is
- .
-
-
- This listener has been closed.
-
-
-
-
- Gets or sets the SSL configuration used to authenticate the server and
- optionally the client for secure connection.
-
-
- A that represents the configuration used to
- authenticate the server and optionally the client for secure connection.
-
-
- This listener has been closed.
-
-
-
-
- Gets or sets a value indicating whether, when NTLM authentication is used,
- the authentication information of first request is used to authenticate
- additional requests on the same connection.
-
-
- This property isn't currently supported and always throws
- a .
-
-
- true if the authentication information of first request is used;
- otherwise, false.
-
-
- Any use of this property.
-
-
-
-
- Gets or sets the delegate called to find the credentials for an identity used to
- authenticate a client.
-
-
- A Func<, > delegate
- that references the method used to find the credentials. The default value is
- .
-
-
- This listener has been closed.
-
-
-
-
- Shuts down the listener immediately.
-
-
-
-
- Begins getting an incoming request asynchronously.
-
-
- This asynchronous operation must be completed by calling the EndGetContext method.
- Typically, the method is invoked by the delegate.
-
-
- An that represents the status of the asynchronous operation.
-
-
- An delegate that references the method to invoke when
- the asynchronous operation completes.
-
-
- An that represents a user defined object to pass to
- the delegate.
-
-
-
- This listener has no URI prefix on which listens.
-
-
- -or-
-
-
- This listener hasn't been started, or is currently stopped.
-
-
-
- This listener has been closed.
-
-
-
-
- Shuts down the listener.
-
-
-
-
- Ends an asynchronous operation to get an incoming request.
-
-
- This method completes an asynchronous operation started by calling
- the BeginGetContext method.
-
-
- A that represents a request.
-
-
- An obtained by calling the BeginGetContext method.
-
-
- is .
-
-
- wasn't obtained by calling the BeginGetContext method.
-
-
- This method was already called for the specified .
-
-
- This listener has been closed.
-
-
-
-
- Gets an incoming request.
-
-
- This method waits for an incoming request, and returns when a request is received.
-
-
- A that represents a request.
-
-
-
- This listener has no URI prefix on which listens.
-
-
- -or-
-
-
- This listener hasn't been started, or is currently stopped.
-
-
-
- This listener has been closed.
-
-
-
-
- Starts receiving incoming requests.
-
-
- This listener has been closed.
-
-
-
-
- Stops receiving incoming requests.
-
-
- This listener has been closed.
-
-
-
-
- Releases all resources used by the listener.
-
-
-
-
- Provides the access to the HTTP request and response objects used by
- the .
-
-
- This class cannot be inherited.
-
-
-
-
- Gets the HTTP request object that represents a client request.
-
-
- A that represents the client request.
-
-
-
-
- Gets the HTTP response object used to send a response to the client.
-
-
- A that represents a response to the client request.
-
-
-
-
- Gets the client information (identity, authentication, and security roles).
-
-
- A instance that represents the client information.
-
-
-
-
- Accepts a WebSocket handshake request.
-
-
- A that represents
- the WebSocket handshake request.
-
-
- A that represents the subprotocol supported on
- this WebSocket connection.
-
-
-
- is empty.
-
-
- -or-
-
-
- contains an invalid character.
-
-
-
- This method has already been called.
-
-
-
-
- The exception that is thrown when a gets an error
- processing an HTTP request.
-
-
-
-
- Initializes a new instance of the class from
- the specified and .
-
-
- A that contains the serialized object data.
-
-
- A that specifies the source for the deserialization.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- with the specified .
-
-
- An that identifies the error.
-
-
-
-
- Initializes a new instance of the class
- with the specified and .
-
-
- An that identifies the error.
-
-
- A that describes the error.
-
-
-
-
- Gets the error code that identifies the error that occurred.
-
-
- An that identifies the error.
-
-
-
-
- Initializes a new instance of the class with
- the specified .
-
-
- This constructor must be called after calling the CheckPrefix method.
-
-
- A that represents the URI prefix.
-
-
-
-
- Determines whether this instance and the specified have the same value.
-
-
- This method will be required to detect duplicates in any collection.
-
-
- An to compare to this instance.
-
-
- true if is a and
- its value is the same as this instance; otherwise, false.
-
-
-
-
- Gets the hash code for this instance.
-
-
- This method will be required to detect duplicates in any collection.
-
-
- An that represents the hash code.
-
-
-
-
- Provides the collection used to store the URI prefixes for the .
-
-
- The responds to the request which has a requested URI that
- the prefixes most closely match.
-
-
-
-
- Gets the number of prefixes in the collection.
-
-
- An that represents the number of prefixes.
-
-
-
-
- Gets a value indicating whether the access to the collection is read-only.
-
-
- Always returns false.
-
-
-
-
- Gets a value indicating whether the access to the collection is synchronized.
-
-
- Always returns false.
-
-
-
-
- Adds the specified to the collection.
-
-
- A that represents the URI prefix to add. The prefix must be
- a well-formed URI prefix with http or https scheme, and must end with a '/'.
-
-
- is .
-
-
- is invalid.
-
-
- The associated with this collection is closed.
-
-
-
-
- Removes all URI prefixes from the collection.
-
-
- The associated with this collection is closed.
-
-
-
-
- Returns a value indicating whether the collection contains the specified
- .
-
-
- true if the collection contains ;
- otherwise, false.
-
-
- A that represents the URI prefix to test.
-
-
- is .
-
-
- The associated with this collection is closed.
-
-
-
-
- Copies the contents of the collection to the specified .
-
-
- An that receives the URI prefix strings in the collection.
-
-
- An that represents the zero-based index in
- at which copying begins.
-
-
- The associated with this collection is closed.
-
-
-
-
- Copies the contents of the collection to the specified array of .
-
-
- An array of that receives the URI prefix strings in the collection.
-
-
- An that represents the zero-based index in
- at which copying begins.
-
-
- The associated with this collection is closed.
-
-
-
-
- Gets the enumerator used to iterate through the .
-
-
- An instance used to iterate
- through the collection.
-
-
-
-
- Removes the specified from the collection.
-
-
- true if is successfully found and removed;
- otherwise, false.
-
-
- A that represents the URI prefix to remove.
-
-
- is .
-
-
- The associated with this collection is closed.
-
-
-
-
- Gets the enumerator used to iterate through the .
-
-
- An instance used to iterate through the collection.
-
-
-
-
- Provides the access to a request to the .
-
-
- The HttpListenerRequest class cannot be inherited.
-
-
-
-
- Gets the media types which are acceptable for the response.
-
-
- An array of that contains the media type names in
- the Accept request-header, or if the request didn't include
- the Accept header.
-
-
-
-
- Gets an error code that identifies a problem with the client's certificate.
-
-
- Always returns 0.
-
-
-
-
- Gets the encoding for the entity body data included in the request.
-
-
- A that represents the encoding for the entity body data,
- or if the request didn't include the information about
- the encoding.
-
-
-
-
- Gets the number of bytes in the entity body data included in the request.
-
-
- A that represents the value of the Content-Length entity-header,
- or -1 if the value isn't known.
-
-
-
-
- Gets the media type of the entity body included in the request.
-
-
- A that represents the value of the Content-Type entity-header.
-
-
-
-
- Gets the cookies included in the request.
-
-
- A that contains the cookies included in the request.
-
-
-
-
- Gets a value indicating whether the request has the entity body.
-
-
- true if the request has the entity body; otherwise, false.
-
-
-
-
- Gets the HTTP headers used in the request.
-
-
- A that contains the HTTP headers used in the request.
-
-
-
-
- Gets the HTTP method used in the request.
-
-
- A that represents the HTTP method used in the request.
-
-
-
-
- Gets a that contains the entity body data included in the request.
-
-
- A that contains the entity body data included in the request.
-
-
-
-
- Gets a value indicating whether the client that sent the request is authenticated.
-
-
- true if the client is authenticated; otherwise, false.
-
-
-
-
- Gets a value indicating whether the request is sent from the local computer.
-
-
- true if the request is sent from the local computer; otherwise, false.
-
-
-
-
- Gets a value indicating whether the HTTP connection is secured using the SSL protocol.
-
-
- true if the HTTP connection is secured; otherwise, false.
-
-
-
-
- Gets a value indicating whether the request is a WebSocket connection request.
-
-
- true if the request is a WebSocket connection request; otherwise, false.
-
-
-
-
- Gets a value indicating whether the client requests a persistent connection.
-
-
- true if the client requests a persistent connection; otherwise, false.
-
-
-
-
- Gets the server endpoint as an IP address and a port number.
-
-
- A that represents the server endpoint.
-
-
-
-
- Gets the HTTP version used in the request.
-
-
- A that represents the HTTP version used in the request.
-
-
-
-
- Gets the query string included in the request.
-
-
- A that contains the query string parameters.
-
-
-
-
- Gets the raw URL (without the scheme, host, and port) requested by the client.
-
-
- A that represents the raw URL requested by the client.
-
-
-
-
- Gets the client endpoint as an IP address and a port number.
-
-
- A that represents the client endpoint.
-
-
-
-
- Gets the request identifier of a incoming HTTP request.
-
-
- A that represents the identifier of a request.
-
-
-
-
- Gets the URL requested by the client.
-
-
- A that represents the URL requested by the client.
-
-
-
-
- Gets the URL of the resource from which the requested URL was obtained.
-
-
- A that represents the value of the Referer request-header,
- or if the request didn't include an Referer header.
-
-
-
-
- Gets the information about the user agent originating the request.
-
-
- A that represents the value of the User-Agent request-header.
-
-
-
-
- Gets the server endpoint as an IP address and a port number.
-
-
- A that represents the server endpoint.
-
-
-
-
- Gets the internet host name and port number (if present) specified by the client.
-
-
- A that represents the value of the Host request-header.
-
-
-
-
- Gets the natural languages which are preferred for the response.
-
-
- An array of that contains the natural language names in
- the Accept-Language request-header, or if the request
- didn't include an Accept-Language header.
-
-
-
-
- Begins getting the client's X.509 v.3 certificate asynchronously.
-
-
- This asynchronous operation must be completed by calling
- the method. Typically,
- that method is invoked by the delegate.
-
-
- An that contains the status of the asynchronous operation.
-
-
- An delegate that references the method(s) called when
- the asynchronous operation completes.
-
-
- An that contains a user defined object to pass to
- the delegate.
-
-
- This method isn't implemented.
-
-
-
-
- Ends an asynchronous operation to get the client's X.509 v.3 certificate.
-
-
- This method completes an asynchronous operation started by calling
- the method.
-
-
- A that contains the client's X.509 v.3 certificate.
-
-
- An obtained by calling
- the method.
-
-
- This method isn't implemented.
-
-
-
-
- Gets the client's X.509 v.3 certificate.
-
-
- A that contains the client's X.509 v.3 certificate.
-
-
- This method isn't implemented.
-
-
-
-
- Returns a that represents
- the current .
-
-
- A that represents the current .
-
-
-
-
- Provides the access to a response to a request received by the .
-
-
- The HttpListenerResponse class cannot be inherited.
-
-
-
-
- Gets or sets the encoding for the entity body data included in the response.
-
-
- A that represents the encoding for the entity body data,
- or if no encoding is specified.
-
-
- This object is closed.
-
-
-
-
- Gets or sets the number of bytes in the entity body data included in the response.
-
-
- A that represents the value of the Content-Length entity-header.
-
-
- The value specified for a set operation is less than zero.
-
-
- The response has already been sent.
-
-
- This object is closed.
-
-
-
-
- Gets or sets the media type of the entity body included in the response.
-
-
- A that represents the media type of the entity body,
- or if no media type is specified. This value is
- used for the value of the Content-Type entity-header.
-
-
- The value specified for a set operation is empty.
-
-
- This object is closed.
-
-
-
-
- Gets or sets the cookies sent with the response.
-
-
- A that contains the cookies sent with the response.
-
-
-
-
- Gets or sets the HTTP headers sent to the client.
-
-
- A that contains the headers sent to the client.
-
-
- The value specified for a set operation isn't valid for a response.
-
-
-
-
- Gets or sets a value indicating whether the server requests a persistent connection.
-
-
- true if the server requests a persistent connection; otherwise, false.
- The default value is true.
-
-
- The response has already been sent.
-
-
- This object is closed.
-
-
-
-
- Gets a to use to write the entity body data.
-
-
- A to use to write the entity body data.
-
-
- This object is closed.
-
-
-
-
- Gets or sets the HTTP version used in the response.
-
-
- A that represents the version used in the response.
-
-
- The value specified for a set operation is .
-
-
- The value specified for a set operation doesn't have its Major property set to 1 or
- doesn't have its Minor property set to either 0 or 1.
-
-
- The response has already been sent.
-
-
- This object is closed.
-
-
-
-
- Gets or sets the URL to which the client is redirected to locate a requested resource.
-
-
- A that represents the value of the Location response-header,
- or if no redirect location is specified.
-
-
- The value specified for a set operation isn't an absolute URL.
-
-
- This object is closed.
-
-
-
-
- Gets or sets a value indicating whether the response uses the chunked transfer encoding.
-
-
- true if the response uses the chunked transfer encoding;
- otherwise, false. The default value is false.
-
-
- The response has already been sent.
-
-
- This object is closed.
-
-
-
-
- Gets or sets the HTTP status code returned to the client.
-
-
- An that represents the status code for the response to
- the request. The default value is same as .
-
-
- The response has already been sent.
-
-
- This object is closed.
-
-
- The value specified for a set operation is invalid. Valid values are
- between 100 and 999 inclusive.
-
-
-
-
- Gets or sets the description of the HTTP status code returned to the client.
-
-
- A that represents the description of the status code. The default
- value is the RFC 2616
- description for the property value,
- or if an RFC 2616 description doesn't exist.
-
-
- The value specified for a set operation contains invalid characters.
-
-
- The response has already been sent.
-
-
- This object is closed.
-
-
-
-
- Closes the connection to the client without returning a response.
-
-
-
-
- Adds an HTTP header with the specified and
- to the headers for the response.
-
-
- A that represents the name of the header to add.
-
-
- A that represents the value of the header to add.
-
-
- is or empty.
-
-
-
- or contains invalid characters.
-
-
- -or-
-
-
- is a restricted header name.
-
-
-
- The length of is greater than 65,535 characters.
-
-
- The header cannot be allowed to add to the current headers.
-
-
-
-
- Appends the specified to the cookies sent with the response.
-
-
- A to append.
-
-
- is .
-
-
-
-
- Appends a to the specified HTTP header sent with the response.
-
-
- A that represents the name of the header to append
- to.
-
-
- A that represents the value to append to the header.
-
-
- is or empty.
-
-
-
- or contains invalid characters.
-
-
- -or-
-
-
- is a restricted header name.
-
-
-
- The length of is greater than 65,535 characters.
-
-
- The current headers cannot allow the header to append a value.
-
-
-
-
- Returns the response to the client and releases the resources used by
- this instance.
-
-
-
-
- Returns the response with the specified array of to the client and
- releases the resources used by this instance.
-
-
- An array of that contains the response entity body data.
-
-
- true if this method blocks execution while flushing the stream to the client;
- otherwise, false.
-
-
- is .
-
-
- This object is closed.
-
-
-
-
- Copies some properties from the specified to
- this response.
-
-
- A to copy.
-
-
- is .
-
-
-
-
- Configures the response to redirect the client's request to
- the specified .
-
-
- This method sets the property to
- , the property to
- 302, and the property to
- "Found".
-
-
- A that represents the URL to redirect the client's request to.
-
-
- is .
-
-
- isn't an absolute URL.
-
-
- The response has already been sent.
-
-
- This object is closed.
-
-
-
-
- Adds or updates a in the cookies sent with the response.
-
-
- A to set.
-
-
- is .
-
-
- already exists in the cookies and couldn't be replaced.
-
-
-
-
- Releases all resources used by the .
-
-
-
-
- Contains the HTTP headers that may be specified in a client request.
-
-
- The HttpRequestHeader enumeration contains the HTTP request headers defined in
- RFC 2616 for the HTTP/1.1 and
- RFC 6455 for the WebSocket.
-
-
-
-
- Indicates the Cache-Control header.
-
-
-
-
- Indicates the Connection header.
-
-
-
-
- Indicates the Date header.
-
-
-
-
- Indicates the Keep-Alive header.
-
-
-
-
- Indicates the Pragma header.
-
-
-
-
- Indicates the Trailer header.
-
-
-
-
- Indicates the Transfer-Encoding header.
-
-
-
-
- Indicates the Upgrade header.
-
-
-
-
- Indicates the Via header.
-
-
-
-
- Indicates the Warning header.
-
-
-
-
- Indicates the Allow header.
-
-
-
-
- Indicates the Content-Length header.
-
-
-
-
- Indicates the Content-Type header.
-
-
-
-
- Indicates the Content-Encoding header.
-
-
-
-
- Indicates the Content-Language header.
-
-
-
-
- Indicates the Content-Location header.
-
-
-
-
- Indicates the Content-MD5 header.
-
-
-
-
- Indicates the Content-Range header.
-
-
-
-
- Indicates the Expires header.
-
-
-
-
- Indicates the Last-Modified header.
-
-
-
-
- Indicates the Accept header.
-
-
-
-
- Indicates the Accept-Charset header.
-
-
-
-
- Indicates the Accept-Encoding header.
-
-
-
-
- Indicates the Accept-Language header.
-
-
-
-
- Indicates the Authorization header.
-
-
-
-
- Indicates the Cookie header.
-
-
-
-
- Indicates the Expect header.
-
-
-
-
- Indicates the From header.
-
-
-
-
- Indicates the Host header.
-
-
-
-
- Indicates the If-Match header.
-
-
-
-
- Indicates the If-Modified-Since header.
-
-
-
-
- Indicates the If-None-Match header.
-
-
-
-
- Indicates the If-Range header.
-
-
-
-
- Indicates the If-Unmodified-Since header.
-
-
-
-
- Indicates the Max-Forwards header.
-
-
-
-
- Indicates the Proxy-Authorization header.
-
-
-
-
- Indicates the Referer header.
-
-
-
-
- Indicates the Range header.
-
-
-
-
- Indicates the TE header.
-
-
-
-
- Indicates the Translate header.
-
-
-
-
- Indicates the User-Agent header.
-
-
-
-
- Indicates the Sec-WebSocket-Key header.
-
-
-
-
- Indicates the Sec-WebSocket-Extensions header.
-
-
-
-
- Indicates the Sec-WebSocket-Protocol header.
-
-
-
-
- Indicates the Sec-WebSocket-Version header.
-
-
-
-
- Contains the HTTP headers that can be specified in a server response.
-
-
- The HttpResponseHeader enumeration contains the HTTP response headers defined in
- RFC 2616 for the HTTP/1.1 and
- RFC 6455 for the WebSocket.
-
-
-
-
- Indicates the Cache-Control header.
-
-
-
-
- Indicates the Connection header.
-
-
-
-
- Indicates the Date header.
-
-
-
-
- Indicates the Keep-Alive header.
-
-
-
-
- Indicates the Pragma header.
-
-
-
-
- Indicates the Trailer header.
-
-
-
-
- Indicates the Transfer-Encoding header.
-
-
-
-
- Indicates the Upgrade header.
-
-
-
-
- Indicates the Via header.
-
-
-
-
- Indicates the Warning header.
-
-
-
-
- Indicates the Allow header.
-
-
-
-
- Indicates the Content-Length header.
-
-
-
-
- Indicates the Content-Type header.
-
-
-
-
- Indicates the Content-Encoding header.
-
-
-
-
- Indicates the Content-Language header.
-
-
-
-
- Indicates the Content-Location header.
-
-
-
-
- Indicates the Content-MD5 header.
-
-
-
-
- Indicates the Content-Range header.
-
-
-
-
- Indicates the Expires header.
-
-
-
-
- Indicates the Last-Modified header.
-
-
-
-
- Indicates the Accept-Ranges header.
-
-
-
-
- Indicates the Age header.
-
-
-
-
- Indicates the ETag header.
-
-
-
-
- Indicates the Location header.
-
-
-
-
- Indicates the Proxy-Authenticate header.
-
-
-
-
- Indicates the Retry-After header.
-
-
-
-
- Indicates the Server header.
-
-
-
-
- Indicates the Set-Cookie header.
-
-
-
-
- Indicates the Vary header.
-
-
-
-
- Indicates the WWW-Authenticate header.
-
-
-
-
- Indicates the Sec-WebSocket-Extensions header.
-
-
-
-
- Indicates the Sec-WebSocket-Accept header.
-
-
-
-
- Indicates the Sec-WebSocket-Protocol header.
-
-
-
-
- Indicates the Sec-WebSocket-Version header.
-
-
-
-
- Contains the values of the HTTP status codes.
-
-
- The HttpStatusCode enumeration contains the values of the HTTP status codes defined in
- RFC 2616 for the HTTP/1.1.
-
-
-
-
- Equivalent to status code 100.
- Indicates that the client should continue with its request.
-
-
-
-
- Equivalent to status code 101.
- Indicates that the server is switching the HTTP version or protocol on the connection.
-
-
-
-
- Equivalent to status code 200.
- Indicates that the client's request has succeeded.
-
-
-
-
- Equivalent to status code 201.
- Indicates that the client's request has been fulfilled and resulted in a new resource being
- created.
-
-
-
-
- Equivalent to status code 202.
- Indicates that the client's request has been accepted for processing, but the processing
- hasn't been completed.
-
-
-
-
- Equivalent to status code 203.
- Indicates that the returned metainformation is from a local or a third-party copy instead of
- the origin server.
-
-
-
-
- Equivalent to status code 204.
- Indicates that the server has fulfilled the client's request but doesn't need to return
- an entity-body.
-
-
-
-
- Equivalent to status code 205.
- Indicates that the server has fulfilled the client's request, and the user agent should
- reset the document view which caused the request to be sent.
-
-
-
-
- Equivalent to status code 206.
- Indicates that the server has fulfilled the partial GET request for the resource.
-
-
-
-
-
- Equivalent to status code 300.
- Indicates that the requested resource corresponds to any of multiple representations.
-
-
- MultipleChoices is a synonym for Ambiguous.
-
-
-
-
-
-
- Equivalent to status code 300.
- Indicates that the requested resource corresponds to any of multiple representations.
-
-
- Ambiguous is a synonym for MultipleChoices.
-
-
-
-
-
-
- Equivalent to status code 301.
- Indicates that the requested resource has been assigned a new permanent URI and
- any future references to this resource should use one of the returned URIs.
-
-
- MovedPermanently is a synonym for Moved.
-
-
-
-
-
-
- Equivalent to status code 301.
- Indicates that the requested resource has been assigned a new permanent URI and
- any future references to this resource should use one of the returned URIs.
-
-
- Moved is a synonym for MovedPermanently.
-
-
-
-
-
-
- Equivalent to status code 302.
- Indicates that the requested resource is located temporarily under a different URI.
-
-
- Found is a synonym for Redirect.
-
-
-
-
-
-
- Equivalent to status code 302.
- Indicates that the requested resource is located temporarily under a different URI.
-
-
- Redirect is a synonym for Found.
-
-
-
-
-
-
- Equivalent to status code 303.
- Indicates that the response to the request can be found under a different URI and
- should be retrieved using a GET method on that resource.
-
-
- SeeOther is a synonym for RedirectMethod.
-
-
-
-
-
-
- Equivalent to status code 303.
- Indicates that the response to the request can be found under a different URI and
- should be retrieved using a GET method on that resource.
-
-
- RedirectMethod is a synonym for SeeOther.
-
-
-
-
-
- Equivalent to status code 304.
- Indicates that the client has performed a conditional GET request and access is allowed,
- but the document hasn't been modified.
-
-
-
-
- Equivalent to status code 305.
- Indicates that the requested resource must be accessed through the proxy given by
- the Location field.
-
-
-
-
- Equivalent to status code 306.
- This status code was used in a previous version of the specification, is no longer used,
- and is reserved for future use.
-
-
-
-
-
- Equivalent to status code 307.
- Indicates that the requested resource is located temporarily under a different URI.
-
-
- TemporaryRedirect is a synonym for RedirectKeepVerb.
-
-
-
-
-
-
- Equivalent to status code 307.
- Indicates that the requested resource is located temporarily under a different URI.
-
-
- RedirectKeepVerb is a synonym for TemporaryRedirect.
-
-
-
-
-
- Equivalent to status code 400.
- Indicates that the client's request couldn't be understood by the server due to
- malformed syntax.
-
-
-
-
- Equivalent to status code 401.
- Indicates that the client's request requires user authentication.
-
-
-
-
- Equivalent to status code 402.
- This status code is reserved for future use.
-
-
-
-
- Equivalent to status code 403.
- Indicates that the server understood the client's request but is refusing to fulfill it.
-
-
-
-
- Equivalent to status code 404.
- Indicates that the server hasn't found anything matching the request URI.
-
-
-
-
- Equivalent to status code 405.
- Indicates that the method specified in the request line isn't allowed for the resource
- identified by the request URI.
-
-
-
-
- Equivalent to status code 406.
- Indicates that the server doesn't have the appropriate resource to respond to the Accept
- headers in the client's request.
-
-
-
-
- Equivalent to status code 407.
- Indicates that the client must first authenticate itself with the proxy.
-
-
-
-
- Equivalent to status code 408.
- Indicates that the client didn't produce a request within the time that the server was
- prepared to wait.
-
-
-
-
- Equivalent to status code 409.
- Indicates that the client's request couldn't be completed due to a conflict on the server.
-
-
-
-
- Equivalent to status code 410.
- Indicates that the requested resource is no longer available at the server and
- no forwarding address is known.
-
-
-
-
- Equivalent to status code 411.
- Indicates that the server refuses to accept the client's request without a defined
- Content-Length.
-
-
-
-
- Equivalent to status code 412.
- Indicates that the precondition given in one or more of the request headers evaluated to
- false when it was tested on the server.
-
-
-
-
- Equivalent to status code 413.
- Indicates that the entity of the client's request is larger than the server is willing or
- able to process.
-
-
-
-
- Equivalent to status code 414.
- Indicates that the request URI is longer than the server is willing to interpret.
-
-
-
-
- Equivalent to status code 415.
- Indicates that the entity of the client's request is in a format not supported by
- the requested resource for the requested method.
-
-
-
-
- Equivalent to status code 416.
- Indicates that none of the range specifier values in a Range request header overlap
- the current extent of the selected resource.
-
-
-
-
- Equivalent to status code 417.
- Indicates that the expectation given in an Expect request header couldn't be met by
- the server.
-
-
-
-
- Equivalent to status code 500.
- Indicates that the server encountered an unexpected condition which prevented it from
- fulfilling the client's request.
-
-
-
-
- Equivalent to status code 501.
- Indicates that the server doesn't support the functionality required to fulfill the client's
- request.
-
-
-
-
- Equivalent to status code 502.
- Indicates that a gateway or proxy server received an invalid response from the upstream
- server.
-
-
-
-
- Equivalent to status code 503.
- Indicates that the server is currently unable to handle the client's request due to
- a temporary overloading or maintenance of the server.
-
-
-
-
- Equivalent to status code 504.
- Indicates that a gateway or proxy server didn't receive a timely response from the upstream
- server or some other auxiliary server.
-
-
-
-
- Equivalent to status code 505.
- Indicates that the server doesn't support the HTTP version used in the client's request.
-
-
-
-
- Decodes an HTML-encoded and returns the decoded .
-
-
- A that represents the decoded string.
-
-
- A to decode.
-
-
-
-
- Decodes an HTML-encoded and sends the decoded
- to the specified .
-
-
- A to decode.
-
-
- A that receives the decoded string.
-
-
-
-
- HTML-encodes a and returns the encoded .
-
-
- A that represents the encoded string.
-
-
- A to encode.
-
-
-
-
- HTML-encodes a and sends the encoded
- to the specified .
-
-
- A to encode.
-
-
- A that receives the encoded string.
-
-
-
-
- Provides the HTTP version numbers.
-
-
-
-
- Provides a instance for the HTTP/1.0.
-
-
-
-
- Provides a instance for the HTTP/1.1.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Provides the credentials for the password-based authentication.
-
-
-
-
- Initializes a new instance of the class with
- the specified and .
-
-
- A that represents the username associated with
- the credentials.
-
-
- A that represents the password for the username
- associated with the credentials.
-
-
- is .
-
-
- is empty.
-
-
-
-
- Initializes a new instance of the class with
- the specified , ,
- and .
-
-
- A that represents the username associated with
- the credentials.
-
-
- A that represents the password for the username
- associated with the credentials.
-
-
- A that represents the domain associated with
- the credentials.
-
-
- An array of that represents the roles
- associated with the credentials if any.
-
-
- is .
-
-
- is empty.
-
-
-
-
- Gets the domain associated with the credentials.
-
-
- This property returns an empty string if the domain was
- initialized with .
-
-
- A that represents the domain name
- to which the username belongs.
-
-
-
-
- Gets the password for the username associated with the credentials.
-
-
- This property returns an empty string if the password was
- initialized with .
-
-
- A that represents the password.
-
-
-
-
- Gets the roles associated with the credentials.
-
-
- This property returns an empty array if the roles were
- initialized with .
-
-
- An array of that represents the role names
- to which the username belongs.
-
-
-
-
- Gets the username associated with the credentials.
-
-
- A that represents the username.
-
-
-
-
- Stores the parameters for the used by servers.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- with the specified .
-
-
- A that represents the certificate used to
- authenticate the server.
-
-
-
-
- Copies the parameters from the specified to
- a new instance of the class.
-
-
- A from which to copy.
-
-
- is .
-
-
-
-
- Gets or sets a value indicating whether the certificate revocation
- list is checked during authentication.
-
-
-
- true if the certificate revocation list is checked during
- authentication; otherwise, false.
-
-
- The default value is false.
-
-
-
-
-
- Gets or sets a value indicating whether the client is asked for
- a certificate for authentication.
-
-
-
- true if the client is asked for a certificate for
- authentication; otherwise, false.
-
-
- The default value is false.
-
-
-
-
-
- Gets or sets the callback used to validate the certificate
- supplied by the client.
-
-
- The certificate is valid if the callback returns true.
-
-
-
- A delegate that
- invokes the method called for validating the certificate.
-
-
- The default value is a delegate that invokes a method that
- only returns true.
-
-
-
-
-
- Gets or sets the protocols used for authentication.
-
-
-
- The enum values that represent
- the protocols used for authentication.
-
-
- The default value is .
-
-
-
-
-
- Gets or sets the certificate used to authenticate the server.
-
-
-
- A or
- if not specified.
-
-
- That instance represents an X.509 certificate.
-
-
-
-
-
- Provides a collection of the HTTP headers associated with a request or response.
-
-
-
-
- Initializes a new instance of the class from
- the specified and .
-
-
- A that contains the serialized object data.
-
-
- A that specifies the source for the deserialization.
-
-
- is .
-
-
- An element with the specified name isn't found in .
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets all header names in the collection.
-
-
- An array of that contains all header names in the collection.
-
-
-
-
- Gets the number of headers in the collection.
-
-
- An that represents the number of headers in the collection.
-
-
-
-
- Gets or sets the specified request in the collection.
-
-
- A that represents the value of the request .
-
-
- One of the enum values, represents
- the request header to get or set.
-
-
-
- is a restricted header.
-
-
- -or-
-
-
- contains invalid characters.
-
-
-
- The length of is greater than 65,535 characters.
-
-
- The current instance doesn't allow
- the request .
-
-
-
-
- Gets or sets the specified response in the collection.
-
-
- A that represents the value of the response .
-
-
- One of the enum values, represents
- the response header to get or set.
-
-
-
- is a restricted header.
-
-
- -or-
-
-
- contains invalid characters.
-
-
-
- The length of is greater than 65,535 characters.
-
-
- The current instance doesn't allow
- the response .
-
-
-
-
- Gets a collection of header names in the collection.
-
-
- A that contains
- all header names in the collection.
-
-
-
-
- Adds a header to the collection without checking if the header is on
- the restricted header list.
-
-
- A that represents the name of the header to add.
-
-
- A that represents the value of the header to add.
-
-
- is or empty.
-
-
- or contains invalid characters.
-
-
- The length of is greater than 65,535 characters.
-
-
- The current instance doesn't allow
- the .
-
-
-
-
- Adds the specified to the collection.
-
-
- A that represents the header with the name and value separated by
- a colon (':').
-
-
- is , empty, or the name part of
- is empty.
-
-
-
- doesn't contain a colon.
-
-
- -or-
-
-
- is a restricted header.
-
-
- -or-
-
-
- The name or value part of contains invalid characters.
-
-
-
- The length of the value part of is greater than 65,535 characters.
-
-
- The current instance doesn't allow
- the .
-
-
-
-
- Adds the specified request with
- the specified to the collection.
-
-
- One of the enum values, represents
- the request header to add.
-
-
- A that represents the value of the header to add.
-
-
-
- is a restricted header.
-
-
- -or-
-
-
- contains invalid characters.
-
-
-
- The length of is greater than 65,535 characters.
-
-
- The current instance doesn't allow
- the request .
-
-
-
-
- Adds the specified response with
- the specified to the collection.
-
-
- One of the enum values, represents
- the response header to add.
-
-
- A that represents the value of the header to add.
-
-
-
- is a restricted header.
-
-
- -or-
-
-
- contains invalid characters.
-
-
-
- The length of is greater than 65,535 characters.
-
-
- The current instance doesn't allow
- the response .
-
-
-
-
- Adds a header with the specified and
- to the collection.
-
-
- A that represents the name of the header to add.
-
-
- A that represents the value of the header to add.
-
-
- is or empty.
-
-
-
- or contains invalid characters.
-
-
- -or-
-
-
- is a restricted header name.
-
-
-
- The length of is greater than 65,535 characters.
-
-
- The current instance doesn't allow
- the header .
-
-
-
-
- Removes all headers from the collection.
-
-
-
-
- Get the value of the header at the specified in the collection.
-
-
- A that receives the value of the header.
-
-
- An that represents the zero-based index of the header to find.
-
-
- is out of allowable range of indexes for the collection.
-
-
-
-
- Get the value of the header with the specified in the collection.
-
-
- A that receives the value of the header if found;
- otherwise, .
-
-
- A that represents the name of the header to find.
-
-
-
-
- Gets the enumerator used to iterate through the collection.
-
-
- An instance used to iterate through the collection.
-
-
-
-
- Get the name of the header at the specified in the collection.
-
-
- A that receives the header name.
-
-
- An that represents the zero-based index of the header to find.
-
-
- is out of allowable range of indexes for the collection.
-
-
-
-
- Gets an array of header values stored in the specified position of
- the collection.
-
-
- An array of that receives the header values if found;
- otherwise, .
-
-
- An that represents the zero-based index of the header to find.
-
-
- is out of allowable range of indexes for the collection.
-
-
-
-
- Gets an array of header values stored in the specified .
-
-
- An array of that receives the header values if found;
- otherwise, .
-
-
- A that represents the name of the header to find.
-
-
-
-
- Populates the specified with the data needed to serialize
- the .
-
-
- A that holds the serialized object data.
-
-
- A that specifies the destination for the serialization.
-
-
- is .
-
-
-
-
- Determines whether the specified header can be set for the request.
-
-
- true if the header is restricted; otherwise, false.
-
-
- A that represents the name of the header to test.
-
-
- is or empty.
-
-
- contains invalid characters.
-
-
-
-
- Determines whether the specified header can be set for the request or the response.
-
-
- true if the header is restricted; otherwise, false.
-
-
- A that represents the name of the header to test.
-
-
- true if does the test for the response; for the request, false.
-
-
- is or empty.
-
-
- contains invalid characters.
-
-
-
-
- Implements the interface and raises the deserialization event
- when the deserialization is complete.
-
-
- An that represents the source of the deserialization event.
-
-
-
-
- Removes the specified request from the collection.
-
-
- One of the enum values, represents
- the request header to remove.
-
-
- is a restricted header.
-
-
- The current instance doesn't allow
- the request .
-
-
-
-
- Removes the specified response from the collection.
-
-
- One of the enum values, represents
- the response header to remove.
-
-
- is a restricted header.
-
-
- The current instance doesn't allow
- the response .
-
-
-
-
- Removes the specified header from the collection.
-
-
- A that represents the name of the header to remove.
-
-
- is or empty.
-
-
-
- contains invalid characters.
-
-
- -or-
-
-
- is a restricted header name.
-
-
-
- The current instance doesn't allow
- the header .
-
-
-
-
- Sets the specified request to the specified value.
-
-
- One of the enum values, represents
- the request header to set.
-
-
- A that represents the value of the request header to set.
-
-
-
- is a restricted header.
-
-
- -or-
-
-
- contains invalid characters.
-
-
-
- The length of is greater than 65,535 characters.
-
-
- The current instance doesn't allow
- the request .
-
-
-
-
- Sets the specified response to the specified value.
-
-
- One of the enum values, represents
- the response header to set.
-
-
- A that represents the value of the response header to set.
-
-
-
- is a restricted header.
-
-
- -or-
-
-
- contains invalid characters.
-
-
-
- The length of is greater than 65,535 characters.
-
-
- The current instance doesn't allow
- the response .
-
-
-
-
- Sets the specified header to the specified value.
-
-
- A that represents the name of the header to set.
-
-
- A that represents the value of the header to set.
-
-
- is or empty.
-
-
-
- or contains invalid characters.
-
-
- -or-
-
-
- is a restricted header name.
-
-
-
- The length of is greater than 65,535 characters.
-
-
- The current instance doesn't allow
- the header .
-
-
-
-
- Converts the current to an array of .
-
-
- An array of that receives the converted current
- .
-
-
-
-
- Returns a that represents the current
- .
-
-
- A that represents the current .
-
-
-
-
- Populates the specified with the data needed to serialize
- the current .
-
-
- A that holds the serialized object data.
-
-
- A that specifies the destination for the serialization.
-
-
- is .
-
-
-
-
- Provides the properties used to access the information in
- a WebSocket handshake request received by the .
-
-
-
-
- Gets the HTTP cookies included in the request.
-
-
- A that contains the cookies.
-
-
-
-
- Gets the HTTP headers included in the request.
-
-
- A that contains the headers.
-
-
-
-
- Gets the value of the Host header included in the request.
-
-
- A that represents the value of the Host header.
-
-
-
-
- Gets a value indicating whether the client is authenticated.
-
-
- true if the client is authenticated; otherwise, false.
-
-
-
-
- Gets a value indicating whether the client connected from the local computer.
-
-
- true if the client connected from the local computer; otherwise, false.
-
-
-
-
- Gets a value indicating whether the WebSocket connection is secured.
-
-
- true if the connection is secured; otherwise, false.
-
-
-
-
- Gets a value indicating whether the request is a WebSocket handshake request.
-
-
- true if the request is a WebSocket handshake request; otherwise, false.
-
-
-
-
- Gets the value of the Origin header included in the request.
-
-
- A that represents the value of the Origin header.
-
-
-
-
- Gets the query string included in the request.
-
-
- A that contains the query string parameters.
-
-
-
-
- Gets the URI requested by the client.
-
-
- A that represents the requested URI.
-
-
-
-
- Gets the value of the Sec-WebSocket-Key header included in the request.
-
-
- This property provides a part of the information used by the server to prove that
- it received a valid WebSocket handshake request.
-
-
- A that represents the value of the Sec-WebSocket-Key header.
-
-
-
-
- Gets the values of the Sec-WebSocket-Protocol header included in the request.
-
-
- This property represents the subprotocols requested by the client.
-
-
- An instance that provides
- an enumerator which supports the iteration over the values of the Sec-WebSocket-Protocol
- header.
-
-
-
-
- Gets the value of the Sec-WebSocket-Version header included in the request.
-
-
- This property represents the WebSocket protocol version.
-
-
- A that represents the value of the Sec-WebSocket-Version header.
-
-
-
-
- Gets the server endpoint as an IP address and a port number.
-
-
- A that represents the server endpoint.
-
-
-
-
- Gets the client information (identity, authentication, and security roles).
-
-
- A instance that represents the client information.
-
-
-
-
- Gets the client endpoint as an IP address and a port number.
-
-
- A that represents the client endpoint.
-
-
-
-
- Gets the instance used for
- two-way communication between client and server.
-
-
- A .
-
-
-
-
- Returns a that represents
- the current .
-
-
- A that represents
- the current .
-
-
-
-
- Provides the properties used to access the information in
- a WebSocket handshake request received by the .
-
-
-
-
- Gets the HTTP cookies included in the request.
-
-
- A that contains the cookies.
-
-
-
-
- Gets the HTTP headers included in the request.
-
-
- A that contains the headers.
-
-
-
-
- Gets the value of the Host header included in the request.
-
-
- A that represents the value of the Host header.
-
-
-
-
- Gets a value indicating whether the client is authenticated.
-
-
- true if the client is authenticated; otherwise, false.
-
-
-
-
- Gets a value indicating whether the client connected from the local computer.
-
-
- true if the client connected from the local computer; otherwise, false.
-
-
-
-
- Gets a value indicating whether the WebSocket connection is secured.
-
-
- true if the connection is secured; otherwise, false.
-
-
-
-
- Gets a value indicating whether the request is a WebSocket handshake request.
-
-
- true if the request is a WebSocket handshake request; otherwise, false.
-
-
-
-
- Gets the value of the Origin header included in the request.
-
-
- A that represents the value of the Origin header.
-
-
-
-
- Gets the query string included in the request.
-
-
- A that contains the query string parameters.
-
-
-
-
- Gets the URI requested by the client.
-
-
- A that represents the requested URI.
-
-
-
-
- Gets the value of the Sec-WebSocket-Key header included in the request.
-
-
- This property provides a part of the information used by the server to prove that
- it received a valid WebSocket handshake request.
-
-
- A that represents the value of the Sec-WebSocket-Key header.
-
-
-
-
- Gets the values of the Sec-WebSocket-Protocol header included in the request.
-
-
- This property represents the subprotocols requested by the client.
-
-
- An instance that provides
- an enumerator which supports the iteration over the values of the Sec-WebSocket-Protocol
- header.
-
-
-
-
- Gets the value of the Sec-WebSocket-Version header included in the request.
-
-
- This property represents the WebSocket protocol version.
-
-
- A that represents the value of the Sec-WebSocket-Version header.
-
-
-
-
- Gets the server endpoint as an IP address and a port number.
-
-
- A that represents the server endpoint.
-
-
-
-
- Gets the client information (identity, authentication, and security roles).
-
-
- A instance that represents the client information.
-
-
-
-
- Gets the client endpoint as an IP address and a port number.
-
-
- A that represents the client endpoint.
-
-
-
-
- Gets the instance used for
- two-way communication between client and server.
-
-
- A .
-
-
-
-
- Returns a that represents
- the current .
-
-
- A that represents
- the current .
-
-
-
-
- Exposes the properties used to access the information in a WebSocket handshake request.
-
-
- This class is an abstract class.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets the HTTP cookies included in the request.
-
-
- A that contains the cookies.
-
-
-
-
- Gets the HTTP headers included in the request.
-
-
- A that contains the headers.
-
-
-
-
- Gets the value of the Host header included in the request.
-
-
- A that represents the value of the Host header.
-
-
-
-
- Gets a value indicating whether the client is authenticated.
-
-
- true if the client is authenticated; otherwise, false.
-
-
-
-
- Gets a value indicating whether the client connected from the local computer.
-
-
- true if the client connected from the local computer; otherwise, false.
-
-
-
-
- Gets a value indicating whether the WebSocket connection is secured.
-
-
- true if the connection is secured; otherwise, false.
-
-
-
-
- Gets a value indicating whether the request is a WebSocket handshake request.
-
-
- true if the request is a WebSocket handshake request; otherwise, false.
-
-
-
-
- Gets the value of the Origin header included in the request.
-
-
- A that represents the value of the Origin header.
-
-
-
-
- Gets the query string included in the request.
-
-
- A that contains the query string parameters.
-
-
-
-
- Gets the URI requested by the client.
-
-
- A that represents the requested URI.
-
-
-
-
- Gets the value of the Sec-WebSocket-Key header included in the request.
-
-
- This property provides a part of the information used by the server to prove that
- it received a valid WebSocket handshake request.
-
-
- A that represents the value of the Sec-WebSocket-Key header.
-
-
-
-
- Gets the values of the Sec-WebSocket-Protocol header included in the request.
-
-
- This property represents the subprotocols requested by the client.
-
-
- An instance that provides
- an enumerator which supports the iteration over the values of the Sec-WebSocket-Protocol
- header.
-
-
-
-
- Gets the value of the Sec-WebSocket-Version header included in the request.
-
-
- This property represents the WebSocket protocol version.
-
-
- A that represents the value of the Sec-WebSocket-Version header.
-
-
-
-
- Gets the server endpoint as an IP address and a port number.
-
-
- A that represents the server endpoint.
-
-
-
-
- Gets the client information (identity, authentication, and security roles).
-
-
- A instance that represents the client information.
-
-
-
-
- Gets the client endpoint as an IP address and a port number.
-
-
- A that represents the client endpoint.
-
-
-
-
- Gets the instance used for
- two-way communication between client and server.
-
-
- A .
-
-
-
-
- Indicates the WebSocket frame type.
-
-
- The values of this enumeration are defined in
-
- Section 5.2 of RFC 6455.
-
-
-
-
- Equivalent to numeric value 0. Indicates continuation frame.
-
-
-
-
- Equivalent to numeric value 1. Indicates text frame.
-
-
-
-
- Equivalent to numeric value 2. Indicates binary frame.
-
-
-
-
- Equivalent to numeric value 8. Indicates connection close frame.
-
-
-
-
- Equivalent to numeric value 9. Indicates ping frame.
-
-
-
-
- Equivalent to numeric value 10. Indicates pong frame.
-
-
-
-
- Represents the empty payload data.
-
-
-
-
- Represents the allowable max length.
-
-
-
- A will occur if the payload data length is
- greater than the value of this field.
-
-
- If you would like to change the value, you must set it to a value between
- WebSocket.FragmentLength and Int64.MaxValue inclusive.
-
-
-
-
-
- Indicates whether each RSV (RSV1, RSV2, and RSV3) of a WebSocket frame is non-zero.
-
-
- The values of this enumeration are defined in
- Section 5.2 of RFC 6455.
-
-
-
-
- Equivalent to numeric value 0. Indicates zero.
-
-
-
-
- Equivalent to numeric value 1. Indicates non-zero.
-
-
-
-
- Represents the event data for the HTTP request events of
- the .
-
-
-
- An HTTP request event occurs when the
- receives an HTTP request.
-
-
- You should access the property if you would
- like to get the request data sent from a client.
-
-
- And you should access the property if you would
- like to get the response data to return to the client.
-
-
-
-
-
- Gets the request data sent from a client.
-
-
- A that provides the methods and
- properties for the request data.
-
-
-
-
- Gets the response data to return to the client.
-
-
- A that provides the methods and
- properties for the response data.
-
-
-
-
- Gets the information for the client.
-
-
-
- A instance or
- if not authenticated.
-
-
- That instance describes the identity, authentication scheme,
- and security roles for the client.
-
-
-
-
-
- Reads the specified file from the document folder of
- the .
-
-
-
- An array of or
- if it fails.
-
-
- That array receives the contents of the file.
-
-
-
- A that represents a virtual path to
- find the file from the document folder.
-
-
- is .
-
-
-
- is an empty string.
-
-
- -or-
-
-
- contains "..".
-
-
-
-
-
- Tries to read the specified file from the document folder of
- the .
-
-
- true if it succeeds to read; otherwise, false.
-
-
- A that represents a virtual path to
- find the file from the document folder.
-
-
-
- When this method returns, an array of or
- if it fails.
-
-
- That array receives the contents of the file.
-
-
-
- is .
-
-
-
- is an empty string.
-
-
- -or-
-
-
- contains "..".
-
-
-
-
-
- Provides a simple HTTP server that allows to accept
- WebSocket handshake requests.
-
-
- This class can provide multiple WebSocket services.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The new instance listens for incoming requests on
- and port 80.
-
-
-
-
- Initializes a new instance of the class with
- the specified .
-
-
-
- The new instance listens for incoming requests on
- and .
-
-
- It provides secure connections if is 443.
-
-
-
- An that represents the number of the port
- on which to listen.
-
-
- is less than 1 or greater than 65535.
-
-
-
-
- Initializes a new instance of the class with
- the specified .
-
-
-
- The new instance listens for incoming requests on the IP address of the
- host of and the port of .
-
-
- Either port 80 or 443 is used if includes
- no port. Port 443 is used if the scheme of
- is https; otherwise, port 80 is used.
-
-
- The new instance provides secure connections if the scheme of
- is https.
-
-
-
- A that represents the HTTP URL of the server.
-
-
- is .
-
-
-
- is empty.
-
-
- -or-
-
-
- is invalid.
-
-
-
-
-
- Initializes a new instance of the class with
- the specified and .
-
-
- The new instance listens for incoming requests on
- and .
-
-
- An that represents the number of the port
- on which to listen.
-
-
- A : true if the new instance provides
- secure connections; otherwise, false.
-
-
- is less than 1 or greater than 65535.
-
-
-
-
- Initializes a new instance of the class with
- the specified and .
-
-
-
- The new instance listens for incoming requests on
- and .
-
-
- It provides secure connections if is 443.
-
-
-
- A that represents
- the local IP address on which to listen.
-
-
- An that represents the number of the port
- on which to listen.
-
-
- is .
-
-
- is not a local IP address.
-
-
- is less than 1 or greater than 65535.
-
-
-
-
- Initializes a new instance of the class with
- the specified , ,
- and .
-
-
- The new instance listens for incoming requests on
- and .
-
-
- A that represents
- the local IP address on which to listen.
-
-
- An that represents the number of the port
- on which to listen.
-
-
- A : true if the new instance provides
- secure connections; otherwise, false.
-
-
- is .
-
-
- is not a local IP address.
-
-
- is less than 1 or greater than 65535.
-
-
-
-
- Gets the IP address of the server.
-
-
- A that represents the local
- IP address on which to listen for incoming requests.
-
-
-
-
- Gets or sets the scheme used to authenticate the clients.
-
-
- The set operation does nothing if the server has already
- started or it is shutting down.
-
-
-
- One of the
- enum values.
-
-
- It represents the scheme used to authenticate the clients.
-
-
- The default value is
- .
-
-
-
-
-
- Gets or sets the path to the document folder of the server.
-
-
-
- '/' or '\' is trimmed from the end of the value if any.
-
-
- The set operation does nothing if the server has already
- started or it is shutting down.
-
-
-
-
- A that represents a path to the folder
- from which to find the requested file.
-
-
- The default value is "./Public".
-
-
-
- The value specified for a set operation is .
-
-
-
- The value specified for a set operation is an empty string.
-
-
- -or-
-
-
- The value specified for a set operation is an invalid path string.
-
-
- -or-
-
-
- The value specified for a set operation is an absolute root.
-
-
-
-
-
- Gets a value indicating whether the server has started.
-
-
- true if the server has started; otherwise, false.
-
-
-
-
- Gets a value indicating whether the server provides
- secure connections.
-
-
- true if the server provides secure connections;
- otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether the server cleans up
- the inactive sessions periodically.
-
-
- The set operation does nothing if the server has already
- started or it is shutting down.
-
-
-
- true if the server cleans up the inactive sessions
- every 60 seconds; otherwise, false.
-
-
- The default value is true.
-
-
-
-
-
- Gets the logging function for the server.
-
-
- The default logging level is .
-
-
- A that provides the logging function.
-
-
-
-
- Gets the port of the server.
-
-
- An that represents the number of the port
- on which to listen for incoming requests.
-
-
-
-
- Gets or sets the realm used for authentication.
-
-
-
- "SECRET AREA" is used as the realm if the value is
- or an empty string.
-
-
- The set operation does nothing if the server has
- already started or it is shutting down.
-
-
-
-
- A or by default.
-
-
- That string represents the name of the realm.
-
-
-
-
-
- Gets or sets a value indicating whether the server is allowed to
- be bound to an address that is already in use.
-
-
-
- You should set this property to true if you would
- like to resolve to wait for socket in TIME_WAIT state.
-
-
- The set operation does nothing if the server has already
- started or it is shutting down.
-
-
-
-
- true if the server is allowed to be bound to an address
- that is already in use; otherwise, false.
-
-
- The default value is false.
-
-
-
-
-
- Gets the configuration for secure connections.
-
-
- This configuration will be referenced when attempts to start,
- so it must be configured before the start method is called.
-
-
- A that represents
- the configuration used to provide secure connections.
-
-
- This instance does not provide secure connections.
-
-
-
-
- Gets or sets the delegate used to find the credentials
- for an identity.
-
-
-
- No credentials are found if the method invoked by
- the delegate returns or
- the value is .
-
-
- The set operation does nothing if the server has
- already started or it is shutting down.
-
-
-
-
- A Func<,
- > delegate or
- if not needed.
-
-
- That delegate invokes the method called for finding
- the credentials used to authenticate a client.
-
-
- The default value is .
-
-
-
-
-
- Gets or sets the time to wait for the response to the WebSocket Ping or
- Close.
-
-
- The set operation does nothing if the server has already started or
- it is shutting down.
-
-
-
- A to wait for the response.
-
-
- The default value is the same as 1 second.
-
-
-
- The value specified for a set operation is zero or less.
-
-
-
-
- Gets the management function for the WebSocket services
- provided by the server.
-
-
- A that manages
- the WebSocket services provided by the server.
-
-
-
-
- Occurs when the server receives an HTTP CONNECT request.
-
-
-
-
- Occurs when the server receives an HTTP DELETE request.
-
-
-
-
- Occurs when the server receives an HTTP GET request.
-
-
-
-
- Occurs when the server receives an HTTP HEAD request.
-
-
-
-
- Occurs when the server receives an HTTP OPTIONS request.
-
-
-
-
- Occurs when the server receives an HTTP PATCH request.
-
-
-
-
- Occurs when the server receives an HTTP POST request.
-
-
-
-
- Occurs when the server receives an HTTP PUT request.
-
-
-
-
- Occurs when the server receives an HTTP TRACE request.
-
-
-
-
- Adds a WebSocket service with the specified behavior,
- , and .
-
-
- is converted to a URL-decoded string and
- '/' is trimmed from the end of the converted string if any.
-
-
- A that represents an absolute path to
- the service to add.
-
-
-
- A Func<TBehavior> delegate.
-
-
- It invokes the method called for creating
- a new session instance for the service.
-
-
- The method must create a new instance of
- the specified behavior class and return it.
-
-
-
-
- The type of the behavior for the service.
-
-
- It must inherit the class.
-
-
-
-
- is .
-
-
- -or-
-
-
- is .
-
-
-
-
- is an empty string.
-
-
- -or-
-
-
- is not an absolute path.
-
-
- -or-
-
-
- includes either or both
- query and fragment components.
-
-
- -or-
-
-
- is already in use.
-
-
-
-
-
- Adds a WebSocket service with the specified behavior and
- .
-
-
- is converted to a URL-decoded string and
- '/' is trimmed from the end of the converted string if any.
-
-
- A that represents an absolute path to
- the service to add.
-
-
-
- The type of the behavior for the service.
-
-
- It must inherit the class and
- must have a public parameterless constructor.
-
-
-
- is .
-
-
-
- is an empty string.
-
-
- -or-
-
-
- is not an absolute path.
-
-
- -or-
-
-
- includes either or both
- query and fragment components.
-
-
- -or-
-
-
- is already in use.
-
-
-
-
-
- Adds a WebSocket service with the specified behavior,
- , and .
-
-
- is converted to a URL-decoded string and
- '/' is trimmed from the end of the converted string if any.
-
-
- A that represents an absolute path to
- the service to add.
-
-
-
- An Action<TBehaviorWithNew> delegate or
- if not needed.
-
-
- That delegate invokes the method called for initializing
- a new session instance for the service.
-
-
-
-
- The type of the behavior for the service.
-
-
- It must inherit the class and
- must have a public parameterless constructor.
-
-
-
- is .
-
-
-
- is an empty string.
-
-
- -or-
-
-
- is not an absolute path.
-
-
- -or-
-
-
- includes either or both
- query and fragment components.
-
-
- -or-
-
-
- is already in use.
-
-
-
-
-
- Gets the contents of the specified file from the document
- folder of the server.
-
-
-
- An array of or
- if it fails.
-
-
- That array represents the contents of the file.
-
-
-
- A that represents a virtual path to
- find the file from the document folder.
-
-
- is .
-
-
-
- is an empty string.
-
-
- -or-
-
-
- contains "..".
-
-
-
-
-
- Removes a WebSocket service with the specified .
-
-
-
- is converted to a URL-decoded string and
- '/' is trimmed from the end of the converted string if any.
-
-
- The service is stopped with close status 1001 (going away)
- if it has already started.
-
-
-
- true if the service is successfully found and removed;
- otherwise, false.
-
-
- A that represents an absolute path to
- the service to remove.
-
-
- is .
-
-
-
- is an empty string.
-
-
- -or-
-
-
- is not an absolute path.
-
-
- -or-
-
-
- includes either or both
- query and fragment components.
-
-
-
-
-
- Starts receiving incoming requests.
-
-
- This method does nothing if the server has already started or
- it is shutting down.
-
-
-
- There is no server certificate for secure connections.
-
-
- -or-
-
-
- The underlying has failed to start.
-
-
-
-
-
- Stops receiving incoming requests and closes each connection.
-
-
- This method does nothing if the server is not started,
- it is shutting down, or it has already stopped.
-
-
-
-
- Stops receiving incoming requests and closes each connection.
-
-
- This method does nothing if the server is not started,
- it is shutting down, or it has already stopped.
-
-
-
- A that represents the status code
- indicating the reason for the WebSocket connection close.
-
-
- The status codes are defined in
-
- Section 7.4 of RFC 6455.
-
-
-
-
- A that represents the reason for
- the WebSocket connection close.
-
-
- The size must be 123 bytes or less in UTF-8.
-
-
-
-
- is less than 1000 or greater than 4999.
-
-
- -or-
-
-
- The size of is greater than 123 bytes.
-
-
-
-
- is 1010 (mandatory extension).
-
-
- -or-
-
-
- is 1005 (no status) and
- there is .
-
-
- -or-
-
-
- could not be UTF-8-encoded.
-
-
-
-
-
- Stops receiving incoming requests and closes each connection.
-
-
- This method does nothing if the server is not started,
- it is shutting down, or it has already stopped.
-
-
-
- One of the enum values.
-
-
- It represents the status code indicating the reason for
- the WebSocket connection close.
-
-
-
-
- A that represents the reason for
- the WebSocket connection close.
-
-
- The size must be 123 bytes or less in UTF-8.
-
-
-
- The size of is greater than 123 bytes.
-
-
-
- is
- .
-
-
- -or-
-
-
- is
- and
- there is .
-
-
- -or-
-
-
- could not be UTF-8-encoded.
-
-
-
-
-
- Exposes the properties used to access the information in a session in a WebSocket service.
-
-
-
-
- Gets the information in the connection request to the WebSocket service.
-
-
- A that provides the access to the connection request.
-
-
-
-
- Gets the unique ID of the session.
-
-
- A that represents the unique ID of the session.
-
-
-
-
- Gets the WebSocket subprotocol used in the session.
-
-
- A that represents the subprotocol if any.
-
-
-
-
- Gets the time that the session has started.
-
-
- A that represents the time that the session has started.
-
-
-
-
- Gets the state of the used in the session.
-
-
- One of the enum values, indicates the state of
- the used in the session.
-
-
-
-
- Exposes the methods and properties used to define the behavior of a WebSocket service
- provided by the or .
-
-
- The WebSocketBehavior class is an abstract class.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets the logging functions.
-
-
- A that provides the logging functions,
- or if the WebSocket connection isn't established.
-
-
-
-
- Gets the access to the sessions in the WebSocket service.
-
-
- A that provides the access to the sessions,
- or if the WebSocket connection isn't established.
-
-
-
-
- Gets the information in a handshake request to the WebSocket service.
-
-
- A instance that provides the access to the handshake request,
- or if the WebSocket connection isn't established.
-
-
-
-
- Gets or sets the delegate called to validate the HTTP cookies included in
- a handshake request to the WebSocket service.
-
-
- This delegate is called when the used in a session validates
- the handshake request.
-
-
-
- A Func<CookieCollection, CookieCollection, bool> delegate that references
- the method(s) used to validate the cookies.
-
-
- 1st parameter passed to this delegate contains
- the cookies to validate if any.
-
-
- 2nd parameter passed to this delegate receives
- the cookies to send to the client.
-
-
- This delegate should return true if the cookies are valid.
-
-
- The default value is , and it does nothing to validate.
-
-
-
-
-
- Gets or sets a value indicating whether the used in a session emits
- a event when receives a Ping.
-
-
- true if the emits a event
- when receives a Ping; otherwise, false. The default value is false.
-
-
-
-
- Gets the unique ID of a session.
-
-
- A that represents the unique ID of the session,
- or if the WebSocket connection isn't established.
-
-
-
-
- Gets or sets a value indicating whether the WebSocket service ignores
- the Sec-WebSocket-Extensions header included in a handshake request.
-
-
- true if the WebSocket service ignores the extensions requested from
- a client; otherwise, false. The default value is false.
-
-
-
-
- Gets or sets the delegate called to validate the Origin header included in
- a handshake request to the WebSocket service.
-
-
- This delegate is called when the used in a session validates
- the handshake request.
-
-
-
- A Func<string, bool> delegate that references the method(s) used to
- validate the origin header.
-
-
- parameter passed to this delegate represents the value of
- the origin header to validate if any.
-
-
- This delegate should return true if the origin header is valid.
-
-
- The default value is , and it does nothing to validate.
-
-
-
-
-
- Gets or sets the WebSocket subprotocol used in the WebSocket service.
-
-
- Set operation of this property is available before the WebSocket connection has
- been established.
-
-
-
- A that represents the subprotocol if any.
- The default value is .
-
-
- The value to set must be a token defined in
- RFC 2616.
-
-
-
-
-
- Gets the time that a session has started.
-
-
- A that represents the time that the session has started,
- or if the WebSocket connection isn't established.
-
-
-
-
- Gets the state of the used in a session.
-
-
- One of the enum values, indicates the state of
- the .
-
-
-
-
- Calls the method with the specified and
- .
-
-
- This method doesn't call the method if is
- or empty.
-
-
- A that represents the error message.
-
-
- An instance that represents the cause of the error if any.
-
-
-
-
- Called when the WebSocket connection used in a session has been closed.
-
-
- A that represents the event data passed to
- a event.
-
-
-
-
- Called when the used in a session gets an error.
-
-
- A that represents the event data passed to
- a event.
-
-
-
-
- Called when the used in a session receives a message.
-
-
- A that represents the event data passed to
- a event.
-
-
-
-
- Called when the WebSocket connection used in a session has been established.
-
-
-
-
- Sends binary to the client on a session.
-
-
- This method is available after the WebSocket connection has been established.
-
-
- An array of that represents the binary data to send.
-
-
-
-
- Sends the specified as binary data to the client on a session.
-
-
- This method is available after the WebSocket connection has been established.
-
-
- A that represents the file to send.
-
-
-
-
- Sends text to the client on a session.
-
-
- This method is available after the WebSocket connection has been established.
-
-
- A that represents the text data to send.
-
-
-
-
- Sends binary asynchronously to the client on a session.
-
-
-
- This method is available after the WebSocket connection has been established.
-
-
- This method doesn't wait for the send to be complete.
-
-
-
- An array of that represents the binary data to send.
-
-
- An Action<bool> delegate that references the method(s) called when
- the send is complete. A passed to this delegate is true
- if the send is complete successfully.
-
-
-
-
- Sends the specified as binary data asynchronously to
- the client on a session.
-
-
-
- This method is available after the WebSocket connection has been established.
-
-
- This method doesn't wait for the send to be complete.
-
-
-
- A that represents the file to send.
-
-
- An Action<bool> delegate that references the method(s) called when
- the send is complete. A passed to this delegate is true
- if the send is complete successfully.
-
-
-
-
- Sends text asynchronously to the client on a session.
-
-
-
- This method is available after the WebSocket connection has been established.
-
-
- This method doesn't wait for the send to be complete.
-
-
-
- A that represents the text data to send.
-
-
- An Action<bool> delegate that references the method(s) called when
- the send is complete. A passed to this delegate is true
- if the send is complete successfully.
-
-
-
-
- Sends binary data from the specified asynchronously to
- the client on a session.
-
-
-
- This method is available after the WebSocket connection has been established.
-
-
- This method doesn't wait for the send to be complete.
-
-
-
- A from which contains the binary data to send.
-
-
- An that represents the number of bytes to send.
-
-
- An Action<bool> delegate that references the method(s) called when
- the send is complete. A passed to this delegate is true
- if the send is complete successfully.
-
-
-
-
- Provides a WebSocket protocol server.
-
-
- This class can provide multiple WebSocket services.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The new instance listens for incoming handshake requests on
- and port 80.
-
-
-
-
- Initializes a new instance of the class
- with the specified .
-
-
-
- The new instance listens for incoming handshake requests on
- and .
-
-
- It provides secure connections if is 443.
-
-
-
- An that represents the number of the port
- on which to listen.
-
-
- is less than 1 or greater than 65535.
-
-
-
-
- Initializes a new instance of the class
- with the specified .
-
-
-
- The new instance listens for incoming handshake requests on
- the IP address of the host of and
- the port of .
-
-
- Either port 80 or 443 is used if includes
- no port. Port 443 is used if the scheme of
- is wss; otherwise, port 80 is used.
-
-
- The new instance provides secure connections if the scheme of
- is wss.
-
-
-
- A that represents the WebSocket URL of the server.
-
-
- is .
-
-
-
- is an empty string.
-
-
- -or-
-
-
- is invalid.
-
-
-
-
-
- Initializes a new instance of the class
- with the specified and .
-
-
- The new instance listens for incoming handshake requests on
- and .
-
-
- An that represents the number of the port
- on which to listen.
-
-
- A : true if the new instance provides
- secure connections; otherwise, false.
-
-
- is less than 1 or greater than 65535.
-
-
-
-
- Initializes a new instance of the class
- with the specified and .
-
-
-
- The new instance listens for incoming handshake requests on
- and .
-
-
- It provides secure connections if is 443.
-
-
-
- A that represents the local
- IP address on which to listen.
-
-
- An that represents the number of the port
- on which to listen.
-
-
- is .
-
-
- is not a local IP address.
-
-
- is less than 1 or greater than 65535.
-
-
-
-
- Initializes a new instance of the class
- with the specified , ,
- and .
-
-
- The new instance listens for incoming handshake requests on
- and .
-
-
- A that represents the local
- IP address on which to listen.
-
-
- An that represents the number of the port
- on which to listen.
-
-
- A : true if the new instance provides
- secure connections; otherwise, false.
-
-
- is .
-
-
- is not a local IP address.
-
-
- is less than 1 or greater than 65535.
-
-
-
-
- Gets the IP address of the server.
-
-
- A that represents the local
- IP address on which to listen for incoming handshake requests.
-
-
-
-
- Gets or sets a value indicating whether the server accepts every
- handshake request without checking the request URI.
-
-
- The set operation does nothing if the server has already started or
- it is shutting down.
-
-
-
- true if the server accepts every handshake request without
- checking the request URI; otherwise, false.
-
-
- The default value is false.
-
-
-
-
-
- Gets or sets the scheme used to authenticate the clients.
-
-
- The set operation does nothing if the server has already started or
- it is shutting down.
-
-
-
- One of the
- enum values.
-
-
- It represents the scheme used to authenticate the clients.
-
-
- The default value is
- .
-
-
-
-
-
- Gets a value indicating whether the server has started.
-
-
- true if the server has started; otherwise, false.
-
-
-
-
- Gets a value indicating whether the server provides
- secure connections.
-
-
- true if the server provides secure connections;
- otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether the server cleans up
- the inactive sessions periodically.
-
-
- The set operation does nothing if the server has already started or
- it is shutting down.
-
-
-
- true if the server cleans up the inactive sessions every
- 60 seconds; otherwise, false.
-
-
- The default value is true.
-
-
-
-
-
- Gets the logging function for the server.
-
-
- The default logging level is .
-
-
- A that provides the logging function.
-
-
-
-
- Gets the port of the server.
-
-
- An that represents the number of the port
- on which to listen for incoming handshake requests.
-
-
-
-
- Gets or sets the realm used for authentication.
-
-
-
- "SECRET AREA" is used as the realm if the value is
- or an empty string.
-
-
- The set operation does nothing if the server has
- already started or it is shutting down.
-
-
-
-
- A or by default.
-
-
- That string represents the name of the realm.
-
-
-
-
-
- Gets or sets a value indicating whether the server is allowed to
- be bound to an address that is already in use.
-
-
-
- You should set this property to true if you would
- like to resolve to wait for socket in TIME_WAIT state.
-
-
- The set operation does nothing if the server has already
- started or it is shutting down.
-
-
-
-
- true if the server is allowed to be bound to an address
- that is already in use; otherwise, false.
-
-
- The default value is false.
-
-
-
-
-
- Gets the configuration for secure connections.
-
-
- This configuration will be referenced when attempts to start,
- so it must be configured before the start method is called.
-
-
- A that represents
- the configuration used to provide secure connections.
-
-
- This instance does not provide secure connections.
-
-
-
-
- Gets or sets the delegate used to find the credentials
- for an identity.
-
-
-
- No credentials are found if the method invoked by
- the delegate returns or
- the value is .
-
-
- The set operation does nothing if the server has
- already started or it is shutting down.
-
-
-
-
- A Func<,
- > delegate or
- if not needed.
-
-
- That delegate invokes the method called for finding
- the credentials used to authenticate a client.
-
-
- The default value is .
-
-
-
-
-
- Gets or sets the time to wait for the response to the WebSocket Ping or
- Close.
-
-
- The set operation does nothing if the server has already started or
- it is shutting down.
-
-
-
- A to wait for the response.
-
-
- The default value is the same as 1 second.
-
-
-
- The value specified for a set operation is zero or less.
-
-
-
-
- Gets the management function for the WebSocket services
- provided by the server.
-
-
- A that manages
- the WebSocket services provided by the server.
-
-
-
-
- Adds a WebSocket service with the specified behavior,
- , and .
-
-
- is converted to a URL-decoded string and
- '/' is trimmed from the end of the converted string if any.
-
-
- A that represents an absolute path to
- the service to add.
-
-
-
- A Func<TBehavior> delegate.
-
-
- It invokes the method called for creating a new session
- instance for the service.
-
-
- The method must create a new instance of the specified
- behavior class and return it.
-
-
-
-
- The type of the behavior for the service.
-
-
- It must inherit the class.
-
-
-
-
- is .
-
-
- -or-
-
-
- is .
-
-
-
-
- is an empty string.
-
-
- -or-
-
-
- is not an absolute path.
-
-
- -or-
-
-
- includes either or both
- query and fragment components.
-
-
- -or-
-
-
- is already in use.
-
-
-
-
-
- Adds a WebSocket service with the specified behavior and
- .
-
-
- is converted to a URL-decoded string and
- '/' is trimmed from the end of the converted string if any.
-
-
- A that represents an absolute path to
- the service to add.
-
-
-
- The type of the behavior for the service.
-
-
- It must inherit the class and
- have a public parameterless constructor.
-
-
-
- is .
-
-
-
- is an empty string.
-
-
- -or-
-
-
- is not an absolute path.
-
-
- -or-
-
-
- includes either or both
- query and fragment components.
-
-
- -or-
-
-
- is already in use.
-
-
-
-
-
- Adds a WebSocket service with the specified behavior,
- , and .
-
-
- is converted to a URL-decoded string and
- '/' is trimmed from the end of the converted string if any.
-
-
- A that represents an absolute path to
- the service to add.
-
-
-
- An Action<TBehaviorWithNew> delegate or
- if not needed.
-
-
- That delegate invokes the method called for initializing
- a new session instance for the service.
-
-
-
-
- The type of the behavior for the service.
-
-
- It must inherit the class and
- have a public parameterless constructor.
-
-
-
- is .
-
-
-
- is an empty string.
-
-
- -or-
-
-
- is not an absolute path.
-
-
- -or-
-
-
- includes either or both
- query and fragment components.
-
-
- -or-
-
-
- is already in use.
-
-
-
-
-
- Removes a WebSocket service with the specified .
-
-
-
- is converted to a URL-decoded string and
- '/' is trimmed from the end of the converted string if any.
-
-
- The service is stopped with close status 1001 (going away)
- if it has already started.
-
-
-
- true if the service is successfully found and removed;
- otherwise, false.
-
-
- A that represents an absolute path to
- the service to remove.
-
-
- is .
-
-
-
- is an empty string.
-
-
- -or-
-
-
- is not an absolute path.
-
-
- -or-
-
-
- includes either or both
- query and fragment components.
-
-
-
-
-
- Starts receiving incoming handshake requests.
-
-
- This method does nothing if the server has already started or
- it is shutting down.
-
-
-
- There is no server certificate for secure connections.
-
-
- -or-
-
-
- The underlying has failed to start.
-
-
-
-
-
- Stops receiving incoming handshake requests and closes
- each connection.
-
-
- This method does nothing if the server is not started,
- it is shutting down, or it has already stopped.
-
-
- The underlying has failed to stop.
-
-
-
-
- Stops receiving incoming handshake requests and closes each
- connection with the specified and
- .
-
-
- This method does nothing if the server is not started,
- it is shutting down, or it has already stopped.
-
-
-
- A that represents the status code
- indicating the reason for the close.
-
-
- The status codes are defined in
-
- Section 7.4 of RFC 6455.
-
-
-
-
- A that represents the reason for the close.
-
-
- The size must be 123 bytes or less in UTF-8.
-
-
-
-
- is less than 1000 or greater than 4999.
-
-
- -or-
-
-
- The size of is greater than 123 bytes.
-
-
-
-
- is 1010 (mandatory extension).
-
-
- -or-
-
-
- is 1005 (no status) and
- there is .
-
-
- -or-
-
-
- could not be UTF-8-encoded.
-
-
-
- The underlying has failed to stop.
-
-
-
-
- Stops receiving incoming handshake requests and closes each
- connection with the specified and
- .
-
-
- This method does nothing if the server is not started,
- it is shutting down, or it has already stopped.
-
-
-
- One of the enum values.
-
-
- It represents the status code indicating the reason for the close.
-
-
-
-
- A that represents the reason for the close.
-
-
- The size must be 123 bytes or less in UTF-8.
-
-
-
-
- is
- .
-
-
- -or-
-
-
- is
- and
- there is .
-
-
- -or-
-
-
- could not be UTF-8-encoded.
-
-
-
- The size of is greater than 123 bytes.
-
-
- The underlying has failed to stop.
-
-
-
-
- Exposes the methods and properties used to access the information in
- a WebSocket service provided by the or
- .
-
-
- This class is an abstract class.
-
-
-
-
- Initializes a new instance of the class
- with the specified and .
-
-
- A that represents the absolute path to the service.
-
-
- A that represents the logging function for the service.
-
-
-
-
- Gets the logging function for the service.
-
-
- A that provides the logging function.
-
-
-
-
- Gets or sets a value indicating whether the service cleans up
- the inactive sessions periodically.
-
-
- The set operation does nothing if the service has already started or
- it is shutting down.
-
-
- true if the service cleans up the inactive sessions every
- 60 seconds; otherwise, false.
-
-
-
-
- Gets the path to the service.
-
-
- A that represents the absolute path to
- the service.
-
-
-
-
- Gets the management function for the sessions in the service.
-
-
- A that manages the sessions in
- the service.
-
-
-
-
- Gets the of the behavior of the service.
-
-
- A that represents the type of the behavior of
- the service.
-
-
-
-
- Gets or sets the time to wait for the response to the WebSocket Ping or
- Close.
-
-
- The set operation does nothing if the service has already started or
- it is shutting down.
-
-
- A to wait for the response.
-
-
- The value specified for a set operation is zero or less.
-
-
-
-
- Creates a new session for the service.
-
-
- A instance that represents
- the new session.
-
-
-
-
- Provides the management function for the WebSocket services.
-
-
- This class manages the WebSocket services provided by
- the or .
-
-
-
-
- Gets the number of the WebSocket services.
-
-
- An that represents the number of the services.
-
-
-
-
- Gets the host instances for the WebSocket services.
-
-
-
- An IEnumerable<WebSocketServiceHost> instance.
-
-
- It provides an enumerator which supports the iteration over
- the collection of the host instances.
-
-
-
-
-
- Gets the host instance for a WebSocket service with
- the specified .
-
-
- is converted to a URL-decoded string and
- / is trimmed from the end of the converted string if any.
-
-
-
- A instance or
- if not found.
-
-
- That host instance provides the function to access
- the information in the service.
-
-
-
- A that represents an absolute path to
- the service to find.
-
-
- is .
-
-
-
- is empty.
-
-
- -or-
-
-
- is not an absolute path.
-
-
- -or-
-
-
- includes either or both
- query and fragment components.
-
-
-
-
-
- Gets or sets a value indicating whether the inactive sessions in
- the WebSocket services are cleaned up periodically.
-
-
- The set operation does nothing if the server has already started or
- it is shutting down.
-
-
- true if the inactive sessions are cleaned up every 60 seconds;
- otherwise, false.
-
-
-
-
- Gets the paths for the WebSocket services.
-
-
-
- An IEnumerable<string> instance.
-
-
- It provides an enumerator which supports the iteration over
- the collection of the paths.
-
-
-
-
-
- Gets the total number of the sessions in the WebSocket services.
-
-
- An that represents the total number of
- the sessions in the services.
-
-
-
-
- Gets or sets the time to wait for the response to the WebSocket Ping or
- Close.
-
-
- The set operation does nothing if the server has already started or
- it is shutting down.
-
-
- A to wait for the response.
-
-
- The value specified for a set operation is zero or less.
-
-
-
-
- Adds a WebSocket service with the specified behavior,
- , and .
-
-
- is converted to a URL-decoded string and
- / is trimmed from the end of the converted string if any.
-
-
- A that represents an absolute path to
- the service to add.
-
-
-
- An Action<TBehavior> delegate or
- if not needed.
-
-
- That delegate invokes the method called for initializing
- a new session instance for the service.
-
-
-
- The type of the behavior for the service. It must inherit
- the class and it must have
- a public parameterless constructor.
-
-
- is .
-
-
-
- is empty.
-
-
- -or-
-
-
- is not an absolute path.
-
-
- -or-
-
-
- includes either or both
- query and fragment components.
-
-
- -or-
-
-
- is already in use.
-
-
-
-
-
- Sends to every client in the WebSocket services.
-
-
- An array of that represents the binary data to send.
-
-
- The current state of the manager is not Start.
-
-
- is .
-
-
-
-
- Sends to every client in the WebSocket services.
-
-
- A that represents the text data to send.
-
-
- The current state of the manager is not Start.
-
-
- is .
-
-
- could not be UTF-8-encoded.
-
-
-
-
- Sends asynchronously to every client in
- the WebSocket services.
-
-
- This method does not wait for the send to be complete.
-
-
- An array of that represents the binary data to send.
-
-
-
- An delegate or
- if not needed.
-
-
- The delegate invokes the method called when the send is complete.
-
-
-
- The current state of the manager is not Start.
-
-
- is .
-
-
-
-
- Sends asynchronously to every client in
- the WebSocket services.
-
-
- This method does not wait for the send to be complete.
-
-
- A that represents the text data to send.
-
-
-
- An delegate or
- if not needed.
-
-
- The delegate invokes the method called when the send is complete.
-
-
-
- The current state of the manager is not Start.
-
-
- is .
-
-
- could not be UTF-8-encoded.
-
-
-
-
- Sends the data from asynchronously to
- every client in the WebSocket services.
-
-
-
- The data is sent as the binary data.
-
-
- This method does not wait for the send to be complete.
-
-
-
- A instance from which to read the data to send.
-
-
- An that specifies the number of bytes to send.
-
-
-
- An delegate or
- if not needed.
-
-
- The delegate invokes the method called when the send is complete.
-
-
-
- The current state of the manager is not Start.
-
-
- is .
-
-
-
- cannot be read.
-
-
- -or-
-
-
- is less than 1.
-
-
- -or-
-
-
- No data could be read from .
-
-
-
-
-
- Sends a ping to every client in the WebSocket services.
-
-
-
- A Dictionary<string, Dictionary<string, bool>>.
-
-
- It represents a collection of pairs of a service path and another
- collection of pairs of a session ID and a value indicating whether
- a pong has been received from the client within a time.
-
-
-
- The current state of the manager is not Start.
-
-
-
-
- Sends a ping with to every client in
- the WebSocket services.
-
-
-
- A Dictionary<string, Dictionary<string, bool>>.
-
-
- It represents a collection of pairs of a service path and another
- collection of pairs of a session ID and a value indicating whether
- a pong has been received from the client within a time.
-
-
-
-
- A that represents the message to send.
-
-
- The size must be 125 bytes or less in UTF-8.
-
-
-
- The current state of the manager is not Start.
-
-
- could not be UTF-8-encoded.
-
-
- The size of is greater than 125 bytes.
-
-
-
-
- Removes all WebSocket services managed by the manager.
-
-
- A service is stopped with close status 1001 (going away)
- if it has already started.
-
-
-
-
- Removes a WebSocket service with the specified .
-
-
-
- is converted to a URL-decoded string and
- / is trimmed from the end of the converted string if any.
-
-
- The service is stopped with close status 1001 (going away)
- if it has already started.
-
-
-
- true if the service is successfully found and removed;
- otherwise, false.
-
-
- A that represents an absolute path to
- the service to remove.
-
-
- is .
-
-
-
- is empty.
-
-
- -or-
-
-
- is not an absolute path.
-
-
- -or-
-
-
- includes either or both
- query and fragment components.
-
-
-
-
-
- Tries to get the host instance for a WebSocket service with
- the specified .
-
-
- is converted to a URL-decoded string and
- / is trimmed from the end of the converted string if any.
-
-
- true if the service is successfully found;
- otherwise, false.
-
-
- A that represents an absolute path to
- the service to find.
-
-
-
- When this method returns, a
- instance or if not found.
-
-
- That host instance provides the function to access
- the information in the service.
-
-
-
- is .
-
-
-
- is empty.
-
-
- -or-
-
-
- is not an absolute path.
-
-
- -or-
-
-
- includes either or both
- query and fragment components.
-
-
-
-
-
- Provides the management function for the sessions in a WebSocket service.
-
-
- This class manages the sessions in a WebSocket service provided by
- the or .
-
-
-
-
- Gets the IDs for the active sessions in the WebSocket service.
-
-
-
- An IEnumerable<string> instance.
-
-
- It provides an enumerator which supports the iteration over
- the collection of the IDs for the active sessions.
-
-
-
-
-
- Gets the number of the sessions in the WebSocket service.
-
-
- An that represents the number of the sessions.
-
-
-
-
- Gets the IDs for the sessions in the WebSocket service.
-
-
-
- An IEnumerable<string> instance.
-
-
- It provides an enumerator which supports the iteration over
- the collection of the IDs for the sessions.
-
-
-
-
-
- Gets the IDs for the inactive sessions in the WebSocket service.
-
-
-
- An IEnumerable<string> instance.
-
-
- It provides an enumerator which supports the iteration over
- the collection of the IDs for the inactive sessions.
-
-
-
-
-
- Gets the session instance with .
-
-
-
- A instance or
- if not found.
-
-
- The session instance provides the function to access the information
- in the session.
-
-
-
- A that represents the ID of the session to find.
-
-
- is .
-
-
- is an empty string.
-
-
-
-
- Gets or sets a value indicating whether the inactive sessions in
- the WebSocket service are cleaned up periodically.
-
-
- The set operation does nothing if the service has already started or
- it is shutting down.
-
-
- true if the inactive sessions are cleaned up every 60 seconds;
- otherwise, false.
-
-
-
-
- Gets the session instances in the WebSocket service.
-
-
-
- An IEnumerable<IWebSocketSession> instance.
-
-
- It provides an enumerator which supports the iteration over
- the collection of the session instances.
-
-
-
-
-
- Gets or sets the time to wait for the response to the WebSocket Ping or
- Close.
-
-
- The set operation does nothing if the service has already started or
- it is shutting down.
-
-
- A to wait for the response.
-
-
- The value specified for a set operation is zero or less.
-
-
-
-
- Sends to every client in the WebSocket service.
-
-
- An array of that represents the binary data to send.
-
-
- The current state of the manager is not Start.
-
-
- is .
-
-
-
-
- Sends to every client in the WebSocket service.
-
-
- A that represents the text data to send.
-
-
- The current state of the manager is not Start.
-
-
- is .
-
-
- could not be UTF-8-encoded.
-
-
-
-
- Sends the data from to every client in
- the WebSocket service.
-
-
- The data is sent as the binary data.
-
-
- A instance from which to read the data to send.
-
-
- An that specifies the number of bytes to send.
-
-
- The current state of the manager is not Start.
-
-
- is .
-
-
-
- cannot be read.
-
-
- -or-
-
-
- is less than 1.
-
-
- -or-
-
-
- No data could be read from .
-
-
-
-
-
- Sends asynchronously to every client in
- the WebSocket service.
-
-
- This method does not wait for the send to be complete.
-
-
- An array of that represents the binary data to send.
-
-
-
- An delegate or
- if not needed.
-
-
- The delegate invokes the method called when the send is complete.
-
-
-
- The current state of the manager is not Start.
-
-
- is .
-
-
-
-
- Sends asynchronously to every client in
- the WebSocket service.
-
-
- This method does not wait for the send to be complete.
-
-
- A that represents the text data to send.
-
-
-
- An delegate or
- if not needed.
-
-
- The delegate invokes the method called when the send is complete.
-
-
-
- The current state of the manager is not Start.
-
-
- is .
-
-
- could not be UTF-8-encoded.
-
-
-
-
- Sends the data from asynchronously to
- every client in the WebSocket service.
-
-
-
- The data is sent as the binary data.
-
-
- This method does not wait for the send to be complete.
-
-
-
- A instance from which to read the data to send.
-
-
- An that specifies the number of bytes to send.
-
-
-
- An delegate or
- if not needed.
-
-
- The delegate invokes the method called when the send is complete.
-
-
-
- The current state of the manager is not Start.
-
-
- is .
-
-
-
- cannot be read.
-
-
- -or-
-
-
- is less than 1.
-
-
- -or-
-
-
- No data could be read from .
-
-
-
-
-
- Sends a ping to every client in the WebSocket service.
-
-
-
- A Dictionary<string, bool>.
-
-
- It represents a collection of pairs of a session ID and
- a value indicating whether a pong has been received from
- the client within a time.
-
-
-
- The current state of the manager is not Start.
-
-
-
-
- Sends a ping with to every client in
- the WebSocket service.
-
-
-
- A Dictionary<string, bool>.
-
-
- It represents a collection of pairs of a session ID and
- a value indicating whether a pong has been received from
- the client within a time.
-
-
-
-
- A that represents the message to send.
-
-
- The size must be 125 bytes or less in UTF-8.
-
-
-
- The current state of the manager is not Start.
-
-
- could not be UTF-8-encoded.
-
-
- The size of is greater than 125 bytes.
-
-
-
-
- Closes the specified session.
-
-
- A that represents the ID of the session to close.
-
-
- is .
-
-
- is an empty string.
-
-
- The session could not be found.
-
-
-
-
- Closes the specified session with and
- .
-
-
- A that represents the ID of the session to close.
-
-
-
- A that represents the status code indicating
- the reason for the close.
-
-
- The status codes are defined in
-
- Section 7.4 of RFC 6455.
-
-
-
-
- A that represents the reason for the close.
-
-
- The size must be 123 bytes or less in UTF-8.
-
-
-
- is .
-
-
-
- is an empty string.
-
-
- -or-
-
-
- is 1010 (mandatory extension).
-
-
- -or-
-
-
- is 1005 (no status) and there is
- .
-
-
- -or-
-
-
- could not be UTF-8-encoded.
-
-
-
- The session could not be found.
-
-
-
- is less than 1000 or greater than 4999.
-
-
- -or-
-
-
- The size of is greater than 123 bytes.
-
-
-
-
-
- Closes the specified session with and
- .
-
-
- A that represents the ID of the session to close.
-
-
-
- One of the enum values.
-
-
- It represents the status code indicating the reason for the close.
-
-
-
-
- A that represents the reason for the close.
-
-
- The size must be 123 bytes or less in UTF-8.
-
-
-
- is .
-
-
-
- is an empty string.
-
-
- -or-
-
-
- is
- .
-
-
- -or-
-
-
- is
- and there is
- .
-
-
- -or-
-
-
- could not be UTF-8-encoded.
-
-
-
- The session could not be found.
-
-
- The size of is greater than 123 bytes.
-
-
-
-
- Sends a ping to the client using the specified session.
-
-
- true if the send has done with no error and a pong has been
- received from the client within a time; otherwise, false.
-
-
- A that represents the ID of the session.
-
-
- is .
-
-
- is an empty string.
-
-
- The session could not be found.
-
-
-
-
- Sends a ping with to the client using
- the specified session.
-
-
- true if the send has done with no error and a pong has been
- received from the client within a time; otherwise, false.
-
-
-
- A that represents the message to send.
-
-
- The size must be 125 bytes or less in UTF-8.
-
-
-
- A that represents the ID of the session.
-
-
- is .
-
-
-
- is an empty string.
-
-
- -or-
-
-
- could not be UTF-8-encoded.
-
-
-
- The session could not be found.
-
-
- The size of is greater than 125 bytes.
-
-
-
-
- Sends to the client using the specified session.
-
-
- An array of that represents the binary data to send.
-
-
- A that represents the ID of the session.
-
-
-
- is .
-
-
- -or-
-
-
- is .
-
-
-
- is an empty string.
-
-
-
- The session could not be found.
-
-
- -or-
-
-
- The current state of the WebSocket connection is not Open.
-
-
-
-
-
- Sends to the client using the specified session.
-
-
- A that represents the text data to send.
-
-
- A that represents the ID of the session.
-
-
-
- is .
-
-
- -or-
-
-
- is .
-
-
-
-
- is an empty string.
-
-
- -or-
-
-
- could not be UTF-8-encoded.
-
-
-
-
- The session could not be found.
-
-
- -or-
-
-
- The current state of the WebSocket connection is not Open.
-
-
-
-
-
- Sends the data from to the client using
- the specified session.
-
-
- The data is sent as the binary data.
-
-
- A instance from which to read the data to send.
-
-
- An that specifies the number of bytes to send.
-
-
- A that represents the ID of the session.
-
-
-
- is .
-
-
- -or-
-
-
- is .
-
-
-
-
- is an empty string.
-
-
- -or-
-
-
- cannot be read.
-
-
- -or-
-
-
- is less than 1.
-
-
- -or-
-
-
- No data could be read from .
-
-
-
-
- The session could not be found.
-
-
- -or-
-
-
- The current state of the WebSocket connection is not Open.
-
-
-
-
-
- Sends asynchronously to the client using
- the specified session.
-
-
- This method does not wait for the send to be complete.
-
-
- An array of that represents the binary data to send.
-
-
- A that represents the ID of the session.
-
-
-
- An Action<bool> delegate or
- if not needed.
-
-
- The delegate invokes the method called when the send is complete.
-
-
- true is passed to the method if the send has done with
- no error; otherwise, false.
-
-
-
-
- is .
-
-
- -or-
-
-
- is .
-
-
-
- is an empty string.
-
-
-
- The session could not be found.
-
-
- -or-
-
-
- The current state of the WebSocket connection is not Open.
-
-
-
-
-
- Sends asynchronously to the client using
- the specified session.
-
-
- This method does not wait for the send to be complete.
-
-
- A that represents the text data to send.
-
-
- A that represents the ID of the session.
-
-
-
- An Action<bool> delegate or
- if not needed.
-
-
- The delegate invokes the method called when the send is complete.
-
-
- true is passed to the method if the send has done with
- no error; otherwise, false.
-
-
-
-
- is .
-
-
- -or-
-
-
- is .
-
-
-
-
- is an empty string.
-
-
- -or-
-
-
- could not be UTF-8-encoded.
-
-
-
-
- The session could not be found.
-
-
- -or-
-
-
- The current state of the WebSocket connection is not Open.
-
-
-
-
-
- Sends the data from asynchronously to
- the client using the specified session.
-
-
-
- The data is sent as the binary data.
-
-
- This method does not wait for the send to be complete.
-
-
-
- A instance from which to read the data to send.
-
-
- An that specifies the number of bytes to send.
-
-
- A that represents the ID of the session.
-
-
-
- An Action<bool> delegate or
- if not needed.
-
-
- The delegate invokes the method called when the send is complete.
-
-
- true is passed to the method if the send has done with
- no error; otherwise, false.
-
-
-
-
- is .
-
-
- -or-
-
-
- is .
-
-
-
-
- is an empty string.
-
-
- -or-
-
-
- cannot be read.
-
-
- -or-
-
-
- is less than 1.
-
-
- -or-
-
-
- No data could be read from .
-
-
-
-
- The session could not be found.
-
-
- -or-
-
-
- The current state of the WebSocket connection is not Open.
-
-
-
-
-
- Cleans up the inactive sessions in the WebSocket service.
-
-
-
-
- Tries to get the session instance with .
-
-
- true if the session is successfully found; otherwise,
- false.
-
-
- A that represents the ID of the session to find.
-
-
-
- When this method returns, a
- instance or if not found.
-
-
- The session instance provides the function to access
- the information in the session.
-
-
-
- is .
-
-
- is an empty string.
-
-
-
-
- Implements the WebSocket interface.
-
-
- The WebSocket class provides a set of methods and properties for two-way communication using
- the WebSocket protocol (RFC 6455).
-
-
-
-
- Represents the empty array of used internally.
-
-
-
-
- Represents the length used to determine whether the data should be fragmented in sending.
-
-
-
- The data will be fragmented if that length is greater than the value of this field.
-
-
- If you would like to change the value, you must set it to a value between 125 and
- Int32.MaxValue - 14 inclusive.
-
-
-
-
-
- Represents the random number generator used internally.
-
-
-
-
- Initializes a new instance of the class with
- and .
-
-
- A that specifies the URL of the WebSocket
- server to connect.
-
-
-
- An array of that specifies the names of
- the subprotocols if necessary.
-
-
- Each value of the array must be a token defined in
-
- RFC 2616.
-
-
-
- is .
-
-
-
- is an empty string.
-
-
- -or-
-
-
- is an invalid WebSocket URL string.
-
-
- -or-
-
-
- contains a value that is not a token.
-
-
- -or-
-
-
- contains a value twice.
-
-
-
-
-
- Gets or sets the compression method used to compress a message.
-
-
- The set operation does nothing if the connection has already been
- established or it is closing.
-
-
-
- One of the enum values.
-
-
- It represents the compression method used to compress a message.
-
-
- The default value is .
-
-
-
- The set operation cannot be used by servers.
-
-
-
-
- Gets the HTTP cookies included in the WebSocket handshake request and response.
-
-
- An
- instance that provides an enumerator which supports the iteration over the collection of
- the cookies.
-
-
-
-
- Gets the credentials for the HTTP authentication (Basic/Digest).
-
-
- A that represents the credentials for
- the authentication. The default value is .
-
-
-
-
- Gets or sets a value indicating whether the emits
- a event when receives a ping.
-
-
- true if the emits a event
- when receives a ping; otherwise, false. The default value is false.
-
-
-
-
- Gets or sets a value indicating whether the URL redirection for
- the handshake request is allowed.
-
-
- The set operation does nothing if the connection has already been
- established or it is closing.
-
-
-
- true if the URL redirection for the handshake request is
- allowed; otherwise, false.
-
-
- The default value is false.
-
-
-
- The set operation cannot be used by servers.
-
-
-
-
- Gets the WebSocket extensions selected by the server.
-
-
- A that represents the extensions if any.
- The default value is .
-
-
-
-
- Gets a value indicating whether the WebSocket connection is alive.
-
-
- true if the connection is alive; otherwise, false.
-
-
-
-
- Gets a value indicating whether the WebSocket connection is secure.
-
-
- true if the connection is secure; otherwise, false.
-
-
-
-
- Gets the logging functions.
-
-
- The default logging level is . If you would like to change it,
- you should set this Log.Level property to any of the enum
- values.
-
-
- A that provides the logging functions.
-
-
-
-
- Gets or sets the value of the HTTP Origin header to send with
- the handshake request.
-
-
-
- The HTTP Origin header is defined in
-
- Section 7 of RFC 6454.
-
-
- This instance sends the Origin header if this property has any.
-
-
- The set operation does nothing if the connection has already been
- established or it is closing.
-
-
-
-
- A that represents the value of the Origin
- header to send.
-
-
- The syntax is <scheme>://<host>[:<port>].
-
-
- The default value is .
-
-
-
- The set operation is not available if this instance is not a client.
-
-
-
- The value specified for a set operation is not an absolute URI string.
-
-
- -or-
-
-
- The value specified for a set operation includes the path segments.
-
-
-
-
-
- Gets the WebSocket subprotocol selected by the server.
-
-
- A that represents the subprotocol if any.
- The default value is .
-
-
-
-
- Gets the state of the WebSocket connection.
-
-
- One of the enum values that indicates
- the current state of the connection. The default value is
- .
-
-
-
-
- Gets the configuration for secure connection.
-
-
- This configuration will be referenced when attempts to connect,
- so it must be configured before any connect method is called.
-
-
- A that represents
- the configuration used to establish a secure connection.
-
-
-
- This instance is not a client.
-
-
- This instance does not use a secure connection.
-
-
-
-
-
- Gets the WebSocket URL used to connect, or accepted.
-
-
- A that represents the URL used to connect, or accepted.
-
-
-
-
- Gets or sets the time to wait for the response to the ping or close.
-
-
- The set operation does nothing if the connection has already been
- established or it is closing.
-
-
-
- A to wait for the response.
-
-
- The default value is the same as 5 seconds if the instance is
- a client.
-
-
-
- The value specified for a set operation is zero or less.
-
-
-
-
- Occurs when the WebSocket connection has been closed.
-
-
-
-
- Occurs when the gets an error.
-
-
-
-
- Occurs when the receives a message.
-
-
-
-
- Occurs when the WebSocket connection has been established.
-
-
-
-
- Accepts the WebSocket handshake request.
-
-
- This method is not available in a client.
-
-
-
-
- Accepts the WebSocket handshake request asynchronously.
-
-
-
- This method does not wait for the accept to be complete.
-
-
- This method is not available in a client.
-
-
-
-
-
- Closes the connection.
-
-
- This method does nothing if the current state of the connection is
- Closing or Closed.
-
-
-
-
- Closes the connection with the specified .
-
-
- This method does nothing if the current state of the connection is
- Closing or Closed.
-
-
-
- A that represents the status code
- indicating the reason for the close.
-
-
- The status codes are defined in
-
- Section 7.4 of RFC 6455.
-
-
-
- is less than 1000 or greater than 4999.
-
-
-
- is 1011 (server error).
- It cannot be used by clients.
-
-
- -or-
-
-
- is 1010 (mandatory extension).
- It cannot be used by servers.
-
-
-
-
-
- Closes the connection with the specified .
-
-
- This method does nothing if the current state of the connection is
- Closing or Closed.
-
-
-
- One of the enum values.
-
-
- It represents the status code indicating the reason for the close.
-
-
-
-
- is
- .
- It cannot be used by clients.
-
-
- -or-
-
-
- is
- .
- It cannot be used by servers.
-
-
-
-
-
- Closes the connection with the specified and
- .
-
-
- This method does nothing if the current state of the connection is
- Closing or Closed.
-
-
-
- A that represents the status code
- indicating the reason for the close.
-
-
- The status codes are defined in
-
- Section 7.4 of RFC 6455.
-
-
-
-
- A that represents the reason for the close.
-
-
- The size must be 123 bytes or less in UTF-8.
-
-
-
-
- is less than 1000 or greater than 4999.
-
-
- -or-
-
-
- The size of is greater than 123 bytes.
-
-
-
-
- is 1011 (server error).
- It cannot be used by clients.
-
-
- -or-
-
-
- is 1010 (mandatory extension).
- It cannot be used by servers.
-
-
- -or-
-
-
- is 1005 (no status) and
- there is .
-
-
- -or-
-
-
- could not be UTF-8-encoded.
-
-
-
-
-
- Closes the connection with the specified and
- .
-
-
- This method does nothing if the current state of the connection is
- Closing or Closed.
-
-
-
- One of the enum values.
-
-
- It represents the status code indicating the reason for the close.
-
-
-
-
- A that represents the reason for the close.
-
-
- The size must be 123 bytes or less in UTF-8.
-
-
-
-
- is
- .
- It cannot be used by clients.
-
-
- -or-
-
-
- is
- .
- It cannot be used by servers.
-
-
- -or-
-
-
- is
- and
- there is .
-
-
- -or-
-
-
- could not be UTF-8-encoded.
-
-
-
- The size of is greater than 123 bytes.
-
-
-
-
- Closes the connection asynchronously.
-
-
-
- This method does not wait for the close to be complete.
-
-
- And this method does nothing if the current state of
- the connection is Closing or Closed.
-
-
-
-
-
- Closes the connection asynchronously with the specified
- .
-
-
-
- This method does not wait for the close to be complete.
-
-
- And this method does nothing if the current state of
- the connection is Closing or Closed.
-
-
-
-
- A that represents the status code
- indicating the reason for the close.
-
-
- The status codes are defined in
-
- Section 7.4 of RFC 6455.
-
-
-
- is less than 1000 or greater than 4999.
-
-
-
- is 1011 (server error).
- It cannot be used by clients.
-
-
- -or-
-
-
- is 1010 (mandatory extension).
- It cannot be used by servers.
-
-
-
-
-
- Closes the connection asynchronously with the specified
- .
-
-
-
- This method does not wait for the close to be complete.
-
-
- And this method does nothing if the current state of
- the connection is Closing or Closed.
-
-
-
-
- One of the enum values.
-
-
- It represents the status code indicating the reason for the close.
-
-
-
-
- is
- .
- It cannot be used by clients.
-
-
- -or-
-
-
- is
- .
- It cannot be used by servers.
-
-
-
-
-
- Closes the connection asynchronously with the specified
- and .
-
-
-
- This method does not wait for the close to be complete.
-
-
- And this method does nothing if the current state of
- the connection is Closing or Closed.
-
-
-
-
- A that represents the status code
- indicating the reason for the close.
-
-
- The status codes are defined in
-
- Section 7.4 of RFC 6455.
-
-
-
-
- A that represents the reason for the close.
-
-
- The size must be 123 bytes or less in UTF-8.
-
-
-
-
- is less than 1000 or greater than 4999.
-
-
- -or-
-
-
- The size of is greater than 123 bytes.
-
-
-
-
- is 1011 (server error).
- It cannot be used by clients.
-
-
- -or-
-
-
- is 1010 (mandatory extension).
- It cannot be used by servers.
-
-
- -or-
-
-
- is 1005 (no status) and
- there is .
-
-
- -or-
-
-
- could not be UTF-8-encoded.
-
-
-
-
-
- Closes the connection asynchronously with the specified
- and .
-
-
-
- This method does not wait for the close to be complete.
-
-
- And this method does nothing if the current state of
- the connection is Closing or Closed.
-
-
-
-
- One of the enum values.
-
-
- It represents the status code indicating the reason for the close.
-
-
-
-
- A that represents the reason for the close.
-
-
- The size must be 123 bytes or less in UTF-8.
-
-
-
-
- is
- .
- It cannot be used by clients.
-
-
- -or-
-
-
- is
- .
- It cannot be used by servers.
-
-
- -or-
-
-
- is
- and
- there is .
-
-
- -or-
-
-
- could not be UTF-8-encoded.
-
-
-
- The size of is greater than 123 bytes.
-
-
-
-
- Establishes a WebSocket connection.
-
-
- This method is not available in a server.
-
-
-
-
- Establishes a WebSocket connection asynchronously.
-
-
-
- This method does not wait for the connect to be complete.
-
-
- This method is not available in a server.
-
-
-
-
-
- Sends a ping using the WebSocket connection.
-
-
- true if the send has done with no error and a pong has been
- received within a time; otherwise, false.
-
-
-
-
- Sends a ping with using the WebSocket
- connection.
-
-
- true if the send has done with no error and a pong has been
- received within a time; otherwise, false.
-
-
-
- A that represents the message to send.
-
-
- The size must be 125 bytes or less in UTF-8.
-
-
-
- could not be UTF-8-encoded.
-
-
- The size of is greater than 125 bytes.
-
-
-
-
- Sends using the WebSocket connection.
-
-
- An array of that represents the binary data to send.
-
-
- The current state of the connection is not Open.
-
-
- is .
-
-
-
-
- Sends the specified file using the WebSocket connection.
-
-
- The file is sent as the binary data.
-
-
- A that specifies the file to send.
-
-
- The current state of the connection is not Open.
-
-
- is .
-
-
-
- The file does not exist.
-
-
- -or-
-
-
- The file could not be opened.
-
-
-
-
-
- Sends using the WebSocket connection.
-
-
- A that represents the text data to send.
-
-
- The current state of the connection is not Open.
-
-
- is .
-
-
- could not be UTF-8-encoded.
-
-
-
-
- Sends the data from using the WebSocket
- connection.
-
-
- The data is sent as the binary data.
-
-
- A instance from which to read the data to send.
-
-
- An that specifies the number of bytes to send.
-
-
- The current state of the connection is not Open.
-
-
- is .
-
-
-
- cannot be read.
-
-
- -or-
-
-
- is less than 1.
-
-
- -or-
-
-
- No data could be read from .
-
-
-
-
-
- Sends asynchronously using the WebSocket
- connection.
-
-
- This method does not wait for the send to be complete.
-
-
- An array of that represents the binary data to send.
-
-
-
- An Action<bool> delegate or
- if not needed.
-
-
- The delegate invokes the method called when the send is complete.
-
-
- true is passed to the method if the send has done with
- no error; otherwise, false.
-
-
-
- The current state of the connection is not Open.
-
-
- is .
-
-
-
-
- Sends the specified file asynchronously using the WebSocket connection.
-
-
-
- The file is sent as the binary data.
-
-
- This method does not wait for the send to be complete.
-
-
-
- A that specifies the file to send.
-
-
-
- An Action<bool> delegate or
- if not needed.
-
-
- The delegate invokes the method called when the send is complete.
-
-
- true is passed to the method if the send has done with
- no error; otherwise, false.
-
-
-
- The current state of the connection is not Open.
-
-
- is .
-
-
-
- The file does not exist.
-
-
- -or-
-
-
- The file could not be opened.
-
-
-
-
-
- Sends asynchronously using the WebSocket
- connection.
-
-
- This method does not wait for the send to be complete.
-
-
- A that represents the text data to send.
-
-
-
- An Action<bool> delegate or
- if not needed.
-
-
- The delegate invokes the method called when the send is complete.
-
-
- true is passed to the method if the send has done with
- no error; otherwise, false.
-
-
-
- The current state of the connection is not Open.
-
-
- is .
-
-
- could not be UTF-8-encoded.
-
-
-
-
- Sends the data from asynchronously using
- the WebSocket connection.
-
-
-
- The data is sent as the binary data.
-
-
- This method does not wait for the send to be complete.
-
-
-
- A instance from which to read the data to send.
-
-
- An that specifies the number of bytes to send.
-
-
-
- An Action<bool> delegate or
- if not needed.
-
-
- The delegate invokes the method called when the send is complete.
-
-
- true is passed to the method if the send has done with
- no error; otherwise, false.
-
-
-
- The current state of the connection is not Open.
-
-
- is .
-
-
-
- cannot be read.
-
-
- -or-
-
-
- is less than 1.
-
-
- -or-
-
-
- No data could be read from .
-
-
-
-
-
- Sets an HTTP to send with
- the WebSocket handshake request to the server.
-
-
- This method is not available in a server.
-
-
- A that represents a cookie to send.
-
-
-
-
- Sets a pair of and for
- the HTTP authentication (Basic/Digest).
-
-
- This method is not available in a server.
-
-
-
- A that represents the user name used to authenticate.
-
-
- If is or empty,
- the credentials will be initialized and not be sent.
-
-
-
- A that represents the password for
- used to authenticate.
-
-
- true if the sends the credentials for
- the Basic authentication with the first handshake request to the server;
- otherwise, false.
-
-
-
-
- Sets the HTTP proxy server URL to connect through, and if necessary,
- a pair of and for
- the proxy server authentication (Basic/Digest).
-
-
- This method is not available in a server.
-
-
-
- A that represents the HTTP proxy server URL to
- connect through. The syntax must be http://<host>[:<port>].
-
-
- If is or empty,
- the url and credentials for the proxy will be initialized,
- and the will not use the proxy to
- connect through.
-
-
-
-
- A that represents the user name used to authenticate.
-
-
- If is or empty,
- the credentials for the proxy will be initialized and not be sent.
-
-
-
- A that represents the password for
- used to authenticate.
-
-
-
-
- Closes the connection and releases all associated resources.
-
-
-
- This method closes the connection with close status 1001 (going away).
-
-
- And this method does nothing if the current state of the connection is
- Closing or Closed.
-
-
-
-
-
- The exception that is thrown when a fatal error occurs in
- the WebSocket communication.
-
-
-
-
- Gets the status code indicating the cause of the exception.
-
-
- One of the enum values that represents
- the status code indicating the cause of the exception.
-
-
-
-
- Represents the ping frame without the payload data as an array of .
-
-
- The value of this field is created from a non masked frame, so it can only be used to
- send a ping from a server.
-
-
-
-
- Indicates the state of a WebSocket connection.
-
-
- The values of this enumeration are defined in
-
- The WebSocket API.
-
-
-
-
- Equivalent to numeric value 0. Indicates that the connection has not
- yet been established.
-
-
-
-
- Equivalent to numeric value 1. Indicates that the connection has
- been established, and the communication is possible.
-
-
-
-
- Equivalent to numeric value 2. Indicates that the connection is
- going through the closing handshake, or the close method has
- been invoked.
-
-
-
-
- Equivalent to numeric value 3. Indicates that the connection has
- been closed or could not be established.
-
-
-
-
diff --git a/packages/WebSocketSharp-netstandard.1.0.1/lib/net45/websocket-sharp.dll b/packages/WebSocketSharp-netstandard.1.0.1/lib/net45/websocket-sharp.dll
deleted file mode 100644
index 01614c8..0000000
Binary files a/packages/WebSocketSharp-netstandard.1.0.1/lib/net45/websocket-sharp.dll and /dev/null differ
diff --git a/packages/WebSocketSharp-netstandard.1.0.1/lib/net45/websocket-sharp.xml b/packages/WebSocketSharp-netstandard.1.0.1/lib/net45/websocket-sharp.xml
deleted file mode 100644
index d4ffb44..0000000
--- a/packages/WebSocketSharp-netstandard.1.0.1/lib/net45/websocket-sharp.xml
+++ /dev/null
@@ -1,10326 +0,0 @@
-
-
-
- websocket-sharp
-
-
-
-
- Specifies the byte order.
-
-
-
-
- Specifies Little-endian.
-
-
-
-
- Specifies Big-endian.
-
-
-
-
- Represents the event data for the event.
-
-
-
- That event occurs when the WebSocket connection has been closed.
-
-
- If you would like to get the reason for the close, you should access
- the or property.
-
-
-
-
-
- Gets the status code for the close.
-
-
- A that represents the status code for the close if any.
-
-
-
-
- Gets the reason for the close.
-
-
- A that represents the reason for the close if any.
-
-
-
-
- Gets a value indicating whether the connection has been closed cleanly.
-
-
- true if the connection has been closed cleanly; otherwise, false.
-
-
-
-
- Indicates the status code for the WebSocket connection close.
-
-
-
- The values of this enumeration are defined in
-
- Section 7.4 of RFC 6455.
-
-
- "Reserved value" cannot be sent as a status code in
- closing handshake by an endpoint.
-
-
-
-
-
- Equivalent to close status 1000. Indicates normal close.
-
-
-
-
- Equivalent to close status 1001. Indicates that an endpoint is
- going away.
-
-
-
-
- Equivalent to close status 1002. Indicates that an endpoint is
- terminating the connection due to a protocol error.
-
-
-
-
- Equivalent to close status 1003. Indicates that an endpoint is
- terminating the connection because it has received a type of
- data that it cannot accept.
-
-
-
-
- Equivalent to close status 1004. Still undefined. A Reserved value.
-
-
-
-
- Equivalent to close status 1005. Indicates that no status code was
- actually present. A Reserved value.
-
-
-
-
- Equivalent to close status 1006. Indicates that the connection was
- closed abnormally. A Reserved value.
-
-
-
-
- Equivalent to close status 1007. Indicates that an endpoint is
- terminating the connection because it has received a message that
- contains data that is not consistent with the type of the message.
-
-
-
-
- Equivalent to close status 1008. Indicates that an endpoint is
- terminating the connection because it has received a message that
- violates its policy.
-
-
-
-
- Equivalent to close status 1009. Indicates that an endpoint is
- terminating the connection because it has received a message that
- is too big to process.
-
-
-
-
- Equivalent to close status 1010. Indicates that a client is
- terminating the connection because it has expected the server to
- negotiate one or more extension, but the server did not return
- them in the handshake response.
-
-
-
-
- Equivalent to close status 1011. Indicates that a server is
- terminating the connection because it has encountered an unexpected
- condition that prevented it from fulfilling the request.
-
-
-
-
- Equivalent to close status 1015. Indicates that the connection was
- closed due to a failure to perform a TLS handshake. A Reserved value.
-
-
-
-
- Specifies the method for compression.
-
-
- The methods are defined in
-
- Compression Extensions for WebSocket.
-
-
-
-
- Specifies no compression.
-
-
-
-
- Specifies DEFLATE.
-
-
-
-
- Represents the event data for the event.
-
-
-
- That event occurs when the gets an error.
-
-
- If you would like to get the error message, you should access
- the property.
-
-
- And if the error is due to an exception, you can get it by accessing
- the property.
-
-
-
-
-
- Gets the exception that caused the error.
-
-
- An instance that represents the cause of
- the error if it is due to an exception; otherwise, .
-
-
-
-
- Gets the error message.
-
-
- A that represents the error message.
-
-
-
-
- Provides a set of static methods for websocket-sharp.
-
-
-
-
- Determines whether the specified equals the specified ,
- and invokes the specified Action<int> delegate at the same time.
-
-
- true if equals ;
- otherwise, false.
-
-
- An to compare.
-
-
- A to compare.
-
-
- An Action<int> delegate that references the method(s) called
- at the same time as comparing. An parameter to pass to
- the method(s) is .
-
-
-
-
- Gets the absolute path from the specified .
-
-
- A that represents the absolute path if it's successfully found;
- otherwise, .
-
-
- A that represents the URI to get the absolute path from.
-
-
-
-
- Gets the name from the specified that contains a pair of name and
- value separated by a separator character.
-
-
- A that represents the name if any; otherwise, null.
-
-
- A that contains a pair of name and value separated by
- a separator character.
-
-
- A that represents the separator character.
-
-
-
-
- Gets the value from the specified that contains a pair of name and
- value separated by a separator character.
-
-
- A that represents the value if any; otherwise, null.
-
-
- A that contains a pair of name and value separated by
- a separator character.
-
-
- A that represents the separator character.
-
-
-
-
- Tries to create a new for WebSocket with
- the specified .
-
-
- true if the was successfully created;
- otherwise, false.
-
-
- A that represents a WebSocket URL to try.
-
-
- When this method returns, a that
- represents the WebSocket URL or
- if is invalid.
-
-
- When this method returns, a that
- represents an error message or
- if is valid.
-
-
-
-
- Determines whether the specified contains any of characters in
- the specified array of .
-
-
- true if contains any of ;
- otherwise, false.
-
-
- A to test.
-
-
- An array of that contains characters to find.
-
-
-
-
- Determines whether the specified contains
- the entry with the specified .
-
-
- true if contains the entry with
- ; otherwise, false.
-
-
- A to test.
-
-
- A that represents the key of the entry to find.
-
-
-
-
- Determines whether the specified contains the entry with
- the specified both and .
-
-
- true if contains the entry with both
- and ; otherwise, false.
-
-
- A to test.
-
-
- A that represents the key of the entry to find.
-
-
- A that represents the value of the entry to find.
-
-
-
-
- Emits the specified delegate if it isn't .
-
-
- A to emit.
-
-
- An from which emits this .
-
-
- A that contains no event data.
-
-
-
-
- Emits the specified EventHandler<TEventArgs> delegate if it isn't
- .
-
-
- An EventHandler<TEventArgs> to emit.
-
-
- An from which emits this .
-
-
- A TEventArgs that represents the event data.
-
-
- The type of the event data generated by the event.
-
-
-
-
- Gets the collection of the HTTP cookies from the specified HTTP .
-
-
- A that receives a collection of the HTTP cookies.
-
-
- A that contains a collection of the HTTP headers.
-
-
- true if is a collection of the response headers;
- otherwise, false.
-
-
-
-
- Gets the description of the specified HTTP status .
-
-
- A that represents the description of the HTTP status code.
-
-
- One of enum values, indicates the HTTP status code.
-
-
-
-
- Gets the description of the specified HTTP status .
-
-
- A that represents the description of the HTTP status code.
-
-
- An that represents the HTTP status code.
-
-
-
-
- Determines whether the specified is in the
- range of the status code for the WebSocket connection close.
-
-
-
- The ranges are the following:
-
-
- -
-
- 1000-2999: These numbers are reserved for definition by
- the WebSocket protocol.
-
-
- -
-
- 3000-3999: These numbers are reserved for use by libraries,
- frameworks, and applications.
-
-
- -
-
- 4000-4999: These numbers are reserved for private use.
-
-
-
-
-
- true if is in the range of
- the status code for the close; otherwise, false.
-
-
- A to test.
-
-
-
-
- Determines whether the specified is
- enclosed in the specified .
-
-
- true if is enclosed in
- ; otherwise, false.
-
-
- A to test.
-
-
- A to find.
-
-
-
-
- Determines whether the specified is host (this computer
- architecture) byte order.
-
-
- true if is host byte order; otherwise, false.
-
-
- One of the enum values, to test.
-
-
-
-
- Determines whether the specified
- represents a local IP address.
-
-
- This local means NOT REMOTE for the current host.
-
-
- true if represents a local IP address;
- otherwise, false.
-
-
- A to test.
-
-
-
-
- Determines whether the specified string is or
- an empty string.
-
-
- true if the string is or an empty string;
- otherwise, false.
-
-
- A to test.
-
-
-
-
- Determines whether the specified is
- a predefined scheme.
-
-
- true if is a predefined scheme;
- otherwise, false.
-
-
- A to test.
-
-
-
-
- Determines whether the specified is
- an HTTP Upgrade request to switch to the specified .
-
-
- true if is an HTTP Upgrade request to switch to
- ; otherwise, false.
-
-
- A that represents the HTTP request.
-
-
- A that represents the protocol name.
-
-
-
- is .
-
-
- -or-
-
-
- is .
-
-
-
- is empty.
-
-
-
-
- Determines whether the specified is a URI string.
-
-
- true if may be a URI string;
- otherwise, false.
-
-
- A to test.
-
-
-
-
- Retrieves a sub-array from the specified . A sub-array starts at
- the specified element position in .
-
-
- An array of T that receives a sub-array, or an empty array of T if any problems with
- the parameters.
-
-
- An array of T from which to retrieve a sub-array.
-
-
- An that represents the zero-based starting position of
- a sub-array in .
-
-
- An that represents the number of elements to retrieve.
-
-
- The type of elements in .
-
-
-
-
- Retrieves a sub-array from the specified . A sub-array starts at
- the specified element position in .
-
-
- An array of T that receives a sub-array, or an empty array of T if any problems with
- the parameters.
-
-
- An array of T from which to retrieve a sub-array.
-
-
- A that represents the zero-based starting position of
- a sub-array in .
-
-
- A that represents the number of elements to retrieve.
-
-
- The type of elements in .
-
-
-
-
- Executes the specified delegate times.
-
-
- An is the number of times to execute.
-
-
- An delegate that references the method(s) to execute.
-
-
-
-
- Executes the specified delegate times.
-
-
- A is the number of times to execute.
-
-
- An delegate that references the method(s) to execute.
-
-
-
-
- Executes the specified delegate times.
-
-
- A is the number of times to execute.
-
-
- An delegate that references the method(s) to execute.
-
-
-
-
- Executes the specified delegate times.
-
-
- A is the number of times to execute.
-
-
- An delegate that references the method(s) to execute.
-
-
-
-
- Executes the specified Action<int> delegate times.
-
-
- An is the number of times to execute.
-
-
- An Action<int> delegate that references the method(s) to execute.
- An parameter to pass to the method(s) is the zero-based count of
- iteration.
-
-
-
-
- Executes the specified Action<long> delegate times.
-
-
- A is the number of times to execute.
-
-
- An Action<long> delegate that references the method(s) to execute.
- A parameter to pass to the method(s) is the zero-based count of
- iteration.
-
-
-
-
- Executes the specified Action<uint> delegate times.
-
-
- A is the number of times to execute.
-
-
- An Action<uint> delegate that references the method(s) to execute.
- A parameter to pass to the method(s) is the zero-based count of
- iteration.
-
-
-
-
- Executes the specified Action<ulong> delegate times.
-
-
- A is the number of times to execute.
-
-
- An Action<ulong> delegate that references the method(s) to execute.
- A parameter to pass to this method(s) is the zero-based count of
- iteration.
-
-
-
-
- Converts the specified array of to the specified type data.
-
-
- A T converted from , or a default value of
- T if is an empty array of or
- if the type of T isn't , , ,
- , , , ,
- , , or .
-
-
- An array of to convert.
-
-
- One of the enum values, specifies the byte order of
- .
-
-
- The type of the return. The T must be a value type.
-
-
- is .
-
-
-
-
- Converts the specified to an array of .
-
-
- An array of converted from .
-
-
- A T to convert.
-
-
- One of the enum values, specifies the byte order of the return.
-
-
- The type of . The T must be a value type.
-
-
-
-
- Converts the order of the specified array of to the host byte order.
-
-
- An array of converted from .
-
-
- An array of to convert.
-
-
- One of the enum values, specifies the byte order of
- .
-
-
- is .
-
-
-
-
- Converts the specified to a that
- concatenates the each element of across the specified
- .
-
-
- A converted from ,
- or if is empty.
-
-
- An array of T to convert.
-
-
- A that represents the separator string.
-
-
- The type of elements in .
-
-
- is .
-
-
-
-
- Converts the specified to a .
-
-
- A converted from or
- if the convert has failed.
-
-
- A to convert.
-
-
-
-
- URL-decodes the specified .
-
-
- A that receives the decoded string or
- if it is or empty.
-
-
- A to decode.
-
-
-
-
- URL-encodes the specified .
-
-
- A that receives the encoded string or
- if it is or empty.
-
-
- A to encode.
-
-
-
-
- Writes and sends the specified data with the specified
- .
-
-
- A that represents the HTTP response used to
- send the content data.
-
-
- An array of that represents the content data to send.
-
-
-
- is .
-
-
- -or-
-
-
- is .
-
-
-
-
-
- Indicates whether a WebSocket frame is the final frame of a message.
-
-
- The values of this enumeration are defined in
- Section 5.2 of RFC 6455.
-
-
-
-
- Equivalent to numeric value 0. Indicates more frames of a message follow.
-
-
-
-
- Equivalent to numeric value 1. Indicates the final frame of a message.
-
-
-
-
- Represents a log data used by the class.
-
-
-
-
- Gets the information of the logging method caller.
-
-
- A that provides the information of the logging method caller.
-
-
-
-
- Gets the date and time when the log data was created.
-
-
- A that represents the date and time when the log data was created.
-
-
-
-
- Gets the logging level of the log data.
-
-
- One of the enum values, indicates the logging level of the log data.
-
-
-
-
- Gets the message of the log data.
-
-
- A that represents the message of the log data.
-
-
-
-
- Returns a that represents the current .
-
-
- A that represents the current .
-
-
-
-
- Provides a set of methods and properties for logging.
-
-
-
- If you output a log with lower than the value of the property,
- it cannot be outputted.
-
-
- The default output action writes a log to the standard output stream and the log file
- if the property has a valid path to it.
-
-
- If you would like to use the custom output action, you should set
- the property to any Action<LogData, string>
- delegate.
-
-
-
-
-
- Initializes a new instance of the class.
-
-
- This constructor initializes the current logging level with .
-
-
-
-
- Initializes a new instance of the class with
- the specified logging .
-
-
- One of the enum values.
-
-
-
-
- Initializes a new instance of the class with
- the specified logging , path to the log ,
- and action.
-
-
- One of the enum values.
-
-
- A that represents the path to the log file.
-
-
- An Action<LogData, string> delegate that references the method(s) used to
- output a log. A parameter passed to this delegate is
- .
-
-
-
-
- Gets or sets the current path to the log file.
-
-
- A that represents the current path to the log file if any.
-
-
-
-
- Gets or sets the current logging level.
-
-
- A log with lower than the value of this property cannot be outputted.
-
-
- One of the enum values, specifies the current logging level.
-
-
-
-
- Gets or sets the current output action used to output a log.
-
-
-
- An Action<LogData, string> delegate that references the method(s) used to
- output a log. A parameter passed to this delegate is the value of
- the property.
-
-
- If the value to set is , the current output action is changed to
- the default output action.
-
-
-
-
-
- Outputs as a log with .
-
-
- If the current logging level is higher than ,
- this method doesn't output as a log.
-
-
- A that represents the message to output as a log.
-
-
-
-
- Outputs as a log with .
-
-
- If the current logging level is higher than ,
- this method doesn't output as a log.
-
-
- A that represents the message to output as a log.
-
-
-
-
- Outputs as a log with .
-
-
- A that represents the message to output as a log.
-
-
-
-
- Outputs as a log with .
-
-
- If the current logging level is higher than ,
- this method doesn't output as a log.
-
-
- A that represents the message to output as a log.
-
-
-
-
- Outputs as a log with .
-
-
- If the current logging level is higher than ,
- this method doesn't output as a log.
-
-
- A that represents the message to output as a log.
-
-
-
-
- Outputs as a log with .
-
-
- If the current logging level is higher than ,
- this method doesn't output as a log.
-
-
- A that represents the message to output as a log.
-
-
-
-
- Specifies the logging level.
-
-
-
-
- Specifies the bottom logging level.
-
-
-
-
- Specifies the 2nd logging level from the bottom.
-
-
-
-
- Specifies the 3rd logging level from the bottom.
-
-
-
-
- Specifies the 3rd logging level from the top.
-
-
-
-
- Specifies the 2nd logging level from the top.
-
-
-
-
- Specifies the top logging level.
-
-
-
-
- Indicates whether the payload data of a WebSocket frame is masked.
-
-
- The values of this enumeration are defined in
- Section 5.2 of RFC 6455.
-
-
-
-
- Equivalent to numeric value 0. Indicates not masked.
-
-
-
-
- Equivalent to numeric value 1. Indicates masked.
-
-
-
-
- Represents the event data for the event.
-
-
-
- That event occurs when the receives
- a message or a ping if the
- property is set to true.
-
-
- If you would like to get the message data, you should access
- the or property.
-
-
-
-
-
- Gets the opcode for the message.
-
-
- , ,
- or .
-
-
-
-
- Gets the message data as a .
-
-
- A that represents the message data if its type is
- text or ping and if decoding it to a string has successfully done;
- otherwise, .
-
-
-
-
- Gets a value indicating whether the message type is binary.
-
-
- true if the message type is binary; otherwise, false.
-
-
-
-
- Gets a value indicating whether the message type is ping.
-
-
- true if the message type is ping; otherwise, false.
-
-
-
-
- Gets a value indicating whether the message type is text.
-
-
- true if the message type is text; otherwise, false.
-
-
-
-
- Gets the message data as an array of .
-
-
- An array of that represents the message data.
-
-
-
-
- Specifies the scheme for authentication.
-
-
-
-
- No authentication is allowed.
-
-
-
-
- Specifies digest authentication.
-
-
-
-
- Specifies basic authentication.
-
-
-
-
- Specifies anonymous authentication.
-
-
-
-
- Stores the parameters for the used by clients.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- with the specified .
-
-
- A that represents the target host server name.
-
-
-
-
- Copies the parameters from the specified to
- a new instance of the class.
-
-
- A from which to copy.
-
-
- is .
-
-
-
-
- Gets or sets a value indicating whether the certificate revocation
- list is checked during authentication.
-
-
-
- true if the certificate revocation list is checked during
- authentication; otherwise, false.
-
-
- The default value is false.
-
-
-
-
-
- Gets or sets the certificates from which to select one to
- supply to the server.
-
-
-
- A or .
-
-
- That collection contains client certificates from which to select.
-
-
- The default value is .
-
-
-
-
-
- Gets or sets the callback used to select the certificate to
- supply to the server.
-
-
- No certificate is supplied if the callback returns
- .
-
-
-
- A delegate that
- invokes the method called for selecting the certificate.
-
-
- The default value is a delegate that invokes a method that
- only returns .
-
-
-
-
-
- Gets or sets the protocols used for authentication.
-
-
-
- The enum values that represent
- the protocols used for authentication.
-
-
- The default value is .
-
-
-
-
-
- Gets or sets the callback used to validate the certificate
- supplied by the server.
-
-
- The certificate is valid if the callback returns true.
-
-
-
- A delegate that
- invokes the method called for validating the certificate.
-
-
- The default value is a delegate that invokes a method that
- only returns true.
-
-
-
-
-
- Gets or sets the target host server name.
-
-
-
- A or
- if not specified.
-
-
- That string represents the name of the server that
- will share a secure connection with a client.
-
-
-
-
-
- Provides a set of methods and properties used to manage an HTTP Cookie.
-
-
-
- The Cookie class supports the following cookie formats:
- Netscape specification,
- RFC 2109, and
- RFC 2965
-
-
- The Cookie class cannot be inherited.
-
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class with the specified
- and .
-
-
- A that represents the Name of the cookie.
-
-
- A that represents the Value of the cookie.
-
-
-
- is or empty.
-
-
- - or -
-
-
- contains an invalid character.
-
-
- - or -
-
-
- is .
-
-
- - or -
-
-
- contains a string not enclosed in double quotes
- that contains an invalid character.
-
-
-
-
-
- Initializes a new instance of the class with the specified
- , , and .
-
-
- A that represents the Name of the cookie.
-
-
- A that represents the Value of the cookie.
-
-
- A that represents the value of the Path attribute of the cookie.
-
-
-
- is or empty.
-
-
- - or -
-
-
- contains an invalid character.
-
-
- - or -
-
-
- is .
-
-
- - or -
-
-
- contains a string not enclosed in double quotes
- that contains an invalid character.
-
-
-
-
-
- Initializes a new instance of the class with the specified
- , , , and
- .
-
-
- A that represents the Name of the cookie.
-
-
- A that represents the Value of the cookie.
-
-
- A that represents the value of the Path attribute of the cookie.
-
-
- A that represents the value of the Domain attribute of the cookie.
-
-
-
- is or empty.
-
-
- - or -
-
-
- contains an invalid character.
-
-
- - or -
-
-
- is .
-
-
- - or -
-
-
- contains a string not enclosed in double quotes
- that contains an invalid character.
-
-
-
-
-
- Gets or sets the value of the Comment attribute of the cookie.
-
-
- A that represents the comment to document intended use of the cookie.
-
-
-
-
- Gets or sets the value of the CommentURL attribute of the cookie.
-
-
- A that represents the URI that provides the comment to document intended
- use of the cookie.
-
-
-
-
- Gets or sets a value indicating whether the client discards the cookie unconditionally
- when the client terminates.
-
-
- true if the client discards the cookie unconditionally when the client terminates;
- otherwise, false. The default value is false.
-
-
-
-
- Gets or sets the value of the Domain attribute of the cookie.
-
-
- A that represents the URI for which the cookie is valid.
-
-
-
-
- Gets or sets a value indicating whether the cookie has expired.
-
-
- true if the cookie has expired; otherwise, false.
- The default value is false.
-
-
-
-
- Gets or sets the value of the Expires attribute of the cookie.
-
-
- A that represents the date and time at which the cookie expires.
- The default value is .
-
-
-
-
- Gets or sets a value indicating whether non-HTTP APIs can access the cookie.
-
-
- true if non-HTTP APIs cannot access the cookie; otherwise, false.
- The default value is false.
-
-
-
-
- Gets or sets the Name of the cookie.
-
-
- A that represents the Name of the cookie.
-
-
-
- The value specified for a set operation is or empty.
-
-
- - or -
-
-
- The value specified for a set operation contains an invalid character.
-
-
-
-
-
- Gets or sets the value of the Path attribute of the cookie.
-
-
- A that represents the subset of URI on the origin server
- to which the cookie applies.
-
-
-
-
- Gets or sets the value of the Port attribute of the cookie.
-
-
- A that represents the list of TCP ports to which the cookie applies.
-
-
- The value specified for a set operation isn't enclosed in double quotes or
- couldn't be parsed.
-
-
-
-
- Gets or sets a value indicating whether the security level of the cookie is secure.
-
-
- When this property is true, the cookie may be included in the HTTP request
- only if the request is transmitted over the HTTPS.
-
-
- true if the security level of the cookie is secure; otherwise, false.
- The default value is false.
-
-
-
-
- Gets the time when the cookie was issued.
-
-
- A that represents the time when the cookie was issued.
-
-
-
-
- Gets or sets the Value of the cookie.
-
-
- A that represents the Value of the cookie.
-
-
-
- The value specified for a set operation is .
-
-
- - or -
-
-
- The value specified for a set operation contains a string not enclosed in double quotes
- that contains an invalid character.
-
-
-
-
-
- Gets or sets the value of the Version attribute of the cookie.
-
-
- An that represents the version of the HTTP state management
- to which the cookie conforms.
-
-
- The value specified for a set operation isn't 0 or 1.
-
-
-
-
- Determines whether the specified is equal to the current
- .
-
-
- An to compare with the current .
-
-
- true if is equal to the current ;
- otherwise, false.
-
-
-
-
- Serves as a hash function for a object.
-
-
- An that represents the hash code for the current .
-
-
-
-
- Returns a that represents the current .
-
-
- This method returns a to use to send an HTTP Cookie to
- an origin server.
-
-
- A that represents the current .
-
-
-
-
- Provides a collection container for instances of the class.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets the number of cookies in the collection.
-
-
- An that represents the number of cookies in the collection.
-
-
-
-
- Gets a value indicating whether the collection is read-only.
-
-
- true if the collection is read-only; otherwise, false.
- The default value is true.
-
-
-
-
- Gets a value indicating whether the access to the collection is thread safe.
-
-
- true if the access to the collection is thread safe; otherwise, false.
- The default value is false.
-
-
-
-
- Gets the at the specified from
- the collection.
-
-
- A at the specified in the collection.
-
-
- An that represents the zero-based index of the
- to find.
-
-
- is out of allowable range of indexes for the collection.
-
-
-
-
- Gets the with the specified from
- the collection.
-
-
- A with the specified in the collection.
-
-
- A that represents the name of the to find.
-
-
- is .
-
-
-
-
- Gets an object used to synchronize access to the collection.
-
-
- An used to synchronize access to the collection.
-
-
-
-
- Adds the specified to the collection.
-
-
- A to add.
-
-
- is .
-
-
-
-
- Adds the specified to the collection.
-
-
- A that contains the cookies to add.
-
-
- is .
-
-
-
-
- Copies the elements of the collection to the specified , starting at
- the specified in the .
-
-
- An that represents the destination of the elements copied from
- the collection.
-
-
- An that represents the zero-based index in
- at which copying begins.
-
-
- is .
-
-
- is less than zero.
-
-
-
- is multidimensional.
-
-
- -or-
-
-
- The number of elements in the collection is greater than the available space from
- to the end of the destination .
-
-
-
- The elements in the collection cannot be cast automatically to the type of the destination
- .
-
-
-
-
- Copies the elements of the collection to the specified array of ,
- starting at the specified in the .
-
-
- An array of that represents the destination of the elements
- copied from the collection.
-
-
- An that represents the zero-based index in
- at which copying begins.
-
-
- is .
-
-
- is less than zero.
-
-
- The number of elements in the collection is greater than the available space from
- to the end of the destination .
-
-
-
-
- Gets the enumerator used to iterate through the collection.
-
-
- An instance used to iterate through the collection.
-
-
-
-
- The exception that is thrown when a gets an error.
-
-
-
-
- Initializes a new instance of the class from
- the specified and .
-
-
- A that contains the serialized object data.
-
-
- A that specifies the source for the deserialization.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Populates the specified with the data needed to serialize
- the current .
-
-
- A that holds the serialized object data.
-
-
- A that specifies the destination for the serialization.
-
-
-
-
- Populates the specified with the data needed to serialize
- the current .
-
-
- A that holds the serialized object data.
-
-
- A that specifies the destination for the serialization.
-
-
-
-
- Holds the username and password from an HTTP Basic authentication attempt.
-
-
-
-
- Gets the password from a basic authentication attempt.
-
-
- A that represents the password.
-
-
-
-
- Holds the username and other parameters from
- an HTTP Digest authentication attempt.
-
-
-
-
- Gets the algorithm parameter from a digest authentication attempt.
-
-
- A that represents the algorithm parameter.
-
-
-
-
- Gets the cnonce parameter from a digest authentication attempt.
-
-
- A that represents the cnonce parameter.
-
-
-
-
- Gets the nc parameter from a digest authentication attempt.
-
-
- A that represents the nc parameter.
-
-
-
-
- Gets the nonce parameter from a digest authentication attempt.
-
-
- A that represents the nonce parameter.
-
-
-
-
- Gets the opaque parameter from a digest authentication attempt.
-
-
- A that represents the opaque parameter.
-
-
-
-
- Gets the qop parameter from a digest authentication attempt.
-
-
- A that represents the qop parameter.
-
-
-
-
- Gets the realm parameter from a digest authentication attempt.
-
-
- A that represents the realm parameter.
-
-
-
-
- Gets the response parameter from a digest authentication attempt.
-
-
- A that represents the response parameter.
-
-
-
-
- Gets the uri parameter from a digest authentication attempt.
-
-
- A that represents the uri parameter.
-
-
-
-
- Provides a simple, programmatically controlled HTTP listener.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets the scheme used to authenticate the clients.
-
-
- One of the enum values,
- represents the scheme used to authenticate the clients. The default value is
- .
-
-
- This listener has been closed.
-
-
-
-
- Gets or sets the delegate called to select the scheme used to authenticate the clients.
-
-
- If you set this property, the listener uses the authentication scheme selected by
- the delegate for each request. Or if you don't set, the listener uses the value of
- the property as the authentication
- scheme for all requests.
-
-
- A Func<, >
- delegate that references the method used to select an authentication scheme. The default
- value is .
-
-
- This listener has been closed.
-
-
-
-
- Gets or sets the path to the folder in which stores the certificate files used to
- authenticate the server on the secure connection.
-
-
-
- This property represents the path to the folder in which stores the certificate files
- associated with each port number of added URI prefixes. A set of the certificate files
- is a pair of the 'port number'.cer (DER) and 'port number'.key
- (DER, RSA Private Key).
-
-
- If this property is or empty, the result of
- System.Environment.GetFolderPath
- () is used as the default path.
-
-
-
- A that represents the path to the folder in which stores
- the certificate files. The default value is .
-
-
- This listener has been closed.
-
-
-
-
- Gets or sets a value indicating whether the listener returns exceptions that occur when
- sending the response to the client.
-
-
- true if the listener shouldn't return those exceptions; otherwise, false.
- The default value is false.
-
-
- This listener has been closed.
-
-
-
-
- Gets a value indicating whether the listener has been started.
-
-
- true if the listener has been started; otherwise, false.
-
-
-
-
- Gets a value indicating whether the listener can be used with the current operating system.
-
-
- true.
-
-
-
-
- Gets the logging functions.
-
-
- The default logging level is . If you would like to change it,
- you should set the Log.Level property to any of the enum
- values.
-
-
- A that provides the logging functions.
-
-
-
-
- Gets the URI prefixes handled by the listener.
-
-
- A that contains the URI prefixes.
-
-
- This listener has been closed.
-
-
-
-
- Gets or sets the name of the realm associated with the listener.
-
-
- If this property is or empty, "SECRET AREA" will be used as
- the name of the realm.
-
-
- A that represents the name of the realm. The default value is
- .
-
-
- This listener has been closed.
-
-
-
-
- Gets or sets the SSL configuration used to authenticate the server and
- optionally the client for secure connection.
-
-
- A that represents the configuration used to
- authenticate the server and optionally the client for secure connection.
-
-
- This listener has been closed.
-
-
-
-
- Gets or sets a value indicating whether, when NTLM authentication is used,
- the authentication information of first request is used to authenticate
- additional requests on the same connection.
-
-
- This property isn't currently supported and always throws
- a .
-
-
- true if the authentication information of first request is used;
- otherwise, false.
-
-
- Any use of this property.
-
-
-
-
- Gets or sets the delegate called to find the credentials for an identity used to
- authenticate a client.
-
-
- A Func<, > delegate
- that references the method used to find the credentials. The default value is
- .
-
-
- This listener has been closed.
-
-
-
-
- Shuts down the listener immediately.
-
-
-
-
- Begins getting an incoming request asynchronously.
-
-
- This asynchronous operation must be completed by calling the EndGetContext method.
- Typically, the method is invoked by the delegate.
-
-
- An that represents the status of the asynchronous operation.
-
-
- An delegate that references the method to invoke when
- the asynchronous operation completes.
-
-
- An that represents a user defined object to pass to
- the delegate.
-
-
-
- This listener has no URI prefix on which listens.
-
-
- -or-
-
-
- This listener hasn't been started, or is currently stopped.
-
-
-
- This listener has been closed.
-
-
-
-
- Shuts down the listener.
-
-
-
-
- Ends an asynchronous operation to get an incoming request.
-
-
- This method completes an asynchronous operation started by calling
- the BeginGetContext method.
-
-
- A that represents a request.
-
-
- An obtained by calling the BeginGetContext method.
-
-
- is .
-
-
- wasn't obtained by calling the BeginGetContext method.
-
-
- This method was already called for the specified .
-
-
- This listener has been closed.
-
-
-
-
- Gets an incoming request.
-
-
- This method waits for an incoming request, and returns when a request is received.
-
-
- A that represents a request.
-
-
-
- This listener has no URI prefix on which listens.
-
-
- -or-
-
-
- This listener hasn't been started, or is currently stopped.
-
-
-
- This listener has been closed.
-
-
-
-
- Starts receiving incoming requests.
-
-
- This listener has been closed.
-
-
-
-
- Stops receiving incoming requests.
-
-
- This listener has been closed.
-
-
-
-
- Releases all resources used by the listener.
-
-
-
-
- Provides the access to the HTTP request and response objects used by
- the .
-
-
- This class cannot be inherited.
-
-
-
-
- Gets the HTTP request object that represents a client request.
-
-
- A that represents the client request.
-
-
-
-
- Gets the HTTP response object used to send a response to the client.
-
-
- A that represents a response to the client request.
-
-
-
-
- Gets the client information (identity, authentication, and security roles).
-
-
- A instance that represents the client information.
-
-
-
-
- Accepts a WebSocket handshake request.
-
-
- A that represents
- the WebSocket handshake request.
-
-
- A that represents the subprotocol supported on
- this WebSocket connection.
-
-
-
- is empty.
-
-
- -or-
-
-
- contains an invalid character.
-
-
-
- This method has already been called.
-
-
-
-
- The exception that is thrown when a gets an error
- processing an HTTP request.
-
-
-
-
- Initializes a new instance of the class from
- the specified and .
-
-
- A that contains the serialized object data.
-
-
- A that specifies the source for the deserialization.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- with the specified .
-
-
- An that identifies the error.
-
-
-
-
- Initializes a new instance of the class
- with the specified and .
-
-
- An that identifies the error.
-
-
- A that describes the error.
-
-
-
-
- Gets the error code that identifies the error that occurred.
-
-
- An that identifies the error.
-
-
-
-
- Initializes a new instance of the class with
- the specified .
-
-
- This constructor must be called after calling the CheckPrefix method.
-
-
- A that represents the URI prefix.
-
-
-
-
- Determines whether this instance and the specified have the same value.
-
-
- This method will be required to detect duplicates in any collection.
-
-
- An to compare to this instance.
-
-
- true if is a and
- its value is the same as this instance; otherwise, false.
-
-
-
-
- Gets the hash code for this instance.
-
-
- This method will be required to detect duplicates in any collection.
-
-
- An that represents the hash code.
-
-
-
-
- Provides the collection used to store the URI prefixes for the .
-
-
- The responds to the request which has a requested URI that
- the prefixes most closely match.
-
-
-
-
- Gets the number of prefixes in the collection.
-
-
- An that represents the number of prefixes.
-
-
-
-
- Gets a value indicating whether the access to the collection is read-only.
-
-
- Always returns false.
-
-
-
-
- Gets a value indicating whether the access to the collection is synchronized.
-
-
- Always returns false.
-
-
-
-
- Adds the specified to the collection.
-
-
- A that represents the URI prefix to add. The prefix must be
- a well-formed URI prefix with http or https scheme, and must end with a '/'.
-
-
- is .
-
-
- is invalid.
-
-
- The associated with this collection is closed.
-
-
-
-
- Removes all URI prefixes from the collection.
-
-
- The associated with this collection is closed.
-
-
-
-
- Returns a value indicating whether the collection contains the specified
- .
-
-
- true if the collection contains ;
- otherwise, false.
-
-
- A that represents the URI prefix to test.
-
-
- is .
-
-
- The associated with this collection is closed.
-
-
-
-
- Copies the contents of the collection to the specified .
-
-
- An that receives the URI prefix strings in the collection.
-
-
- An that represents the zero-based index in
- at which copying begins.
-
-
- The associated with this collection is closed.
-
-
-
-
- Copies the contents of the collection to the specified array of .
-
-
- An array of that receives the URI prefix strings in the collection.
-
-
- An that represents the zero-based index in
- at which copying begins.
-
-
- The associated with this collection is closed.
-
-
-
-
- Gets the enumerator used to iterate through the .
-
-
- An instance used to iterate
- through the collection.
-
-
-
-
- Removes the specified from the collection.
-
-
- true if is successfully found and removed;
- otherwise, false.
-
-
- A that represents the URI prefix to remove.
-
-
- is .
-
-
- The associated with this collection is closed.
-
-
-
-
- Gets the enumerator used to iterate through the .
-
-
- An instance used to iterate through the collection.
-
-
-
-
- Provides the access to a request to the .
-
-
- The HttpListenerRequest class cannot be inherited.
-
-
-
-
- Gets the media types which are acceptable for the response.
-
-
- An array of that contains the media type names in
- the Accept request-header, or if the request didn't include
- the Accept header.
-
-
-
-
- Gets an error code that identifies a problem with the client's certificate.
-
-
- Always returns 0.
-
-
-
-
- Gets the encoding for the entity body data included in the request.
-
-
- A that represents the encoding for the entity body data,
- or if the request didn't include the information about
- the encoding.
-
-
-
-
- Gets the number of bytes in the entity body data included in the request.
-
-
- A that represents the value of the Content-Length entity-header,
- or -1 if the value isn't known.
-
-
-
-
- Gets the media type of the entity body included in the request.
-
-
- A that represents the value of the Content-Type entity-header.
-
-
-
-
- Gets the cookies included in the request.
-
-
- A that contains the cookies included in the request.
-
-
-
-
- Gets a value indicating whether the request has the entity body.
-
-
- true if the request has the entity body; otherwise, false.
-
-
-
-
- Gets the HTTP headers used in the request.
-
-
- A that contains the HTTP headers used in the request.
-
-
-
-
- Gets the HTTP method used in the request.
-
-
- A that represents the HTTP method used in the request.
-
-
-
-
- Gets a that contains the entity body data included in the request.
-
-
- A that contains the entity body data included in the request.
-
-
-
-
- Gets a value indicating whether the client that sent the request is authenticated.
-
-
- true if the client is authenticated; otherwise, false.
-
-
-
-
- Gets a value indicating whether the request is sent from the local computer.
-
-
- true if the request is sent from the local computer; otherwise, false.
-
-
-
-
- Gets a value indicating whether the HTTP connection is secured using the SSL protocol.
-
-
- true if the HTTP connection is secured; otherwise, false.
-
-
-
-
- Gets a value indicating whether the request is a WebSocket connection request.
-
-
- true if the request is a WebSocket connection request; otherwise, false.
-
-
-
-
- Gets a value indicating whether the client requests a persistent connection.
-
-
- true if the client requests a persistent connection; otherwise, false.
-
-
-
-
- Gets the server endpoint as an IP address and a port number.
-
-
- A that represents the server endpoint.
-
-
-
-
- Gets the HTTP version used in the request.
-
-
- A that represents the HTTP version used in the request.
-
-
-
-
- Gets the query string included in the request.
-
-
- A that contains the query string parameters.
-
-
-
-
- Gets the raw URL (without the scheme, host, and port) requested by the client.
-
-
- A that represents the raw URL requested by the client.
-
-
-
-
- Gets the client endpoint as an IP address and a port number.
-
-
- A that represents the client endpoint.
-
-
-
-
- Gets the request identifier of a incoming HTTP request.
-
-
- A that represents the identifier of a request.
-
-
-
-
- Gets the URL requested by the client.
-
-
- A that represents the URL requested by the client.
-
-
-
-
- Gets the URL of the resource from which the requested URL was obtained.
-
-
- A that represents the value of the Referer request-header,
- or if the request didn't include an Referer header.
-
-
-
-
- Gets the information about the user agent originating the request.
-
-
- A that represents the value of the User-Agent request-header.
-
-
-
-
- Gets the server endpoint as an IP address and a port number.
-
-
- A that represents the server endpoint.
-
-
-
-
- Gets the internet host name and port number (if present) specified by the client.
-
-
- A that represents the value of the Host request-header.
-
-
-
-
- Gets the natural languages which are preferred for the response.
-
-
- An array of that contains the natural language names in
- the Accept-Language request-header, or if the request
- didn't include an Accept-Language header.
-
-
-
-
- Begins getting the client's X.509 v.3 certificate asynchronously.
-
-
- This asynchronous operation must be completed by calling
- the method. Typically,
- that method is invoked by the delegate.
-
-
- An that contains the status of the asynchronous operation.
-
-
- An delegate that references the method(s) called when
- the asynchronous operation completes.
-
-
- An that contains a user defined object to pass to
- the delegate.
-
-
- This method isn't implemented.
-
-
-
-
- Ends an asynchronous operation to get the client's X.509 v.3 certificate.
-
-
- This method completes an asynchronous operation started by calling
- the method.
-
-
- A that contains the client's X.509 v.3 certificate.
-
-
- An obtained by calling
- the method.
-
-
- This method isn't implemented.
-
-
-
-
- Gets the client's X.509 v.3 certificate.
-
-
- A that contains the client's X.509 v.3 certificate.
-
-
- This method isn't implemented.
-
-
-
-
- Returns a that represents
- the current .
-
-
- A that represents the current .
-
-
-
-
- Provides the access to a response to a request received by the .
-
-
- The HttpListenerResponse class cannot be inherited.
-
-
-
-
- Gets or sets the encoding for the entity body data included in the response.
-
-
- A that represents the encoding for the entity body data,
- or if no encoding is specified.
-
-
- This object is closed.
-
-
-
-
- Gets or sets the number of bytes in the entity body data included in the response.
-
-
- A that represents the value of the Content-Length entity-header.
-
-
- The value specified for a set operation is less than zero.
-
-
- The response has already been sent.
-
-
- This object is closed.
-
-
-
-
- Gets or sets the media type of the entity body included in the response.
-
-
- A that represents the media type of the entity body,
- or if no media type is specified. This value is
- used for the value of the Content-Type entity-header.
-
-
- The value specified for a set operation is empty.
-
-
- This object is closed.
-
-
-
-
- Gets or sets the cookies sent with the response.
-
-
- A that contains the cookies sent with the response.
-
-
-
-
- Gets or sets the HTTP headers sent to the client.
-
-
- A that contains the headers sent to the client.
-
-
- The value specified for a set operation isn't valid for a response.
-
-
-
-
- Gets or sets a value indicating whether the server requests a persistent connection.
-
-
- true if the server requests a persistent connection; otherwise, false.
- The default value is true.
-
-
- The response has already been sent.
-
-
- This object is closed.
-
-
-
-
- Gets a to use to write the entity body data.
-
-
- A to use to write the entity body data.
-
-
- This object is closed.
-
-
-
-
- Gets or sets the HTTP version used in the response.
-
-
- A that represents the version used in the response.
-
-
- The value specified for a set operation is .
-
-
- The value specified for a set operation doesn't have its Major property set to 1 or
- doesn't have its Minor property set to either 0 or 1.
-
-
- The response has already been sent.
-
-
- This object is closed.
-
-
-
-
- Gets or sets the URL to which the client is redirected to locate a requested resource.
-
-
- A that represents the value of the Location response-header,
- or if no redirect location is specified.
-
-
- The value specified for a set operation isn't an absolute URL.
-
-
- This object is closed.
-
-
-
-
- Gets or sets a value indicating whether the response uses the chunked transfer encoding.
-
-
- true if the response uses the chunked transfer encoding;
- otherwise, false. The default value is false.
-
-
- The response has already been sent.
-
-
- This object is closed.
-
-
-
-
- Gets or sets the HTTP status code returned to the client.
-
-
- An that represents the status code for the response to
- the request. The default value is same as .
-
-
- The response has already been sent.
-
-
- This object is closed.
-
-
- The value specified for a set operation is invalid. Valid values are
- between 100 and 999 inclusive.
-
-
-
-
- Gets or sets the description of the HTTP status code returned to the client.
-
-
- A that represents the description of the status code. The default
- value is the RFC 2616
- description for the property value,
- or if an RFC 2616 description doesn't exist.
-
-
- The value specified for a set operation contains invalid characters.
-
-
- The response has already been sent.
-
-
- This object is closed.
-
-
-
-
- Closes the connection to the client without returning a response.
-
-
-
-
- Adds an HTTP header with the specified and
- to the headers for the response.
-
-
- A that represents the name of the header to add.
-
-
- A that represents the value of the header to add.
-
-
- is or empty.
-
-
-
- or contains invalid characters.
-
-
- -or-
-
-
- is a restricted header name.
-
-
-
- The length of is greater than 65,535 characters.
-
-
- The header cannot be allowed to add to the current headers.
-
-
-
-
- Appends the specified to the cookies sent with the response.
-
-
- A to append.
-
-
- is .
-
-
-
-
- Appends a to the specified HTTP header sent with the response.
-
-
- A that represents the name of the header to append
- to.
-
-
- A that represents the value to append to the header.
-
-
- is or empty.
-
-
-
- or contains invalid characters.
-
-
- -or-
-
-
- is a restricted header name.
-
-
-
- The length of is greater than 65,535 characters.
-
-
- The current headers cannot allow the header to append a value.
-
-
-
-
- Returns the response to the client and releases the resources used by
- this instance.
-
-
-
-
- Returns the response with the specified array of to the client and
- releases the resources used by this instance.
-
-
- An array of that contains the response entity body data.
-
-
- true if this method blocks execution while flushing the stream to the client;
- otherwise, false.
-
-
- is .
-
-
- This object is closed.
-
-
-
-
- Copies some properties from the specified to
- this response.
-
-
- A to copy.
-
-
- is .
-
-
-
-
- Configures the response to redirect the client's request to
- the specified .
-
-
- This method sets the property to
- , the property to
- 302, and the property to
- "Found".
-
-
- A that represents the URL to redirect the client's request to.
-
-
- is .
-
-
- isn't an absolute URL.
-
-
- The response has already been sent.
-
-
- This object is closed.
-
-
-
-
- Adds or updates a in the cookies sent with the response.
-
-
- A to set.
-
-
- is .
-
-
- already exists in the cookies and couldn't be replaced.
-
-
-
-
- Releases all resources used by the .
-
-
-
-
- Contains the HTTP headers that may be specified in a client request.
-
-
- The HttpRequestHeader enumeration contains the HTTP request headers defined in
- RFC 2616 for the HTTP/1.1 and
- RFC 6455 for the WebSocket.
-
-
-
-
- Indicates the Cache-Control header.
-
-
-
-
- Indicates the Connection header.
-
-
-
-
- Indicates the Date header.
-
-
-
-
- Indicates the Keep-Alive header.
-
-
-
-
- Indicates the Pragma header.
-
-
-
-
- Indicates the Trailer header.
-
-
-
-
- Indicates the Transfer-Encoding header.
-
-
-
-
- Indicates the Upgrade header.
-
-
-
-
- Indicates the Via header.
-
-
-
-
- Indicates the Warning header.
-
-
-
-
- Indicates the Allow header.
-
-
-
-
- Indicates the Content-Length header.
-
-
-
-
- Indicates the Content-Type header.
-
-
-
-
- Indicates the Content-Encoding header.
-
-
-
-
- Indicates the Content-Language header.
-
-
-
-
- Indicates the Content-Location header.
-
-
-
-
- Indicates the Content-MD5 header.
-
-
-
-
- Indicates the Content-Range header.
-
-
-
-
- Indicates the Expires header.
-
-
-
-
- Indicates the Last-Modified header.
-
-
-
-
- Indicates the Accept header.
-
-
-
-
- Indicates the Accept-Charset header.
-
-
-
-
- Indicates the Accept-Encoding header.
-
-
-
-
- Indicates the Accept-Language header.
-
-
-
-
- Indicates the Authorization header.
-
-
-
-
- Indicates the Cookie header.
-
-
-
-
- Indicates the Expect header.
-
-
-
-
- Indicates the From header.
-
-
-
-
- Indicates the Host header.
-
-
-
-
- Indicates the If-Match header.
-
-
-
-
- Indicates the If-Modified-Since header.
-
-
-
-
- Indicates the If-None-Match header.
-
-
-
-
- Indicates the If-Range header.
-
-
-
-
- Indicates the If-Unmodified-Since header.
-
-
-
-
- Indicates the Max-Forwards header.
-
-
-
-
- Indicates the Proxy-Authorization header.
-
-
-
-
- Indicates the Referer header.
-
-
-
-
- Indicates the Range header.
-
-
-
-
- Indicates the TE header.
-
-
-
-
- Indicates the Translate header.
-
-
-
-
- Indicates the User-Agent header.
-
-
-
-
- Indicates the Sec-WebSocket-Key header.
-
-
-
-
- Indicates the Sec-WebSocket-Extensions header.
-
-
-
-
- Indicates the Sec-WebSocket-Protocol header.
-
-
-
-
- Indicates the Sec-WebSocket-Version header.
-
-
-
-
- Contains the HTTP headers that can be specified in a server response.
-
-
- The HttpResponseHeader enumeration contains the HTTP response headers defined in
- RFC 2616 for the HTTP/1.1 and
- RFC 6455 for the WebSocket.
-
-
-
-
- Indicates the Cache-Control header.
-
-
-
-
- Indicates the Connection header.
-
-
-
-
- Indicates the Date header.
-
-
-
-
- Indicates the Keep-Alive header.
-
-
-
-
- Indicates the Pragma header.
-
-
-
-
- Indicates the Trailer header.
-
-
-
-
- Indicates the Transfer-Encoding header.
-
-
-
-
- Indicates the Upgrade header.
-
-
-
-
- Indicates the Via header.
-
-
-
-
- Indicates the Warning header.
-
-
-
-
- Indicates the Allow header.
-
-
-
-
- Indicates the Content-Length header.
-
-
-
-
- Indicates the Content-Type header.
-
-
-
-
- Indicates the Content-Encoding header.
-
-
-
-
- Indicates the Content-Language header.
-
-
-
-
- Indicates the Content-Location header.
-
-
-
-
- Indicates the Content-MD5 header.
-
-
-
-
- Indicates the Content-Range header.
-
-
-
-
- Indicates the Expires header.
-
-
-
-
- Indicates the Last-Modified header.
-
-
-
-
- Indicates the Accept-Ranges header.
-
-
-
-
- Indicates the Age header.
-
-
-
-
- Indicates the ETag header.
-
-
-
-
- Indicates the Location header.
-
-
-
-
- Indicates the Proxy-Authenticate header.
-
-
-
-
- Indicates the Retry-After header.
-
-
-
-
- Indicates the Server header.
-
-
-
-
- Indicates the Set-Cookie header.
-
-
-
-
- Indicates the Vary header.
-
-
-
-
- Indicates the WWW-Authenticate header.
-
-
-
-
- Indicates the Sec-WebSocket-Extensions header.
-
-
-
-
- Indicates the Sec-WebSocket-Accept header.
-
-
-
-
- Indicates the Sec-WebSocket-Protocol header.
-
-
-
-
- Indicates the Sec-WebSocket-Version header.
-
-
-
-
- Contains the values of the HTTP status codes.
-
-
- The HttpStatusCode enumeration contains the values of the HTTP status codes defined in
- RFC 2616 for the HTTP/1.1.
-
-
-
-
- Equivalent to status code 100.
- Indicates that the client should continue with its request.
-
-
-
-
- Equivalent to status code 101.
- Indicates that the server is switching the HTTP version or protocol on the connection.
-
-
-
-
- Equivalent to status code 200.
- Indicates that the client's request has succeeded.
-
-
-
-
- Equivalent to status code 201.
- Indicates that the client's request has been fulfilled and resulted in a new resource being
- created.
-
-
-
-
- Equivalent to status code 202.
- Indicates that the client's request has been accepted for processing, but the processing
- hasn't been completed.
-
-
-
-
- Equivalent to status code 203.
- Indicates that the returned metainformation is from a local or a third-party copy instead of
- the origin server.
-
-
-
-
- Equivalent to status code 204.
- Indicates that the server has fulfilled the client's request but doesn't need to return
- an entity-body.
-
-
-
-
- Equivalent to status code 205.
- Indicates that the server has fulfilled the client's request, and the user agent should
- reset the document view which caused the request to be sent.
-
-
-
-
- Equivalent to status code 206.
- Indicates that the server has fulfilled the partial GET request for the resource.
-
-
-
-
-
- Equivalent to status code 300.
- Indicates that the requested resource corresponds to any of multiple representations.
-
-
- MultipleChoices is a synonym for Ambiguous.
-
-
-
-
-
-
- Equivalent to status code 300.
- Indicates that the requested resource corresponds to any of multiple representations.
-
-
- Ambiguous is a synonym for MultipleChoices.
-
-
-
-
-
-
- Equivalent to status code 301.
- Indicates that the requested resource has been assigned a new permanent URI and
- any future references to this resource should use one of the returned URIs.
-
-
- MovedPermanently is a synonym for Moved.
-
-
-
-
-
-
- Equivalent to status code 301.
- Indicates that the requested resource has been assigned a new permanent URI and
- any future references to this resource should use one of the returned URIs.
-
-
- Moved is a synonym for MovedPermanently.
-
-
-
-
-
-
- Equivalent to status code 302.
- Indicates that the requested resource is located temporarily under a different URI.
-
-
- Found is a synonym for Redirect.
-
-
-
-
-
-
- Equivalent to status code 302.
- Indicates that the requested resource is located temporarily under a different URI.
-
-
- Redirect is a synonym for Found.
-
-
-
-
-
-
- Equivalent to status code 303.
- Indicates that the response to the request can be found under a different URI and
- should be retrieved using a GET method on that resource.
-
-
- SeeOther is a synonym for RedirectMethod.
-
-
-
-
-
-
- Equivalent to status code 303.
- Indicates that the response to the request can be found under a different URI and
- should be retrieved using a GET method on that resource.
-
-
- RedirectMethod is a synonym for SeeOther.
-
-
-
-
-
- Equivalent to status code 304.
- Indicates that the client has performed a conditional GET request and access is allowed,
- but the document hasn't been modified.
-
-
-
-
- Equivalent to status code 305.
- Indicates that the requested resource must be accessed through the proxy given by
- the Location field.
-
-
-
-
- Equivalent to status code 306.
- This status code was used in a previous version of the specification, is no longer used,
- and is reserved for future use.
-
-
-
-
-
- Equivalent to status code 307.
- Indicates that the requested resource is located temporarily under a different URI.
-
-
- TemporaryRedirect is a synonym for RedirectKeepVerb.
-
-
-
-
-
-
- Equivalent to status code 307.
- Indicates that the requested resource is located temporarily under a different URI.
-
-
- RedirectKeepVerb is a synonym for TemporaryRedirect.
-
-
-
-
-
- Equivalent to status code 400.
- Indicates that the client's request couldn't be understood by the server due to
- malformed syntax.
-
-
-
-
- Equivalent to status code 401.
- Indicates that the client's request requires user authentication.
-
-
-
-
- Equivalent to status code 402.
- This status code is reserved for future use.
-
-
-
-
- Equivalent to status code 403.
- Indicates that the server understood the client's request but is refusing to fulfill it.
-
-
-
-
- Equivalent to status code 404.
- Indicates that the server hasn't found anything matching the request URI.
-
-
-
-
- Equivalent to status code 405.
- Indicates that the method specified in the request line isn't allowed for the resource
- identified by the request URI.
-
-
-
-
- Equivalent to status code 406.
- Indicates that the server doesn't have the appropriate resource to respond to the Accept
- headers in the client's request.
-
-
-
-
- Equivalent to status code 407.
- Indicates that the client must first authenticate itself with the proxy.
-
-
-
-
- Equivalent to status code 408.
- Indicates that the client didn't produce a request within the time that the server was
- prepared to wait.
-
-
-
-
- Equivalent to status code 409.
- Indicates that the client's request couldn't be completed due to a conflict on the server.
-
-
-
-
- Equivalent to status code 410.
- Indicates that the requested resource is no longer available at the server and
- no forwarding address is known.
-
-
-
-
- Equivalent to status code 411.
- Indicates that the server refuses to accept the client's request without a defined
- Content-Length.
-
-
-
-
- Equivalent to status code 412.
- Indicates that the precondition given in one or more of the request headers evaluated to
- false when it was tested on the server.
-
-
-
-
- Equivalent to status code 413.
- Indicates that the entity of the client's request is larger than the server is willing or
- able to process.
-
-
-
-
- Equivalent to status code 414.
- Indicates that the request URI is longer than the server is willing to interpret.
-
-
-
-
- Equivalent to status code 415.
- Indicates that the entity of the client's request is in a format not supported by
- the requested resource for the requested method.
-
-
-
-
- Equivalent to status code 416.
- Indicates that none of the range specifier values in a Range request header overlap
- the current extent of the selected resource.
-
-
-
-
- Equivalent to status code 417.
- Indicates that the expectation given in an Expect request header couldn't be met by
- the server.
-
-
-
-
- Equivalent to status code 500.
- Indicates that the server encountered an unexpected condition which prevented it from
- fulfilling the client's request.
-
-
-
-
- Equivalent to status code 501.
- Indicates that the server doesn't support the functionality required to fulfill the client's
- request.
-
-
-
-
- Equivalent to status code 502.
- Indicates that a gateway or proxy server received an invalid response from the upstream
- server.
-
-
-
-
- Equivalent to status code 503.
- Indicates that the server is currently unable to handle the client's request due to
- a temporary overloading or maintenance of the server.
-
-
-
-
- Equivalent to status code 504.
- Indicates that a gateway or proxy server didn't receive a timely response from the upstream
- server or some other auxiliary server.
-
-
-
-
- Equivalent to status code 505.
- Indicates that the server doesn't support the HTTP version used in the client's request.
-
-
-
-
- Decodes an HTML-encoded and returns the decoded .
-
-
- A that represents the decoded string.
-
-
- A to decode.
-
-
-
-
- Decodes an HTML-encoded and sends the decoded
- to the specified .
-
-
- A to decode.
-
-
- A that receives the decoded string.
-
-
-
-
- HTML-encodes a and returns the encoded .
-
-
- A that represents the encoded string.
-
-
- A to encode.
-
-
-
-
- HTML-encodes a and sends the encoded
- to the specified .
-
-
- A to encode.
-
-
- A that receives the encoded string.
-
-
-
-
- Provides the HTTP version numbers.
-
-
-
-
- Provides a instance for the HTTP/1.0.
-
-
-
-
- Provides a instance for the HTTP/1.1.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Provides the credentials for the password-based authentication.
-
-
-
-
- Initializes a new instance of the class with
- the specified and .
-
-
- A that represents the username associated with
- the credentials.
-
-
- A that represents the password for the username
- associated with the credentials.
-
-
- is .
-
-
- is empty.
-
-
-
-
- Initializes a new instance of the class with
- the specified , ,
- and .
-
-
- A that represents the username associated with
- the credentials.
-
-
- A that represents the password for the username
- associated with the credentials.
-
-
- A that represents the domain associated with
- the credentials.
-
-
- An array of that represents the roles
- associated with the credentials if any.
-
-
- is .
-
-
- is empty.
-
-
-
-
- Gets the domain associated with the credentials.
-
-
- This property returns an empty string if the domain was
- initialized with .
-
-
- A that represents the domain name
- to which the username belongs.
-
-
-
-
- Gets the password for the username associated with the credentials.
-
-
- This property returns an empty string if the password was
- initialized with .
-
-
- A that represents the password.
-
-
-
-
- Gets the roles associated with the credentials.
-
-
- This property returns an empty array if the roles were
- initialized with .
-
-
- An array of that represents the role names
- to which the username belongs.
-
-
-
-
- Gets the username associated with the credentials.
-
-
- A that represents the username.
-
-
-
-
- Stores the parameters for the used by servers.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- with the specified .
-
-
- A that represents the certificate used to
- authenticate the server.
-
-
-
-
- Copies the parameters from the specified to
- a new instance of the class.
-
-
- A from which to copy.
-
-
- is .
-
-
-
-
- Gets or sets a value indicating whether the certificate revocation
- list is checked during authentication.
-
-
-
- true if the certificate revocation list is checked during
- authentication; otherwise, false.
-
-
- The default value is false.
-
-
-
-
-
- Gets or sets a value indicating whether the client is asked for
- a certificate for authentication.
-
-
-
- true if the client is asked for a certificate for
- authentication; otherwise, false.
-
-
- The default value is false.
-
-
-
-
-
- Gets or sets the callback used to validate the certificate
- supplied by the client.
-
-
- The certificate is valid if the callback returns true.
-
-
-
- A delegate that
- invokes the method called for validating the certificate.
-
-
- The default value is a delegate that invokes a method that
- only returns true.
-
-
-
-
-
- Gets or sets the protocols used for authentication.
-
-
-
- The enum values that represent
- the protocols used for authentication.
-
-
- The default value is .
-
-
-
-
-
- Gets or sets the certificate used to authenticate the server.
-
-
-
- A or
- if not specified.
-
-
- That instance represents an X.509 certificate.
-
-
-
-
-
- Provides a collection of the HTTP headers associated with a request or response.
-
-
-
-
- Initializes a new instance of the class from
- the specified and .
-
-
- A that contains the serialized object data.
-
-
- A that specifies the source for the deserialization.
-
-
- is .
-
-
- An element with the specified name isn't found in .
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets all header names in the collection.
-
-
- An array of that contains all header names in the collection.
-
-
-
-
- Gets the number of headers in the collection.
-
-
- An that represents the number of headers in the collection.
-
-
-
-
- Gets or sets the specified request in the collection.
-
-
- A that represents the value of the request .
-
-
- One of the enum values, represents
- the request header to get or set.
-
-
-
- is a restricted header.
-
-
- -or-
-
-
- contains invalid characters.
-
-
-
- The length of is greater than 65,535 characters.
-
-
- The current instance doesn't allow
- the request .
-
-
-
-
- Gets or sets the specified response in the collection.
-
-
- A that represents the value of the response .
-
-
- One of the enum values, represents
- the response header to get or set.
-
-
-
- is a restricted header.
-
-
- -or-
-
-
- contains invalid characters.
-
-
-
- The length of is greater than 65,535 characters.
-
-
- The current instance doesn't allow
- the response .
-
-
-
-
- Gets a collection of header names in the collection.
-
-
- A that contains
- all header names in the collection.
-
-
-
-
- Adds a header to the collection without checking if the header is on
- the restricted header list.
-
-
- A that represents the name of the header to add.
-
-
- A that represents the value of the header to add.
-
-
- is or empty.
-
-
- or contains invalid characters.
-
-
- The length of is greater than 65,535 characters.
-
-
- The current instance doesn't allow
- the .
-
-
-
-
- Adds the specified to the collection.
-
-
- A that represents the header with the name and value separated by
- a colon (':').
-
-
- is , empty, or the name part of
- is empty.
-
-
-
- doesn't contain a colon.
-
-
- -or-
-
-
- is a restricted header.
-
-
- -or-
-
-
- The name or value part of contains invalid characters.
-
-
-
- The length of the value part of is greater than 65,535 characters.
-
-
- The current instance doesn't allow
- the .
-
-
-
-
- Adds the specified request with
- the specified to the collection.
-
-
- One of the enum values, represents
- the request header to add.
-
-
- A that represents the value of the header to add.
-
-
-
- is a restricted header.
-
-
- -or-
-
-
- contains invalid characters.
-
-
-
- The length of is greater than 65,535 characters.
-
-
- The current instance doesn't allow
- the request .
-
-
-
-
- Adds the specified response with
- the specified to the collection.
-
-
- One of the enum values, represents
- the response header to add.
-
-
- A that represents the value of the header to add.
-
-
-
- is a restricted header.
-
-
- -or-
-
-
- contains invalid characters.
-
-
-
- The length of is greater than 65,535 characters.
-
-
- The current instance doesn't allow
- the response .
-
-
-
-
- Adds a header with the specified and
- to the collection.
-
-
- A that represents the name of the header to add.
-
-
- A that represents the value of the header to add.
-
-
- is or empty.
-
-
-
- or contains invalid characters.
-
-
- -or-
-
-
- is a restricted header name.
-
-
-
- The length of is greater than 65,535 characters.
-
-
- The current instance doesn't allow
- the header .
-
-
-
-
- Removes all headers from the collection.
-
-
-
-
- Get the value of the header at the specified in the collection.
-
-
- A that receives the value of the header.
-
-
- An that represents the zero-based index of the header to find.
-
-
- is out of allowable range of indexes for the collection.
-
-
-
-
- Get the value of the header with the specified in the collection.
-
-
- A that receives the value of the header if found;
- otherwise, .
-
-
- A that represents the name of the header to find.
-
-
-
-
- Gets the enumerator used to iterate through the collection.
-
-
- An instance used to iterate through the collection.
-
-
-
-
- Get the name of the header at the specified in the collection.
-
-
- A that receives the header name.
-
-
- An that represents the zero-based index of the header to find.
-
-
- is out of allowable range of indexes for the collection.
-
-
-
-
- Gets an array of header values stored in the specified position of
- the collection.
-
-
- An array of that receives the header values if found;
- otherwise, .
-
-
- An that represents the zero-based index of the header to find.
-
-
- is out of allowable range of indexes for the collection.
-
-
-
-
- Gets an array of header values stored in the specified .
-
-
- An array of that receives the header values if found;
- otherwise, .
-
-
- A that represents the name of the header to find.
-
-
-
-
- Populates the specified with the data needed to serialize
- the .
-
-
- A that holds the serialized object data.
-
-
- A that specifies the destination for the serialization.
-
-
- is .
-
-
-
-
- Determines whether the specified header can be set for the request.
-
-
- true if the header is restricted; otherwise, false.
-
-
- A that represents the name of the header to test.
-
-
- is or empty.
-
-
- contains invalid characters.
-
-
-
-
- Determines whether the specified header can be set for the request or the response.
-
-
- true if the header is restricted; otherwise, false.
-
-
- A that represents the name of the header to test.
-
-
- true if does the test for the response; for the request, false.
-
-
- is or empty.
-
-
- contains invalid characters.
-
-
-
-
- Implements the interface and raises the deserialization event
- when the deserialization is complete.
-
-
- An that represents the source of the deserialization event.
-
-
-
-
- Removes the specified request from the collection.
-
-
- One of the enum values, represents
- the request header to remove.
-
-
- is a restricted header.
-
-
- The current instance doesn't allow
- the request .
-
-
-
-
- Removes the specified response from the collection.
-
-
- One of the enum values, represents
- the response header to remove.
-
-
- is a restricted header.
-
-
- The current instance doesn't allow
- the response .
-
-
-
-
- Removes the specified header from the collection.
-
-
- A that represents the name of the header to remove.
-
-
- is or empty.
-
-
-
- contains invalid characters.
-
-
- -or-
-
-
- is a restricted header name.
-
-
-
- The current instance doesn't allow
- the header .
-
-
-
-
- Sets the specified request to the specified value.
-
-
- One of the enum values, represents
- the request header to set.
-
-
- A that represents the value of the request header to set.
-
-
-
- is a restricted header.
-
-
- -or-
-
-
- contains invalid characters.
-
-
-
- The length of is greater than 65,535 characters.
-
-
- The current instance doesn't allow
- the request .
-
-
-
-
- Sets the specified response to the specified value.
-
-
- One of the enum values, represents
- the response header to set.
-
-
- A that represents the value of the response header to set.
-
-
-
- is a restricted header.
-
-
- -or-
-
-
- contains invalid characters.
-
-
-
- The length of is greater than 65,535 characters.
-
-
- The current instance doesn't allow
- the response .
-
-
-
-
- Sets the specified header to the specified value.
-
-
- A that represents the name of the header to set.
-
-
- A that represents the value of the header to set.
-
-
- is or empty.
-
-
-
- or contains invalid characters.
-
-
- -or-
-
-
- is a restricted header name.
-
-
-
- The length of is greater than 65,535 characters.
-
-
- The current instance doesn't allow
- the header .
-
-
-
-
- Converts the current to an array of .
-
-
- An array of that receives the converted current
- .
-
-
-
-
- Returns a that represents the current
- .
-
-
- A that represents the current .
-
-
-
-
- Populates the specified with the data needed to serialize
- the current .
-
-
- A that holds the serialized object data.
-
-
- A that specifies the destination for the serialization.
-
-
- is .
-
-
-
-
- Provides the properties used to access the information in
- a WebSocket handshake request received by the .
-
-
-
-
- Gets the HTTP cookies included in the request.
-
-
- A that contains the cookies.
-
-
-
-
- Gets the HTTP headers included in the request.
-
-
- A that contains the headers.
-
-
-
-
- Gets the value of the Host header included in the request.
-
-
- A that represents the value of the Host header.
-
-
-
-
- Gets a value indicating whether the client is authenticated.
-
-
- true if the client is authenticated; otherwise, false.
-
-
-
-
- Gets a value indicating whether the client connected from the local computer.
-
-
- true if the client connected from the local computer; otherwise, false.
-
-
-
-
- Gets a value indicating whether the WebSocket connection is secured.
-
-
- true if the connection is secured; otherwise, false.
-
-
-
-
- Gets a value indicating whether the request is a WebSocket handshake request.
-
-
- true if the request is a WebSocket handshake request; otherwise, false.
-
-
-
-
- Gets the value of the Origin header included in the request.
-
-
- A that represents the value of the Origin header.
-
-
-
-
- Gets the query string included in the request.
-
-
- A that contains the query string parameters.
-
-
-
-
- Gets the URI requested by the client.
-
-
- A that represents the requested URI.
-
-
-
-
- Gets the value of the Sec-WebSocket-Key header included in the request.
-
-
- This property provides a part of the information used by the server to prove that
- it received a valid WebSocket handshake request.
-
-
- A that represents the value of the Sec-WebSocket-Key header.
-
-
-
-
- Gets the values of the Sec-WebSocket-Protocol header included in the request.
-
-
- This property represents the subprotocols requested by the client.
-
-
- An instance that provides
- an enumerator which supports the iteration over the values of the Sec-WebSocket-Protocol
- header.
-
-
-
-
- Gets the value of the Sec-WebSocket-Version header included in the request.
-
-
- This property represents the WebSocket protocol version.
-
-
- A that represents the value of the Sec-WebSocket-Version header.
-
-
-
-
- Gets the server endpoint as an IP address and a port number.
-
-
- A that represents the server endpoint.
-
-
-
-
- Gets the client information (identity, authentication, and security roles).
-
-
- A instance that represents the client information.
-
-
-
-
- Gets the client endpoint as an IP address and a port number.
-
-
- A that represents the client endpoint.
-
-
-
-
- Gets the instance used for
- two-way communication between client and server.
-
-
- A .
-
-
-
-
- Returns a that represents
- the current .
-
-
- A that represents
- the current .
-
-
-
-
- Provides the properties used to access the information in
- a WebSocket handshake request received by the .
-
-
-
-
- Gets the HTTP cookies included in the request.
-
-
- A that contains the cookies.
-
-
-
-
- Gets the HTTP headers included in the request.
-
-
- A that contains the headers.
-
-
-
-
- Gets the value of the Host header included in the request.
-
-
- A that represents the value of the Host header.
-
-
-
-
- Gets a value indicating whether the client is authenticated.
-
-
- true if the client is authenticated; otherwise, false.
-
-
-
-
- Gets a value indicating whether the client connected from the local computer.
-
-
- true if the client connected from the local computer; otherwise, false.
-
-
-
-
- Gets a value indicating whether the WebSocket connection is secured.
-
-
- true if the connection is secured; otherwise, false.
-
-
-
-
- Gets a value indicating whether the request is a WebSocket handshake request.
-
-
- true if the request is a WebSocket handshake request; otherwise, false.
-
-
-
-
- Gets the value of the Origin header included in the request.
-
-
- A that represents the value of the Origin header.
-
-
-
-
- Gets the query string included in the request.
-
-
- A that contains the query string parameters.
-
-
-
-
- Gets the URI requested by the client.
-
-
- A that represents the requested URI.
-
-
-
-
- Gets the value of the Sec-WebSocket-Key header included in the request.
-
-
- This property provides a part of the information used by the server to prove that
- it received a valid WebSocket handshake request.
-
-
- A that represents the value of the Sec-WebSocket-Key header.
-
-
-
-
- Gets the values of the Sec-WebSocket-Protocol header included in the request.
-
-
- This property represents the subprotocols requested by the client.
-
-
- An instance that provides
- an enumerator which supports the iteration over the values of the Sec-WebSocket-Protocol
- header.
-
-
-
-
- Gets the value of the Sec-WebSocket-Version header included in the request.
-
-
- This property represents the WebSocket protocol version.
-
-
- A that represents the value of the Sec-WebSocket-Version header.
-
-
-
-
- Gets the server endpoint as an IP address and a port number.
-
-
- A that represents the server endpoint.
-
-
-
-
- Gets the client information (identity, authentication, and security roles).
-
-
- A instance that represents the client information.
-
-
-
-
- Gets the client endpoint as an IP address and a port number.
-
-
- A that represents the client endpoint.
-
-
-
-
- Gets the instance used for
- two-way communication between client and server.
-
-
- A .
-
-
-
-
- Returns a that represents
- the current .
-
-
- A that represents
- the current .
-
-
-
-
- Exposes the properties used to access the information in a WebSocket handshake request.
-
-
- This class is an abstract class.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets the HTTP cookies included in the request.
-
-
- A that contains the cookies.
-
-
-
-
- Gets the HTTP headers included in the request.
-
-
- A that contains the headers.
-
-
-
-
- Gets the value of the Host header included in the request.
-
-
- A that represents the value of the Host header.
-
-
-
-
- Gets a value indicating whether the client is authenticated.
-
-
- true if the client is authenticated; otherwise, false.
-
-
-
-
- Gets a value indicating whether the client connected from the local computer.
-
-
- true if the client connected from the local computer; otherwise, false.
-
-
-
-
- Gets a value indicating whether the WebSocket connection is secured.
-
-
- true if the connection is secured; otherwise, false.
-
-
-
-
- Gets a value indicating whether the request is a WebSocket handshake request.
-
-
- true if the request is a WebSocket handshake request; otherwise, false.
-
-
-
-
- Gets the value of the Origin header included in the request.
-
-
- A that represents the value of the Origin header.
-
-
-
-
- Gets the query string included in the request.
-
-
- A that contains the query string parameters.
-
-
-
-
- Gets the URI requested by the client.
-
-
- A that represents the requested URI.
-
-
-
-
- Gets the value of the Sec-WebSocket-Key header included in the request.
-
-
- This property provides a part of the information used by the server to prove that
- it received a valid WebSocket handshake request.
-
-
- A that represents the value of the Sec-WebSocket-Key header.
-
-
-
-
- Gets the values of the Sec-WebSocket-Protocol header included in the request.
-
-
- This property represents the subprotocols requested by the client.
-
-
- An instance that provides
- an enumerator which supports the iteration over the values of the Sec-WebSocket-Protocol
- header.
-
-
-
-
- Gets the value of the Sec-WebSocket-Version header included in the request.
-
-
- This property represents the WebSocket protocol version.
-
-
- A that represents the value of the Sec-WebSocket-Version header.
-
-
-
-
- Gets the server endpoint as an IP address and a port number.
-
-
- A that represents the server endpoint.
-
-
-
-
- Gets the client information (identity, authentication, and security roles).
-
-
- A instance that represents the client information.
-
-
-
-
- Gets the client endpoint as an IP address and a port number.
-
-
- A that represents the client endpoint.
-
-
-
-
- Gets the instance used for
- two-way communication between client and server.
-
-
- A .
-
-
-
-
- Indicates the WebSocket frame type.
-
-
- The values of this enumeration are defined in
-
- Section 5.2 of RFC 6455.
-
-
-
-
- Equivalent to numeric value 0. Indicates continuation frame.
-
-
-
-
- Equivalent to numeric value 1. Indicates text frame.
-
-
-
-
- Equivalent to numeric value 2. Indicates binary frame.
-
-
-
-
- Equivalent to numeric value 8. Indicates connection close frame.
-
-
-
-
- Equivalent to numeric value 9. Indicates ping frame.
-
-
-
-
- Equivalent to numeric value 10. Indicates pong frame.
-
-
-
-
- Represents the empty payload data.
-
-
-
-
- Represents the allowable max length.
-
-
-
- A will occur if the payload data length is
- greater than the value of this field.
-
-
- If you would like to change the value, you must set it to a value between
- WebSocket.FragmentLength and Int64.MaxValue inclusive.
-
-
-
-
-
- Indicates whether each RSV (RSV1, RSV2, and RSV3) of a WebSocket frame is non-zero.
-
-
- The values of this enumeration are defined in
- Section 5.2 of RFC 6455.
-
-
-
-
- Equivalent to numeric value 0. Indicates zero.
-
-
-
-
- Equivalent to numeric value 1. Indicates non-zero.
-
-
-
-
- Represents the event data for the HTTP request events of
- the .
-
-
-
- An HTTP request event occurs when the
- receives an HTTP request.
-
-
- You should access the property if you would
- like to get the request data sent from a client.
-
-
- And you should access the property if you would
- like to get the response data to return to the client.
-
-
-
-
-
- Gets the request data sent from a client.
-
-
- A that provides the methods and
- properties for the request data.
-
-
-
-
- Gets the response data to return to the client.
-
-
- A that provides the methods and
- properties for the response data.
-
-
-
-
- Gets the information for the client.
-
-
-
- A instance or
- if not authenticated.
-
-
- That instance describes the identity, authentication scheme,
- and security roles for the client.
-
-
-
-
-
- Reads the specified file from the document folder of
- the .
-
-
-
- An array of or
- if it fails.
-
-
- That array receives the contents of the file.
-
-
-
- A that represents a virtual path to
- find the file from the document folder.
-
-
- is .
-
-
-
- is an empty string.
-
-
- -or-
-
-
- contains "..".
-
-
-
-
-
- Tries to read the specified file from the document folder of
- the .
-
-
- true if it succeeds to read; otherwise, false.
-
-
- A that represents a virtual path to
- find the file from the document folder.
-
-
-
- When this method returns, an array of or
- if it fails.
-
-
- That array receives the contents of the file.
-
-
-
- is .
-
-
-
- is an empty string.
-
-
- -or-
-
-
- contains "..".
-
-
-
-
-
- Provides a simple HTTP server that allows to accept
- WebSocket handshake requests.
-
-
- This class can provide multiple WebSocket services.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The new instance listens for incoming requests on
- and port 80.
-
-
-
-
- Initializes a new instance of the class with
- the specified .
-
-
-
- The new instance listens for incoming requests on
- and .
-
-
- It provides secure connections if is 443.
-
-
-
- An that represents the number of the port
- on which to listen.
-
-
- is less than 1 or greater than 65535.
-
-
-
-
- Initializes a new instance of the class with
- the specified .
-
-
-
- The new instance listens for incoming requests on the IP address of the
- host of and the port of .
-
-
- Either port 80 or 443 is used if includes
- no port. Port 443 is used if the scheme of
- is https; otherwise, port 80 is used.
-
-
- The new instance provides secure connections if the scheme of
- is https.
-
-
-
- A that represents the HTTP URL of the server.
-
-
- is .
-
-
-
- is empty.
-
-
- -or-
-
-
- is invalid.
-
-
-
-
-
- Initializes a new instance of the class with
- the specified and .
-
-
- The new instance listens for incoming requests on
- and .
-
-
- An that represents the number of the port
- on which to listen.
-
-
- A : true if the new instance provides
- secure connections; otherwise, false.
-
-
- is less than 1 or greater than 65535.
-
-
-
-
- Initializes a new instance of the class with
- the specified and .
-
-
-
- The new instance listens for incoming requests on
- and .
-
-
- It provides secure connections if is 443.
-
-
-
- A that represents
- the local IP address on which to listen.
-
-
- An that represents the number of the port
- on which to listen.
-
-
- is .
-
-
- is not a local IP address.
-
-
- is less than 1 or greater than 65535.
-
-
-
-
- Initializes a new instance of the class with
- the specified , ,
- and .
-
-
- The new instance listens for incoming requests on
- and .
-
-
- A that represents
- the local IP address on which to listen.
-
-
- An that represents the number of the port
- on which to listen.
-
-
- A : true if the new instance provides
- secure connections; otherwise, false.
-
-
- is .
-
-
- is not a local IP address.
-
-
- is less than 1 or greater than 65535.
-
-
-
-
- Gets the IP address of the server.
-
-
- A that represents the local
- IP address on which to listen for incoming requests.
-
-
-
-
- Gets or sets the scheme used to authenticate the clients.
-
-
- The set operation does nothing if the server has already
- started or it is shutting down.
-
-
-
- One of the
- enum values.
-
-
- It represents the scheme used to authenticate the clients.
-
-
- The default value is
- .
-
-
-
-
-
- Gets or sets the path to the document folder of the server.
-
-
-
- '/' or '\' is trimmed from the end of the value if any.
-
-
- The set operation does nothing if the server has already
- started or it is shutting down.
-
-
-
-
- A that represents a path to the folder
- from which to find the requested file.
-
-
- The default value is "./Public".
-
-
-
- The value specified for a set operation is .
-
-
-
- The value specified for a set operation is an empty string.
-
-
- -or-
-
-
- The value specified for a set operation is an invalid path string.
-
-
- -or-
-
-
- The value specified for a set operation is an absolute root.
-
-
-
-
-
- Gets a value indicating whether the server has started.
-
-
- true if the server has started; otherwise, false.
-
-
-
-
- Gets a value indicating whether the server provides
- secure connections.
-
-
- true if the server provides secure connections;
- otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether the server cleans up
- the inactive sessions periodically.
-
-
- The set operation does nothing if the server has already
- started or it is shutting down.
-
-
-
- true if the server cleans up the inactive sessions
- every 60 seconds; otherwise, false.
-
-
- The default value is true.
-
-
-
-
-
- Gets the logging function for the server.
-
-
- The default logging level is .
-
-
- A that provides the logging function.
-
-
-
-
- Gets the port of the server.
-
-
- An that represents the number of the port
- on which to listen for incoming requests.
-
-
-
-
- Gets or sets the realm used for authentication.
-
-
-
- "SECRET AREA" is used as the realm if the value is
- or an empty string.
-
-
- The set operation does nothing if the server has
- already started or it is shutting down.
-
-
-
-
- A or by default.
-
-
- That string represents the name of the realm.
-
-
-
-
-
- Gets or sets a value indicating whether the server is allowed to
- be bound to an address that is already in use.
-
-
-
- You should set this property to true if you would
- like to resolve to wait for socket in TIME_WAIT state.
-
-
- The set operation does nothing if the server has already
- started or it is shutting down.
-
-
-
-
- true if the server is allowed to be bound to an address
- that is already in use; otherwise, false.
-
-
- The default value is false.
-
-
-
-
-
- Gets the configuration for secure connections.
-
-
- This configuration will be referenced when attempts to start,
- so it must be configured before the start method is called.
-
-
- A that represents
- the configuration used to provide secure connections.
-
-
- This instance does not provide secure connections.
-
-
-
-
- Gets or sets the delegate used to find the credentials
- for an identity.
-
-
-
- No credentials are found if the method invoked by
- the delegate returns or
- the value is .
-
-
- The set operation does nothing if the server has
- already started or it is shutting down.
-
-
-
-
- A Func<,
- > delegate or
- if not needed.
-
-
- That delegate invokes the method called for finding
- the credentials used to authenticate a client.
-
-
- The default value is .
-
-
-
-
-
- Gets or sets the time to wait for the response to the WebSocket Ping or
- Close.
-
-
- The set operation does nothing if the server has already started or
- it is shutting down.
-
-
-
- A to wait for the response.
-
-
- The default value is the same as 1 second.
-
-
-
- The value specified for a set operation is zero or less.
-
-
-
-
- Gets the management function for the WebSocket services
- provided by the server.
-
-
- A that manages
- the WebSocket services provided by the server.
-
-
-
-
- Occurs when the server receives an HTTP CONNECT request.
-
-
-
-
- Occurs when the server receives an HTTP DELETE request.
-
-
-
-
- Occurs when the server receives an HTTP GET request.
-
-
-
-
- Occurs when the server receives an HTTP HEAD request.
-
-
-
-
- Occurs when the server receives an HTTP OPTIONS request.
-
-
-
-
- Occurs when the server receives an HTTP PATCH request.
-
-
-
-
- Occurs when the server receives an HTTP POST request.
-
-
-
-
- Occurs when the server receives an HTTP PUT request.
-
-
-
-
- Occurs when the server receives an HTTP TRACE request.
-
-
-
-
- Adds a WebSocket service with the specified behavior,
- , and .
-
-
- is converted to a URL-decoded string and
- '/' is trimmed from the end of the converted string if any.
-
-
- A that represents an absolute path to
- the service to add.
-
-
-
- A Func<TBehavior> delegate.
-
-
- It invokes the method called for creating
- a new session instance for the service.
-
-
- The method must create a new instance of
- the specified behavior class and return it.
-
-
-
-
- The type of the behavior for the service.
-
-
- It must inherit the class.
-
-
-
-
- is .
-
-
- -or-
-
-
- is .
-
-
-
-
- is an empty string.
-
-
- -or-
-
-
- is not an absolute path.
-
-
- -or-
-
-
- includes either or both
- query and fragment components.
-
-
- -or-
-
-
- is already in use.
-
-
-
-
-
- Adds a WebSocket service with the specified behavior and
- .
-
-
- is converted to a URL-decoded string and
- '/' is trimmed from the end of the converted string if any.
-
-
- A that represents an absolute path to
- the service to add.
-
-
-
- The type of the behavior for the service.
-
-
- It must inherit the class and
- must have a public parameterless constructor.
-
-
-
- is .
-
-
-
- is an empty string.
-
-
- -or-
-
-
- is not an absolute path.
-
-
- -or-
-
-
- includes either or both
- query and fragment components.
-
-
- -or-
-
-
- is already in use.
-
-
-
-
-
- Adds a WebSocket service with the specified behavior,
- , and .
-
-
- is converted to a URL-decoded string and
- '/' is trimmed from the end of the converted string if any.
-
-
- A that represents an absolute path to
- the service to add.
-
-
-
- An Action<TBehaviorWithNew> delegate or
- if not needed.
-
-
- That delegate invokes the method called for initializing
- a new session instance for the service.
-
-
-
-
- The type of the behavior for the service.
-
-
- It must inherit the class and
- must have a public parameterless constructor.
-
-
-
- is .
-
-
-
- is an empty string.
-
-
- -or-
-
-
- is not an absolute path.
-
-
- -or-
-
-
- includes either or both
- query and fragment components.
-
-
- -or-
-
-
- is already in use.
-
-
-
-
-
- Gets the contents of the specified file from the document
- folder of the server.
-
-
-
- An array of or
- if it fails.
-
-
- That array represents the contents of the file.
-
-
-
- A that represents a virtual path to
- find the file from the document folder.
-
-
- is .
-
-
-
- is an empty string.
-
-
- -or-
-
-
- contains "..".
-
-
-
-
-
- Removes a WebSocket service with the specified .
-
-
-
- is converted to a URL-decoded string and
- '/' is trimmed from the end of the converted string if any.
-
-
- The service is stopped with close status 1001 (going away)
- if it has already started.
-
-
-
- true if the service is successfully found and removed;
- otherwise, false.
-
-
- A that represents an absolute path to
- the service to remove.
-
-
- is .
-
-
-
- is an empty string.
-
-
- -or-
-
-
- is not an absolute path.
-
-
- -or-
-
-
- includes either or both
- query and fragment components.
-
-
-
-
-
- Starts receiving incoming requests.
-
-
- This method does nothing if the server has already started or
- it is shutting down.
-
-
-
- There is no server certificate for secure connections.
-
-
- -or-
-
-
- The underlying has failed to start.
-
-
-
-
-
- Stops receiving incoming requests and closes each connection.
-
-
- This method does nothing if the server is not started,
- it is shutting down, or it has already stopped.
-
-
-
-
- Stops receiving incoming requests and closes each connection.
-
-
- This method does nothing if the server is not started,
- it is shutting down, or it has already stopped.
-
-
-
- A that represents the status code
- indicating the reason for the WebSocket connection close.
-
-
- The status codes are defined in
-
- Section 7.4 of RFC 6455.
-
-
-
-
- A that represents the reason for
- the WebSocket connection close.
-
-
- The size must be 123 bytes or less in UTF-8.
-
-
-
-
- is less than 1000 or greater than 4999.
-
-
- -or-
-
-
- The size of is greater than 123 bytes.
-
-
-
-
- is 1010 (mandatory extension).
-
-
- -or-
-
-
- is 1005 (no status) and
- there is .
-
-
- -or-
-
-
- could not be UTF-8-encoded.
-
-
-
-
-
- Stops receiving incoming requests and closes each connection.
-
-
- This method does nothing if the server is not started,
- it is shutting down, or it has already stopped.
-
-
-
- One of the enum values.
-
-
- It represents the status code indicating the reason for
- the WebSocket connection close.
-
-
-
-
- A that represents the reason for
- the WebSocket connection close.
-
-
- The size must be 123 bytes or less in UTF-8.
-
-
-
- The size of is greater than 123 bytes.
-
-
-
- is
- .
-
-
- -or-
-
-
- is
- and
- there is .
-
-
- -or-
-
-
- could not be UTF-8-encoded.
-
-
-
-
-
- Exposes the properties used to access the information in a session in a WebSocket service.
-
-
-
-
- Gets the information in the connection request to the WebSocket service.
-
-
- A that provides the access to the connection request.
-
-
-
-
- Gets the unique ID of the session.
-
-
- A that represents the unique ID of the session.
-
-
-
-
- Gets the WebSocket subprotocol used in the session.
-
-
- A that represents the subprotocol if any.
-
-
-
-
- Gets the time that the session has started.
-
-
- A that represents the time that the session has started.
-
-
-
-
- Gets the state of the used in the session.
-
-
- One of the enum values, indicates the state of
- the used in the session.
-
-
-
-
- Exposes the methods and properties used to define the behavior of a WebSocket service
- provided by the or .
-
-
- The WebSocketBehavior class is an abstract class.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets the logging functions.
-
-
- A that provides the logging functions,
- or if the WebSocket connection isn't established.
-
-
-
-
- Gets the access to the sessions in the WebSocket service.
-
-
- A that provides the access to the sessions,
- or if the WebSocket connection isn't established.
-
-
-
-
- Gets the information in a handshake request to the WebSocket service.
-
-
- A instance that provides the access to the handshake request,
- or if the WebSocket connection isn't established.
-
-
-
-
- Gets or sets the delegate called to validate the HTTP cookies included in
- a handshake request to the WebSocket service.
-
-
- This delegate is called when the used in a session validates
- the handshake request.
-
-
-
- A Func<CookieCollection, CookieCollection, bool> delegate that references
- the method(s) used to validate the cookies.
-
-
- 1st parameter passed to this delegate contains
- the cookies to validate if any.
-
-
- 2nd parameter passed to this delegate receives
- the cookies to send to the client.
-
-
- This delegate should return true if the cookies are valid.
-
-
- The default value is , and it does nothing to validate.
-
-
-
-
-
- Gets or sets a value indicating whether the used in a session emits
- a event when receives a Ping.
-
-
- true if the emits a event
- when receives a Ping; otherwise, false. The default value is false.
-
-
-
-
- Gets the unique ID of a session.
-
-
- A that represents the unique ID of the session,
- or if the WebSocket connection isn't established.
-
-
-
-
- Gets or sets a value indicating whether the WebSocket service ignores
- the Sec-WebSocket-Extensions header included in a handshake request.
-
-
- true if the WebSocket service ignores the extensions requested from
- a client; otherwise, false. The default value is false.
-
-
-
-
- Gets or sets the delegate called to validate the Origin header included in
- a handshake request to the WebSocket service.
-
-
- This delegate is called when the used in a session validates
- the handshake request.
-
-
-
- A Func<string, bool> delegate that references the method(s) used to
- validate the origin header.
-
-
- parameter passed to this delegate represents the value of
- the origin header to validate if any.
-
-
- This delegate should return true if the origin header is valid.
-
-
- The default value is , and it does nothing to validate.
-
-
-
-
-
- Gets or sets the WebSocket subprotocol used in the WebSocket service.
-
-
- Set operation of this property is available before the WebSocket connection has
- been established.
-
-
-
- A that represents the subprotocol if any.
- The default value is .
-
-
- The value to set must be a token defined in
- RFC 2616.
-
-
-
-
-
- Gets the time that a session has started.
-
-
- A that represents the time that the session has started,
- or if the WebSocket connection isn't established.
-
-
-
-
- Gets the state of the used in a session.
-
-
- One of the enum values, indicates the state of
- the .
-
-
-
-
- Calls the method with the specified and
- .
-
-
- This method doesn't call the method if is
- or empty.
-
-
- A that represents the error message.
-
-
- An instance that represents the cause of the error if any.
-
-
-
-
- Called when the WebSocket connection used in a session has been closed.
-
-
- A that represents the event data passed to
- a event.
-
-
-
-
- Called when the used in a session gets an error.
-
-
- A that represents the event data passed to
- a event.
-
-
-
-
- Called when the used in a session receives a message.
-
-
- A that represents the event data passed to
- a event.
-
-
-
-
- Called when the WebSocket connection used in a session has been established.
-
-
-
-
- Sends binary to the client on a session.
-
-
- This method is available after the WebSocket connection has been established.
-
-
- An array of that represents the binary data to send.
-
-
-
-
- Sends the specified as binary data to the client on a session.
-
-
- This method is available after the WebSocket connection has been established.
-
-
- A that represents the file to send.
-
-
-
-
- Sends text to the client on a session.
-
-
- This method is available after the WebSocket connection has been established.
-
-
- A that represents the text data to send.
-
-
-
-
- Sends binary asynchronously to the client on a session.
-
-
-
- This method is available after the WebSocket connection has been established.
-
-
- This method doesn't wait for the send to be complete.
-
-
-
- An array of that represents the binary data to send.
-
-
- An Action<bool> delegate that references the method(s) called when
- the send is complete. A passed to this delegate is true
- if the send is complete successfully.
-
-
-
-
- Sends the specified as binary data asynchronously to
- the client on a session.
-
-
-
- This method is available after the WebSocket connection has been established.
-
-
- This method doesn't wait for the send to be complete.
-
-
-
- A that represents the file to send.
-
-
- An Action<bool> delegate that references the method(s) called when
- the send is complete. A passed to this delegate is true
- if the send is complete successfully.
-
-
-
-
- Sends text asynchronously to the client on a session.
-
-
-
- This method is available after the WebSocket connection has been established.
-
-
- This method doesn't wait for the send to be complete.
-
-
-
- A that represents the text data to send.
-
-
- An Action<bool> delegate that references the method(s) called when
- the send is complete. A passed to this delegate is true
- if the send is complete successfully.
-
-
-
-
- Sends binary data from the specified asynchronously to
- the client on a session.
-
-
-
- This method is available after the WebSocket connection has been established.
-
-
- This method doesn't wait for the send to be complete.
-
-
-
- A from which contains the binary data to send.
-
-
- An that represents the number of bytes to send.
-
-
- An Action<bool> delegate that references the method(s) called when
- the send is complete. A passed to this delegate is true
- if the send is complete successfully.
-
-
-
-
- Provides a WebSocket protocol server.
-
-
- This class can provide multiple WebSocket services.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The new instance listens for incoming handshake requests on
- and port 80.
-
-
-
-
- Initializes a new instance of the class
- with the specified .
-
-
-
- The new instance listens for incoming handshake requests on
- and .
-
-
- It provides secure connections if is 443.
-
-
-
- An that represents the number of the port
- on which to listen.
-
-
- is less than 1 or greater than 65535.
-
-
-
-
- Initializes a new instance of the class
- with the specified .
-
-
-
- The new instance listens for incoming handshake requests on
- the IP address of the host of and
- the port of .
-
-
- Either port 80 or 443 is used if includes
- no port. Port 443 is used if the scheme of
- is wss; otherwise, port 80 is used.
-
-
- The new instance provides secure connections if the scheme of
- is wss.
-
-
-
- A that represents the WebSocket URL of the server.
-
-
- is .
-
-
-
- is an empty string.
-
-
- -or-
-
-
- is invalid.
-
-
-
-
-
- Initializes a new instance of the class
- with the specified and .
-
-
- The new instance listens for incoming handshake requests on
- and .
-
-
- An that represents the number of the port
- on which to listen.
-
-
- A : true if the new instance provides
- secure connections; otherwise, false.
-
-
- is less than 1 or greater than 65535.
-
-
-
-
- Initializes a new instance of the class
- with the specified and .
-
-
-
- The new instance listens for incoming handshake requests on
- and .
-
-
- It provides secure connections if is 443.
-
-
-
- A that represents the local
- IP address on which to listen.
-
-
- An that represents the number of the port
- on which to listen.
-
-
- is .
-
-
- is not a local IP address.
-
-
- is less than 1 or greater than 65535.
-
-
-
-
- Initializes a new instance of the class
- with the specified , ,
- and .
-
-
- The new instance listens for incoming handshake requests on
- and .
-
-
- A that represents the local
- IP address on which to listen.
-
-
- An that represents the number of the port
- on which to listen.
-
-
- A : true if the new instance provides
- secure connections; otherwise, false.
-
-
- is .
-
-
- is not a local IP address.
-
-
- is less than 1 or greater than 65535.
-
-
-
-
- Gets the IP address of the server.
-
-
- A that represents the local
- IP address on which to listen for incoming handshake requests.
-
-
-
-
- Gets or sets a value indicating whether the server accepts every
- handshake request without checking the request URI.
-
-
- The set operation does nothing if the server has already started or
- it is shutting down.
-
-
-
- true if the server accepts every handshake request without
- checking the request URI; otherwise, false.
-
-
- The default value is false.
-
-
-
-
-
- Gets or sets the scheme used to authenticate the clients.
-
-
- The set operation does nothing if the server has already started or
- it is shutting down.
-
-
-
- One of the
- enum values.
-
-
- It represents the scheme used to authenticate the clients.
-
-
- The default value is
- .
-
-
-
-
-
- Gets a value indicating whether the server has started.
-
-
- true if the server has started; otherwise, false.
-
-
-
-
- Gets a value indicating whether the server provides
- secure connections.
-
-
- true if the server provides secure connections;
- otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether the server cleans up
- the inactive sessions periodically.
-
-
- The set operation does nothing if the server has already started or
- it is shutting down.
-
-
-
- true if the server cleans up the inactive sessions every
- 60 seconds; otherwise, false.
-
-
- The default value is true.
-
-
-
-
-
- Gets the logging function for the server.
-
-
- The default logging level is .
-
-
- A that provides the logging function.
-
-
-
-
- Gets the port of the server.
-
-
- An that represents the number of the port
- on which to listen for incoming handshake requests.
-
-
-
-
- Gets or sets the realm used for authentication.
-
-
-
- "SECRET AREA" is used as the realm if the value is
- or an empty string.
-
-
- The set operation does nothing if the server has
- already started or it is shutting down.
-
-
-
-
- A or by default.
-
-
- That string represents the name of the realm.
-
-
-
-
-
- Gets or sets a value indicating whether the server is allowed to
- be bound to an address that is already in use.
-
-
-
- You should set this property to true if you would
- like to resolve to wait for socket in TIME_WAIT state.
-
-
- The set operation does nothing if the server has already
- started or it is shutting down.
-
-
-
-
- true if the server is allowed to be bound to an address
- that is already in use; otherwise, false.
-
-
- The default value is false.
-
-
-
-
-
- Gets the configuration for secure connections.
-
-
- This configuration will be referenced when attempts to start,
- so it must be configured before the start method is called.
-
-
- A that represents
- the configuration used to provide secure connections.
-
-
- This instance does not provide secure connections.
-
-
-
-
- Gets or sets the delegate used to find the credentials
- for an identity.
-
-
-
- No credentials are found if the method invoked by
- the delegate returns or
- the value is .
-
-
- The set operation does nothing if the server has
- already started or it is shutting down.
-
-
-
-
- A Func<,
- > delegate or
- if not needed.
-
-
- That delegate invokes the method called for finding
- the credentials used to authenticate a client.
-
-
- The default value is .
-
-
-
-
-
- Gets or sets the time to wait for the response to the WebSocket Ping or
- Close.
-
-
- The set operation does nothing if the server has already started or
- it is shutting down.
-
-
-
- A to wait for the response.
-
-
- The default value is the same as 1 second.
-
-
-
- The value specified for a set operation is zero or less.
-
-
-
-
- Gets the management function for the WebSocket services
- provided by the server.
-
-
- A that manages
- the WebSocket services provided by the server.
-
-
-
-
- Adds a WebSocket service with the specified behavior,
- , and .
-
-
- is converted to a URL-decoded string and
- '/' is trimmed from the end of the converted string if any.
-
-
- A that represents an absolute path to
- the service to add.
-
-
-
- A Func<TBehavior> delegate.
-
-
- It invokes the method called for creating a new session
- instance for the service.
-
-
- The method must create a new instance of the specified
- behavior class and return it.
-
-
-
-
- The type of the behavior for the service.
-
-
- It must inherit the class.
-
-
-
-
- is .
-
-
- -or-
-
-
- is .
-
-
-
-
- is an empty string.
-
-
- -or-
-
-
- is not an absolute path.
-
-
- -or-
-
-
- includes either or both
- query and fragment components.
-
-
- -or-
-
-
- is already in use.
-
-
-
-
-
- Adds a WebSocket service with the specified behavior and
- .
-
-
- is converted to a URL-decoded string and
- '/' is trimmed from the end of the converted string if any.
-
-
- A that represents an absolute path to
- the service to add.
-
-
-
- The type of the behavior for the service.
-
-
- It must inherit the class and
- have a public parameterless constructor.
-
-
-
- is .
-
-
-
- is an empty string.
-
-
- -or-
-
-
- is not an absolute path.
-
-
- -or-
-
-
- includes either or both
- query and fragment components.
-
-
- -or-
-
-
- is already in use.
-
-
-
-
-
- Adds a WebSocket service with the specified behavior,
- , and .
-
-
- is converted to a URL-decoded string and
- '/' is trimmed from the end of the converted string if any.
-
-
- A that represents an absolute path to
- the service to add.
-
-
-
- An Action<TBehaviorWithNew> delegate or
- if not needed.
-
-
- That delegate invokes the method called for initializing
- a new session instance for the service.
-
-
-
-
- The type of the behavior for the service.
-
-
- It must inherit the class and
- have a public parameterless constructor.
-
-
-
- is .
-
-
-
- is an empty string.
-
-
- -or-
-
-
- is not an absolute path.
-
-
- -or-
-
-
- includes either or both
- query and fragment components.
-
-
- -or-
-
-
- is already in use.
-
-
-
-
-
- Removes a WebSocket service with the specified .
-
-
-
- is converted to a URL-decoded string and
- '/' is trimmed from the end of the converted string if any.
-
-
- The service is stopped with close status 1001 (going away)
- if it has already started.
-
-
-
- true if the service is successfully found and removed;
- otherwise, false.
-
-
- A that represents an absolute path to
- the service to remove.
-
-
- is .
-
-
-
- is an empty string.
-
-
- -or-
-
-
- is not an absolute path.
-
-
- -or-
-
-
- includes either or both
- query and fragment components.
-
-
-
-
-
- Starts receiving incoming handshake requests.
-
-
- This method does nothing if the server has already started or
- it is shutting down.
-
-
-
- There is no server certificate for secure connections.
-
-
- -or-
-
-
- The underlying has failed to start.
-
-
-
-
-
- Stops receiving incoming handshake requests and closes
- each connection.
-
-
- This method does nothing if the server is not started,
- it is shutting down, or it has already stopped.
-
-
- The underlying has failed to stop.
-
-
-
-
- Stops receiving incoming handshake requests and closes each
- connection with the specified and
- .
-
-
- This method does nothing if the server is not started,
- it is shutting down, or it has already stopped.
-
-
-
- A that represents the status code
- indicating the reason for the close.
-
-
- The status codes are defined in
-
- Section 7.4 of RFC 6455.
-
-
-
-
- A that represents the reason for the close.
-
-
- The size must be 123 bytes or less in UTF-8.
-
-
-
-
- is less than 1000 or greater than 4999.
-
-
- -or-
-
-
- The size of is greater than 123 bytes.
-
-
-
-
- is 1010 (mandatory extension).
-
-
- -or-
-
-
- is 1005 (no status) and
- there is .
-
-
- -or-
-
-
- could not be UTF-8-encoded.
-
-
-
- The underlying has failed to stop.
-
-
-
-
- Stops receiving incoming handshake requests and closes each
- connection with the specified and
- .
-
-
- This method does nothing if the server is not started,
- it is shutting down, or it has already stopped.
-
-
-
- One of the enum values.
-
-
- It represents the status code indicating the reason for the close.
-
-
-
-
- A that represents the reason for the close.
-
-
- The size must be 123 bytes or less in UTF-8.
-
-
-
-
- is
- .
-
-
- -or-
-
-
- is
- and
- there is .
-
-
- -or-
-
-
- could not be UTF-8-encoded.
-
-
-
- The size of is greater than 123 bytes.
-
-
- The underlying has failed to stop.
-
-
-
-
- Exposes the methods and properties used to access the information in
- a WebSocket service provided by the or
- .
-
-
- This class is an abstract class.
-
-
-
-
- Initializes a new instance of the class
- with the specified and .
-
-
- A that represents the absolute path to the service.
-
-
- A that represents the logging function for the service.
-
-
-
-
- Gets the logging function for the service.
-
-
- A that provides the logging function.
-
-
-
-
- Gets or sets a value indicating whether the service cleans up
- the inactive sessions periodically.
-
-
- The set operation does nothing if the service has already started or
- it is shutting down.
-
-
- true if the service cleans up the inactive sessions every
- 60 seconds; otherwise, false.
-
-
-
-
- Gets the path to the service.
-
-
- A that represents the absolute path to
- the service.
-
-
-
-
- Gets the management function for the sessions in the service.
-
-
- A that manages the sessions in
- the service.
-
-
-
-
- Gets the of the behavior of the service.
-
-
- A that represents the type of the behavior of
- the service.
-
-
-
-
- Gets or sets the time to wait for the response to the WebSocket Ping or
- Close.
-
-
- The set operation does nothing if the service has already started or
- it is shutting down.
-
-
- A to wait for the response.
-
-
- The value specified for a set operation is zero or less.
-
-
-
-
- Creates a new session for the service.
-
-
- A instance that represents
- the new session.
-
-
-
-
- Provides the management function for the WebSocket services.
-
-
- This class manages the WebSocket services provided by
- the or .
-
-
-
-
- Gets the number of the WebSocket services.
-
-
- An that represents the number of the services.
-
-
-
-
- Gets the host instances for the WebSocket services.
-
-
-
- An IEnumerable<WebSocketServiceHost> instance.
-
-
- It provides an enumerator which supports the iteration over
- the collection of the host instances.
-
-
-
-
-
- Gets the host instance for a WebSocket service with
- the specified .
-
-
- is converted to a URL-decoded string and
- / is trimmed from the end of the converted string if any.
-
-
-
- A instance or
- if not found.
-
-
- That host instance provides the function to access
- the information in the service.
-
-
-
- A that represents an absolute path to
- the service to find.
-
-
- is .
-
-
-
- is empty.
-
-
- -or-
-
-
- is not an absolute path.
-
-
- -or-
-
-
- includes either or both
- query and fragment components.
-
-
-
-
-
- Gets or sets a value indicating whether the inactive sessions in
- the WebSocket services are cleaned up periodically.
-
-
- The set operation does nothing if the server has already started or
- it is shutting down.
-
-
- true if the inactive sessions are cleaned up every 60 seconds;
- otherwise, false.
-
-
-
-
- Gets the paths for the WebSocket services.
-
-
-
- An IEnumerable<string> instance.
-
-
- It provides an enumerator which supports the iteration over
- the collection of the paths.
-
-
-
-
-
- Gets the total number of the sessions in the WebSocket services.
-
-
- An that represents the total number of
- the sessions in the services.
-
-
-
-
- Gets or sets the time to wait for the response to the WebSocket Ping or
- Close.
-
-
- The set operation does nothing if the server has already started or
- it is shutting down.
-
-
- A to wait for the response.
-
-
- The value specified for a set operation is zero or less.
-
-
-
-
- Adds a WebSocket service with the specified behavior,
- , and .
-
-
- is converted to a URL-decoded string and
- / is trimmed from the end of the converted string if any.
-
-
- A that represents an absolute path to
- the service to add.
-
-
-
- An Action<TBehavior> delegate or
- if not needed.
-
-
- That delegate invokes the method called for initializing
- a new session instance for the service.
-
-
-
- The type of the behavior for the service. It must inherit
- the class and it must have
- a public parameterless constructor.
-
-
- is .
-
-
-
- is empty.
-
-
- -or-
-
-
- is not an absolute path.
-
-
- -or-
-
-
- includes either or both
- query and fragment components.
-
-
- -or-
-
-
- is already in use.
-
-
-
-
-
- Sends to every client in the WebSocket services.
-
-
- An array of that represents the binary data to send.
-
-
- The current state of the manager is not Start.
-
-
- is .
-
-
-
-
- Sends to every client in the WebSocket services.
-
-
- A that represents the text data to send.
-
-
- The current state of the manager is not Start.
-
-
- is .
-
-
- could not be UTF-8-encoded.
-
-
-
-
- Sends asynchronously to every client in
- the WebSocket services.
-
-
- This method does not wait for the send to be complete.
-
-
- An array of that represents the binary data to send.
-
-
-
- An delegate or
- if not needed.
-
-
- The delegate invokes the method called when the send is complete.
-
-
-
- The current state of the manager is not Start.
-
-
- is .
-
-
-
-
- Sends asynchronously to every client in
- the WebSocket services.
-
-
- This method does not wait for the send to be complete.
-
-
- A that represents the text data to send.
-
-
-
- An delegate or
- if not needed.
-
-
- The delegate invokes the method called when the send is complete.
-
-
-
- The current state of the manager is not Start.
-
-
- is .
-
-
- could not be UTF-8-encoded.
-
-
-
-
- Sends the data from asynchronously to
- every client in the WebSocket services.
-
-
-
- The data is sent as the binary data.
-
-
- This method does not wait for the send to be complete.
-
-
-
- A instance from which to read the data to send.
-
-
- An that specifies the number of bytes to send.
-
-
-
- An delegate or
- if not needed.
-
-
- The delegate invokes the method called when the send is complete.
-
-
-
- The current state of the manager is not Start.
-
-
- is .
-
-
-
- cannot be read.
-
-
- -or-
-
-
- is less than 1.
-
-
- -or-
-
-
- No data could be read from .
-
-
-
-
-
- Sends a ping to every client in the WebSocket services.
-
-
-
- A Dictionary<string, Dictionary<string, bool>>.
-
-
- It represents a collection of pairs of a service path and another
- collection of pairs of a session ID and a value indicating whether
- a pong has been received from the client within a time.
-
-
-
- The current state of the manager is not Start.
-
-
-
-
- Sends a ping with to every client in
- the WebSocket services.
-
-
-
- A Dictionary<string, Dictionary<string, bool>>.
-
-
- It represents a collection of pairs of a service path and another
- collection of pairs of a session ID and a value indicating whether
- a pong has been received from the client within a time.
-
-
-
-
- A that represents the message to send.
-
-
- The size must be 125 bytes or less in UTF-8.
-
-
-
- The current state of the manager is not Start.
-
-
- could not be UTF-8-encoded.
-
-
- The size of is greater than 125 bytes.
-
-
-
-
- Removes all WebSocket services managed by the manager.
-
-
- A service is stopped with close status 1001 (going away)
- if it has already started.
-
-
-
-
- Removes a WebSocket service with the specified .
-
-
-
- is converted to a URL-decoded string and
- / is trimmed from the end of the converted string if any.
-
-
- The service is stopped with close status 1001 (going away)
- if it has already started.
-
-
-
- true if the service is successfully found and removed;
- otherwise, false.
-
-
- A that represents an absolute path to
- the service to remove.
-
-
- is .
-
-
-
- is empty.
-
-
- -or-
-
-
- is not an absolute path.
-
-
- -or-
-
-
- includes either or both
- query and fragment components.
-
-
-
-
-
- Tries to get the host instance for a WebSocket service with
- the specified .
-
-
- is converted to a URL-decoded string and
- / is trimmed from the end of the converted string if any.
-
-
- true if the service is successfully found;
- otherwise, false.
-
-
- A that represents an absolute path to
- the service to find.
-
-
-
- When this method returns, a
- instance or if not found.
-
-
- That host instance provides the function to access
- the information in the service.
-
-
-
- is .
-
-
-
- is empty.
-
-
- -or-
-
-
- is not an absolute path.
-
-
- -or-
-
-
- includes either or both
- query and fragment components.
-
-
-
-
-
- Provides the management function for the sessions in a WebSocket service.
-
-
- This class manages the sessions in a WebSocket service provided by
- the or .
-
-
-
-
- Gets the IDs for the active sessions in the WebSocket service.
-
-
-
- An IEnumerable<string> instance.
-
-
- It provides an enumerator which supports the iteration over
- the collection of the IDs for the active sessions.
-
-
-
-
-
- Gets the number of the sessions in the WebSocket service.
-
-
- An that represents the number of the sessions.
-
-
-
-
- Gets the IDs for the sessions in the WebSocket service.
-
-
-
- An IEnumerable<string> instance.
-
-
- It provides an enumerator which supports the iteration over
- the collection of the IDs for the sessions.
-
-
-
-
-
- Gets the IDs for the inactive sessions in the WebSocket service.
-
-
-
- An IEnumerable<string> instance.
-
-
- It provides an enumerator which supports the iteration over
- the collection of the IDs for the inactive sessions.
-
-
-
-
-
- Gets the session instance with .
-
-
-
- A instance or
- if not found.
-
-
- The session instance provides the function to access the information
- in the session.
-
-
-
- A that represents the ID of the session to find.
-
-
- is .
-
-
- is an empty string.
-
-
-
-
- Gets or sets a value indicating whether the inactive sessions in
- the WebSocket service are cleaned up periodically.
-
-
- The set operation does nothing if the service has already started or
- it is shutting down.
-
-
- true if the inactive sessions are cleaned up every 60 seconds;
- otherwise, false.
-
-
-
-
- Gets the session instances in the WebSocket service.
-
-
-
- An IEnumerable<IWebSocketSession> instance.
-
-
- It provides an enumerator which supports the iteration over
- the collection of the session instances.
-
-
-
-
-
- Gets or sets the time to wait for the response to the WebSocket Ping or
- Close.
-
-
- The set operation does nothing if the service has already started or
- it is shutting down.
-
-
- A to wait for the response.
-
-
- The value specified for a set operation is zero or less.
-
-
-
-
- Sends to every client in the WebSocket service.
-
-
- An array of that represents the binary data to send.
-
-
- The current state of the manager is not Start.
-
-
- is .
-
-
-
-
- Sends to every client in the WebSocket service.
-
-
- A that represents the text data to send.
-
-
- The current state of the manager is not Start.
-
-
- is .
-
-
- could not be UTF-8-encoded.
-
-
-
-
- Sends the data from to every client in
- the WebSocket service.
-
-
- The data is sent as the binary data.
-
-
- A instance from which to read the data to send.
-
-
- An that specifies the number of bytes to send.
-
-
- The current state of the manager is not Start.
-
-
- is .
-
-
-
- cannot be read.
-
-
- -or-
-
-
- is less than 1.
-
-
- -or-
-
-
- No data could be read from .
-
-
-
-
-
- Sends asynchronously to every client in
- the WebSocket service.
-
-
- This method does not wait for the send to be complete.
-
-
- An array of that represents the binary data to send.
-
-
-
- An delegate or
- if not needed.
-
-
- The delegate invokes the method called when the send is complete.
-
-
-
- The current state of the manager is not Start.
-
-
- is .
-
-
-
-
- Sends asynchronously to every client in
- the WebSocket service.
-
-
- This method does not wait for the send to be complete.
-
-
- A that represents the text data to send.
-
-
-
- An delegate or
- if not needed.
-
-
- The delegate invokes the method called when the send is complete.
-
-
-
- The current state of the manager is not Start.
-
-
- is .
-
-
- could not be UTF-8-encoded.
-
-
-
-
- Sends the data from asynchronously to
- every client in the WebSocket service.
-
-
-
- The data is sent as the binary data.
-
-
- This method does not wait for the send to be complete.
-
-
-
- A instance from which to read the data to send.
-
-
- An that specifies the number of bytes to send.
-
-
-
- An delegate or
- if not needed.
-
-
- The delegate invokes the method called when the send is complete.
-
-
-
- The current state of the manager is not Start.
-
-
- is .
-
-
-
- cannot be read.
-
-
- -or-
-
-
- is less than 1.
-
-
- -or-
-
-
- No data could be read from .
-
-
-
-
-
- Sends a ping to every client in the WebSocket service.
-
-
-
- A Dictionary<string, bool>.
-
-
- It represents a collection of pairs of a session ID and
- a value indicating whether a pong has been received from
- the client within a time.
-
-
-
- The current state of the manager is not Start.
-
-
-
-
- Sends a ping with to every client in
- the WebSocket service.
-
-
-
- A Dictionary<string, bool>.
-
-
- It represents a collection of pairs of a session ID and
- a value indicating whether a pong has been received from
- the client within a time.
-
-
-
-
- A that represents the message to send.
-
-
- The size must be 125 bytes or less in UTF-8.
-
-
-
- The current state of the manager is not Start.
-
-
- could not be UTF-8-encoded.
-
-
- The size of is greater than 125 bytes.
-
-
-
-
- Closes the specified session.
-
-
- A that represents the ID of the session to close.
-
-
- is .
-
-
- is an empty string.
-
-
- The session could not be found.
-
-
-
-
- Closes the specified session with and
- .
-
-
- A that represents the ID of the session to close.
-
-
-
- A that represents the status code indicating
- the reason for the close.
-
-
- The status codes are defined in
-
- Section 7.4 of RFC 6455.
-
-
-
-
- A that represents the reason for the close.
-
-
- The size must be 123 bytes or less in UTF-8.
-
-
-
- is .
-
-
-
- is an empty string.
-
-
- -or-
-
-
- is 1010 (mandatory extension).
-
-
- -or-
-
-
- is 1005 (no status) and there is
- .
-
-
- -or-
-
-
- could not be UTF-8-encoded.
-
-
-
- The session could not be found.
-
-
-
- is less than 1000 or greater than 4999.
-
-
- -or-
-
-
- The size of is greater than 123 bytes.
-
-
-
-
-
- Closes the specified session with and
- .
-
-
- A that represents the ID of the session to close.
-
-
-
- One of the enum values.
-
-
- It represents the status code indicating the reason for the close.
-
-
-
-
- A that represents the reason for the close.
-
-
- The size must be 123 bytes or less in UTF-8.
-
-
-
- is .
-
-
-
- is an empty string.
-
-
- -or-
-
-
- is
- .
-
-
- -or-
-
-
- is
- and there is
- .
-
-
- -or-
-
-
- could not be UTF-8-encoded.
-
-
-
- The session could not be found.
-
-
- The size of is greater than 123 bytes.
-
-
-
-
- Sends a ping to the client using the specified session.
-
-
- true if the send has done with no error and a pong has been
- received from the client within a time; otherwise, false.
-
-
- A that represents the ID of the session.
-
-
- is .
-
-
- is an empty string.
-
-
- The session could not be found.
-
-
-
-
- Sends a ping with to the client using
- the specified session.
-
-
- true if the send has done with no error and a pong has been
- received from the client within a time; otherwise, false.
-
-
-
- A that represents the message to send.
-
-
- The size must be 125 bytes or less in UTF-8.
-
-
-
- A that represents the ID of the session.
-
-
- is .
-
-
-
- is an empty string.
-
-
- -or-
-
-
- could not be UTF-8-encoded.
-
-
-
- The session could not be found.
-
-
- The size of is greater than 125 bytes.
-
-
-
-
- Sends to the client using the specified session.
-
-
- An array of that represents the binary data to send.
-
-
- A that represents the ID of the session.
-
-
-
- is .
-
-
- -or-
-
-
- is .
-
-
-
- is an empty string.
-
-
-
- The session could not be found.
-
-
- -or-
-
-
- The current state of the WebSocket connection is not Open.
-
-
-
-
-
- Sends to the client using the specified session.
-
-
- A that represents the text data to send.
-
-
- A that represents the ID of the session.
-
-
-
- is .
-
-
- -or-
-
-
- is .
-
-
-
-
- is an empty string.
-
-
- -or-
-
-
- could not be UTF-8-encoded.
-
-
-
-
- The session could not be found.
-
-
- -or-
-
-
- The current state of the WebSocket connection is not Open.
-
-
-
-
-
- Sends the data from to the client using
- the specified session.
-
-
- The data is sent as the binary data.
-
-
- A instance from which to read the data to send.
-
-
- An that specifies the number of bytes to send.
-
-
- A that represents the ID of the session.
-
-
-
- is .
-
-
- -or-
-
-
- is .
-
-
-
-
- is an empty string.
-
-
- -or-
-
-
- cannot be read.
-
-
- -or-
-
-
- is less than 1.
-
-
- -or-
-
-
- No data could be read from .
-
-
-
-
- The session could not be found.
-
-
- -or-
-
-
- The current state of the WebSocket connection is not Open.
-
-
-
-
-
- Sends asynchronously to the client using
- the specified session.
-
-
- This method does not wait for the send to be complete.
-
-
- An array of that represents the binary data to send.
-
-
- A that represents the ID of the session.
-
-
-
- An Action<bool> delegate or
- if not needed.
-
-
- The delegate invokes the method called when the send is complete.
-
-
- true is passed to the method if the send has done with
- no error; otherwise, false.
-
-
-
-
- is .
-
-
- -or-
-
-
- is .
-
-
-
- is an empty string.
-
-
-
- The session could not be found.
-
-
- -or-
-
-
- The current state of the WebSocket connection is not Open.
-
-
-
-
-
- Sends asynchronously to the client using
- the specified session.
-
-
- This method does not wait for the send to be complete.
-
-
- A that represents the text data to send.
-
-
- A that represents the ID of the session.
-
-
-
- An Action<bool> delegate or
- if not needed.
-
-
- The delegate invokes the method called when the send is complete.
-
-
- true is passed to the method if the send has done with
- no error; otherwise, false.
-
-
-
-
- is .
-
-
- -or-
-
-
- is .
-
-
-
-
- is an empty string.
-
-
- -or-
-
-
- could not be UTF-8-encoded.
-
-
-
-
- The session could not be found.
-
-
- -or-
-
-
- The current state of the WebSocket connection is not Open.
-
-
-
-
-
- Sends the data from asynchronously to
- the client using the specified session.
-
-
-
- The data is sent as the binary data.
-
-
- This method does not wait for the send to be complete.
-
-
-
- A instance from which to read the data to send.
-
-
- An that specifies the number of bytes to send.
-
-
- A that represents the ID of the session.
-
-
-
- An Action<bool> delegate or
- if not needed.
-
-
- The delegate invokes the method called when the send is complete.
-
-
- true is passed to the method if the send has done with
- no error; otherwise, false.
-
-
-
-
- is .
-
-
- -or-
-
-
- is .
-
-
-
-
- is an empty string.
-
-
- -or-
-
-
- cannot be read.
-
-
- -or-
-
-
- is less than 1.
-
-
- -or-
-
-
- No data could be read from .
-
-
-
-
- The session could not be found.
-
-
- -or-
-
-
- The current state of the WebSocket connection is not Open.
-
-
-
-
-
- Cleans up the inactive sessions in the WebSocket service.
-
-
-
-
- Tries to get the session instance with .
-
-
- true if the session is successfully found; otherwise,
- false.
-
-
- A that represents the ID of the session to find.
-
-
-
- When this method returns, a
- instance or if not found.
-
-
- The session instance provides the function to access
- the information in the session.
-
-
-
- is .
-
-
- is an empty string.
-
-
-
-
- Implements the WebSocket interface.
-
-
- The WebSocket class provides a set of methods and properties for two-way communication using
- the WebSocket protocol (RFC 6455).
-
-
-
-
- Represents the empty array of used internally.
-
-
-
-
- Represents the length used to determine whether the data should be fragmented in sending.
-
-
-
- The data will be fragmented if that length is greater than the value of this field.
-
-
- If you would like to change the value, you must set it to a value between 125 and
- Int32.MaxValue - 14 inclusive.
-
-
-
-
-
- Represents the random number generator used internally.
-
-
-
-
- Initializes a new instance of the class with
- and .
-
-
- A that specifies the URL of the WebSocket
- server to connect.
-
-
-
- An array of that specifies the names of
- the subprotocols if necessary.
-
-
- Each value of the array must be a token defined in
-
- RFC 2616.
-
-
-
- is .
-
-
-
- is an empty string.
-
-
- -or-
-
-
- is an invalid WebSocket URL string.
-
-
- -or-
-
-
- contains a value that is not a token.
-
-
- -or-
-
-
- contains a value twice.
-
-
-
-
-
- Gets or sets the compression method used to compress a message.
-
-
- The set operation does nothing if the connection has already been
- established or it is closing.
-
-
-
- One of the enum values.
-
-
- It represents the compression method used to compress a message.
-
-
- The default value is .
-
-
-
- The set operation cannot be used by servers.
-
-
-
-
- Gets the HTTP cookies included in the WebSocket handshake request and response.
-
-
- An
- instance that provides an enumerator which supports the iteration over the collection of
- the cookies.
-
-
-
-
- Gets the credentials for the HTTP authentication (Basic/Digest).
-
-
- A that represents the credentials for
- the authentication. The default value is .
-
-
-
-
- Gets or sets a value indicating whether the emits
- a event when receives a ping.
-
-
- true if the emits a event
- when receives a ping; otherwise, false. The default value is false.
-
-
-
-
- Gets or sets a value indicating whether the URL redirection for
- the handshake request is allowed.
-
-
- The set operation does nothing if the connection has already been
- established or it is closing.
-
-
-
- true if the URL redirection for the handshake request is
- allowed; otherwise, false.
-
-
- The default value is false.
-
-
-
- The set operation cannot be used by servers.
-
-
-
-
- Gets the WebSocket extensions selected by the server.
-
-
- A that represents the extensions if any.
- The default value is .
-
-
-
-
- Gets a value indicating whether the WebSocket connection is alive.
-
-
- true if the connection is alive; otherwise, false.
-
-
-
-
- Gets a value indicating whether the WebSocket connection is secure.
-
-
- true if the connection is secure; otherwise, false.
-
-
-
-
- Gets the logging functions.
-
-
- The default logging level is . If you would like to change it,
- you should set this Log.Level property to any of the enum
- values.
-
-
- A that provides the logging functions.
-
-
-
-
- Gets or sets the value of the HTTP Origin header to send with
- the handshake request.
-
-
-
- The HTTP Origin header is defined in
-
- Section 7 of RFC 6454.
-
-
- This instance sends the Origin header if this property has any.
-
-
- The set operation does nothing if the connection has already been
- established or it is closing.
-
-
-
-
- A that represents the value of the Origin
- header to send.
-
-
- The syntax is <scheme>://<host>[:<port>].
-
-
- The default value is .
-
-
-
- The set operation is not available if this instance is not a client.
-
-
-
- The value specified for a set operation is not an absolute URI string.
-
-
- -or-
-
-
- The value specified for a set operation includes the path segments.
-
-
-
-
-
- Gets the WebSocket subprotocol selected by the server.
-
-
- A that represents the subprotocol if any.
- The default value is .
-
-
-
-
- Gets the state of the WebSocket connection.
-
-
- One of the enum values that indicates
- the current state of the connection. The default value is
- .
-
-
-
-
- Gets the configuration for secure connection.
-
-
- This configuration will be referenced when attempts to connect,
- so it must be configured before any connect method is called.
-
-
- A that represents
- the configuration used to establish a secure connection.
-
-
-
- This instance is not a client.
-
-
- This instance does not use a secure connection.
-
-
-
-
-
- Gets the WebSocket URL used to connect, or accepted.
-
-
- A that represents the URL used to connect, or accepted.
-
-
-
-
- Gets or sets the time to wait for the response to the ping or close.
-
-
- The set operation does nothing if the connection has already been
- established or it is closing.
-
-
-
- A to wait for the response.
-
-
- The default value is the same as 5 seconds if the instance is
- a client.
-
-
-
- The value specified for a set operation is zero or less.
-
-
-
-
- Occurs when the WebSocket connection has been closed.
-
-
-
-
- Occurs when the gets an error.
-
-
-
-
- Occurs when the receives a message.
-
-
-
-
- Occurs when the WebSocket connection has been established.
-
-
-
-
- Accepts the WebSocket handshake request.
-
-
- This method is not available in a client.
-
-
-
-
- Accepts the WebSocket handshake request asynchronously.
-
-
-
- This method does not wait for the accept to be complete.
-
-
- This method is not available in a client.
-
-
-
-
-
- Closes the connection.
-
-
- This method does nothing if the current state of the connection is
- Closing or Closed.
-
-
-
-
- Closes the connection with the specified .
-
-
- This method does nothing if the current state of the connection is
- Closing or Closed.
-
-
-
- A that represents the status code
- indicating the reason for the close.
-
-
- The status codes are defined in
-
- Section 7.4 of RFC 6455.
-
-
-
- is less than 1000 or greater than 4999.
-
-
-
- is 1011 (server error).
- It cannot be used by clients.
-
-
- -or-
-
-
- is 1010 (mandatory extension).
- It cannot be used by servers.
-
-
-
-
-
- Closes the connection with the specified .
-
-
- This method does nothing if the current state of the connection is
- Closing or Closed.
-
-
-
- One of the enum values.
-
-
- It represents the status code indicating the reason for the close.
-
-
-
-
- is
- .
- It cannot be used by clients.
-
-
- -or-
-
-
- is
- .
- It cannot be used by servers.
-
-
-
-
-
- Closes the connection with the specified and
- .
-
-
- This method does nothing if the current state of the connection is
- Closing or Closed.
-
-
-
- A that represents the status code
- indicating the reason for the close.
-
-
- The status codes are defined in
-
- Section 7.4 of RFC 6455.
-
-
-
-
- A that represents the reason for the close.
-
-
- The size must be 123 bytes or less in UTF-8.
-
-
-
-
- is less than 1000 or greater than 4999.
-
-
- -or-
-
-
- The size of is greater than 123 bytes.
-
-
-
-
- is 1011 (server error).
- It cannot be used by clients.
-
-
- -or-
-
-
- is 1010 (mandatory extension).
- It cannot be used by servers.
-
-
- -or-
-
-
- is 1005 (no status) and
- there is .
-
-
- -or-
-
-
- could not be UTF-8-encoded.
-
-
-
-
-
- Closes the connection with the specified and
- .
-
-
- This method does nothing if the current state of the connection is
- Closing or Closed.
-
-
-
- One of the enum values.
-
-
- It represents the status code indicating the reason for the close.
-
-
-
-
- A that represents the reason for the close.
-
-
- The size must be 123 bytes or less in UTF-8.
-
-
-
-
- is
- .
- It cannot be used by clients.
-
-
- -or-
-
-
- is
- .
- It cannot be used by servers.
-
-
- -or-
-
-
- is
- and
- there is .
-
-
- -or-
-
-
- could not be UTF-8-encoded.
-
-
-
- The size of is greater than 123 bytes.
-
-
-
-
- Closes the connection asynchronously.
-
-
-
- This method does not wait for the close to be complete.
-
-
- And this method does nothing if the current state of
- the connection is Closing or Closed.
-
-
-
-
-
- Closes the connection asynchronously with the specified
- .
-
-
-
- This method does not wait for the close to be complete.
-
-
- And this method does nothing if the current state of
- the connection is Closing or Closed.
-
-
-
-
- A that represents the status code
- indicating the reason for the close.
-
-
- The status codes are defined in
-
- Section 7.4 of RFC 6455.
-
-
-
- is less than 1000 or greater than 4999.
-
-
-
- is 1011 (server error).
- It cannot be used by clients.
-
-
- -or-
-
-
- is 1010 (mandatory extension).
- It cannot be used by servers.
-
-
-
-
-
- Closes the connection asynchronously with the specified
- .
-
-
-
- This method does not wait for the close to be complete.
-
-
- And this method does nothing if the current state of
- the connection is Closing or Closed.
-
-
-
-
- One of the enum values.
-
-
- It represents the status code indicating the reason for the close.
-
-
-
-
- is
- .
- It cannot be used by clients.
-
-
- -or-
-
-
- is
- .
- It cannot be used by servers.
-
-
-
-
-
- Closes the connection asynchronously with the specified
- and .
-
-
-
- This method does not wait for the close to be complete.
-
-
- And this method does nothing if the current state of
- the connection is Closing or Closed.
-
-
-
-
- A that represents the status code
- indicating the reason for the close.
-
-
- The status codes are defined in
-
- Section 7.4 of RFC 6455.
-
-
-
-
- A that represents the reason for the close.
-
-
- The size must be 123 bytes or less in UTF-8.
-
-
-
-
- is less than 1000 or greater than 4999.
-
-
- -or-
-
-
- The size of is greater than 123 bytes.
-
-
-
-
- is 1011 (server error).
- It cannot be used by clients.
-
-
- -or-
-
-
- is 1010 (mandatory extension).
- It cannot be used by servers.
-
-
- -or-
-
-
- is 1005 (no status) and
- there is .
-
-
- -or-
-
-
- could not be UTF-8-encoded.
-
-
-
-
-
- Closes the connection asynchronously with the specified
- and .
-
-
-
- This method does not wait for the close to be complete.
-
-
- And this method does nothing if the current state of
- the connection is Closing or Closed.
-
-
-
-
- One of the enum values.
-
-
- It represents the status code indicating the reason for the close.
-
-
-
-
- A that represents the reason for the close.
-
-
- The size must be 123 bytes or less in UTF-8.
-
-
-
-
- is
- .
- It cannot be used by clients.
-
-
- -or-
-
-
- is
- .
- It cannot be used by servers.
-
-
- -or-
-
-
- is
- and
- there is .
-
-
- -or-
-
-
- could not be UTF-8-encoded.
-
-
-
- The size of is greater than 123 bytes.
-
-
-
-
- Establishes a WebSocket connection.
-
-
- This method is not available in a server.
-
-
-
-
- Establishes a WebSocket connection asynchronously.
-
-
-
- This method does not wait for the connect to be complete.
-
-
- This method is not available in a server.
-
-
-
-
-
- Sends a ping using the WebSocket connection.
-
-
- true if the send has done with no error and a pong has been
- received within a time; otherwise, false.
-
-
-
-
- Sends a ping with using the WebSocket
- connection.
-
-
- true if the send has done with no error and a pong has been
- received within a time; otherwise, false.
-
-
-
- A that represents the message to send.
-
-
- The size must be 125 bytes or less in UTF-8.
-
-
-
- could not be UTF-8-encoded.
-
-
- The size of is greater than 125 bytes.
-
-
-
-
- Sends using the WebSocket connection.
-
-
- An array of that represents the binary data to send.
-
-
- The current state of the connection is not Open.
-
-
- is .
-
-
-
-
- Sends the specified file using the WebSocket connection.
-
-
- The file is sent as the binary data.
-
-
- A that specifies the file to send.
-
-
- The current state of the connection is not Open.
-
-
- is .
-
-
-
- The file does not exist.
-
-
- -or-
-
-
- The file could not be opened.
-
-
-
-
-
- Sends using the WebSocket connection.
-
-
- A that represents the text data to send.
-
-
- The current state of the connection is not Open.
-
-
- is .
-
-
- could not be UTF-8-encoded.
-
-
-
-
- Sends the data from using the WebSocket
- connection.
-
-
- The data is sent as the binary data.
-
-
- A instance from which to read the data to send.
-
-
- An that specifies the number of bytes to send.
-
-
- The current state of the connection is not Open.
-
-
- is .
-
-
-
- cannot be read.
-
-
- -or-
-
-
- is less than 1.
-
-
- -or-
-
-
- No data could be read from .
-
-
-
-
-
- Sends asynchronously using the WebSocket
- connection.
-
-
- This method does not wait for the send to be complete.
-
-
- An array of that represents the binary data to send.
-
-
-
- An Action<bool> delegate or
- if not needed.
-
-
- The delegate invokes the method called when the send is complete.
-
-
- true is passed to the method if the send has done with
- no error; otherwise, false.
-
-
-
- The current state of the connection is not Open.
-
-
- is .
-
-
-
-
- Sends the specified file asynchronously using the WebSocket connection.
-
-
-
- The file is sent as the binary data.
-
-
- This method does not wait for the send to be complete.
-
-
-
- A that specifies the file to send.
-
-
-
- An Action<bool> delegate or
- if not needed.
-
-
- The delegate invokes the method called when the send is complete.
-
-
- true is passed to the method if the send has done with
- no error; otherwise, false.
-
-
-
- The current state of the connection is not Open.
-
-
- is .
-
-
-
- The file does not exist.
-
-
- -or-
-
-
- The file could not be opened.
-
-
-
-
-
- Sends asynchronously using the WebSocket
- connection.
-
-
- This method does not wait for the send to be complete.
-
-
- A that represents the text data to send.
-
-
-
- An Action<bool> delegate or
- if not needed.
-
-
- The delegate invokes the method called when the send is complete.
-
-
- true is passed to the method if the send has done with
- no error; otherwise, false.
-
-
-
- The current state of the connection is not Open.
-
-
- is .
-
-
- could not be UTF-8-encoded.
-
-
-
-
- Sends the data from asynchronously using
- the WebSocket connection.
-
-
-
- The data is sent as the binary data.
-
-
- This method does not wait for the send to be complete.
-
-
-
- A instance from which to read the data to send.
-
-
- An that specifies the number of bytes to send.
-
-
-
- An Action<bool> delegate or
- if not needed.
-
-
- The delegate invokes the method called when the send is complete.
-
-
- true is passed to the method if the send has done with
- no error; otherwise, false.
-
-
-
- The current state of the connection is not Open.
-
-
- is .
-
-
-
- cannot be read.
-
-
- -or-
-
-
- is less than 1.
-
-
- -or-
-
-
- No data could be read from .
-
-
-
-
-
- Sets an HTTP to send with
- the WebSocket handshake request to the server.
-
-
- This method is not available in a server.
-
-
- A that represents a cookie to send.
-
-
-
-
- Sets a pair of and for
- the HTTP authentication (Basic/Digest).
-
-
- This method is not available in a server.
-
-
-
- A that represents the user name used to authenticate.
-
-
- If is or empty,
- the credentials will be initialized and not be sent.
-
-
-
- A that represents the password for
- used to authenticate.
-
-
- true if the sends the credentials for
- the Basic authentication with the first handshake request to the server;
- otherwise, false.
-
-
-
-
- Sets the HTTP proxy server URL to connect through, and if necessary,
- a pair of and for
- the proxy server authentication (Basic/Digest).
-
-
- This method is not available in a server.
-
-
-
- A that represents the HTTP proxy server URL to
- connect through. The syntax must be http://<host>[:<port>].
-
-
- If is or empty,
- the url and credentials for the proxy will be initialized,
- and the will not use the proxy to
- connect through.
-
-
-
-
- A that represents the user name used to authenticate.
-
-
- If is or empty,
- the credentials for the proxy will be initialized and not be sent.
-
-
-
- A that represents the password for
- used to authenticate.
-
-
-
-
- Closes the connection and releases all associated resources.
-
-
-
- This method closes the connection with close status 1001 (going away).
-
-
- And this method does nothing if the current state of the connection is
- Closing or Closed.
-
-
-
-
-
- The exception that is thrown when a fatal error occurs in
- the WebSocket communication.
-
-
-
-
- Gets the status code indicating the cause of the exception.
-
-
- One of the enum values that represents
- the status code indicating the cause of the exception.
-
-
-
-
- Represents the ping frame without the payload data as an array of .
-
-
- The value of this field is created from a non masked frame, so it can only be used to
- send a ping from a server.
-
-
-
-
- Indicates the state of a WebSocket connection.
-
-
- The values of this enumeration are defined in
-
- The WebSocket API.
-
-
-
-
- Equivalent to numeric value 0. Indicates that the connection has not
- yet been established.
-
-
-
-
- Equivalent to numeric value 1. Indicates that the connection has
- been established, and the communication is possible.
-
-
-
-
- Equivalent to numeric value 2. Indicates that the connection is
- going through the closing handshake, or the close method has
- been invoked.
-
-
-
-
- Equivalent to numeric value 3. Indicates that the connection has
- been closed or could not be established.
-
-
-
-
diff --git a/packages/WebSocketSharp-netstandard.1.0.1/lib/netstandard2.0/websocket-sharp.dll b/packages/WebSocketSharp-netstandard.1.0.1/lib/netstandard2.0/websocket-sharp.dll
deleted file mode 100644
index 27e2f7f..0000000
Binary files a/packages/WebSocketSharp-netstandard.1.0.1/lib/netstandard2.0/websocket-sharp.dll and /dev/null differ
diff --git a/packages/WebSocketSharp-netstandard.1.0.1/lib/netstandard2.0/websocket-sharp.xml b/packages/WebSocketSharp-netstandard.1.0.1/lib/netstandard2.0/websocket-sharp.xml
deleted file mode 100644
index d4ffb44..0000000
--- a/packages/WebSocketSharp-netstandard.1.0.1/lib/netstandard2.0/websocket-sharp.xml
+++ /dev/null
@@ -1,10326 +0,0 @@
-
-
-
- websocket-sharp
-
-
-
-
- Specifies the byte order.
-
-
-
-
- Specifies Little-endian.
-
-
-
-
- Specifies Big-endian.
-
-
-
-
- Represents the event data for the event.
-
-
-
- That event occurs when the WebSocket connection has been closed.
-
-
- If you would like to get the reason for the close, you should access
- the or property.
-
-
-
-
-
- Gets the status code for the close.
-
-
- A that represents the status code for the close if any.
-
-
-
-
- Gets the reason for the close.
-
-
- A that represents the reason for the close if any.
-
-
-
-
- Gets a value indicating whether the connection has been closed cleanly.
-
-
- true if the connection has been closed cleanly; otherwise, false.
-
-
-
-
- Indicates the status code for the WebSocket connection close.
-
-
-
- The values of this enumeration are defined in
-
- Section 7.4 of RFC 6455.
-
-
- "Reserved value" cannot be sent as a status code in
- closing handshake by an endpoint.
-
-
-
-
-
- Equivalent to close status 1000. Indicates normal close.
-
-
-
-
- Equivalent to close status 1001. Indicates that an endpoint is
- going away.
-
-
-
-
- Equivalent to close status 1002. Indicates that an endpoint is
- terminating the connection due to a protocol error.
-
-
-
-
- Equivalent to close status 1003. Indicates that an endpoint is
- terminating the connection because it has received a type of
- data that it cannot accept.
-
-
-
-
- Equivalent to close status 1004. Still undefined. A Reserved value.
-
-
-
-
- Equivalent to close status 1005. Indicates that no status code was
- actually present. A Reserved value.
-
-
-
-
- Equivalent to close status 1006. Indicates that the connection was
- closed abnormally. A Reserved value.
-
-
-
-
- Equivalent to close status 1007. Indicates that an endpoint is
- terminating the connection because it has received a message that
- contains data that is not consistent with the type of the message.
-
-
-
-
- Equivalent to close status 1008. Indicates that an endpoint is
- terminating the connection because it has received a message that
- violates its policy.
-
-
-
-
- Equivalent to close status 1009. Indicates that an endpoint is
- terminating the connection because it has received a message that
- is too big to process.
-
-
-
-
- Equivalent to close status 1010. Indicates that a client is
- terminating the connection because it has expected the server to
- negotiate one or more extension, but the server did not return
- them in the handshake response.
-
-
-
-
- Equivalent to close status 1011. Indicates that a server is
- terminating the connection because it has encountered an unexpected
- condition that prevented it from fulfilling the request.
-
-
-
-
- Equivalent to close status 1015. Indicates that the connection was
- closed due to a failure to perform a TLS handshake. A Reserved value.
-
-
-
-
- Specifies the method for compression.
-
-
- The methods are defined in
-
- Compression Extensions for WebSocket.
-
-
-
-
- Specifies no compression.
-
-
-
-
- Specifies DEFLATE.
-
-
-
-
- Represents the event data for the event.
-
-
-
- That event occurs when the gets an error.
-
-
- If you would like to get the error message, you should access
- the property.
-
-
- And if the error is due to an exception, you can get it by accessing
- the property.
-
-
-
-
-
- Gets the exception that caused the error.
-
-
- An instance that represents the cause of
- the error if it is due to an exception; otherwise, .
-
-
-
-
- Gets the error message.
-
-
- A that represents the error message.
-
-
-
-
- Provides a set of static methods for websocket-sharp.
-
-
-
-
- Determines whether the specified equals the specified ,
- and invokes the specified Action<int> delegate at the same time.
-
-
- true if equals ;
- otherwise, false.
-
-
- An to compare.
-
-
- A to compare.
-
-
- An Action<int> delegate that references the method(s) called
- at the same time as comparing. An parameter to pass to
- the method(s) is .
-
-
-
-
- Gets the absolute path from the specified .
-
-
- A that represents the absolute path if it's successfully found;
- otherwise, .
-
-
- A that represents the URI to get the absolute path from.
-
-
-
-
- Gets the name from the specified that contains a pair of name and
- value separated by a separator character.
-
-
- A that represents the name if any; otherwise, null.
-
-
- A that contains a pair of name and value separated by
- a separator character.
-
-
- A that represents the separator character.
-
-
-
-
- Gets the value from the specified that contains a pair of name and
- value separated by a separator character.
-
-
- A that represents the value if any; otherwise, null.
-
-
- A that contains a pair of name and value separated by
- a separator character.
-
-
- A that represents the separator character.
-
-
-
-
- Tries to create a new for WebSocket with
- the specified .
-
-
- true if the was successfully created;
- otherwise, false.
-
-
- A that represents a WebSocket URL to try.
-
-
- When this method returns, a that
- represents the WebSocket URL or
- if is invalid.
-
-
- When this method returns, a that
- represents an error message or
- if is valid.
-
-
-
-
- Determines whether the specified contains any of characters in
- the specified array of .
-
-
- true if contains any of ;
- otherwise, false.
-
-
- A to test.
-
-
- An array of that contains characters to find.
-
-
-
-
- Determines whether the specified contains
- the entry with the specified .
-
-
- true if contains the entry with
- ; otherwise, false.
-
-
- A to test.
-
-
- A that represents the key of the entry to find.
-
-
-
-
- Determines whether the specified contains the entry with
- the specified both and .
-
-
- true if contains the entry with both
- and ; otherwise, false.
-
-
- A to test.
-
-
- A that represents the key of the entry to find.
-
-
- A that represents the value of the entry to find.
-
-
-
-
- Emits the specified delegate if it isn't .
-
-
- A to emit.
-
-
- An from which emits this .
-
-
- A that contains no event data.
-
-
-
-
- Emits the specified EventHandler<TEventArgs> delegate if it isn't
- .
-
-
- An EventHandler<TEventArgs> to emit.
-
-
- An from which emits this .
-
-
- A TEventArgs that represents the event data.
-
-
- The type of the event data generated by the event.
-
-
-
-
- Gets the collection of the HTTP cookies from the specified HTTP .
-
-
- A that receives a collection of the HTTP cookies.
-
-
- A that contains a collection of the HTTP headers.
-
-
- true if is a collection of the response headers;
- otherwise, false.
-
-
-
-
- Gets the description of the specified HTTP status .
-
-
- A that represents the description of the HTTP status code.
-
-
- One of enum values, indicates the HTTP status code.
-
-
-
-
- Gets the description of the specified HTTP status .
-
-
- A that represents the description of the HTTP status code.
-
-
- An that represents the HTTP status code.
-
-
-
-
- Determines whether the specified is in the
- range of the status code for the WebSocket connection close.
-
-
-
- The ranges are the following:
-
-
- -
-
- 1000-2999: These numbers are reserved for definition by
- the WebSocket protocol.
-
-
- -
-
- 3000-3999: These numbers are reserved for use by libraries,
- frameworks, and applications.
-
-
- -
-
- 4000-4999: These numbers are reserved for private use.
-
-
-
-
-
- true if is in the range of
- the status code for the close; otherwise, false.
-
-
- A to test.
-
-
-
-
- Determines whether the specified is
- enclosed in the specified .
-
-
- true if is enclosed in
- ; otherwise, false.
-
-
- A to test.
-
-
- A to find.
-
-
-
-
- Determines whether the specified is host (this computer
- architecture) byte order.
-
-
- true if is host byte order; otherwise, false.
-
-
- One of the enum values, to test.
-
-
-
-
- Determines whether the specified
- represents a local IP address.
-
-
- This local means NOT REMOTE for the current host.
-
-
- true if represents a local IP address;
- otherwise, false.
-
-
- A to test.
-
-
-
-
- Determines whether the specified string is or
- an empty string.
-
-
- true if the string is or an empty string;
- otherwise, false.
-
-
- A to test.
-
-
-
-
- Determines whether the specified is
- a predefined scheme.
-
-
- true if is a predefined scheme;
- otherwise, false.
-
-
- A to test.
-
-
-
-
- Determines whether the specified is
- an HTTP Upgrade request to switch to the specified .
-
-
- true if is an HTTP Upgrade request to switch to
- ; otherwise, false.
-
-
- A that represents the HTTP request.
-
-
- A that represents the protocol name.
-
-
-
- is .
-
-
- -or-
-
-
- is .
-
-
-
- is empty.
-
-
-
-
- Determines whether the specified is a URI string.
-
-
- true if may be a URI string;
- otherwise, false.
-
-
- A to test.
-
-
-
-
- Retrieves a sub-array from the specified . A sub-array starts at
- the specified element position in .
-
-
- An array of T that receives a sub-array, or an empty array of T if any problems with
- the parameters.
-
-
- An array of T from which to retrieve a sub-array.
-
-
- An that represents the zero-based starting position of
- a sub-array in .
-
-
- An that represents the number of elements to retrieve.
-
-
- The type of elements in .
-
-
-
-
- Retrieves a sub-array from the specified . A sub-array starts at
- the specified element position in .
-
-
- An array of T that receives a sub-array, or an empty array of T if any problems with
- the parameters.
-
-
- An array of T from which to retrieve a sub-array.
-
-
- A that represents the zero-based starting position of
- a sub-array in .
-
-
- A that represents the number of elements to retrieve.
-
-
- The type of elements in .
-
-
-
-
- Executes the specified delegate times.
-
-
- An is the number of times to execute.
-
-
- An delegate that references the method(s) to execute.
-
-
-
-
- Executes the specified delegate times.
-
-
- A is the number of times to execute.
-
-
- An delegate that references the method(s) to execute.
-
-
-
-
- Executes the specified delegate times.
-
-
- A is the number of times to execute.
-
-
- An delegate that references the method(s) to execute.
-
-
-
-
- Executes the specified delegate times.
-
-
- A is the number of times to execute.
-
-
- An delegate that references the method(s) to execute.
-
-
-
-
- Executes the specified Action<int> delegate times.
-
-
- An is the number of times to execute.
-
-
- An Action<int> delegate that references the method(s) to execute.
- An parameter to pass to the method(s) is the zero-based count of
- iteration.
-
-
-
-
- Executes the specified Action<long> delegate times.
-
-
- A is the number of times to execute.
-
-
- An Action<long> delegate that references the method(s) to execute.
- A parameter to pass to the method(s) is the zero-based count of
- iteration.
-
-
-
-
- Executes the specified Action<uint> delegate times.
-
-
- A is the number of times to execute.
-
-
- An Action<uint> delegate that references the method(s) to execute.
- A parameter to pass to the method(s) is the zero-based count of
- iteration.
-
-
-
-
- Executes the specified Action<ulong> delegate times.
-
-
- A is the number of times to execute.
-
-
- An Action<ulong> delegate that references the method(s) to execute.
- A parameter to pass to this method(s) is the zero-based count of
- iteration.
-
-
-
-
- Converts the specified array of to the specified type data.
-
-
- A T converted from , or a default value of
- T if is an empty array of or
- if the type of T isn't , , ,
- , , , ,
- , , or .
-
-
- An array of to convert.
-
-
- One of the enum values, specifies the byte order of
- .
-
-
- The type of the return. The T must be a value type.
-
-
- is .
-
-
-
-
- Converts the specified to an array of .
-
-
- An array of converted from .
-
-
- A T to convert.
-
-
- One of the enum values, specifies the byte order of the return.
-
-
- The type of . The T must be a value type.
-
-
-
-
- Converts the order of the specified array of to the host byte order.
-
-
- An array of converted from .
-
-
- An array of to convert.
-
-
- One of the enum values, specifies the byte order of
- .
-
-
- is .
-
-
-
-
- Converts the specified to a that
- concatenates the each element of across the specified
- .
-
-
- A converted from ,
- or if is empty.
-
-
- An array of T to convert.
-
-
- A that represents the separator string.
-
-
- The type of elements in .
-
-
- is .
-
-
-
-
- Converts the specified to a .
-
-
- A converted from or
- if the convert has failed.
-
-
- A to convert.
-
-
-
-
- URL-decodes the specified .
-
-
- A that receives the decoded string or
- if it is or empty.
-
-
- A to decode.
-
-
-
-
- URL-encodes the specified .
-
-
- A that receives the encoded string or
- if it is or empty.
-
-
- A to encode.
-
-
-
-
- Writes and sends the specified data with the specified
- .
-
-
- A that represents the HTTP response used to
- send the content data.
-
-
- An array of that represents the content data to send.
-
-
-
- is .
-
-
- -or-
-
-
- is .
-
-
-
-
-
- Indicates whether a WebSocket frame is the final frame of a message.
-
-
- The values of this enumeration are defined in
- Section 5.2 of RFC 6455.
-
-
-
-
- Equivalent to numeric value 0. Indicates more frames of a message follow.
-
-
-
-
- Equivalent to numeric value 1. Indicates the final frame of a message.
-
-
-
-
- Represents a log data used by the class.
-
-
-
-
- Gets the information of the logging method caller.
-
-
- A that provides the information of the logging method caller.
-
-
-
-
- Gets the date and time when the log data was created.
-
-
- A that represents the date and time when the log data was created.
-
-
-
-
- Gets the logging level of the log data.
-
-
- One of the enum values, indicates the logging level of the log data.
-
-
-
-
- Gets the message of the log data.
-
-
- A that represents the message of the log data.
-
-
-
-
- Returns a that represents the current .
-
-
- A that represents the current .
-
-
-
-
- Provides a set of methods and properties for logging.
-
-
-
- If you output a log with lower than the value of the property,
- it cannot be outputted.
-
-
- The default output action writes a log to the standard output stream and the log file
- if the property has a valid path to it.
-
-
- If you would like to use the custom output action, you should set
- the property to any Action<LogData, string>
- delegate.
-
-
-
-
-
- Initializes a new instance of the class.
-
-
- This constructor initializes the current logging level with .
-
-
-
-
- Initializes a new instance of the class with
- the specified logging .
-
-
- One of the enum values.
-
-
-
-
- Initializes a new instance of the class with
- the specified logging , path to the log ,
- and action.
-
-
- One of the enum values.
-
-
- A that represents the path to the log file.
-
-
- An Action<LogData, string> delegate that references the method(s) used to
- output a log. A parameter passed to this delegate is
- .
-
-
-
-
- Gets or sets the current path to the log file.
-
-
- A that represents the current path to the log file if any.
-
-
-
-
- Gets or sets the current logging level.
-
-
- A log with lower than the value of this property cannot be outputted.
-
-
- One of the enum values, specifies the current logging level.
-
-
-
-
- Gets or sets the current output action used to output a log.
-
-
-
- An Action<LogData, string> delegate that references the method(s) used to
- output a log. A parameter passed to this delegate is the value of
- the property.
-
-
- If the value to set is , the current output action is changed to
- the default output action.
-
-
-
-
-
- Outputs as a log with .
-
-
- If the current logging level is higher than ,
- this method doesn't output as a log.
-
-
- A that represents the message to output as a log.
-
-
-
-
- Outputs as a log with .
-
-
- If the current logging level is higher than ,
- this method doesn't output as a log.
-
-
- A that represents the message to output as a log.
-
-
-
-
- Outputs as a log with .
-
-
- A that represents the message to output as a log.
-
-
-
-
- Outputs as a log with .
-
-
- If the current logging level is higher than ,
- this method doesn't output as a log.
-
-
- A that represents the message to output as a log.
-
-
-
-
- Outputs as a log with .
-
-
- If the current logging level is higher than ,
- this method doesn't output as a log.
-
-
- A that represents the message to output as a log.
-
-
-
-
- Outputs as a log with .
-
-
- If the current logging level is higher than ,
- this method doesn't output as a log.
-
-
- A that represents the message to output as a log.
-
-
-
-
- Specifies the logging level.
-
-
-
-
- Specifies the bottom logging level.
-
-
-
-
- Specifies the 2nd logging level from the bottom.
-
-
-
-
- Specifies the 3rd logging level from the bottom.
-
-
-
-
- Specifies the 3rd logging level from the top.
-
-
-
-
- Specifies the 2nd logging level from the top.
-
-
-
-
- Specifies the top logging level.
-
-
-
-
- Indicates whether the payload data of a WebSocket frame is masked.
-
-
- The values of this enumeration are defined in
- Section 5.2 of RFC 6455.
-
-
-
-
- Equivalent to numeric value 0. Indicates not masked.
-
-
-
-
- Equivalent to numeric value 1. Indicates masked.
-
-
-
-
- Represents the event data for the event.
-
-
-
- That event occurs when the receives
- a message or a ping if the
- property is set to true.
-
-
- If you would like to get the message data, you should access
- the or property.
-
-
-
-
-
- Gets the opcode for the message.
-
-
- , ,
- or .
-
-
-
-
- Gets the message data as a .
-
-
- A that represents the message data if its type is
- text or ping and if decoding it to a string has successfully done;
- otherwise, .
-
-
-
-
- Gets a value indicating whether the message type is binary.
-
-
- true if the message type is binary; otherwise, false.
-
-
-
-
- Gets a value indicating whether the message type is ping.
-
-
- true if the message type is ping; otherwise, false.
-
-
-
-
- Gets a value indicating whether the message type is text.
-
-
- true if the message type is text; otherwise, false.
-
-
-
-
- Gets the message data as an array of .
-
-
- An array of that represents the message data.
-
-
-
-
- Specifies the scheme for authentication.
-
-
-
-
- No authentication is allowed.
-
-
-
-
- Specifies digest authentication.
-
-
-
-
- Specifies basic authentication.
-
-
-
-
- Specifies anonymous authentication.
-
-
-
-
- Stores the parameters for the used by clients.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- with the specified .
-
-
- A that represents the target host server name.
-
-
-
-
- Copies the parameters from the specified to
- a new instance of the class.
-
-
- A from which to copy.
-
-
- is .
-
-
-
-
- Gets or sets a value indicating whether the certificate revocation
- list is checked during authentication.
-
-
-
- true if the certificate revocation list is checked during
- authentication; otherwise, false.
-
-
- The default value is false.
-
-
-
-
-
- Gets or sets the certificates from which to select one to
- supply to the server.
-
-
-
- A or .
-
-
- That collection contains client certificates from which to select.
-
-
- The default value is .
-
-
-
-
-
- Gets or sets the callback used to select the certificate to
- supply to the server.
-
-
- No certificate is supplied if the callback returns
- .
-
-
-
- A delegate that
- invokes the method called for selecting the certificate.
-
-
- The default value is a delegate that invokes a method that
- only returns .
-
-
-
-
-
- Gets or sets the protocols used for authentication.
-
-
-
- The enum values that represent
- the protocols used for authentication.
-
-
- The default value is .
-
-
-
-
-
- Gets or sets the callback used to validate the certificate
- supplied by the server.
-
-
- The certificate is valid if the callback returns true.
-
-
-
- A delegate that
- invokes the method called for validating the certificate.
-
-
- The default value is a delegate that invokes a method that
- only returns true.
-
-
-
-
-
- Gets or sets the target host server name.
-
-
-
- A or
- if not specified.
-
-
- That string represents the name of the server that
- will share a secure connection with a client.
-
-
-
-
-
- Provides a set of methods and properties used to manage an HTTP Cookie.
-
-
-
- The Cookie class supports the following cookie formats:
- Netscape specification,
- RFC 2109, and
- RFC 2965
-
-
- The Cookie class cannot be inherited.
-
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class with the specified
- and .
-
-
- A that represents the Name of the cookie.
-
-
- A that represents the Value of the cookie.
-
-
-
- is or empty.
-
-
- - or -
-
-
- contains an invalid character.
-
-
- - or -
-
-
- is .
-
-
- - or -
-
-
- contains a string not enclosed in double quotes
- that contains an invalid character.
-
-
-
-
-
- Initializes a new instance of the class with the specified
- , , and .
-
-
- A that represents the Name of the cookie.
-
-
- A that represents the Value of the cookie.
-
-
- A that represents the value of the Path attribute of the cookie.
-
-
-
- is or empty.
-
-
- - or -
-
-
- contains an invalid character.
-
-
- - or -
-
-
- is .
-
-
- - or -
-
-
- contains a string not enclosed in double quotes
- that contains an invalid character.
-
-
-
-
-
- Initializes a new instance of the class with the specified
- , , , and
- .
-
-
- A that represents the Name of the cookie.
-
-
- A that represents the Value of the cookie.
-
-
- A that represents the value of the Path attribute of the cookie.
-
-
- A that represents the value of the Domain attribute of the cookie.
-
-
-
- is or empty.
-
-
- - or -
-
-
- contains an invalid character.
-
-
- - or -
-
-
- is .
-
-
- - or -
-
-
- contains a string not enclosed in double quotes
- that contains an invalid character.
-
-
-
-
-
- Gets or sets the value of the Comment attribute of the cookie.
-
-
- A that represents the comment to document intended use of the cookie.
-
-
-
-
- Gets or sets the value of the CommentURL attribute of the cookie.
-
-
- A that represents the URI that provides the comment to document intended
- use of the cookie.
-
-
-
-
- Gets or sets a value indicating whether the client discards the cookie unconditionally
- when the client terminates.
-
-
- true if the client discards the cookie unconditionally when the client terminates;
- otherwise, false. The default value is false.
-
-
-
-
- Gets or sets the value of the Domain attribute of the cookie.
-
-
- A that represents the URI for which the cookie is valid.
-
-
-
-
- Gets or sets a value indicating whether the cookie has expired.
-
-
- true if the cookie has expired; otherwise, false.
- The default value is false.
-
-
-
-
- Gets or sets the value of the Expires attribute of the cookie.
-
-
- A that represents the date and time at which the cookie expires.
- The default value is .
-
-
-
-
- Gets or sets a value indicating whether non-HTTP APIs can access the cookie.
-
-
- true if non-HTTP APIs cannot access the cookie; otherwise, false.
- The default value is false.
-
-
-
-
- Gets or sets the Name of the cookie.
-
-
- A that represents the Name of the cookie.
-
-
-
- The value specified for a set operation is or empty.
-
-
- - or -
-
-
- The value specified for a set operation contains an invalid character.
-
-
-
-
-
- Gets or sets the value of the Path attribute of the cookie.
-
-
- A that represents the subset of URI on the origin server
- to which the cookie applies.
-
-
-
-
- Gets or sets the value of the Port attribute of the cookie.
-
-
- A that represents the list of TCP ports to which the cookie applies.
-
-
- The value specified for a set operation isn't enclosed in double quotes or
- couldn't be parsed.
-
-
-
-
- Gets or sets a value indicating whether the security level of the cookie is secure.
-
-
- When this property is true, the cookie may be included in the HTTP request
- only if the request is transmitted over the HTTPS.
-
-
- true if the security level of the cookie is secure; otherwise, false.
- The default value is false.
-
-
-
-
- Gets the time when the cookie was issued.
-
-
- A that represents the time when the cookie was issued.
-
-
-
-
- Gets or sets the Value of the cookie.
-
-
- A that represents the Value of the cookie.
-
-
-
- The value specified for a set operation is .
-
-
- - or -
-
-
- The value specified for a set operation contains a string not enclosed in double quotes
- that contains an invalid character.
-
-
-
-
-
- Gets or sets the value of the Version attribute of the cookie.
-
-
- An that represents the version of the HTTP state management
- to which the cookie conforms.
-
-
- The value specified for a set operation isn't 0 or 1.
-
-
-
-
- Determines whether the specified is equal to the current
- .
-
-
- An to compare with the current .
-
-
- true if is equal to the current ;
- otherwise, false.
-
-
-
-
- Serves as a hash function for a object.
-
-
- An that represents the hash code for the current .
-
-
-
-
- Returns a that represents the current .
-
-
- This method returns a to use to send an HTTP Cookie to
- an origin server.
-
-
- A that represents the current .
-
-
-
-
- Provides a collection container for instances of the class.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets the number of cookies in the collection.
-
-
- An that represents the number of cookies in the collection.
-
-
-
-
- Gets a value indicating whether the collection is read-only.
-
-
- true if the collection is read-only; otherwise, false.
- The default value is true.
-
-
-
-
- Gets a value indicating whether the access to the collection is thread safe.
-
-
- true if the access to the collection is thread safe; otherwise, false.
- The default value is false.
-
-
-
-
- Gets the at the specified from
- the collection.
-
-
- A at the specified in the collection.
-
-
- An that represents the zero-based index of the
- to find.
-
-
- is out of allowable range of indexes for the collection.
-
-
-
-
- Gets the with the specified from
- the collection.
-
-
- A with the specified in the collection.
-
-
- A that represents the name of the to find.
-
-
- is .
-
-
-
-
- Gets an object used to synchronize access to the collection.
-
-
- An used to synchronize access to the collection.
-
-
-
-
- Adds the specified to the collection.
-
-
- A to add.
-
-
- is .
-
-
-
-
- Adds the specified to the collection.
-
-
- A that contains the cookies to add.
-
-
- is .
-
-
-
-
- Copies the elements of the collection to the specified , starting at
- the specified in the .
-
-
- An that represents the destination of the elements copied from
- the collection.
-
-
- An that represents the zero-based index in
- at which copying begins.
-
-
- is .
-
-
- is less than zero.
-
-
-
- is multidimensional.
-
-
- -or-
-
-
- The number of elements in the collection is greater than the available space from
- to the end of the destination .
-
-
-
- The elements in the collection cannot be cast automatically to the type of the destination
- .
-
-
-
-
- Copies the elements of the collection to the specified array of ,
- starting at the specified in the .
-
-
- An array of that represents the destination of the elements
- copied from the collection.
-
-
- An that represents the zero-based index in
- at which copying begins.
-
-
- is .
-
-
- is less than zero.
-
-
- The number of elements in the collection is greater than the available space from
- to the end of the destination .
-
-
-
-
- Gets the enumerator used to iterate through the collection.
-
-
- An instance used to iterate through the collection.
-
-
-
-
- The exception that is thrown when a gets an error.
-
-
-
-
- Initializes a new instance of the class from
- the specified and .
-
-
- A that contains the serialized object data.
-
-
- A that specifies the source for the deserialization.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Populates the specified with the data needed to serialize
- the current .
-
-
- A that holds the serialized object data.
-
-
- A that specifies the destination for the serialization.
-
-
-
-
- Populates the specified with the data needed to serialize
- the current .
-
-
- A that holds the serialized object data.
-
-
- A that specifies the destination for the serialization.
-
-
-
-
- Holds the username and password from an HTTP Basic authentication attempt.
-
-
-
-
- Gets the password from a basic authentication attempt.
-
-
- A that represents the password.
-
-
-
-
- Holds the username and other parameters from
- an HTTP Digest authentication attempt.
-
-
-
-
- Gets the algorithm parameter from a digest authentication attempt.
-
-
- A that represents the algorithm parameter.
-
-
-
-
- Gets the cnonce parameter from a digest authentication attempt.
-
-
- A that represents the cnonce parameter.
-
-
-
-
- Gets the nc parameter from a digest authentication attempt.
-
-
- A that represents the nc parameter.
-
-
-
-
- Gets the nonce parameter from a digest authentication attempt.
-
-
- A that represents the nonce parameter.
-
-
-
-
- Gets the opaque parameter from a digest authentication attempt.
-
-
- A that represents the opaque parameter.
-
-
-
-
- Gets the qop parameter from a digest authentication attempt.
-
-
- A that represents the qop parameter.
-
-
-
-
- Gets the realm parameter from a digest authentication attempt.
-
-
- A that represents the realm parameter.
-
-
-
-
- Gets the response parameter from a digest authentication attempt.
-
-
- A that represents the response parameter.
-
-
-
-
- Gets the uri parameter from a digest authentication attempt.
-
-
- A that represents the uri parameter.
-
-
-
-
- Provides a simple, programmatically controlled HTTP listener.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets or sets the scheme used to authenticate the clients.
-
-
- One of the enum values,
- represents the scheme used to authenticate the clients. The default value is
- .
-
-
- This listener has been closed.
-
-
-
-
- Gets or sets the delegate called to select the scheme used to authenticate the clients.
-
-
- If you set this property, the listener uses the authentication scheme selected by
- the delegate for each request. Or if you don't set, the listener uses the value of
- the property as the authentication
- scheme for all requests.
-
-
- A Func<, >
- delegate that references the method used to select an authentication scheme. The default
- value is .
-
-
- This listener has been closed.
-
-
-
-
- Gets or sets the path to the folder in which stores the certificate files used to
- authenticate the server on the secure connection.
-
-
-
- This property represents the path to the folder in which stores the certificate files
- associated with each port number of added URI prefixes. A set of the certificate files
- is a pair of the 'port number'.cer (DER) and 'port number'.key
- (DER, RSA Private Key).
-
-
- If this property is or empty, the result of
- System.Environment.GetFolderPath
- () is used as the default path.
-
-
-
- A that represents the path to the folder in which stores
- the certificate files. The default value is .
-
-
- This listener has been closed.
-
-
-
-
- Gets or sets a value indicating whether the listener returns exceptions that occur when
- sending the response to the client.
-
-
- true if the listener shouldn't return those exceptions; otherwise, false.
- The default value is false.
-
-
- This listener has been closed.
-
-
-
-
- Gets a value indicating whether the listener has been started.
-
-
- true if the listener has been started; otherwise, false.
-
-
-
-
- Gets a value indicating whether the listener can be used with the current operating system.
-
-
- true.
-
-
-
-
- Gets the logging functions.
-
-
- The default logging level is . If you would like to change it,
- you should set the Log.Level property to any of the enum
- values.
-
-
- A that provides the logging functions.
-
-
-
-
- Gets the URI prefixes handled by the listener.
-
-
- A that contains the URI prefixes.
-
-
- This listener has been closed.
-
-
-
-
- Gets or sets the name of the realm associated with the listener.
-
-
- If this property is or empty, "SECRET AREA" will be used as
- the name of the realm.
-
-
- A that represents the name of the realm. The default value is
- .
-
-
- This listener has been closed.
-
-
-
-
- Gets or sets the SSL configuration used to authenticate the server and
- optionally the client for secure connection.
-
-
- A that represents the configuration used to
- authenticate the server and optionally the client for secure connection.
-
-
- This listener has been closed.
-
-
-
-
- Gets or sets a value indicating whether, when NTLM authentication is used,
- the authentication information of first request is used to authenticate
- additional requests on the same connection.
-
-
- This property isn't currently supported and always throws
- a .
-
-
- true if the authentication information of first request is used;
- otherwise, false.
-
-
- Any use of this property.
-
-
-
-
- Gets or sets the delegate called to find the credentials for an identity used to
- authenticate a client.
-
-
- A Func<, > delegate
- that references the method used to find the credentials. The default value is
- .
-
-
- This listener has been closed.
-
-
-
-
- Shuts down the listener immediately.
-
-
-
-
- Begins getting an incoming request asynchronously.
-
-
- This asynchronous operation must be completed by calling the EndGetContext method.
- Typically, the method is invoked by the delegate.
-
-
- An that represents the status of the asynchronous operation.
-
-
- An delegate that references the method to invoke when
- the asynchronous operation completes.
-
-
- An that represents a user defined object to pass to
- the delegate.
-
-
-
- This listener has no URI prefix on which listens.
-
-
- -or-
-
-
- This listener hasn't been started, or is currently stopped.
-
-
-
- This listener has been closed.
-
-
-
-
- Shuts down the listener.
-
-
-
-
- Ends an asynchronous operation to get an incoming request.
-
-
- This method completes an asynchronous operation started by calling
- the BeginGetContext method.
-
-
- A that represents a request.
-
-
- An obtained by calling the BeginGetContext method.
-
-
- is .
-
-
- wasn't obtained by calling the BeginGetContext method.
-
-
- This method was already called for the specified .
-
-
- This listener has been closed.
-
-
-
-
- Gets an incoming request.
-
-
- This method waits for an incoming request, and returns when a request is received.
-
-
- A that represents a request.
-
-
-
- This listener has no URI prefix on which listens.
-
-
- -or-
-
-
- This listener hasn't been started, or is currently stopped.
-
-
-
- This listener has been closed.
-
-
-
-
- Starts receiving incoming requests.
-
-
- This listener has been closed.
-
-
-
-
- Stops receiving incoming requests.
-
-
- This listener has been closed.
-
-
-
-
- Releases all resources used by the listener.
-
-
-
-
- Provides the access to the HTTP request and response objects used by
- the .
-
-
- This class cannot be inherited.
-
-
-
-
- Gets the HTTP request object that represents a client request.
-
-
- A that represents the client request.
-
-
-
-
- Gets the HTTP response object used to send a response to the client.
-
-
- A that represents a response to the client request.
-
-
-
-
- Gets the client information (identity, authentication, and security roles).
-
-
- A instance that represents the client information.
-
-
-
-
- Accepts a WebSocket handshake request.
-
-
- A that represents
- the WebSocket handshake request.
-
-
- A that represents the subprotocol supported on
- this WebSocket connection.
-
-
-
- is empty.
-
-
- -or-
-
-
- contains an invalid character.
-
-
-
- This method has already been called.
-
-
-
-
- The exception that is thrown when a gets an error
- processing an HTTP request.
-
-
-
-
- Initializes a new instance of the class from
- the specified and .
-
-
- A that contains the serialized object data.
-
-
- A that specifies the source for the deserialization.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- with the specified .
-
-
- An that identifies the error.
-
-
-
-
- Initializes a new instance of the class
- with the specified and .
-
-
- An that identifies the error.
-
-
- A that describes the error.
-
-
-
-
- Gets the error code that identifies the error that occurred.
-
-
- An that identifies the error.
-
-
-
-
- Initializes a new instance of the class with
- the specified .
-
-
- This constructor must be called after calling the CheckPrefix method.
-
-
- A that represents the URI prefix.
-
-
-
-
- Determines whether this instance and the specified have the same value.
-
-
- This method will be required to detect duplicates in any collection.
-
-
- An to compare to this instance.
-
-
- true if is a and
- its value is the same as this instance; otherwise, false.
-
-
-
-
- Gets the hash code for this instance.
-
-
- This method will be required to detect duplicates in any collection.
-
-
- An that represents the hash code.
-
-
-
-
- Provides the collection used to store the URI prefixes for the .
-
-
- The responds to the request which has a requested URI that
- the prefixes most closely match.
-
-
-
-
- Gets the number of prefixes in the collection.
-
-
- An that represents the number of prefixes.
-
-
-
-
- Gets a value indicating whether the access to the collection is read-only.
-
-
- Always returns false.
-
-
-
-
- Gets a value indicating whether the access to the collection is synchronized.
-
-
- Always returns false.
-
-
-
-
- Adds the specified to the collection.
-
-
- A that represents the URI prefix to add. The prefix must be
- a well-formed URI prefix with http or https scheme, and must end with a '/'.
-
-
- is .
-
-
- is invalid.
-
-
- The associated with this collection is closed.
-
-
-
-
- Removes all URI prefixes from the collection.
-
-
- The associated with this collection is closed.
-
-
-
-
- Returns a value indicating whether the collection contains the specified
- .
-
-
- true if the collection contains ;
- otherwise, false.
-
-
- A that represents the URI prefix to test.
-
-
- is .
-
-
- The associated with this collection is closed.
-
-
-
-
- Copies the contents of the collection to the specified .
-
-
- An that receives the URI prefix strings in the collection.
-
-
- An that represents the zero-based index in
- at which copying begins.
-
-
- The associated with this collection is closed.
-
-
-
-
- Copies the contents of the collection to the specified array of .
-
-
- An array of that receives the URI prefix strings in the collection.
-
-
- An that represents the zero-based index in
- at which copying begins.
-
-
- The associated with this collection is closed.
-
-
-
-
- Gets the enumerator used to iterate through the .
-
-
- An instance used to iterate
- through the collection.
-
-
-
-
- Removes the specified from the collection.
-
-
- true if is successfully found and removed;
- otherwise, false.
-
-
- A that represents the URI prefix to remove.
-
-
- is .
-
-
- The associated with this collection is closed.
-
-
-
-
- Gets the enumerator used to iterate through the .
-
-
- An instance used to iterate through the collection.
-
-
-
-
- Provides the access to a request to the .
-
-
- The HttpListenerRequest class cannot be inherited.
-
-
-
-
- Gets the media types which are acceptable for the response.
-
-
- An array of that contains the media type names in
- the Accept request-header, or if the request didn't include
- the Accept header.
-
-
-
-
- Gets an error code that identifies a problem with the client's certificate.
-
-
- Always returns 0.
-
-
-
-
- Gets the encoding for the entity body data included in the request.
-
-
- A that represents the encoding for the entity body data,
- or if the request didn't include the information about
- the encoding.
-
-
-
-
- Gets the number of bytes in the entity body data included in the request.
-
-
- A that represents the value of the Content-Length entity-header,
- or -1 if the value isn't known.
-
-
-
-
- Gets the media type of the entity body included in the request.
-
-
- A that represents the value of the Content-Type entity-header.
-
-
-
-
- Gets the cookies included in the request.
-
-
- A that contains the cookies included in the request.
-
-
-
-
- Gets a value indicating whether the request has the entity body.
-
-
- true if the request has the entity body; otherwise, false.
-
-
-
-
- Gets the HTTP headers used in the request.
-
-
- A that contains the HTTP headers used in the request.
-
-
-
-
- Gets the HTTP method used in the request.
-
-
- A that represents the HTTP method used in the request.
-
-
-
-
- Gets a that contains the entity body data included in the request.
-
-
- A that contains the entity body data included in the request.
-
-
-
-
- Gets a value indicating whether the client that sent the request is authenticated.
-
-
- true if the client is authenticated; otherwise, false.
-
-
-
-
- Gets a value indicating whether the request is sent from the local computer.
-
-
- true if the request is sent from the local computer; otherwise, false.
-
-
-
-
- Gets a value indicating whether the HTTP connection is secured using the SSL protocol.
-
-
- true if the HTTP connection is secured; otherwise, false.
-
-
-
-
- Gets a value indicating whether the request is a WebSocket connection request.
-
-
- true if the request is a WebSocket connection request; otherwise, false.
-
-
-
-
- Gets a value indicating whether the client requests a persistent connection.
-
-
- true if the client requests a persistent connection; otherwise, false.
-
-
-
-
- Gets the server endpoint as an IP address and a port number.
-
-
- A that represents the server endpoint.
-
-
-
-
- Gets the HTTP version used in the request.
-
-
- A that represents the HTTP version used in the request.
-
-
-
-
- Gets the query string included in the request.
-
-
- A that contains the query string parameters.
-
-
-
-
- Gets the raw URL (without the scheme, host, and port) requested by the client.
-
-
- A that represents the raw URL requested by the client.
-
-
-
-
- Gets the client endpoint as an IP address and a port number.
-
-
- A that represents the client endpoint.
-
-
-
-
- Gets the request identifier of a incoming HTTP request.
-
-
- A that represents the identifier of a request.
-
-
-
-
- Gets the URL requested by the client.
-
-
- A that represents the URL requested by the client.
-
-
-
-
- Gets the URL of the resource from which the requested URL was obtained.
-
-
- A that represents the value of the Referer request-header,
- or if the request didn't include an Referer header.
-
-
-
-
- Gets the information about the user agent originating the request.
-
-
- A that represents the value of the User-Agent request-header.
-
-
-
-
- Gets the server endpoint as an IP address and a port number.
-
-
- A that represents the server endpoint.
-
-
-
-
- Gets the internet host name and port number (if present) specified by the client.
-
-
- A that represents the value of the Host request-header.
-
-
-
-
- Gets the natural languages which are preferred for the response.
-
-
- An array of that contains the natural language names in
- the Accept-Language request-header, or if the request
- didn't include an Accept-Language header.
-
-
-
-
- Begins getting the client's X.509 v.3 certificate asynchronously.
-
-
- This asynchronous operation must be completed by calling
- the method. Typically,
- that method is invoked by the delegate.
-
-
- An that contains the status of the asynchronous operation.
-
-
- An delegate that references the method(s) called when
- the asynchronous operation completes.
-
-
- An that contains a user defined object to pass to
- the delegate.
-
-
- This method isn't implemented.
-
-
-
-
- Ends an asynchronous operation to get the client's X.509 v.3 certificate.
-
-
- This method completes an asynchronous operation started by calling
- the method.
-
-
- A that contains the client's X.509 v.3 certificate.
-
-
- An obtained by calling
- the method.
-
-
- This method isn't implemented.
-
-
-
-
- Gets the client's X.509 v.3 certificate.
-
-
- A that contains the client's X.509 v.3 certificate.
-
-
- This method isn't implemented.
-
-
-
-
- Returns a that represents
- the current .
-
-
- A that represents the current .
-
-
-
-
- Provides the access to a response to a request received by the .
-
-
- The HttpListenerResponse class cannot be inherited.
-
-
-
-
- Gets or sets the encoding for the entity body data included in the response.
-
-
- A that represents the encoding for the entity body data,
- or if no encoding is specified.
-
-
- This object is closed.
-
-
-
-
- Gets or sets the number of bytes in the entity body data included in the response.
-
-
- A that represents the value of the Content-Length entity-header.
-
-
- The value specified for a set operation is less than zero.
-
-
- The response has already been sent.
-
-
- This object is closed.
-
-
-
-
- Gets or sets the media type of the entity body included in the response.
-
-
- A that represents the media type of the entity body,
- or if no media type is specified. This value is
- used for the value of the Content-Type entity-header.
-
-
- The value specified for a set operation is empty.
-
-
- This object is closed.
-
-
-
-
- Gets or sets the cookies sent with the response.
-
-
- A that contains the cookies sent with the response.
-
-
-
-
- Gets or sets the HTTP headers sent to the client.
-
-
- A that contains the headers sent to the client.
-
-
- The value specified for a set operation isn't valid for a response.
-
-
-
-
- Gets or sets a value indicating whether the server requests a persistent connection.
-
-
- true if the server requests a persistent connection; otherwise, false.
- The default value is true.
-
-
- The response has already been sent.
-
-
- This object is closed.
-
-
-
-
- Gets a to use to write the entity body data.
-
-
- A to use to write the entity body data.
-
-
- This object is closed.
-
-
-
-
- Gets or sets the HTTP version used in the response.
-
-
- A that represents the version used in the response.
-
-
- The value specified for a set operation is .
-
-
- The value specified for a set operation doesn't have its Major property set to 1 or
- doesn't have its Minor property set to either 0 or 1.
-
-
- The response has already been sent.
-
-
- This object is closed.
-
-
-
-
- Gets or sets the URL to which the client is redirected to locate a requested resource.
-
-
- A that represents the value of the Location response-header,
- or if no redirect location is specified.
-
-
- The value specified for a set operation isn't an absolute URL.
-
-
- This object is closed.
-
-
-
-
- Gets or sets a value indicating whether the response uses the chunked transfer encoding.
-
-
- true if the response uses the chunked transfer encoding;
- otherwise, false. The default value is false.
-
-
- The response has already been sent.
-
-
- This object is closed.
-
-
-
-
- Gets or sets the HTTP status code returned to the client.
-
-
- An that represents the status code for the response to
- the request. The default value is same as .
-
-
- The response has already been sent.
-
-
- This object is closed.
-
-
- The value specified for a set operation is invalid. Valid values are
- between 100 and 999 inclusive.
-
-
-
-
- Gets or sets the description of the HTTP status code returned to the client.
-
-
- A that represents the description of the status code. The default
- value is the RFC 2616
- description for the property value,
- or if an RFC 2616 description doesn't exist.
-
-
- The value specified for a set operation contains invalid characters.
-
-
- The response has already been sent.
-
-
- This object is closed.
-
-
-
-
- Closes the connection to the client without returning a response.
-
-
-
-
- Adds an HTTP header with the specified and
- to the headers for the response.
-
-
- A that represents the name of the header to add.
-
-
- A that represents the value of the header to add.
-
-
- is or empty.
-
-
-
- or contains invalid characters.
-
-
- -or-
-
-
- is a restricted header name.
-
-
-
- The length of is greater than 65,535 characters.
-
-
- The header cannot be allowed to add to the current headers.
-
-
-
-
- Appends the specified to the cookies sent with the response.
-
-
- A to append.
-
-
- is .
-
-
-
-
- Appends a to the specified HTTP header sent with the response.
-
-
- A that represents the name of the header to append
- to.
-
-
- A that represents the value to append to the header.
-
-
- is or empty.
-
-
-
- or contains invalid characters.
-
-
- -or-
-
-
- is a restricted header name.
-
-
-
- The length of is greater than 65,535 characters.
-
-
- The current headers cannot allow the header to append a value.
-
-
-
-
- Returns the response to the client and releases the resources used by
- this instance.
-
-
-
-
- Returns the response with the specified array of to the client and
- releases the resources used by this instance.
-
-
- An array of that contains the response entity body data.
-
-
- true if this method blocks execution while flushing the stream to the client;
- otherwise, false.
-
-
- is .
-
-
- This object is closed.
-
-
-
-
- Copies some properties from the specified to
- this response.
-
-
- A to copy.
-
-
- is .
-
-
-
-
- Configures the response to redirect the client's request to
- the specified .
-
-
- This method sets the property to
- , the property to
- 302, and the property to
- "Found".
-
-
- A that represents the URL to redirect the client's request to.
-
-
- is .
-
-
- isn't an absolute URL.
-
-
- The response has already been sent.
-
-
- This object is closed.
-
-
-
-
- Adds or updates a in the cookies sent with the response.
-
-
- A to set.
-
-
- is .
-
-
- already exists in the cookies and couldn't be replaced.
-
-
-
-
- Releases all resources used by the .
-
-
-
-
- Contains the HTTP headers that may be specified in a client request.
-
-
- The HttpRequestHeader enumeration contains the HTTP request headers defined in
- RFC 2616 for the HTTP/1.1 and
- RFC 6455 for the WebSocket.
-
-
-
-
- Indicates the Cache-Control header.
-
-
-
-
- Indicates the Connection header.
-
-
-
-
- Indicates the Date header.
-
-
-
-
- Indicates the Keep-Alive header.
-
-
-
-
- Indicates the Pragma header.
-
-
-
-
- Indicates the Trailer header.
-
-
-
-
- Indicates the Transfer-Encoding header.
-
-
-
-
- Indicates the Upgrade header.
-
-
-
-
- Indicates the Via header.
-
-
-
-
- Indicates the Warning header.
-
-
-
-
- Indicates the Allow header.
-
-
-
-
- Indicates the Content-Length header.
-
-
-
-
- Indicates the Content-Type header.
-
-
-
-
- Indicates the Content-Encoding header.
-
-
-
-
- Indicates the Content-Language header.
-
-
-
-
- Indicates the Content-Location header.
-
-
-
-
- Indicates the Content-MD5 header.
-
-
-
-
- Indicates the Content-Range header.
-
-
-
-
- Indicates the Expires header.
-
-
-
-
- Indicates the Last-Modified header.
-
-
-
-
- Indicates the Accept header.
-
-
-
-
- Indicates the Accept-Charset header.
-
-
-
-
- Indicates the Accept-Encoding header.
-
-
-
-
- Indicates the Accept-Language header.
-
-
-
-
- Indicates the Authorization header.
-
-
-
-
- Indicates the Cookie header.
-
-
-
-
- Indicates the Expect header.
-
-
-
-
- Indicates the From header.
-
-
-
-
- Indicates the Host header.
-
-
-
-
- Indicates the If-Match header.
-
-
-
-
- Indicates the If-Modified-Since header.
-
-
-
-
- Indicates the If-None-Match header.
-
-
-
-
- Indicates the If-Range header.
-
-
-
-
- Indicates the If-Unmodified-Since header.
-
-
-
-
- Indicates the Max-Forwards header.
-
-
-
-
- Indicates the Proxy-Authorization header.
-
-
-
-
- Indicates the Referer header.
-
-
-
-
- Indicates the Range header.
-
-
-
-
- Indicates the TE header.
-
-
-
-
- Indicates the Translate header.
-
-
-
-
- Indicates the User-Agent header.
-
-
-
-
- Indicates the Sec-WebSocket-Key header.
-
-
-
-
- Indicates the Sec-WebSocket-Extensions header.
-
-
-
-
- Indicates the Sec-WebSocket-Protocol header.
-
-
-
-
- Indicates the Sec-WebSocket-Version header.
-
-
-
-
- Contains the HTTP headers that can be specified in a server response.
-
-
- The HttpResponseHeader enumeration contains the HTTP response headers defined in
- RFC 2616 for the HTTP/1.1 and
- RFC 6455 for the WebSocket.
-
-
-
-
- Indicates the Cache-Control header.
-
-
-
-
- Indicates the Connection header.
-
-
-
-
- Indicates the Date header.
-
-
-
-
- Indicates the Keep-Alive header.
-
-
-
-
- Indicates the Pragma header.
-
-
-
-
- Indicates the Trailer header.
-
-
-
-
- Indicates the Transfer-Encoding header.
-
-
-
-
- Indicates the Upgrade header.
-
-
-
-
- Indicates the Via header.
-
-
-
-
- Indicates the Warning header.
-
-
-
-
- Indicates the Allow header.
-
-
-
-
- Indicates the Content-Length header.
-
-
-
-
- Indicates the Content-Type header.
-
-
-
-
- Indicates the Content-Encoding header.
-
-
-
-
- Indicates the Content-Language header.
-
-
-
-
- Indicates the Content-Location header.
-
-
-
-
- Indicates the Content-MD5 header.
-
-
-
-
- Indicates the Content-Range header.
-
-
-
-
- Indicates the Expires header.
-
-
-
-
- Indicates the Last-Modified header.
-
-
-
-
- Indicates the Accept-Ranges header.
-
-
-
-
- Indicates the Age header.
-
-
-
-
- Indicates the ETag header.
-
-
-
-
- Indicates the Location header.
-
-
-
-
- Indicates the Proxy-Authenticate header.
-
-
-
-
- Indicates the Retry-After header.
-
-
-
-
- Indicates the Server header.
-
-
-
-
- Indicates the Set-Cookie header.
-
-
-
-
- Indicates the Vary header.
-
-
-
-
- Indicates the WWW-Authenticate header.
-
-
-
-
- Indicates the Sec-WebSocket-Extensions header.
-
-
-
-
- Indicates the Sec-WebSocket-Accept header.
-
-
-
-
- Indicates the Sec-WebSocket-Protocol header.
-
-
-
-
- Indicates the Sec-WebSocket-Version header.
-
-
-
-
- Contains the values of the HTTP status codes.
-
-
- The HttpStatusCode enumeration contains the values of the HTTP status codes defined in
- RFC 2616 for the HTTP/1.1.
-
-
-
-
- Equivalent to status code 100.
- Indicates that the client should continue with its request.
-
-
-
-
- Equivalent to status code 101.
- Indicates that the server is switching the HTTP version or protocol on the connection.
-
-
-
-
- Equivalent to status code 200.
- Indicates that the client's request has succeeded.
-
-
-
-
- Equivalent to status code 201.
- Indicates that the client's request has been fulfilled and resulted in a new resource being
- created.
-
-
-
-
- Equivalent to status code 202.
- Indicates that the client's request has been accepted for processing, but the processing
- hasn't been completed.
-
-
-
-
- Equivalent to status code 203.
- Indicates that the returned metainformation is from a local or a third-party copy instead of
- the origin server.
-
-
-
-
- Equivalent to status code 204.
- Indicates that the server has fulfilled the client's request but doesn't need to return
- an entity-body.
-
-
-
-
- Equivalent to status code 205.
- Indicates that the server has fulfilled the client's request, and the user agent should
- reset the document view which caused the request to be sent.
-
-
-
-
- Equivalent to status code 206.
- Indicates that the server has fulfilled the partial GET request for the resource.
-
-
-
-
-
- Equivalent to status code 300.
- Indicates that the requested resource corresponds to any of multiple representations.
-
-
- MultipleChoices is a synonym for Ambiguous.
-
-
-
-
-
-
- Equivalent to status code 300.
- Indicates that the requested resource corresponds to any of multiple representations.
-
-
- Ambiguous is a synonym for MultipleChoices.
-
-
-
-
-
-
- Equivalent to status code 301.
- Indicates that the requested resource has been assigned a new permanent URI and
- any future references to this resource should use one of the returned URIs.
-
-
- MovedPermanently is a synonym for Moved.
-
-
-
-
-
-
- Equivalent to status code 301.
- Indicates that the requested resource has been assigned a new permanent URI and
- any future references to this resource should use one of the returned URIs.
-
-
- Moved is a synonym for MovedPermanently.
-
-
-
-
-
-
- Equivalent to status code 302.
- Indicates that the requested resource is located temporarily under a different URI.
-
-
- Found is a synonym for Redirect.
-
-
-
-
-
-
- Equivalent to status code 302.
- Indicates that the requested resource is located temporarily under a different URI.
-
-
- Redirect is a synonym for Found.
-
-
-
-
-
-
- Equivalent to status code 303.
- Indicates that the response to the request can be found under a different URI and
- should be retrieved using a GET method on that resource.
-
-
- SeeOther is a synonym for RedirectMethod.
-
-
-
-
-
-
- Equivalent to status code 303.
- Indicates that the response to the request can be found under a different URI and
- should be retrieved using a GET method on that resource.
-
-
- RedirectMethod is a synonym for SeeOther.
-
-
-
-
-
- Equivalent to status code 304.
- Indicates that the client has performed a conditional GET request and access is allowed,
- but the document hasn't been modified.
-
-
-
-
- Equivalent to status code 305.
- Indicates that the requested resource must be accessed through the proxy given by
- the Location field.
-
-
-
-
- Equivalent to status code 306.
- This status code was used in a previous version of the specification, is no longer used,
- and is reserved for future use.
-
-
-
-
-
- Equivalent to status code 307.
- Indicates that the requested resource is located temporarily under a different URI.
-
-
- TemporaryRedirect is a synonym for RedirectKeepVerb.
-
-
-
-
-
-
- Equivalent to status code 307.
- Indicates that the requested resource is located temporarily under a different URI.
-
-
- RedirectKeepVerb is a synonym for TemporaryRedirect.
-
-
-
-
-
- Equivalent to status code 400.
- Indicates that the client's request couldn't be understood by the server due to
- malformed syntax.
-
-
-
-
- Equivalent to status code 401.
- Indicates that the client's request requires user authentication.
-
-
-
-
- Equivalent to status code 402.
- This status code is reserved for future use.
-
-
-
-
- Equivalent to status code 403.
- Indicates that the server understood the client's request but is refusing to fulfill it.
-
-
-
-
- Equivalent to status code 404.
- Indicates that the server hasn't found anything matching the request URI.
-
-
-
-
- Equivalent to status code 405.
- Indicates that the method specified in the request line isn't allowed for the resource
- identified by the request URI.
-
-
-
-
- Equivalent to status code 406.
- Indicates that the server doesn't have the appropriate resource to respond to the Accept
- headers in the client's request.
-
-
-
-
- Equivalent to status code 407.
- Indicates that the client must first authenticate itself with the proxy.
-
-
-
-
- Equivalent to status code 408.
- Indicates that the client didn't produce a request within the time that the server was
- prepared to wait.
-
-
-
-
- Equivalent to status code 409.
- Indicates that the client's request couldn't be completed due to a conflict on the server.
-
-
-
-
- Equivalent to status code 410.
- Indicates that the requested resource is no longer available at the server and
- no forwarding address is known.
-
-
-
-
- Equivalent to status code 411.
- Indicates that the server refuses to accept the client's request without a defined
- Content-Length.
-
-
-
-
- Equivalent to status code 412.
- Indicates that the precondition given in one or more of the request headers evaluated to
- false when it was tested on the server.
-
-
-
-
- Equivalent to status code 413.
- Indicates that the entity of the client's request is larger than the server is willing or
- able to process.
-
-
-
-
- Equivalent to status code 414.
- Indicates that the request URI is longer than the server is willing to interpret.
-
-
-
-
- Equivalent to status code 415.
- Indicates that the entity of the client's request is in a format not supported by
- the requested resource for the requested method.
-
-
-
-
- Equivalent to status code 416.
- Indicates that none of the range specifier values in a Range request header overlap
- the current extent of the selected resource.
-
-
-
-
- Equivalent to status code 417.
- Indicates that the expectation given in an Expect request header couldn't be met by
- the server.
-
-
-
-
- Equivalent to status code 500.
- Indicates that the server encountered an unexpected condition which prevented it from
- fulfilling the client's request.
-
-
-
-
- Equivalent to status code 501.
- Indicates that the server doesn't support the functionality required to fulfill the client's
- request.
-
-
-
-
- Equivalent to status code 502.
- Indicates that a gateway or proxy server received an invalid response from the upstream
- server.
-
-
-
-
- Equivalent to status code 503.
- Indicates that the server is currently unable to handle the client's request due to
- a temporary overloading or maintenance of the server.
-
-
-
-
- Equivalent to status code 504.
- Indicates that a gateway or proxy server didn't receive a timely response from the upstream
- server or some other auxiliary server.
-
-
-
-
- Equivalent to status code 505.
- Indicates that the server doesn't support the HTTP version used in the client's request.
-
-
-
-
- Decodes an HTML-encoded and returns the decoded .
-
-
- A that represents the decoded string.
-
-
- A to decode.
-
-
-
-
- Decodes an HTML-encoded and sends the decoded
- to the specified .
-
-
- A to decode.
-
-
- A that receives the decoded string.
-
-
-
-
- HTML-encodes a and returns the encoded .
-
-
- A that represents the encoded string.
-
-
- A to encode.
-
-
-
-
- HTML-encodes a and sends the encoded
- to the specified .
-
-
- A to encode.
-
-
- A that receives the encoded string.
-
-
-
-
- Provides the HTTP version numbers.
-
-
-
-
- Provides a instance for the HTTP/1.0.
-
-
-
-
- Provides a instance for the HTTP/1.1.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Provides the credentials for the password-based authentication.
-
-
-
-
- Initializes a new instance of the class with
- the specified and .
-
-
- A that represents the username associated with
- the credentials.
-
-
- A that represents the password for the username
- associated with the credentials.
-
-
- is .
-
-
- is empty.
-
-
-
-
- Initializes a new instance of the class with
- the specified , ,
- and .
-
-
- A that represents the username associated with
- the credentials.
-
-
- A that represents the password for the username
- associated with the credentials.
-
-
- A that represents the domain associated with
- the credentials.
-
-
- An array of that represents the roles
- associated with the credentials if any.
-
-
- is .
-
-
- is empty.
-
-
-
-
- Gets the domain associated with the credentials.
-
-
- This property returns an empty string if the domain was
- initialized with .
-
-
- A that represents the domain name
- to which the username belongs.
-
-
-
-
- Gets the password for the username associated with the credentials.
-
-
- This property returns an empty string if the password was
- initialized with .
-
-
- A that represents the password.
-
-
-
-
- Gets the roles associated with the credentials.
-
-
- This property returns an empty array if the roles were
- initialized with .
-
-
- An array of that represents the role names
- to which the username belongs.
-
-
-
-
- Gets the username associated with the credentials.
-
-
- A that represents the username.
-
-
-
-
- Stores the parameters for the used by servers.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- with the specified .
-
-
- A that represents the certificate used to
- authenticate the server.
-
-
-
-
- Copies the parameters from the specified to
- a new instance of the class.
-
-
- A from which to copy.
-
-
- is .
-
-
-
-
- Gets or sets a value indicating whether the certificate revocation
- list is checked during authentication.
-
-
-
- true if the certificate revocation list is checked during
- authentication; otherwise, false.
-
-
- The default value is false.
-
-
-
-
-
- Gets or sets a value indicating whether the client is asked for
- a certificate for authentication.
-
-
-
- true if the client is asked for a certificate for
- authentication; otherwise, false.
-
-
- The default value is false.
-
-
-
-
-
- Gets or sets the callback used to validate the certificate
- supplied by the client.
-
-
- The certificate is valid if the callback returns true.
-
-
-
- A delegate that
- invokes the method called for validating the certificate.
-
-
- The default value is a delegate that invokes a method that
- only returns true.
-
-
-
-
-
- Gets or sets the protocols used for authentication.
-
-
-
- The enum values that represent
- the protocols used for authentication.
-
-
- The default value is .
-
-
-
-
-
- Gets or sets the certificate used to authenticate the server.
-
-
-
- A or
- if not specified.
-
-
- That instance represents an X.509 certificate.
-
-
-
-
-
- Provides a collection of the HTTP headers associated with a request or response.
-
-
-
-
- Initializes a new instance of the class from
- the specified and .
-
-
- A that contains the serialized object data.
-
-
- A that specifies the source for the deserialization.
-
-
- is .
-
-
- An element with the specified name isn't found in .
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets all header names in the collection.
-
-
- An array of that contains all header names in the collection.
-
-
-
-
- Gets the number of headers in the collection.
-
-
- An that represents the number of headers in the collection.
-
-
-
-
- Gets or sets the specified request in the collection.
-
-
- A that represents the value of the request .
-
-
- One of the enum values, represents
- the request header to get or set.
-
-
-
- is a restricted header.
-
-
- -or-
-
-
- contains invalid characters.
-
-
-
- The length of is greater than 65,535 characters.
-
-
- The current instance doesn't allow
- the request .
-
-
-
-
- Gets or sets the specified response in the collection.
-
-
- A that represents the value of the response .
-
-
- One of the enum values, represents
- the response header to get or set.
-
-
-
- is a restricted header.
-
-
- -or-
-
-
- contains invalid characters.
-
-
-
- The length of is greater than 65,535 characters.
-
-
- The current instance doesn't allow
- the response .
-
-
-
-
- Gets a collection of header names in the collection.
-
-
- A that contains
- all header names in the collection.
-
-
-
-
- Adds a header to the collection without checking if the header is on
- the restricted header list.
-
-
- A that represents the name of the header to add.
-
-
- A that represents the value of the header to add.
-
-
- is or empty.
-
-
- or contains invalid characters.
-
-
- The length of is greater than 65,535 characters.
-
-
- The current instance doesn't allow
- the .
-
-
-
-
- Adds the specified to the collection.
-
-
- A that represents the header with the name and value separated by
- a colon (':').
-
-
- is , empty, or the name part of
- is empty.
-
-
-
- doesn't contain a colon.
-
-
- -or-
-
-
- is a restricted header.
-
-
- -or-
-
-
- The name or value part of contains invalid characters.
-
-
-
- The length of the value part of is greater than 65,535 characters.
-
-
- The current instance doesn't allow
- the .
-
-
-
-
- Adds the specified request with
- the specified to the collection.
-
-
- One of the enum values, represents
- the request header to add.
-
-
- A that represents the value of the header to add.
-
-
-
- is a restricted header.
-
-
- -or-
-
-
- contains invalid characters.
-
-
-
- The length of is greater than 65,535 characters.
-
-
- The current instance doesn't allow
- the request .
-
-
-
-
- Adds the specified response with
- the specified to the collection.
-
-
- One of the enum values, represents
- the response header to add.
-
-
- A that represents the value of the header to add.
-
-
-
- is a restricted header.
-
-
- -or-
-
-
- contains invalid characters.
-
-
-
- The length of is greater than 65,535 characters.
-
-
- The current instance doesn't allow
- the response .
-
-
-
-
- Adds a header with the specified and
- to the collection.
-
-
- A that represents the name of the header to add.
-
-
- A that represents the value of the header to add.
-
-
- is or empty.
-
-
-
- or contains invalid characters.
-
-
- -or-
-
-
- is a restricted header name.
-
-
-
- The length of is greater than 65,535 characters.
-
-
- The current instance doesn't allow
- the header .
-
-
-
-
- Removes all headers from the collection.
-
-
-
-
- Get the value of the header at the specified in the collection.
-
-
- A that receives the value of the header.
-
-
- An that represents the zero-based index of the header to find.
-
-
- is out of allowable range of indexes for the collection.
-
-
-
-
- Get the value of the header with the specified in the collection.
-
-
- A that receives the value of the header if found;
- otherwise, .
-
-
- A that represents the name of the header to find.
-
-
-
-
- Gets the enumerator used to iterate through the collection.
-
-
- An instance used to iterate through the collection.
-
-
-
-
- Get the name of the header at the specified in the collection.
-
-
- A that receives the header name.
-
-
- An that represents the zero-based index of the header to find.
-
-
- is out of allowable range of indexes for the collection.
-
-
-
-
- Gets an array of header values stored in the specified position of
- the collection.
-
-
- An array of that receives the header values if found;
- otherwise, .
-
-
- An that represents the zero-based index of the header to find.
-
-
- is out of allowable range of indexes for the collection.
-
-
-
-
- Gets an array of header values stored in the specified .
-
-
- An array of that receives the header values if found;
- otherwise, .
-
-
- A that represents the name of the header to find.
-
-
-
-
- Populates the specified with the data needed to serialize
- the .
-
-
- A that holds the serialized object data.
-
-
- A that specifies the destination for the serialization.
-
-
- is .
-
-
-
-
- Determines whether the specified header can be set for the request.
-
-
- true if the header is restricted; otherwise, false.
-
-
- A that represents the name of the header to test.
-
-
- is or empty.
-
-
- contains invalid characters.
-
-
-
-
- Determines whether the specified header can be set for the request or the response.
-
-
- true if the header is restricted; otherwise, false.
-
-
- A that represents the name of the header to test.
-
-
- true if does the test for the response; for the request, false.
-
-
- is or empty.
-
-
- contains invalid characters.
-
-
-
-
- Implements the interface and raises the deserialization event
- when the deserialization is complete.
-
-
- An that represents the source of the deserialization event.
-
-
-
-
- Removes the specified request from the collection.
-
-
- One of the enum values, represents
- the request header to remove.
-
-
- is a restricted header.
-
-
- The current instance doesn't allow
- the request .
-
-
-
-
- Removes the specified response from the collection.
-
-
- One of the enum values, represents
- the response header to remove.
-
-
- is a restricted header.
-
-
- The current instance doesn't allow
- the response .
-
-
-
-
- Removes the specified header from the collection.
-
-
- A that represents the name of the header to remove.
-
-
- is or empty.
-
-
-
- contains invalid characters.
-
-
- -or-
-
-
- is a restricted header name.
-
-
-
- The current instance doesn't allow
- the header .
-
-
-
-
- Sets the specified request to the specified value.
-
-
- One of the enum values, represents
- the request header to set.
-
-
- A that represents the value of the request header to set.
-
-
-
- is a restricted header.
-
-
- -or-
-
-
- contains invalid characters.
-
-
-
- The length of is greater than 65,535 characters.
-
-
- The current instance doesn't allow
- the request .
-
-
-
-
- Sets the specified response to the specified value.
-
-
- One of the enum values, represents
- the response header to set.
-
-
- A that represents the value of the response header to set.
-
-
-
- is a restricted header.
-
-
- -or-
-
-
- contains invalid characters.
-
-
-
- The length of is greater than 65,535 characters.
-
-
- The current instance doesn't allow
- the response .
-
-
-
-
- Sets the specified header to the specified value.
-
-
- A that represents the name of the header to set.
-
-
- A that represents the value of the header to set.
-
-
- is or empty.
-
-
-
- or contains invalid characters.
-
-
- -or-
-
-
- is a restricted header name.
-
-
-
- The length of is greater than 65,535 characters.
-
-
- The current instance doesn't allow
- the header .
-
-
-
-
- Converts the current to an array of .
-
-
- An array of that receives the converted current
- .
-
-
-
-
- Returns a that represents the current
- .
-
-
- A that represents the current .
-
-
-
-
- Populates the specified with the data needed to serialize
- the current .
-
-
- A that holds the serialized object data.
-
-
- A that specifies the destination for the serialization.
-
-
- is .
-
-
-
-
- Provides the properties used to access the information in
- a WebSocket handshake request received by the .
-
-
-
-
- Gets the HTTP cookies included in the request.
-
-
- A that contains the cookies.
-
-
-
-
- Gets the HTTP headers included in the request.
-
-
- A that contains the headers.
-
-
-
-
- Gets the value of the Host header included in the request.
-
-
- A that represents the value of the Host header.
-
-
-
-
- Gets a value indicating whether the client is authenticated.
-
-
- true if the client is authenticated; otherwise, false.
-
-
-
-
- Gets a value indicating whether the client connected from the local computer.
-
-
- true if the client connected from the local computer; otherwise, false.
-
-
-
-
- Gets a value indicating whether the WebSocket connection is secured.
-
-
- true if the connection is secured; otherwise, false.
-
-
-
-
- Gets a value indicating whether the request is a WebSocket handshake request.
-
-
- true if the request is a WebSocket handshake request; otherwise, false.
-
-
-
-
- Gets the value of the Origin header included in the request.
-
-
- A that represents the value of the Origin header.
-
-
-
-
- Gets the query string included in the request.
-
-
- A that contains the query string parameters.
-
-
-
-
- Gets the URI requested by the client.
-
-
- A that represents the requested URI.
-
-
-
-
- Gets the value of the Sec-WebSocket-Key header included in the request.
-
-
- This property provides a part of the information used by the server to prove that
- it received a valid WebSocket handshake request.
-
-
- A that represents the value of the Sec-WebSocket-Key header.
-
-
-
-
- Gets the values of the Sec-WebSocket-Protocol header included in the request.
-
-
- This property represents the subprotocols requested by the client.
-
-
- An instance that provides
- an enumerator which supports the iteration over the values of the Sec-WebSocket-Protocol
- header.
-
-
-
-
- Gets the value of the Sec-WebSocket-Version header included in the request.
-
-
- This property represents the WebSocket protocol version.
-
-
- A that represents the value of the Sec-WebSocket-Version header.
-
-
-
-
- Gets the server endpoint as an IP address and a port number.
-
-
- A that represents the server endpoint.
-
-
-
-
- Gets the client information (identity, authentication, and security roles).
-
-
- A instance that represents the client information.
-
-
-
-
- Gets the client endpoint as an IP address and a port number.
-
-
- A that represents the client endpoint.
-
-
-
-
- Gets the instance used for
- two-way communication between client and server.
-
-
- A .
-
-
-
-
- Returns a that represents
- the current .
-
-
- A that represents
- the current .
-
-
-
-
- Provides the properties used to access the information in
- a WebSocket handshake request received by the .
-
-
-
-
- Gets the HTTP cookies included in the request.
-
-
- A that contains the cookies.
-
-
-
-
- Gets the HTTP headers included in the request.
-
-
- A that contains the headers.
-
-
-
-
- Gets the value of the Host header included in the request.
-
-
- A that represents the value of the Host header.
-
-
-
-
- Gets a value indicating whether the client is authenticated.
-
-
- true if the client is authenticated; otherwise, false.
-
-
-
-
- Gets a value indicating whether the client connected from the local computer.
-
-
- true if the client connected from the local computer; otherwise, false.
-
-
-
-
- Gets a value indicating whether the WebSocket connection is secured.
-
-
- true if the connection is secured; otherwise, false.
-
-
-
-
- Gets a value indicating whether the request is a WebSocket handshake request.
-
-
- true if the request is a WebSocket handshake request; otherwise, false.
-
-
-
-
- Gets the value of the Origin header included in the request.
-
-
- A that represents the value of the Origin header.
-
-
-
-
- Gets the query string included in the request.
-
-
- A that contains the query string parameters.
-
-
-
-
- Gets the URI requested by the client.
-
-
- A that represents the requested URI.
-
-
-
-
- Gets the value of the Sec-WebSocket-Key header included in the request.
-
-
- This property provides a part of the information used by the server to prove that
- it received a valid WebSocket handshake request.
-
-
- A that represents the value of the Sec-WebSocket-Key header.
-
-
-
-
- Gets the values of the Sec-WebSocket-Protocol header included in the request.
-
-
- This property represents the subprotocols requested by the client.
-
-
- An instance that provides
- an enumerator which supports the iteration over the values of the Sec-WebSocket-Protocol
- header.
-
-
-
-
- Gets the value of the Sec-WebSocket-Version header included in the request.
-
-
- This property represents the WebSocket protocol version.
-
-
- A that represents the value of the Sec-WebSocket-Version header.
-
-
-
-
- Gets the server endpoint as an IP address and a port number.
-
-
- A that represents the server endpoint.
-
-
-
-
- Gets the client information (identity, authentication, and security roles).
-
-
- A instance that represents the client information.
-
-
-
-
- Gets the client endpoint as an IP address and a port number.
-
-
- A that represents the client endpoint.
-
-
-
-
- Gets the instance used for
- two-way communication between client and server.
-
-
- A .
-
-
-
-
- Returns a that represents
- the current .
-
-
- A that represents
- the current .
-
-
-
-
- Exposes the properties used to access the information in a WebSocket handshake request.
-
-
- This class is an abstract class.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets the HTTP cookies included in the request.
-
-
- A that contains the cookies.
-
-
-
-
- Gets the HTTP headers included in the request.
-
-
- A that contains the headers.
-
-
-
-
- Gets the value of the Host header included in the request.
-
-
- A that represents the value of the Host header.
-
-
-
-
- Gets a value indicating whether the client is authenticated.
-
-
- true if the client is authenticated; otherwise, false.
-
-
-
-
- Gets a value indicating whether the client connected from the local computer.
-
-
- true if the client connected from the local computer; otherwise, false.
-
-
-
-
- Gets a value indicating whether the WebSocket connection is secured.
-
-
- true if the connection is secured; otherwise, false.
-
-
-
-
- Gets a value indicating whether the request is a WebSocket handshake request.
-
-
- true if the request is a WebSocket handshake request; otherwise, false.
-
-
-
-
- Gets the value of the Origin header included in the request.
-
-
- A that represents the value of the Origin header.
-
-
-
-
- Gets the query string included in the request.
-
-
- A that contains the query string parameters.
-
-
-
-
- Gets the URI requested by the client.
-
-
- A that represents the requested URI.
-
-
-
-
- Gets the value of the Sec-WebSocket-Key header included in the request.
-
-
- This property provides a part of the information used by the server to prove that
- it received a valid WebSocket handshake request.
-
-
- A that represents the value of the Sec-WebSocket-Key header.
-
-
-
-
- Gets the values of the Sec-WebSocket-Protocol header included in the request.
-
-
- This property represents the subprotocols requested by the client.
-
-
- An instance that provides
- an enumerator which supports the iteration over the values of the Sec-WebSocket-Protocol
- header.
-
-
-
-
- Gets the value of the Sec-WebSocket-Version header included in the request.
-
-
- This property represents the WebSocket protocol version.
-
-
- A that represents the value of the Sec-WebSocket-Version header.
-
-
-
-
- Gets the server endpoint as an IP address and a port number.
-
-
- A that represents the server endpoint.
-
-
-
-
- Gets the client information (identity, authentication, and security roles).
-
-
- A instance that represents the client information.
-
-
-
-
- Gets the client endpoint as an IP address and a port number.
-
-
- A that represents the client endpoint.
-
-
-
-
- Gets the instance used for
- two-way communication between client and server.
-
-
- A .
-
-
-
-
- Indicates the WebSocket frame type.
-
-
- The values of this enumeration are defined in
-
- Section 5.2 of RFC 6455.
-
-
-
-
- Equivalent to numeric value 0. Indicates continuation frame.
-
-
-
-
- Equivalent to numeric value 1. Indicates text frame.
-
-
-
-
- Equivalent to numeric value 2. Indicates binary frame.
-
-
-
-
- Equivalent to numeric value 8. Indicates connection close frame.
-
-
-
-
- Equivalent to numeric value 9. Indicates ping frame.
-
-
-
-
- Equivalent to numeric value 10. Indicates pong frame.
-
-
-
-
- Represents the empty payload data.
-
-
-
-
- Represents the allowable max length.
-
-
-
- A will occur if the payload data length is
- greater than the value of this field.
-
-
- If you would like to change the value, you must set it to a value between
- WebSocket.FragmentLength and Int64.MaxValue inclusive.
-
-
-
-
-
- Indicates whether each RSV (RSV1, RSV2, and RSV3) of a WebSocket frame is non-zero.
-
-
- The values of this enumeration are defined in
- Section 5.2 of RFC 6455.
-
-
-
-
- Equivalent to numeric value 0. Indicates zero.
-
-
-
-
- Equivalent to numeric value 1. Indicates non-zero.
-
-
-
-
- Represents the event data for the HTTP request events of
- the .
-
-
-
- An HTTP request event occurs when the
- receives an HTTP request.
-
-
- You should access the property if you would
- like to get the request data sent from a client.
-
-
- And you should access the property if you would
- like to get the response data to return to the client.
-
-
-
-
-
- Gets the request data sent from a client.
-
-
- A that provides the methods and
- properties for the request data.
-
-
-
-
- Gets the response data to return to the client.
-
-
- A that provides the methods and
- properties for the response data.
-
-
-
-
- Gets the information for the client.
-
-
-
- A instance or
- if not authenticated.
-
-
- That instance describes the identity, authentication scheme,
- and security roles for the client.
-
-
-
-
-
- Reads the specified file from the document folder of
- the .
-
-
-
- An array of or
- if it fails.
-
-
- That array receives the contents of the file.
-
-
-
- A that represents a virtual path to
- find the file from the document folder.
-
-
- is .
-
-
-
- is an empty string.
-
-
- -or-
-
-
- contains "..".
-
-
-
-
-
- Tries to read the specified file from the document folder of
- the .
-
-
- true if it succeeds to read; otherwise, false.
-
-
- A that represents a virtual path to
- find the file from the document folder.
-
-
-
- When this method returns, an array of or
- if it fails.
-
-
- That array receives the contents of the file.
-
-
-
- is .
-
-
-
- is an empty string.
-
-
- -or-
-
-
- contains "..".
-
-
-
-
-
- Provides a simple HTTP server that allows to accept
- WebSocket handshake requests.
-
-
- This class can provide multiple WebSocket services.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The new instance listens for incoming requests on
- and port 80.
-
-
-
-
- Initializes a new instance of the class with
- the specified .
-
-
-
- The new instance listens for incoming requests on
- and .
-
-
- It provides secure connections if is 443.
-
-
-
- An that represents the number of the port
- on which to listen.
-
-
- is less than 1 or greater than 65535.
-
-
-
-
- Initializes a new instance of the class with
- the specified .
-
-
-
- The new instance listens for incoming requests on the IP address of the
- host of and the port of .
-
-
- Either port 80 or 443 is used if includes
- no port. Port 443 is used if the scheme of
- is https; otherwise, port 80 is used.
-
-
- The new instance provides secure connections if the scheme of
- is https.
-
-
-
- A that represents the HTTP URL of the server.
-
-
- is .
-
-
-
- is empty.
-
-
- -or-
-
-
- is invalid.
-
-
-
-
-
- Initializes a new instance of the class with
- the specified and .
-
-
- The new instance listens for incoming requests on
- and .
-
-
- An that represents the number of the port
- on which to listen.
-
-
- A : true if the new instance provides
- secure connections; otherwise, false.
-
-
- is less than 1 or greater than 65535.
-
-
-
-
- Initializes a new instance of the class with
- the specified and .
-
-
-
- The new instance listens for incoming requests on
- and .
-
-
- It provides secure connections if is 443.
-
-
-
- A that represents
- the local IP address on which to listen.
-
-
- An that represents the number of the port
- on which to listen.
-
-
- is .
-
-
- is not a local IP address.
-
-
- is less than 1 or greater than 65535.
-
-
-
-
- Initializes a new instance of the class with
- the specified , ,
- and .
-
-
- The new instance listens for incoming requests on
- and .
-
-
- A that represents
- the local IP address on which to listen.
-
-
- An that represents the number of the port
- on which to listen.
-
-
- A : true if the new instance provides
- secure connections; otherwise, false.
-
-
- is .
-
-
- is not a local IP address.
-
-
- is less than 1 or greater than 65535.
-
-
-
-
- Gets the IP address of the server.
-
-
- A that represents the local
- IP address on which to listen for incoming requests.
-
-
-
-
- Gets or sets the scheme used to authenticate the clients.
-
-
- The set operation does nothing if the server has already
- started or it is shutting down.
-
-
-
- One of the
- enum values.
-
-
- It represents the scheme used to authenticate the clients.
-
-
- The default value is
- .
-
-
-
-
-
- Gets or sets the path to the document folder of the server.
-
-
-
- '/' or '\' is trimmed from the end of the value if any.
-
-
- The set operation does nothing if the server has already
- started or it is shutting down.
-
-
-
-
- A that represents a path to the folder
- from which to find the requested file.
-
-
- The default value is "./Public".
-
-
-
- The value specified for a set operation is .
-
-
-
- The value specified for a set operation is an empty string.
-
-
- -or-
-
-
- The value specified for a set operation is an invalid path string.
-
-
- -or-
-
-
- The value specified for a set operation is an absolute root.
-
-
-
-
-
- Gets a value indicating whether the server has started.
-
-
- true if the server has started; otherwise, false.
-
-
-
-
- Gets a value indicating whether the server provides
- secure connections.
-
-
- true if the server provides secure connections;
- otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether the server cleans up
- the inactive sessions periodically.
-
-
- The set operation does nothing if the server has already
- started or it is shutting down.
-
-
-
- true if the server cleans up the inactive sessions
- every 60 seconds; otherwise, false.
-
-
- The default value is true.
-
-
-
-
-
- Gets the logging function for the server.
-
-
- The default logging level is .
-
-
- A that provides the logging function.
-
-
-
-
- Gets the port of the server.
-
-
- An that represents the number of the port
- on which to listen for incoming requests.
-
-
-
-
- Gets or sets the realm used for authentication.
-
-
-
- "SECRET AREA" is used as the realm if the value is
- or an empty string.
-
-
- The set operation does nothing if the server has
- already started or it is shutting down.
-
-
-
-
- A or by default.
-
-
- That string represents the name of the realm.
-
-
-
-
-
- Gets or sets a value indicating whether the server is allowed to
- be bound to an address that is already in use.
-
-
-
- You should set this property to true if you would
- like to resolve to wait for socket in TIME_WAIT state.
-
-
- The set operation does nothing if the server has already
- started or it is shutting down.
-
-
-
-
- true if the server is allowed to be bound to an address
- that is already in use; otherwise, false.
-
-
- The default value is false.
-
-
-
-
-
- Gets the configuration for secure connections.
-
-
- This configuration will be referenced when attempts to start,
- so it must be configured before the start method is called.
-
-
- A that represents
- the configuration used to provide secure connections.
-
-
- This instance does not provide secure connections.
-
-
-
-
- Gets or sets the delegate used to find the credentials
- for an identity.
-
-
-
- No credentials are found if the method invoked by
- the delegate returns or
- the value is .
-
-
- The set operation does nothing if the server has
- already started or it is shutting down.
-
-
-
-
- A Func<,
- > delegate or
- if not needed.
-
-
- That delegate invokes the method called for finding
- the credentials used to authenticate a client.
-
-
- The default value is .
-
-
-
-
-
- Gets or sets the time to wait for the response to the WebSocket Ping or
- Close.
-
-
- The set operation does nothing if the server has already started or
- it is shutting down.
-
-
-
- A to wait for the response.
-
-
- The default value is the same as 1 second.
-
-
-
- The value specified for a set operation is zero or less.
-
-
-
-
- Gets the management function for the WebSocket services
- provided by the server.
-
-
- A that manages
- the WebSocket services provided by the server.
-
-
-
-
- Occurs when the server receives an HTTP CONNECT request.
-
-
-
-
- Occurs when the server receives an HTTP DELETE request.
-
-
-
-
- Occurs when the server receives an HTTP GET request.
-
-
-
-
- Occurs when the server receives an HTTP HEAD request.
-
-
-
-
- Occurs when the server receives an HTTP OPTIONS request.
-
-
-
-
- Occurs when the server receives an HTTP PATCH request.
-
-
-
-
- Occurs when the server receives an HTTP POST request.
-
-
-
-
- Occurs when the server receives an HTTP PUT request.
-
-
-
-
- Occurs when the server receives an HTTP TRACE request.
-
-
-
-
- Adds a WebSocket service with the specified behavior,
- , and .
-
-
- is converted to a URL-decoded string and
- '/' is trimmed from the end of the converted string if any.
-
-
- A that represents an absolute path to
- the service to add.
-
-
-
- A Func<TBehavior> delegate.
-
-
- It invokes the method called for creating
- a new session instance for the service.
-
-
- The method must create a new instance of
- the specified behavior class and return it.
-
-
-
-
- The type of the behavior for the service.
-
-
- It must inherit the class.
-
-
-
-
- is .
-
-
- -or-
-
-
- is .
-
-
-
-
- is an empty string.
-
-
- -or-
-
-
- is not an absolute path.
-
-
- -or-
-
-
- includes either or both
- query and fragment components.
-
-
- -or-
-
-
- is already in use.
-
-
-
-
-
- Adds a WebSocket service with the specified behavior and
- .
-
-
- is converted to a URL-decoded string and
- '/' is trimmed from the end of the converted string if any.
-
-
- A that represents an absolute path to
- the service to add.
-
-
-
- The type of the behavior for the service.
-
-
- It must inherit the class and
- must have a public parameterless constructor.
-
-
-
- is .
-
-
-
- is an empty string.
-
-
- -or-
-
-
- is not an absolute path.
-
-
- -or-
-
-
- includes either or both
- query and fragment components.
-
-
- -or-
-
-
- is already in use.
-
-
-
-
-
- Adds a WebSocket service with the specified behavior,
- , and .
-
-
- is converted to a URL-decoded string and
- '/' is trimmed from the end of the converted string if any.
-
-
- A that represents an absolute path to
- the service to add.
-
-
-
- An Action<TBehaviorWithNew> delegate or
- if not needed.
-
-
- That delegate invokes the method called for initializing
- a new session instance for the service.
-
-
-
-
- The type of the behavior for the service.
-
-
- It must inherit the class and
- must have a public parameterless constructor.
-
-
-
- is .
-
-
-
- is an empty string.
-
-
- -or-
-
-
- is not an absolute path.
-
-
- -or-
-
-
- includes either or both
- query and fragment components.
-
-
- -or-
-
-
- is already in use.
-
-
-
-
-
- Gets the contents of the specified file from the document
- folder of the server.
-
-
-
- An array of or
- if it fails.
-
-
- That array represents the contents of the file.
-
-
-
- A that represents a virtual path to
- find the file from the document folder.
-
-
- is .
-
-
-
- is an empty string.
-
-
- -or-
-
-
- contains "..".
-
-
-
-
-
- Removes a WebSocket service with the specified .
-
-
-
- is converted to a URL-decoded string and
- '/' is trimmed from the end of the converted string if any.
-
-
- The service is stopped with close status 1001 (going away)
- if it has already started.
-
-
-
- true if the service is successfully found and removed;
- otherwise, false.
-
-
- A that represents an absolute path to
- the service to remove.
-
-
- is .
-
-
-
- is an empty string.
-
-
- -or-
-
-
- is not an absolute path.
-
-
- -or-
-
-
- includes either or both
- query and fragment components.
-
-
-
-
-
- Starts receiving incoming requests.
-
-
- This method does nothing if the server has already started or
- it is shutting down.
-
-
-
- There is no server certificate for secure connections.
-
-
- -or-
-
-
- The underlying has failed to start.
-
-
-
-
-
- Stops receiving incoming requests and closes each connection.
-
-
- This method does nothing if the server is not started,
- it is shutting down, or it has already stopped.
-
-
-
-
- Stops receiving incoming requests and closes each connection.
-
-
- This method does nothing if the server is not started,
- it is shutting down, or it has already stopped.
-
-
-
- A that represents the status code
- indicating the reason for the WebSocket connection close.
-
-
- The status codes are defined in
-
- Section 7.4 of RFC 6455.
-
-
-
-
- A that represents the reason for
- the WebSocket connection close.
-
-
- The size must be 123 bytes or less in UTF-8.
-
-
-
-
- is less than 1000 or greater than 4999.
-
-
- -or-
-
-
- The size of is greater than 123 bytes.
-
-
-
-
- is 1010 (mandatory extension).
-
-
- -or-
-
-
- is 1005 (no status) and
- there is .
-
-
- -or-
-
-
- could not be UTF-8-encoded.
-
-
-
-
-
- Stops receiving incoming requests and closes each connection.
-
-
- This method does nothing if the server is not started,
- it is shutting down, or it has already stopped.
-
-
-
- One of the enum values.
-
-
- It represents the status code indicating the reason for
- the WebSocket connection close.
-
-
-
-
- A that represents the reason for
- the WebSocket connection close.
-
-
- The size must be 123 bytes or less in UTF-8.
-
-
-
- The size of is greater than 123 bytes.
-
-
-
- is
- .
-
-
- -or-
-
-
- is
- and
- there is .
-
-
- -or-
-
-
- could not be UTF-8-encoded.
-
-
-
-
-
- Exposes the properties used to access the information in a session in a WebSocket service.
-
-
-
-
- Gets the information in the connection request to the WebSocket service.
-
-
- A that provides the access to the connection request.
-
-
-
-
- Gets the unique ID of the session.
-
-
- A that represents the unique ID of the session.
-
-
-
-
- Gets the WebSocket subprotocol used in the session.
-
-
- A that represents the subprotocol if any.
-
-
-
-
- Gets the time that the session has started.
-
-
- A that represents the time that the session has started.
-
-
-
-
- Gets the state of the used in the session.
-
-
- One of the enum values, indicates the state of
- the used in the session.
-
-
-
-
- Exposes the methods and properties used to define the behavior of a WebSocket service
- provided by the or .
-
-
- The WebSocketBehavior class is an abstract class.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets the logging functions.
-
-
- A that provides the logging functions,
- or if the WebSocket connection isn't established.
-
-
-
-
- Gets the access to the sessions in the WebSocket service.
-
-
- A that provides the access to the sessions,
- or if the WebSocket connection isn't established.
-
-
-
-
- Gets the information in a handshake request to the WebSocket service.
-
-
- A instance that provides the access to the handshake request,
- or if the WebSocket connection isn't established.
-
-
-
-
- Gets or sets the delegate called to validate the HTTP cookies included in
- a handshake request to the WebSocket service.
-
-
- This delegate is called when the used in a session validates
- the handshake request.
-
-
-
- A Func<CookieCollection, CookieCollection, bool> delegate that references
- the method(s) used to validate the cookies.
-
-
- 1st parameter passed to this delegate contains
- the cookies to validate if any.
-
-
- 2nd parameter passed to this delegate receives
- the cookies to send to the client.
-
-
- This delegate should return true if the cookies are valid.
-
-
- The default value is , and it does nothing to validate.
-
-
-
-
-
- Gets or sets a value indicating whether the used in a session emits
- a event when receives a Ping.
-
-
- true if the emits a event
- when receives a Ping; otherwise, false. The default value is false.
-
-
-
-
- Gets the unique ID of a session.
-
-
- A that represents the unique ID of the session,
- or if the WebSocket connection isn't established.
-
-
-
-
- Gets or sets a value indicating whether the WebSocket service ignores
- the Sec-WebSocket-Extensions header included in a handshake request.
-
-
- true if the WebSocket service ignores the extensions requested from
- a client; otherwise, false. The default value is false.
-
-
-
-
- Gets or sets the delegate called to validate the Origin header included in
- a handshake request to the WebSocket service.
-
-
- This delegate is called when the used in a session validates
- the handshake request.
-
-
-
- A Func<string, bool> delegate that references the method(s) used to
- validate the origin header.
-
-
- parameter passed to this delegate represents the value of
- the origin header to validate if any.
-
-
- This delegate should return true if the origin header is valid.
-
-
- The default value is , and it does nothing to validate.
-
-
-
-
-
- Gets or sets the WebSocket subprotocol used in the WebSocket service.
-
-
- Set operation of this property is available before the WebSocket connection has
- been established.
-
-
-
- A that represents the subprotocol if any.
- The default value is .
-
-
- The value to set must be a token defined in
- RFC 2616.
-
-
-
-
-
- Gets the time that a session has started.
-
-
- A that represents the time that the session has started,
- or if the WebSocket connection isn't established.
-
-
-
-
- Gets the state of the used in a session.
-
-
- One of the enum values, indicates the state of
- the .
-
-
-
-
- Calls the method with the specified and
- .
-
-
- This method doesn't call the method if is
- or empty.
-
-
- A that represents the error message.
-
-
- An instance that represents the cause of the error if any.
-
-
-
-
- Called when the WebSocket connection used in a session has been closed.
-
-
- A that represents the event data passed to
- a event.
-
-
-
-
- Called when the used in a session gets an error.
-
-
- A that represents the event data passed to
- a event.
-
-
-
-
- Called when the used in a session receives a message.
-
-
- A that represents the event data passed to
- a event.
-
-
-
-
- Called when the WebSocket connection used in a session has been established.
-
-
-
-
- Sends binary to the client on a session.
-
-
- This method is available after the WebSocket connection has been established.
-
-
- An array of that represents the binary data to send.
-
-
-
-
- Sends the specified as binary data to the client on a session.
-
-
- This method is available after the WebSocket connection has been established.
-
-
- A that represents the file to send.
-
-
-
-
- Sends text to the client on a session.
-
-
- This method is available after the WebSocket connection has been established.
-
-
- A that represents the text data to send.
-
-
-
-
- Sends binary asynchronously to the client on a session.
-
-
-
- This method is available after the WebSocket connection has been established.
-
-
- This method doesn't wait for the send to be complete.
-
-
-
- An array of that represents the binary data to send.
-
-
- An Action<bool> delegate that references the method(s) called when
- the send is complete. A passed to this delegate is true
- if the send is complete successfully.
-
-
-
-
- Sends the specified as binary data asynchronously to
- the client on a session.
-
-
-
- This method is available after the WebSocket connection has been established.
-
-
- This method doesn't wait for the send to be complete.
-
-
-
- A that represents the file to send.
-
-
- An Action<bool> delegate that references the method(s) called when
- the send is complete. A passed to this delegate is true
- if the send is complete successfully.
-
-
-
-
- Sends text asynchronously to the client on a session.
-
-
-
- This method is available after the WebSocket connection has been established.
-
-
- This method doesn't wait for the send to be complete.
-
-
-
- A that represents the text data to send.
-
-
- An Action<bool> delegate that references the method(s) called when
- the send is complete. A passed to this delegate is true
- if the send is complete successfully.
-
-
-
-
- Sends binary data from the specified asynchronously to
- the client on a session.
-
-
-
- This method is available after the WebSocket connection has been established.
-
-
- This method doesn't wait for the send to be complete.
-
-
-
- A from which contains the binary data to send.
-
-
- An that represents the number of bytes to send.
-
-
- An Action<bool> delegate that references the method(s) called when
- the send is complete. A passed to this delegate is true
- if the send is complete successfully.
-
-
-
-
- Provides a WebSocket protocol server.
-
-
- This class can provide multiple WebSocket services.
-
-
-
-
- Initializes a new instance of the class.
-
-
- The new instance listens for incoming handshake requests on
- and port 80.
-
-
-
-
- Initializes a new instance of the class
- with the specified .
-
-
-
- The new instance listens for incoming handshake requests on
- and .
-
-
- It provides secure connections if is 443.
-
-
-
- An that represents the number of the port
- on which to listen.
-
-
- is less than 1 or greater than 65535.
-
-
-
-
- Initializes a new instance of the class
- with the specified .
-
-
-
- The new instance listens for incoming handshake requests on
- the IP address of the host of and
- the port of .
-
-
- Either port 80 or 443 is used if includes
- no port. Port 443 is used if the scheme of
- is wss; otherwise, port 80 is used.
-
-
- The new instance provides secure connections if the scheme of
- is wss.
-
-
-
- A that represents the WebSocket URL of the server.
-
-
- is .
-
-
-
- is an empty string.
-
-
- -or-
-
-
- is invalid.
-
-
-
-
-
- Initializes a new instance of the class
- with the specified and .
-
-
- The new instance listens for incoming handshake requests on
- and .
-
-
- An that represents the number of the port
- on which to listen.
-
-
- A : true if the new instance provides
- secure connections; otherwise, false.
-
-
- is less than 1 or greater than 65535.
-
-
-
-
- Initializes a new instance of the class
- with the specified and .
-
-
-
- The new instance listens for incoming handshake requests on
- and .
-
-
- It provides secure connections if is 443.
-
-
-
- A that represents the local
- IP address on which to listen.
-
-
- An that represents the number of the port
- on which to listen.
-
-
- is .
-
-
- is not a local IP address.
-
-
- is less than 1 or greater than 65535.
-
-
-
-
- Initializes a new instance of the class
- with the specified , ,
- and .
-
-
- The new instance listens for incoming handshake requests on
- and .
-
-
- A that represents the local
- IP address on which to listen.
-
-
- An that represents the number of the port
- on which to listen.
-
-
- A : true if the new instance provides
- secure connections; otherwise, false.
-
-
- is .
-
-
- is not a local IP address.
-
-
- is less than 1 or greater than 65535.
-
-
-
-
- Gets the IP address of the server.
-
-
- A that represents the local
- IP address on which to listen for incoming handshake requests.
-
-
-
-
- Gets or sets a value indicating whether the server accepts every
- handshake request without checking the request URI.
-
-
- The set operation does nothing if the server has already started or
- it is shutting down.
-
-
-
- true if the server accepts every handshake request without
- checking the request URI; otherwise, false.
-
-
- The default value is false.
-
-
-
-
-
- Gets or sets the scheme used to authenticate the clients.
-
-
- The set operation does nothing if the server has already started or
- it is shutting down.
-
-
-
- One of the
- enum values.
-
-
- It represents the scheme used to authenticate the clients.
-
-
- The default value is
- .
-
-
-
-
-
- Gets a value indicating whether the server has started.
-
-
- true if the server has started; otherwise, false.
-
-
-
-
- Gets a value indicating whether the server provides
- secure connections.
-
-
- true if the server provides secure connections;
- otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether the server cleans up
- the inactive sessions periodically.
-
-
- The set operation does nothing if the server has already started or
- it is shutting down.
-
-
-
- true if the server cleans up the inactive sessions every
- 60 seconds; otherwise, false.
-
-
- The default value is true.
-
-
-
-
-
- Gets the logging function for the server.
-
-
- The default logging level is .
-
-
- A that provides the logging function.
-
-
-
-
- Gets the port of the server.
-
-
- An that represents the number of the port
- on which to listen for incoming handshake requests.
-
-
-
-
- Gets or sets the realm used for authentication.
-
-
-
- "SECRET AREA" is used as the realm if the value is
- or an empty string.
-
-
- The set operation does nothing if the server has
- already started or it is shutting down.
-
-
-
-
- A or by default.
-
-
- That string represents the name of the realm.
-
-
-
-
-
- Gets or sets a value indicating whether the server is allowed to
- be bound to an address that is already in use.
-
-
-
- You should set this property to true if you would
- like to resolve to wait for socket in TIME_WAIT state.
-
-
- The set operation does nothing if the server has already
- started or it is shutting down.
-
-
-
-
- true if the server is allowed to be bound to an address
- that is already in use; otherwise, false.
-
-
- The default value is false.
-
-
-
-
-
- Gets the configuration for secure connections.
-
-
- This configuration will be referenced when attempts to start,
- so it must be configured before the start method is called.
-
-
- A that represents
- the configuration used to provide secure connections.
-
-
- This instance does not provide secure connections.
-
-
-
-
- Gets or sets the delegate used to find the credentials
- for an identity.
-
-
-
- No credentials are found if the method invoked by
- the delegate returns or
- the value is .
-
-
- The set operation does nothing if the server has
- already started or it is shutting down.
-
-
-
-
- A Func<,
- > delegate or
- if not needed.
-
-
- That delegate invokes the method called for finding
- the credentials used to authenticate a client.
-
-
- The default value is .
-
-
-
-
-
- Gets or sets the time to wait for the response to the WebSocket Ping or
- Close.
-
-
- The set operation does nothing if the server has already started or
- it is shutting down.
-
-
-
- A to wait for the response.
-
-
- The default value is the same as 1 second.
-
-
-
- The value specified for a set operation is zero or less.
-
-
-
-
- Gets the management function for the WebSocket services
- provided by the server.
-
-
- A that manages
- the WebSocket services provided by the server.
-
-
-
-
- Adds a WebSocket service with the specified behavior,
- , and .
-
-
- is converted to a URL-decoded string and
- '/' is trimmed from the end of the converted string if any.
-
-
- A that represents an absolute path to
- the service to add.
-
-
-
- A Func<TBehavior> delegate.
-
-
- It invokes the method called for creating a new session
- instance for the service.
-
-
- The method must create a new instance of the specified
- behavior class and return it.
-
-
-
-
- The type of the behavior for the service.
-
-
- It must inherit the class.
-
-
-
-
- is .
-
-
- -or-
-
-
- is .
-
-
-
-
- is an empty string.
-
-
- -or-
-
-
- is not an absolute path.
-
-
- -or-
-
-
- includes either or both
- query and fragment components.
-
-
- -or-
-
-
- is already in use.
-
-
-
-
-
- Adds a WebSocket service with the specified behavior and
- .
-
-
- is converted to a URL-decoded string and
- '/' is trimmed from the end of the converted string if any.
-
-
- A that represents an absolute path to
- the service to add.
-
-
-
- The type of the behavior for the service.
-
-
- It must inherit the class and
- have a public parameterless constructor.
-
-
-
- is .
-
-
-
- is an empty string.
-
-
- -or-
-
-
- is not an absolute path.
-
-
- -or-
-
-
- includes either or both
- query and fragment components.
-
-
- -or-
-
-
- is already in use.
-
-
-
-
-
- Adds a WebSocket service with the specified behavior,
- , and .
-
-
- is converted to a URL-decoded string and
- '/' is trimmed from the end of the converted string if any.
-
-
- A that represents an absolute path to
- the service to add.
-
-
-
- An Action<TBehaviorWithNew> delegate or
- if not needed.
-
-
- That delegate invokes the method called for initializing
- a new session instance for the service.
-
-
-
-
- The type of the behavior for the service.
-
-
- It must inherit the class and
- have a public parameterless constructor.
-
-
-
- is .
-
-
-
- is an empty string.
-
-
- -or-
-
-
- is not an absolute path.
-
-
- -or-
-
-
- includes either or both
- query and fragment components.
-
-
- -or-
-
-
- is already in use.
-
-
-
-
-
- Removes a WebSocket service with the specified .
-
-
-
- is converted to a URL-decoded string and
- '/' is trimmed from the end of the converted string if any.
-
-
- The service is stopped with close status 1001 (going away)
- if it has already started.
-
-
-
- true if the service is successfully found and removed;
- otherwise, false.
-
-
- A that represents an absolute path to
- the service to remove.
-
-
- is .
-
-
-
- is an empty string.
-
-
- -or-
-
-
- is not an absolute path.
-
-
- -or-
-
-
- includes either or both
- query and fragment components.
-
-
-
-
-
- Starts receiving incoming handshake requests.
-
-
- This method does nothing if the server has already started or
- it is shutting down.
-
-
-
- There is no server certificate for secure connections.
-
-
- -or-
-
-
- The underlying has failed to start.
-
-
-
-
-
- Stops receiving incoming handshake requests and closes
- each connection.
-
-
- This method does nothing if the server is not started,
- it is shutting down, or it has already stopped.
-
-
- The underlying has failed to stop.
-
-
-
-
- Stops receiving incoming handshake requests and closes each
- connection with the specified and
- .
-
-
- This method does nothing if the server is not started,
- it is shutting down, or it has already stopped.
-
-
-
- A that represents the status code
- indicating the reason for the close.
-
-
- The status codes are defined in
-
- Section 7.4 of RFC 6455.
-
-
-
-
- A that represents the reason for the close.
-
-
- The size must be 123 bytes or less in UTF-8.
-
-
-
-
- is less than 1000 or greater than 4999.
-
-
- -or-
-
-
- The size of is greater than 123 bytes.
-
-
-
-
- is 1010 (mandatory extension).
-
-
- -or-
-
-
- is 1005 (no status) and
- there is .
-
-
- -or-
-
-
- could not be UTF-8-encoded.
-
-
-
- The underlying has failed to stop.
-
-
-
-
- Stops receiving incoming handshake requests and closes each
- connection with the specified and
- .
-
-
- This method does nothing if the server is not started,
- it is shutting down, or it has already stopped.
-
-
-
- One of the enum values.
-
-
- It represents the status code indicating the reason for the close.
-
-
-
-
- A that represents the reason for the close.
-
-
- The size must be 123 bytes or less in UTF-8.
-
-
-
-
- is
- .
-
-
- -or-
-
-
- is
- and
- there is .
-
-
- -or-
-
-
- could not be UTF-8-encoded.
-
-
-
- The size of is greater than 123 bytes.
-
-
- The underlying has failed to stop.
-
-
-
-
- Exposes the methods and properties used to access the information in
- a WebSocket service provided by the or
- .
-
-
- This class is an abstract class.
-
-
-
-
- Initializes a new instance of the class
- with the specified and .
-
-
- A that represents the absolute path to the service.
-
-
- A that represents the logging function for the service.
-
-
-
-
- Gets the logging function for the service.
-
-
- A that provides the logging function.
-
-
-
-
- Gets or sets a value indicating whether the service cleans up
- the inactive sessions periodically.
-
-
- The set operation does nothing if the service has already started or
- it is shutting down.
-
-
- true if the service cleans up the inactive sessions every
- 60 seconds; otherwise, false.
-
-
-
-
- Gets the path to the service.
-
-
- A that represents the absolute path to
- the service.
-
-
-
-
- Gets the management function for the sessions in the service.
-
-
- A that manages the sessions in
- the service.
-
-
-
-
- Gets the of the behavior of the service.
-
-
- A that represents the type of the behavior of
- the service.
-
-
-
-
- Gets or sets the time to wait for the response to the WebSocket Ping or
- Close.
-
-
- The set operation does nothing if the service has already started or
- it is shutting down.
-
-
- A to wait for the response.
-
-
- The value specified for a set operation is zero or less.
-
-
-
-
- Creates a new session for the service.
-
-
- A instance that represents
- the new session.
-
-
-
-
- Provides the management function for the WebSocket services.
-
-
- This class manages the WebSocket services provided by
- the or .
-
-
-
-
- Gets the number of the WebSocket services.
-
-
- An that represents the number of the services.
-
-
-
-
- Gets the host instances for the WebSocket services.
-
-
-
- An IEnumerable<WebSocketServiceHost> instance.
-
-
- It provides an enumerator which supports the iteration over
- the collection of the host instances.
-
-
-
-
-
- Gets the host instance for a WebSocket service with
- the specified .
-
-
- is converted to a URL-decoded string and
- / is trimmed from the end of the converted string if any.
-
-
-
- A instance or
- if not found.
-
-
- That host instance provides the function to access
- the information in the service.
-
-
-
- A that represents an absolute path to
- the service to find.
-
-
- is .
-
-
-
- is empty.
-
-
- -or-
-
-
- is not an absolute path.
-
-
- -or-
-
-
- includes either or both
- query and fragment components.
-
-
-
-
-
- Gets or sets a value indicating whether the inactive sessions in
- the WebSocket services are cleaned up periodically.
-
-
- The set operation does nothing if the server has already started or
- it is shutting down.
-
-
- true if the inactive sessions are cleaned up every 60 seconds;
- otherwise, false.
-
-
-
-
- Gets the paths for the WebSocket services.
-
-
-
- An IEnumerable<string> instance.
-
-
- It provides an enumerator which supports the iteration over
- the collection of the paths.
-
-
-
-
-
- Gets the total number of the sessions in the WebSocket services.
-
-
- An that represents the total number of
- the sessions in the services.
-
-
-
-
- Gets or sets the time to wait for the response to the WebSocket Ping or
- Close.
-
-
- The set operation does nothing if the server has already started or
- it is shutting down.
-
-
- A to wait for the response.
-
-
- The value specified for a set operation is zero or less.
-
-
-
-
- Adds a WebSocket service with the specified behavior,
- , and .
-
-
- is converted to a URL-decoded string and
- / is trimmed from the end of the converted string if any.
-
-
- A that represents an absolute path to
- the service to add.
-
-
-
- An Action<TBehavior> delegate or
- if not needed.
-
-
- That delegate invokes the method called for initializing
- a new session instance for the service.
-
-
-
- The type of the behavior for the service. It must inherit
- the class and it must have
- a public parameterless constructor.
-
-
- is .
-
-
-
- is empty.
-
-
- -or-
-
-
- is not an absolute path.
-
-
- -or-
-
-
- includes either or both
- query and fragment components.
-
-
- -or-
-
-
- is already in use.
-
-
-
-
-
- Sends to every client in the WebSocket services.
-
-
- An array of that represents the binary data to send.
-
-
- The current state of the manager is not Start.
-
-
- is .
-
-
-
-
- Sends to every client in the WebSocket services.
-
-
- A that represents the text data to send.
-
-
- The current state of the manager is not Start.
-
-
- is .
-
-
- could not be UTF-8-encoded.
-
-
-
-
- Sends asynchronously to every client in
- the WebSocket services.
-
-
- This method does not wait for the send to be complete.
-
-
- An array of that represents the binary data to send.
-
-
-
- An delegate or
- if not needed.
-
-
- The delegate invokes the method called when the send is complete.
-
-
-
- The current state of the manager is not Start.
-
-
- is .
-
-
-
-
- Sends asynchronously to every client in
- the WebSocket services.
-
-
- This method does not wait for the send to be complete.
-
-
- A that represents the text data to send.
-
-
-
- An delegate or
- if not needed.
-
-
- The delegate invokes the method called when the send is complete.
-
-
-
- The current state of the manager is not Start.
-
-
- is .
-
-
- could not be UTF-8-encoded.
-
-
-
-
- Sends the data from asynchronously to
- every client in the WebSocket services.
-
-
-
- The data is sent as the binary data.
-
-
- This method does not wait for the send to be complete.
-
-
-
- A instance from which to read the data to send.
-
-
- An that specifies the number of bytes to send.
-
-
-
- An delegate or
- if not needed.
-
-
- The delegate invokes the method called when the send is complete.
-
-
-
- The current state of the manager is not Start.
-
-
- is .
-
-
-
- cannot be read.
-
-
- -or-
-
-
- is less than 1.
-
-
- -or-
-
-
- No data could be read from .
-
-
-
-
-
- Sends a ping to every client in the WebSocket services.
-
-
-
- A Dictionary<string, Dictionary<string, bool>>.
-
-
- It represents a collection of pairs of a service path and another
- collection of pairs of a session ID and a value indicating whether
- a pong has been received from the client within a time.
-
-
-
- The current state of the manager is not Start.
-
-
-
-
- Sends a ping with to every client in
- the WebSocket services.
-
-
-
- A Dictionary<string, Dictionary<string, bool>>.
-
-
- It represents a collection of pairs of a service path and another
- collection of pairs of a session ID and a value indicating whether
- a pong has been received from the client within a time.
-
-
-
-
- A that represents the message to send.
-
-
- The size must be 125 bytes or less in UTF-8.
-
-
-
- The current state of the manager is not Start.
-
-
- could not be UTF-8-encoded.
-
-
- The size of is greater than 125 bytes.
-
-
-
-
- Removes all WebSocket services managed by the manager.
-
-
- A service is stopped with close status 1001 (going away)
- if it has already started.
-
-
-
-
- Removes a WebSocket service with the specified .
-
-
-
- is converted to a URL-decoded string and
- / is trimmed from the end of the converted string if any.
-
-
- The service is stopped with close status 1001 (going away)
- if it has already started.
-
-
-
- true if the service is successfully found and removed;
- otherwise, false.
-
-
- A that represents an absolute path to
- the service to remove.
-
-
- is .
-
-
-
- is empty.
-
-
- -or-
-
-
- is not an absolute path.
-
-
- -or-
-
-
- includes either or both
- query and fragment components.
-
-
-
-
-
- Tries to get the host instance for a WebSocket service with
- the specified .
-
-
- is converted to a URL-decoded string and
- / is trimmed from the end of the converted string if any.
-
-
- true if the service is successfully found;
- otherwise, false.
-
-
- A that represents an absolute path to
- the service to find.
-
-
-
- When this method returns, a
- instance or if not found.
-
-
- That host instance provides the function to access
- the information in the service.
-
-
-
- is .
-
-
-
- is empty.
-
-
- -or-
-
-
- is not an absolute path.
-
-
- -or-
-
-
- includes either or both
- query and fragment components.
-
-
-
-
-
- Provides the management function for the sessions in a WebSocket service.
-
-
- This class manages the sessions in a WebSocket service provided by
- the or .
-
-
-
-
- Gets the IDs for the active sessions in the WebSocket service.
-
-
-
- An IEnumerable<string> instance.
-
-
- It provides an enumerator which supports the iteration over
- the collection of the IDs for the active sessions.
-
-
-
-
-
- Gets the number of the sessions in the WebSocket service.
-
-
- An that represents the number of the sessions.
-
-
-
-
- Gets the IDs for the sessions in the WebSocket service.
-
-
-
- An IEnumerable<string> instance.
-
-
- It provides an enumerator which supports the iteration over
- the collection of the IDs for the sessions.
-
-
-
-
-
- Gets the IDs for the inactive sessions in the WebSocket service.
-
-
-
- An IEnumerable<string> instance.
-
-
- It provides an enumerator which supports the iteration over
- the collection of the IDs for the inactive sessions.
-
-
-
-
-
- Gets the session instance with .
-
-
-
- A instance or
- if not found.
-
-
- The session instance provides the function to access the information
- in the session.
-
-
-
- A that represents the ID of the session to find.
-
-
- is .
-
-
- is an empty string.
-
-
-
-
- Gets or sets a value indicating whether the inactive sessions in
- the WebSocket service are cleaned up periodically.
-
-
- The set operation does nothing if the service has already started or
- it is shutting down.
-
-
- true if the inactive sessions are cleaned up every 60 seconds;
- otherwise, false.
-
-
-
-
- Gets the session instances in the WebSocket service.
-
-
-
- An IEnumerable<IWebSocketSession> instance.
-
-
- It provides an enumerator which supports the iteration over
- the collection of the session instances.
-
-
-
-
-
- Gets or sets the time to wait for the response to the WebSocket Ping or
- Close.
-
-
- The set operation does nothing if the service has already started or
- it is shutting down.
-
-
- A to wait for the response.
-
-
- The value specified for a set operation is zero or less.
-
-
-
-
- Sends to every client in the WebSocket service.
-
-
- An array of that represents the binary data to send.
-
-
- The current state of the manager is not Start.
-
-
- is .
-
-
-
-
- Sends to every client in the WebSocket service.
-
-
- A that represents the text data to send.
-
-
- The current state of the manager is not Start.
-
-
- is .
-
-
- could not be UTF-8-encoded.
-
-
-
-
- Sends the data from to every client in
- the WebSocket service.
-
-
- The data is sent as the binary data.
-
-
- A instance from which to read the data to send.
-
-
- An that specifies the number of bytes to send.
-
-
- The current state of the manager is not Start.
-
-
- is .
-
-
-
- cannot be read.
-
-
- -or-
-
-
- is less than 1.
-
-
- -or-
-
-
- No data could be read from .
-
-
-
-
-
- Sends asynchronously to every client in
- the WebSocket service.
-
-
- This method does not wait for the send to be complete.
-
-
- An array of that represents the binary data to send.
-
-
-
- An delegate or
- if not needed.
-
-
- The delegate invokes the method called when the send is complete.
-
-
-
- The current state of the manager is not Start.
-
-
- is .
-
-
-
-
- Sends asynchronously to every client in
- the WebSocket service.
-
-
- This method does not wait for the send to be complete.
-
-
- A that represents the text data to send.
-
-
-
- An delegate or
- if not needed.
-
-
- The delegate invokes the method called when the send is complete.
-
-
-
- The current state of the manager is not Start.
-
-
- is .
-
-
- could not be UTF-8-encoded.
-
-
-
-
- Sends the data from asynchronously to
- every client in the WebSocket service.
-
-
-
- The data is sent as the binary data.
-
-
- This method does not wait for the send to be complete.
-
-
-
- A instance from which to read the data to send.
-
-
- An that specifies the number of bytes to send.
-
-
-
- An delegate or
- if not needed.
-
-
- The delegate invokes the method called when the send is complete.
-
-
-
- The current state of the manager is not Start.
-
-
- is .
-
-
-
- cannot be read.
-
-
- -or-
-
-
- is less than 1.
-
-
- -or-
-
-
- No data could be read from .
-
-
-
-
-
- Sends a ping to every client in the WebSocket service.
-
-
-
- A Dictionary<string, bool>.
-
-
- It represents a collection of pairs of a session ID and
- a value indicating whether a pong has been received from
- the client within a time.
-
-
-
- The current state of the manager is not Start.
-
-
-
-
- Sends a ping with to every client in
- the WebSocket service.
-
-
-
- A Dictionary<string, bool>.
-
-
- It represents a collection of pairs of a session ID and
- a value indicating whether a pong has been received from
- the client within a time.
-
-
-
-
- A that represents the message to send.
-
-
- The size must be 125 bytes or less in UTF-8.
-
-
-
- The current state of the manager is not Start.
-
-
- could not be UTF-8-encoded.
-
-
- The size of is greater than 125 bytes.
-
-
-
-
- Closes the specified session.
-
-
- A that represents the ID of the session to close.
-
-
- is .
-
-
- is an empty string.
-
-
- The session could not be found.
-
-
-
-
- Closes the specified session with and
- .
-
-
- A that represents the ID of the session to close.
-
-
-
- A that represents the status code indicating
- the reason for the close.
-
-
- The status codes are defined in
-
- Section 7.4 of RFC 6455.
-
-
-
-
- A that represents the reason for the close.
-
-
- The size must be 123 bytes or less in UTF-8.
-
-
-
- is .
-
-
-
- is an empty string.
-
-
- -or-
-
-
- is 1010 (mandatory extension).
-
-
- -or-
-
-
- is 1005 (no status) and there is
- .
-
-
- -or-
-
-
- could not be UTF-8-encoded.
-
-
-
- The session could not be found.
-
-
-
- is less than 1000 or greater than 4999.
-
-
- -or-
-
-
- The size of is greater than 123 bytes.
-
-
-
-
-
- Closes the specified session with and
- .
-
-
- A that represents the ID of the session to close.
-
-
-
- One of the enum values.
-
-
- It represents the status code indicating the reason for the close.
-
-
-
-
- A that represents the reason for the close.
-
-
- The size must be 123 bytes or less in UTF-8.
-
-
-
- is .
-
-
-
- is an empty string.
-
-
- -or-
-
-
- is
- .
-
-
- -or-
-
-
- is
- and there is
- .
-
-
- -or-
-
-
- could not be UTF-8-encoded.
-
-
-
- The session could not be found.
-
-
- The size of is greater than 123 bytes.
-
-
-
-
- Sends a ping to the client using the specified session.
-
-
- true if the send has done with no error and a pong has been
- received from the client within a time; otherwise, false.
-
-
- A that represents the ID of the session.
-
-
- is .
-
-
- is an empty string.
-
-
- The session could not be found.
-
-
-
-
- Sends a ping with to the client using
- the specified session.
-
-
- true if the send has done with no error and a pong has been
- received from the client within a time; otherwise, false.
-
-
-
- A that represents the message to send.
-
-
- The size must be 125 bytes or less in UTF-8.
-
-
-
- A that represents the ID of the session.
-
-
- is .
-
-
-
- is an empty string.
-
-
- -or-
-
-
- could not be UTF-8-encoded.
-
-
-
- The session could not be found.
-
-
- The size of is greater than 125 bytes.
-
-
-
-
- Sends to the client using the specified session.
-
-
- An array of that represents the binary data to send.
-
-
- A that represents the ID of the session.
-
-
-
- is .
-
-
- -or-
-
-
- is .
-
-
-
- is an empty string.
-
-
-
- The session could not be found.
-
-
- -or-
-
-
- The current state of the WebSocket connection is not Open.
-
-
-
-
-
- Sends to the client using the specified session.
-
-
- A that represents the text data to send.
-
-
- A that represents the ID of the session.
-
-
-
- is .
-
-
- -or-
-
-
- is .
-
-
-
-
- is an empty string.
-
-
- -or-
-
-
- could not be UTF-8-encoded.
-
-
-
-
- The session could not be found.
-
-
- -or-
-
-
- The current state of the WebSocket connection is not Open.
-
-
-
-
-
- Sends the data from to the client using
- the specified session.
-
-
- The data is sent as the binary data.
-
-
- A instance from which to read the data to send.
-
-
- An that specifies the number of bytes to send.
-
-
- A that represents the ID of the session.
-
-
-
- is .
-
-
- -or-
-
-
- is .
-
-
-
-
- is an empty string.
-
-
- -or-
-
-
- cannot be read.
-
-
- -or-
-
-
- is less than 1.
-
-
- -or-
-
-
- No data could be read from .
-
-
-
-
- The session could not be found.
-
-
- -or-
-
-
- The current state of the WebSocket connection is not Open.
-
-
-
-
-
- Sends asynchronously to the client using
- the specified session.
-
-
- This method does not wait for the send to be complete.
-
-
- An array of that represents the binary data to send.
-
-
- A that represents the ID of the session.
-
-
-
- An Action<bool> delegate or
- if not needed.
-
-
- The delegate invokes the method called when the send is complete.
-
-
- true is passed to the method if the send has done with
- no error; otherwise, false.
-
-
-
-
- is .
-
-
- -or-
-
-
- is .
-
-
-
- is an empty string.
-
-
-
- The session could not be found.
-
-
- -or-
-
-
- The current state of the WebSocket connection is not Open.
-
-
-
-
-
- Sends asynchronously to the client using
- the specified session.
-
-
- This method does not wait for the send to be complete.
-
-
- A that represents the text data to send.
-
-
- A that represents the ID of the session.
-
-
-
- An Action<bool> delegate or
- if not needed.
-
-
- The delegate invokes the method called when the send is complete.
-
-
- true is passed to the method if the send has done with
- no error; otherwise, false.
-
-
-
-
- is .
-
-
- -or-
-
-
- is .
-
-
-
-
- is an empty string.
-
-
- -or-
-
-
- could not be UTF-8-encoded.
-
-
-
-
- The session could not be found.
-
-
- -or-
-
-
- The current state of the WebSocket connection is not Open.
-
-
-
-
-
- Sends the data from asynchronously to
- the client using the specified session.
-
-
-
- The data is sent as the binary data.
-
-
- This method does not wait for the send to be complete.
-
-
-
- A instance from which to read the data to send.
-
-
- An that specifies the number of bytes to send.
-
-
- A that represents the ID of the session.
-
-
-
- An Action<bool> delegate or
- if not needed.
-
-
- The delegate invokes the method called when the send is complete.
-
-
- true is passed to the method if the send has done with
- no error; otherwise, false.
-
-
-
-
- is .
-
-
- -or-
-
-
- is .
-
-
-
-
- is an empty string.
-
-
- -or-
-
-
- cannot be read.
-
-
- -or-
-
-
- is less than 1.
-
-
- -or-
-
-
- No data could be read from .
-
-
-
-
- The session could not be found.
-
-
- -or-
-
-
- The current state of the WebSocket connection is not Open.
-
-
-
-
-
- Cleans up the inactive sessions in the WebSocket service.
-
-
-
-
- Tries to get the session instance with .
-
-
- true if the session is successfully found; otherwise,
- false.
-
-
- A that represents the ID of the session to find.
-
-
-
- When this method returns, a
- instance or if not found.
-
-
- The session instance provides the function to access
- the information in the session.
-
-
-
- is .
-
-
- is an empty string.
-
-
-
-
- Implements the WebSocket interface.
-
-
- The WebSocket class provides a set of methods and properties for two-way communication using
- the WebSocket protocol (RFC 6455).
-
-
-
-
- Represents the empty array of used internally.
-
-
-
-
- Represents the length used to determine whether the data should be fragmented in sending.
-
-
-
- The data will be fragmented if that length is greater than the value of this field.
-
-
- If you would like to change the value, you must set it to a value between 125 and
- Int32.MaxValue - 14 inclusive.
-
-
-
-
-
- Represents the random number generator used internally.
-
-
-
-
- Initializes a new instance of the class with
- and .
-
-
- A that specifies the URL of the WebSocket
- server to connect.
-
-
-
- An array of that specifies the names of
- the subprotocols if necessary.
-
-
- Each value of the array must be a token defined in
-
- RFC 2616.
-
-
-
- is .
-
-
-
- is an empty string.
-
-
- -or-
-
-
- is an invalid WebSocket URL string.
-
-
- -or-
-
-
- contains a value that is not a token.
-
-
- -or-
-
-
- contains a value twice.
-
-
-
-
-
- Gets or sets the compression method used to compress a message.
-
-
- The set operation does nothing if the connection has already been
- established or it is closing.
-
-
-
- One of the enum values.
-
-
- It represents the compression method used to compress a message.
-
-
- The default value is .
-
-
-
- The set operation cannot be used by servers.
-
-
-
-
- Gets the HTTP cookies included in the WebSocket handshake request and response.
-
-
- An
- instance that provides an enumerator which supports the iteration over the collection of
- the cookies.
-
-
-
-
- Gets the credentials for the HTTP authentication (Basic/Digest).
-
-
- A that represents the credentials for
- the authentication. The default value is .
-
-
-
-
- Gets or sets a value indicating whether the emits
- a event when receives a ping.
-
-
- true if the emits a event
- when receives a ping; otherwise, false. The default value is false.
-
-
-
-
- Gets or sets a value indicating whether the URL redirection for
- the handshake request is allowed.
-
-
- The set operation does nothing if the connection has already been
- established or it is closing.
-
-
-
- true if the URL redirection for the handshake request is
- allowed; otherwise, false.
-
-
- The default value is false.
-
-
-
- The set operation cannot be used by servers.
-
-
-
-
- Gets the WebSocket extensions selected by the server.
-
-
- A that represents the extensions if any.
- The default value is .
-
-
-
-
- Gets a value indicating whether the WebSocket connection is alive.
-
-
- true if the connection is alive; otherwise, false.
-
-
-
-
- Gets a value indicating whether the WebSocket connection is secure.
-
-
- true if the connection is secure; otherwise, false.
-
-
-
-
- Gets the logging functions.
-
-
- The default logging level is . If you would like to change it,
- you should set this Log.Level property to any of the enum
- values.
-
-
- A that provides the logging functions.
-
-
-
-
- Gets or sets the value of the HTTP Origin header to send with
- the handshake request.
-
-
-
- The HTTP Origin header is defined in
-
- Section 7 of RFC 6454.
-
-
- This instance sends the Origin header if this property has any.
-
-
- The set operation does nothing if the connection has already been
- established or it is closing.
-
-
-
-
- A that represents the value of the Origin
- header to send.
-
-
- The syntax is <scheme>://<host>[:<port>].
-
-
- The default value is .
-
-
-
- The set operation is not available if this instance is not a client.
-
-
-
- The value specified for a set operation is not an absolute URI string.
-
-
- -or-
-
-
- The value specified for a set operation includes the path segments.
-
-
-
-
-
- Gets the WebSocket subprotocol selected by the server.
-
-
- A that represents the subprotocol if any.
- The default value is .
-
-
-
-
- Gets the state of the WebSocket connection.
-
-
- One of the enum values that indicates
- the current state of the connection. The default value is
- .
-
-
-
-
- Gets the configuration for secure connection.
-
-
- This configuration will be referenced when attempts to connect,
- so it must be configured before any connect method is called.
-
-
- A that represents
- the configuration used to establish a secure connection.
-
-
-
- This instance is not a client.
-
-
- This instance does not use a secure connection.
-
-
-
-
-
- Gets the WebSocket URL used to connect, or accepted.
-
-
- A that represents the URL used to connect, or accepted.
-
-
-
-
- Gets or sets the time to wait for the response to the ping or close.
-
-
- The set operation does nothing if the connection has already been
- established or it is closing.
-
-
-
- A to wait for the response.
-
-
- The default value is the same as 5 seconds if the instance is
- a client.
-
-
-
- The value specified for a set operation is zero or less.
-
-
-
-
- Occurs when the WebSocket connection has been closed.
-
-
-
-
- Occurs when the gets an error.
-
-
-
-
- Occurs when the receives a message.
-
-
-
-
- Occurs when the WebSocket connection has been established.
-
-
-
-
- Accepts the WebSocket handshake request.
-
-
- This method is not available in a client.
-
-
-
-
- Accepts the WebSocket handshake request asynchronously.
-
-
-
- This method does not wait for the accept to be complete.
-
-
- This method is not available in a client.
-
-
-
-
-
- Closes the connection.
-
-
- This method does nothing if the current state of the connection is
- Closing or Closed.
-
-
-
-
- Closes the connection with the specified .
-
-
- This method does nothing if the current state of the connection is
- Closing or Closed.
-
-
-
- A that represents the status code
- indicating the reason for the close.
-
-
- The status codes are defined in
-
- Section 7.4 of RFC 6455.
-
-
-
- is less than 1000 or greater than 4999.
-
-
-
- is 1011 (server error).
- It cannot be used by clients.
-
-
- -or-
-
-
- is 1010 (mandatory extension).
- It cannot be used by servers.
-
-
-
-
-
- Closes the connection with the specified .
-
-
- This method does nothing if the current state of the connection is
- Closing or Closed.
-
-
-
- One of the enum values.
-
-
- It represents the status code indicating the reason for the close.
-
-
-
-
- is
- .
- It cannot be used by clients.
-
-
- -or-
-
-
- is
- .
- It cannot be used by servers.
-
-
-
-
-
- Closes the connection with the specified and
- .
-
-
- This method does nothing if the current state of the connection is
- Closing or Closed.
-
-
-
- A that represents the status code
- indicating the reason for the close.
-
-
- The status codes are defined in
-
- Section 7.4 of RFC 6455.
-
-
-
-
- A that represents the reason for the close.
-
-
- The size must be 123 bytes or less in UTF-8.
-
-
-
-
- is less than 1000 or greater than 4999.
-
-
- -or-
-
-
- The size of is greater than 123 bytes.
-
-
-
-
- is 1011 (server error).
- It cannot be used by clients.
-
-
- -or-
-
-
- is 1010 (mandatory extension).
- It cannot be used by servers.
-
-
- -or-
-
-
- is 1005 (no status) and
- there is .
-
-
- -or-
-
-
- could not be UTF-8-encoded.
-
-
-
-
-
- Closes the connection with the specified and
- .
-
-
- This method does nothing if the current state of the connection is
- Closing or Closed.
-
-
-
- One of the enum values.
-
-
- It represents the status code indicating the reason for the close.
-
-
-
-
- A that represents the reason for the close.
-
-
- The size must be 123 bytes or less in UTF-8.
-
-
-
-
- is
- .
- It cannot be used by clients.
-
-
- -or-
-
-
- is
- .
- It cannot be used by servers.
-
-
- -or-
-
-
- is
- and
- there is .
-
-
- -or-
-
-
- could not be UTF-8-encoded.
-
-
-
- The size of is greater than 123 bytes.
-
-
-
-
- Closes the connection asynchronously.
-
-
-
- This method does not wait for the close to be complete.
-
-
- And this method does nothing if the current state of
- the connection is Closing or Closed.
-
-
-
-
-
- Closes the connection asynchronously with the specified
- .
-
-
-
- This method does not wait for the close to be complete.
-
-
- And this method does nothing if the current state of
- the connection is Closing or Closed.
-
-
-
-
- A that represents the status code
- indicating the reason for the close.
-
-
- The status codes are defined in
-
- Section 7.4 of RFC 6455.
-
-
-
- is less than 1000 or greater than 4999.
-
-
-
- is 1011 (server error).
- It cannot be used by clients.
-
-
- -or-
-
-
- is 1010 (mandatory extension).
- It cannot be used by servers.
-
-
-
-
-
- Closes the connection asynchronously with the specified
- .
-
-
-
- This method does not wait for the close to be complete.
-
-
- And this method does nothing if the current state of
- the connection is Closing or Closed.
-
-
-
-
- One of the enum values.
-
-
- It represents the status code indicating the reason for the close.
-
-
-
-
- is
- .
- It cannot be used by clients.
-
-
- -or-
-
-
- is
- .
- It cannot be used by servers.
-
-
-
-
-
- Closes the connection asynchronously with the specified
- and .
-
-
-
- This method does not wait for the close to be complete.
-
-
- And this method does nothing if the current state of
- the connection is Closing or Closed.
-
-
-
-
- A that represents the status code
- indicating the reason for the close.
-
-
- The status codes are defined in
-
- Section 7.4 of RFC 6455.
-
-
-
-
- A that represents the reason for the close.
-
-
- The size must be 123 bytes or less in UTF-8.
-
-
-
-
- is less than 1000 or greater than 4999.
-
-
- -or-
-
-
- The size of is greater than 123 bytes.
-
-
-
-
- is 1011 (server error).
- It cannot be used by clients.
-
-
- -or-
-
-
- is 1010 (mandatory extension).
- It cannot be used by servers.
-
-
- -or-
-
-
- is 1005 (no status) and
- there is .
-
-
- -or-
-
-
- could not be UTF-8-encoded.
-
-
-
-
-
- Closes the connection asynchronously with the specified
- and .
-
-
-
- This method does not wait for the close to be complete.
-
-
- And this method does nothing if the current state of
- the connection is Closing or Closed.
-
-
-
-
- One of the enum values.
-
-
- It represents the status code indicating the reason for the close.
-
-
-
-
- A that represents the reason for the close.
-
-
- The size must be 123 bytes or less in UTF-8.
-
-
-
-
- is
- .
- It cannot be used by clients.
-
-
- -or-
-
-
- is
- .
- It cannot be used by servers.
-
-
- -or-
-
-
- is
- and
- there is .
-
-
- -or-
-
-
- could not be UTF-8-encoded.
-
-
-
- The size of is greater than 123 bytes.
-
-
-
-
- Establishes a WebSocket connection.
-
-
- This method is not available in a server.
-
-
-
-
- Establishes a WebSocket connection asynchronously.
-
-
-
- This method does not wait for the connect to be complete.
-
-
- This method is not available in a server.
-
-
-
-
-
- Sends a ping using the WebSocket connection.
-
-
- true if the send has done with no error and a pong has been
- received within a time; otherwise, false.
-
-
-
-
- Sends a ping with using the WebSocket
- connection.
-
-
- true if the send has done with no error and a pong has been
- received within a time; otherwise, false.
-
-
-
- A that represents the message to send.
-
-
- The size must be 125 bytes or less in UTF-8.
-
-
-
- could not be UTF-8-encoded.
-
-
- The size of is greater than 125 bytes.
-
-
-
-
- Sends using the WebSocket connection.
-
-
- An array of that represents the binary data to send.
-
-
- The current state of the connection is not Open.
-
-
- is .
-
-
-
-
- Sends the specified file using the WebSocket connection.
-
-
- The file is sent as the binary data.
-
-
- A that specifies the file to send.
-
-
- The current state of the connection is not Open.
-
-
- is .
-
-
-
- The file does not exist.
-
-
- -or-
-
-
- The file could not be opened.
-
-
-
-
-
- Sends using the WebSocket connection.
-
-
- A that represents the text data to send.
-
-
- The current state of the connection is not Open.
-
-
- is .
-
-
- could not be UTF-8-encoded.
-
-
-
-
- Sends the data from using the WebSocket
- connection.
-
-
- The data is sent as the binary data.
-
-
- A instance from which to read the data to send.
-
-
- An that specifies the number of bytes to send.
-
-
- The current state of the connection is not Open.
-
-
- is .
-
-
-
- cannot be read.
-
-
- -or-
-
-
- is less than 1.
-
-
- -or-
-
-
- No data could be read from .
-
-
-
-
-
- Sends asynchronously using the WebSocket
- connection.
-
-
- This method does not wait for the send to be complete.
-
-
- An array of that represents the binary data to send.
-
-
-
- An Action<bool> delegate or
- if not needed.
-
-
- The delegate invokes the method called when the send is complete.
-
-
- true is passed to the method if the send has done with
- no error; otherwise, false.
-
-
-
- The current state of the connection is not Open.
-
-
- is .
-
-
-
-
- Sends the specified file asynchronously using the WebSocket connection.
-
-
-
- The file is sent as the binary data.
-
-
- This method does not wait for the send to be complete.
-
-
-
- A that specifies the file to send.
-
-
-
- An Action<bool> delegate or
- if not needed.
-
-
- The delegate invokes the method called when the send is complete.
-
-
- true is passed to the method if the send has done with
- no error; otherwise, false.
-
-
-
- The current state of the connection is not Open.
-
-
- is .
-
-
-
- The file does not exist.
-
-
- -or-
-
-
- The file could not be opened.
-
-
-
-
-
- Sends asynchronously using the WebSocket
- connection.
-
-
- This method does not wait for the send to be complete.
-
-
- A that represents the text data to send.
-
-
-
- An Action<bool> delegate or
- if not needed.
-
-
- The delegate invokes the method called when the send is complete.
-
-
- true is passed to the method if the send has done with
- no error; otherwise, false.
-
-
-
- The current state of the connection is not Open.
-
-
- is .
-
-
- could not be UTF-8-encoded.
-
-
-
-
- Sends the data from asynchronously using
- the WebSocket connection.
-
-
-
- The data is sent as the binary data.
-
-
- This method does not wait for the send to be complete.
-
-
-
- A instance from which to read the data to send.
-
-
- An that specifies the number of bytes to send.
-
-
-
- An Action<bool> delegate or
- if not needed.
-
-
- The delegate invokes the method called when the send is complete.
-
-
- true is passed to the method if the send has done with
- no error; otherwise, false.
-
-
-
- The current state of the connection is not Open.
-
-
- is .
-
-
-
- cannot be read.
-
-
- -or-
-
-
- is less than 1.
-
-
- -or-
-
-
- No data could be read from .
-
-
-
-
-
- Sets an HTTP to send with
- the WebSocket handshake request to the server.
-
-
- This method is not available in a server.
-
-
- A that represents a cookie to send.
-
-
-
-
- Sets a pair of and for
- the HTTP authentication (Basic/Digest).
-
-
- This method is not available in a server.
-
-
-
- A that represents the user name used to authenticate.
-
-
- If is or empty,
- the credentials will be initialized and not be sent.
-
-
-
- A that represents the password for
- used to authenticate.
-
-
- true if the sends the credentials for
- the Basic authentication with the first handshake request to the server;
- otherwise, false.
-
-
-
-
- Sets the HTTP proxy server URL to connect through, and if necessary,
- a pair of and for
- the proxy server authentication (Basic/Digest).
-
-
- This method is not available in a server.
-
-
-
- A that represents the HTTP proxy server URL to
- connect through. The syntax must be http://<host>[:<port>].
-
-
- If is or empty,
- the url and credentials for the proxy will be initialized,
- and the will not use the proxy to
- connect through.
-
-
-
-
- A that represents the user name used to authenticate.
-
-
- If is or empty,
- the credentials for the proxy will be initialized and not be sent.
-
-
-
- A that represents the password for
- used to authenticate.
-
-
-
-
- Closes the connection and releases all associated resources.
-
-
-
- This method closes the connection with close status 1001 (going away).
-
-
- And this method does nothing if the current state of the connection is
- Closing or Closed.
-
-
-
-
-
- The exception that is thrown when a fatal error occurs in
- the WebSocket communication.
-
-
-
-
- Gets the status code indicating the cause of the exception.
-
-
- One of the enum values that represents
- the status code indicating the cause of the exception.
-
-
-
-
- Represents the ping frame without the payload data as an array of .
-
-
- The value of this field is created from a non masked frame, so it can only be used to
- send a ping from a server.
-
-
-
-
- Indicates the state of a WebSocket connection.
-
-
- The values of this enumeration are defined in
-
- The WebSocket API.
-
-
-
-
- Equivalent to numeric value 0. Indicates that the connection has not
- yet been established.
-
-
-
-
- Equivalent to numeric value 1. Indicates that the connection has
- been established, and the communication is possible.
-
-
-
-
- Equivalent to numeric value 2. Indicates that the connection is
- going through the closing handshake, or the close method has
- been invoked.
-
-
-
-
- Equivalent to numeric value 3. Indicates that the connection has
- been closed or could not be established.
-
-
-
-
diff --git a/packages/WebSocketSharp.1.0.3-rc11/.signature.p7s b/packages/WebSocketSharp.1.0.3-rc11/.signature.p7s
deleted file mode 100644
index 05542b6..0000000
Binary files a/packages/WebSocketSharp.1.0.3-rc11/.signature.p7s and /dev/null differ
diff --git a/packages/WebSocketSharp.1.0.3-rc11/WebSocketSharp.1.0.3-rc11.nupkg b/packages/WebSocketSharp.1.0.3-rc11/WebSocketSharp.1.0.3-rc11.nupkg
deleted file mode 100644
index 470f5a5..0000000
Binary files a/packages/WebSocketSharp.1.0.3-rc11/WebSocketSharp.1.0.3-rc11.nupkg and /dev/null differ
diff --git a/packages/WebSocketSharp.1.0.3-rc11/lib/websocket-sharp.dll b/packages/WebSocketSharp.1.0.3-rc11/lib/websocket-sharp.dll
deleted file mode 100644
index 6ec719f..0000000
Binary files a/packages/WebSocketSharp.1.0.3-rc11/lib/websocket-sharp.dll and /dev/null differ
diff --git a/packages/WebSocketSharp.1.0.3-rc11/lib/websocket-sharp.xml b/packages/WebSocketSharp.1.0.3-rc11/lib/websocket-sharp.xml
deleted file mode 100644
index 87d83dd..0000000
--- a/packages/WebSocketSharp.1.0.3-rc11/lib/websocket-sharp.xml
+++ /dev/null
@@ -1,7850 +0,0 @@
-
-
-
- websocket-sharp
-
-
-
-
- Provides a set of static methods for websocket-sharp.
-
-
-
-
- Determines whether the specified equals the specified ,
- and invokes the specified Action<int> delegate at the same time.
-
-
- true if equals ;
- otherwise, false.
-
-
- An to compare.
-
-
- A to compare.
-
-
- An Action<int> delegate that references the method(s) called
- at the same time as comparing. An parameter to pass to
- the method(s) is .
-
-
-
-
- Gets the absolute path from the specified .
-
-
- A that represents the absolute path if it's successfully found;
- otherwise, .
-
-
- A that represents the URI to get the absolute path from.
-
-
-
-
- Gets the name from the specified that contains a pair of name and
- value separated by a separator character.
-
-
- A that represents the name if any; otherwise, null.
-
-
- A that contains a pair of name and value separated by
- a separator character.
-
-
- A that represents the separator character.
-
-
-
-
- Gets the value from the specified that contains a pair of name and
- value separated by a separator character.
-
-
- A that represents the value if any; otherwise, null.
-
-
- A that contains a pair of name and value separated by
- a separator character.
-
-
- A that represents the separator character.
-
-
-
-
- Tries to create a for WebSocket with
- the specified .
-
-
- true if a is successfully created; otherwise, false.
-
-
- A that represents a WebSocket URL to try.
-
-
- When this method returns, a that represents a WebSocket URL,
- or if is invalid.
-
-
- When this method returns, a that represents an error message,
- or if is valid.
-
-
-
-
- Determines whether the specified contains any of characters in
- the specified array of .
-
-
- true if contains any of ;
- otherwise, false.
-
-
- A to test.
-
-
- An array of that contains characters to find.
-
-
-
-
- Determines whether the specified contains
- the entry with the specified .
-
-
- true if contains the entry with
- ; otherwise, false.
-
-
- A to test.
-
-
- A that represents the key of the entry to find.
-
-
-
-
- Determines whether the specified contains the entry with
- the specified both and .
-
-
- true if contains the entry with both
- and ; otherwise, false.
-
-
- A to test.
-
-
- A that represents the key of the entry to find.
-
-
- A that represents the value of the entry to find.
-
-
-
-
- Emits the specified delegate if it isn't .
-
-
- A to emit.
-
-
- An from which emits this .
-
-
- A that contains no event data.
-
-
-
-
- Emits the specified EventHandler<TEventArgs> delegate if it isn't
- .
-
-
- An EventHandler<TEventArgs> to emit.
-
-
- An from which emits this .
-
-
- A TEventArgs that represents the event data.
-
-
- The type of the event data generated by the event.
-
-
-
-
- Gets the collection of the HTTP cookies from the specified HTTP .
-
-
- A that receives a collection of the HTTP cookies.
-
-
- A that contains a collection of the HTTP headers.
-
-
- true if is a collection of the response headers;
- otherwise, false.
-
-
-
-
- Gets the description of the specified HTTP status .
-
-
- A that represents the description of the HTTP status code.
-
-
- One of enum values, indicates the HTTP status code.
-
-
-
-
- Gets the description of the specified HTTP status .
-
-
- A that represents the description of the HTTP status code.
-
-
- An that represents the HTTP status code.
-
-
-
-
- Determines whether the specified is in the allowable range of
- the WebSocket close status code.
-
-
- Not allowable ranges are the following:
-
- -
-
- Numbers in the range 0-999 are not used.
-
-
- -
-
- Numbers greater than 4999 are out of the reserved close status code ranges.
-
-
-
-
-
- true if is in the allowable range of the WebSocket
- close status code; otherwise, false.
-
-
- A to test.
-
-
-
-
- Determines whether the specified is enclosed in the specified
- .
-
-
- true if is enclosed in ;
- otherwise, false.
-
-
- A to test.
-
-
- A that represents the character to find.
-
-
-
-
- Determines whether the specified is host (this computer
- architecture) byte order.
-
-
- true if is host byte order; otherwise, false.
-
-
- One of the enum values, to test.
-
-
-
-
- Determines whether the specified represents
- a local IP address.
-
-
- This local means NOT REMOTE for the current host.
-
-
- true if represents a local IP address;
- otherwise, false.
-
-
- A to test.
-
-
-
-
- Determines whether the specified is or empty.
-
-
- true if is or empty;
- otherwise, false.
-
-
- A to test.
-
-
-
-
- Determines whether the specified is a predefined scheme.
-
-
- true if is a predefined scheme; otherwise, false.
-
-
- A to test.
-
-
-
-
- Determines whether the specified is
- an HTTP Upgrade request to switch to the specified .
-
-
- true if is an HTTP Upgrade request to switch to
- ; otherwise, false.
-
-
- A that represents the HTTP request.
-
-
- A that represents the protocol name.
-
-
-
- is .
-
-
- -or-
-
-
- is .
-
-
-
- is empty.
-
-
-
-
- Determines whether the specified is a URI string.
-
-
- true if may be a URI string; otherwise, false.
-
-
- A to test.
-
-
-
-
- Retrieves a sub-array from the specified . A sub-array starts at
- the specified element position in .
-
-
- An array of T that receives a sub-array, or an empty array of T if any problems with
- the parameters.
-
-
- An array of T from which to retrieve a sub-array.
-
-
- An that represents the zero-based starting position of
- a sub-array in .
-
-
- An that represents the number of elements to retrieve.
-
-
- The type of elements in .
-
-
-
-
- Retrieves a sub-array from the specified . A sub-array starts at
- the specified element position in .
-
-
- An array of T that receives a sub-array, or an empty array of T if any problems with
- the parameters.
-
-
- An array of T from which to retrieve a sub-array.
-
-
- A that represents the zero-based starting position of
- a sub-array in .
-
-
- A that represents the number of elements to retrieve.
-
-
- The type of elements in .
-
-
-
-
- Executes the specified delegate times.
-
-
- An is the number of times to execute.
-
-
- An delegate that references the method(s) to execute.
-
-
-
-
- Executes the specified delegate times.
-
-
- A is the number of times to execute.
-
-
- An delegate that references the method(s) to execute.
-
-
-
-
- Executes the specified delegate times.
-
-
- A is the number of times to execute.
-
-
- An delegate that references the method(s) to execute.
-
-
-
-
- Executes the specified delegate times.
-
-
- A is the number of times to execute.
-
-
- An delegate that references the method(s) to execute.
-
-
-
-
- Executes the specified Action<int> delegate times.
-
-
- An is the number of times to execute.
-
-
- An Action<int> delegate that references the method(s) to execute.
- An parameter to pass to the method(s) is the zero-based count of
- iteration.
-
-
-
-
- Executes the specified Action<long> delegate times.
-
-
- A is the number of times to execute.
-
-
- An Action<long> delegate that references the method(s) to execute.
- A parameter to pass to the method(s) is the zero-based count of
- iteration.
-
-
-
-
- Executes the specified Action<uint> delegate times.
-
-
- A is the number of times to execute.
-
-
- An Action<uint> delegate that references the method(s) to execute.
- A parameter to pass to the method(s) is the zero-based count of
- iteration.
-
-
-
-
- Executes the specified Action<ulong> delegate times.
-
-
- A is the number of times to execute.
-
-
- An Action<ulong> delegate that references the method(s) to execute.
- A parameter to pass to this method(s) is the zero-based count of
- iteration.
-
-
-
-
- Converts the specified array of to the specified type data.
-
-
- A T converted from , or a default value of
- T if is an empty array of or
- if the type of T isn't , , ,
- , , , ,
- , , or .
-
-
- An array of to convert.
-
-
- One of the enum values, specifies the byte order of
- .
-
-
- The type of the return. The T must be a value type.
-
-
- is .
-
-
-
-
- Converts the specified to an array of .
-
-
- An array of converted from .
-
-
- A T to convert.
-
-
- One of the enum values, specifies the byte order of the return.
-
-
- The type of . The T must be a value type.
-
-
-
-
- Converts the order of the specified array of to the host byte order.
-
-
- An array of converted from .
-
-
- An array of to convert.
-
-
- One of the enum values, specifies the byte order of
- .
-
-
- is .
-
-
-
-
- Converts the specified to a that
- concatenates the each element of across the specified
- .
-
-
- A converted from ,
- or if is empty.
-
-
- An array of T to convert.
-
-
- A that represents the separator string.
-
-
- The type of elements in .
-
-
- is .
-
-
-
-
- Converts the specified to a .
-
-
- A converted from ,
- or if isn't successfully converted.
-
-
- A to convert.
-
-
-
-
- URL-decodes the specified .
-
-
- A that receives the decoded string,
- or the if it's or empty.
-
-
- A to decode.
-
-
-
-
- URL-encodes the specified .
-
-
- A that receives the encoded string,
- or if it's or empty.
-
-
- A to encode.
-
-
-
-
- Writes and sends the specified data with the specified
- .
-
-
- A that represents the HTTP response used to
- send the content data.
-
-
- An array of that represents the content data to send.
-
-
-
- is .
-
-
- -or-
-
-
- is .
-
-
-
-
-
- Represents the event data for the event.
-
-
-
- A event occurs when the receives
- a text or binary message, or a ping if the property is
- set to true.
-
-
- If you would like to get the message data, you should access the or
- property.
-
-
-
-
-
- Gets the message data as a .
-
-
- A that represents the message data,
- or if the message data cannot be decoded to a string.
-
-
-
-
- Gets a value indicating whether the message type is binary.
-
-
- true if the message type is binary; otherwise, false.
-
-
-
-
- Gets a value indicating whether the message type is ping.
-
-
- true if the message type is ping; otherwise, false.
-
-
-
-
- Gets a value indicating whether the message type is text.
-
-
- true if the message type is text; otherwise, false.
-
-
-
-
- Gets the message data as an array of .
-
-
- An array of that represents the message data.
-
-
-
-
- Gets the message type.
-
-
- , , or .
-
-
-
-
- Represents the event data for the event.
-
-
-
- A event occurs when the WebSocket connection
- has been closed.
-
-
- If you would like to get the reason for the close, you should access
- the or property.
-
-
-
-
-
- Gets the status code for the close.
-
-
- A that represents the status code for the close if any.
-
-
-
-
- Gets the reason for the close.
-
-
- A that represents the reason for the close if any.
-
-
-
-
- Gets a value indicating whether the connection has been closed cleanly.
-
-
- true if the connection has been closed cleanly; otherwise, false.
-
-
-
-
- Specifies the byte order.
-
-
-
-
- Specifies Little-endian.
-
-
-
-
- Specifies Big-endian.
-
-
-
-
- Represents the event data for the event.
-
-
-
- A event occurs when the gets
- an error.
-
-
- If you would like to get the error message, you should access
- the property.
-
-
- And if the error is due to an exception, you can get the exception by accessing
- the property.
-
-
-
-
-
- Gets the exception that caused the error.
-
-
- An instance that represents the cause of the error,
- or if the error isn't due to an exception.
-
-
-
-
- Gets the error message.
-
-
- A that represents the error message.
-
-
-
-
- Implements the WebSocket interface.
-
-
- The WebSocket class provides a set of methods and properties for two-way communication using
- the WebSocket protocol (RFC 6455).
-
-
-
-
- Represents the empty array of used internally.
-
-
-
-
- Represents the length used to determine whether the data should be fragmented in sending.
-
-
-
- The data will be fragmented if that length is greater than the value of this field.
-
-
- If you would like to change the value, you must set it to a value between 125 and
- Int32.MaxValue - 14 inclusive.
-
-
-
-
-
- Represents the random number generator used internally.
-
-
-
-
- Initializes a new instance of the class with
- the specified WebSocket URL and subprotocols.
-
-
- A that represents the WebSocket URL to connect.
-
-
- An array of that contains the WebSocket subprotocols if any.
- Each value of must be a token defined in
- RFC 2616.
-
-
- is .
-
-
-
- is invalid.
-
-
- -or-
-
-
- is invalid.
-
-
-
-
-
- Accepts the WebSocket handshake request.
-
-
- This method isn't available in a client.
-
-
-
-
- Accepts the WebSocket handshake request asynchronously.
-
-
-
- This method doesn't wait for the accept to be complete.
-
-
- This method isn't available in a client.
-
-
-
-
-
- Closes the WebSocket connection, and releases all associated resources.
-
-
-
-
- Closes the WebSocket connection with the specified ,
- and releases all associated resources.
-
-
- This method emits a event if isn't in
- the allowable range of the close status code.
-
-
- A that represents the status code indicating the reason for the close.
-
-
-
-
- Closes the WebSocket connection with the specified ,
- and releases all associated resources.
-
-
- One of the enum values, represents the status code indicating
- the reason for the close.
-
-
-
-
- Closes the WebSocket connection with the specified and
- , and releases all associated resources.
-
-
- This method emits a event if isn't in
- the allowable range of the close status code or the size of is
- greater than 123 bytes.
-
-
- A that represents the status code indicating the reason for the close.
-
-
- A that represents the reason for the close.
-
-
-
-
- Closes the WebSocket connection with the specified and
- , and releases all associated resources.
-
-
- This method emits a event if the size of is
- greater than 123 bytes.
-
-
- One of the enum values, represents the status code indicating
- the reason for the close.
-
-
- A that represents the reason for the close.
-
-
-
-
- Closes the WebSocket connection asynchronously, and releases all associated resources.
-
-
- This method doesn't wait for the close to be complete.
-
-
-
-
- Closes the WebSocket connection asynchronously with the specified ,
- and releases all associated resources.
-
-
-
- This method doesn't wait for the close to be complete.
-
-
- This method emits a event if isn't in
- the allowable range of the close status code.
-
-
-
- A that represents the status code indicating the reason for the close.
-
-
-
-
- Closes the WebSocket connection asynchronously with the specified
- , and releases all associated resources.
-
-
- This method doesn't wait for the close to be complete.
-
-
- One of the enum values, represents the status code indicating
- the reason for the close.
-
-
-
-
- Closes the WebSocket connection asynchronously with the specified and
- , and releases all associated resources.
-
-
-
- This method doesn't wait for the close to be complete.
-
-
- This method emits a event if isn't in
- the allowable range of the close status code or the size of is
- greater than 123 bytes.
-
-
-
- A that represents the status code indicating the reason for the close.
-
-
- A that represents the reason for the close.
-
-
-
-
- Closes the WebSocket connection asynchronously with the specified
- and , and releases
- all associated resources.
-
-
-
- This method doesn't wait for the close to be complete.
-
-
- This method emits a event if the size of
- is greater than 123 bytes.
-
-
-
- One of the enum values, represents the status code indicating
- the reason for the close.
-
-
- A that represents the reason for the close.
-
-
-
-
- Establishes a WebSocket connection.
-
-
- This method isn't available in a server.
-
-
-
-
- Establishes a WebSocket connection asynchronously.
-
-
-
- This method doesn't wait for the connect to be complete.
-
-
- This method isn't available in a server.
-
-
-
-
-
- Sends a ping using the WebSocket connection.
-
-
- true if the receives a pong to this ping in a time;
- otherwise, false.
-
-
-
-
- Sends a ping with the specified using the WebSocket connection.
-
-
- true if the receives a pong to this ping in a time;
- otherwise, false.
-
-
- A that represents the message to send.
-
-
-
-
- Sends binary using the WebSocket connection.
-
-
- An array of that represents the binary data to send.
-
-
-
-
- Sends the specified as binary data using the WebSocket connection.
-
-
- A that represents the file to send.
-
-
-
-
- Sends text using the WebSocket connection.
-
-
- A that represents the text data to send.
-
-
-
-
- Sends binary asynchronously using the WebSocket connection.
-
-
- This method doesn't wait for the send to be complete.
-
-
- An array of that represents the binary data to send.
-
-
- An Action<bool> delegate that references the method(s) called when
- the send is complete. A passed to this delegate is true
- if the send is complete successfully.
-
-
-
-
- Sends the specified as binary data asynchronously using
- the WebSocket connection.
-
-
- This method doesn't wait for the send to be complete.
-
-
- A that represents the file to send.
-
-
- An Action<bool> delegate that references the method(s) called when
- the send is complete. A passed to this delegate is true
- if the send is complete successfully.
-
-
-
-
- Sends text asynchronously using the WebSocket connection.
-
-
- This method doesn't wait for the send to be complete.
-
-
- A that represents the text data to send.
-
-
- An Action<bool> delegate that references the method(s) called when
- the send is complete. A passed to this delegate is true
- if the send is complete successfully.
-
-
-
-
- Sends binary data from the specified asynchronously using
- the WebSocket connection.
-
-
- This method doesn't wait for the send to be complete.
-
-
- A from which contains the binary data to send.
-
-
- An that represents the number of bytes to send.
-
-
- An Action<bool> delegate that references the method(s) called when
- the send is complete. A passed to this delegate is true
- if the send is complete successfully.
-
-
-
-
- Sets an HTTP to send with
- the WebSocket handshake request to the server.
-
-
- A that represents the cookie to send.
-
-
-
-
- Sets a pair of and for
- the HTTP authentication (Basic/Digest).
-
-
- A that represents the user name used to authenticate.
-
-
- A that represents the password for
- used to authenticate.
-
-
- true if the sends the Basic authentication credentials with
- the first handshake request to the server; otherwise, false.
-
-
-
-
- Sets an HTTP proxy server URL to connect through, and if necessary,
- a pair of and for
- the proxy server authentication (Basic/Digest).
-
-
- A that represents the proxy server URL to connect through.
-
-
- A that represents the user name used to authenticate.
-
-
- A that represents the password for
- used to authenticate.
-
-
-
-
- Closes the WebSocket connection, and releases all associated resources.
-
-
- This method closes the connection with .
-
-
-
-
- Gets or sets the compression method used to compress a message on the WebSocket connection.
-
-
- One of the enum values, specifies the compression method
- used to compress a message. The default value is .
-
-
-
-
- Gets the HTTP cookies included in the WebSocket handshake request and response.
-
-
- An
- instance that provides an enumerator which supports the iteration over the collection of
- the cookies.
-
-
-
-
- Gets the credentials for the HTTP authentication (Basic/Digest).
-
-
- A that represents the credentials for
- the authentication. The default value is .
-
-
-
-
- Gets or sets a value indicating whether the emits
- a event when receives a ping.
-
-
- true if the emits a event
- when receives a ping; otherwise, false. The default value is false.
-
-
-
-
- Gets or sets a value indicating whether the redirects
- the handshake request to the new URL located in the handshake response.
-
-
- true if the redirects the handshake request to
- the new URL; otherwise, false. The default value is false.
-
-
-
-
- Gets the WebSocket extensions selected by the server.
-
-
- A that represents the extensions if any.
- The default value is .
-
-
-
-
- Gets a value indicating whether the WebSocket connection is alive.
-
-
- true if the connection is alive; otherwise, false.
-
-
-
-
- Gets a value indicating whether the WebSocket connection is secure.
-
-
- true if the connection is secure; otherwise, false.
-
-
-
-
- Gets the logging functions.
-
-
- The default logging level is . If you would like to change it,
- you should set this Log.Level property to any of the enum
- values.
-
-
- A that provides the logging functions.
-
-
-
-
- Gets or sets the value of the HTTP Origin header to send with
- the WebSocket handshake request to the server.
-
-
- The sends the Origin header if this property has any.
-
-
-
- A that represents the value of
- the Origin header to send.
- The default value is .
-
-
- The Origin header has the following syntax:
- <scheme>://<host>[:<port>]
-
-
-
-
-
- Gets the WebSocket subprotocol selected by the server.
-
-
- A that represents the subprotocol if any.
- The default value is .
-
-
-
-
- Gets the state of the WebSocket connection.
-
-
- One of the enum values, indicates the state of the connection.
- The default value is .
-
-
-
-
- Gets or sets the SSL configuration used to authenticate the server and
- optionally the client for secure connection.
-
-
- A that represents the configuration used
- to authenticate the server and optionally the client for secure connection,
- or if the is used in a server.
-
-
-
-
- Gets the WebSocket URL used to connect, or accepted.
-
-
- A that represents the URL used to connect, or accepted.
-
-
-
-
- Gets or sets the wait time for the response to the Ping or Close.
-
-
- A that represents the wait time. The default value is the same as
- 5 seconds, or 1 second if the is used in a server.
-
-
-
-
- Occurs when the WebSocket connection has been closed.
-
-
-
-
- Occurs when the gets an error.
-
-
-
-
- Occurs when the receives a message.
-
-
-
-
- Occurs when the WebSocket connection has been established.
-
-
-
-
- Provides a WebSocket protocol server.
-
-
- The WebSocketServer class can provide multiple WebSocket services.
-
-
-
-
- Initializes a new instance of the class.
-
-
- An instance initialized by this constructor listens for the incoming connection requests on
- port 80.
-
-
-
-
- Initializes a new instance of the class with
- the specified .
-
-
-
- An instance initialized by this constructor listens for the incoming connection requests
- on .
-
-
- If is 443, that instance provides a secure connection.
-
-
-
- An that represents the port number on which to listen.
-
-
- isn't between 1 and 65535 inclusive.
-
-
-
-
- Initializes a new instance of the class with
- the specified WebSocket URL.
-
-
-
- An instance initialized by this constructor listens for the incoming connection requests
- on the host name and port in .
-
-
- If doesn't include a port, either port 80 or 443 is used on
- which to listen. It's determined by the scheme (ws or wss) in .
- (Port 80 if the scheme is ws.)
-
-
-
- A that represents the WebSocket URL of the server.
-
-
- is .
-
-
-
- is empty.
-
-
- -or-
-
-
- is invalid.
-
-
-
-
-
- Initializes a new instance of the class with
- the specified and .
-
-
- An instance initialized by this constructor listens for the incoming connection requests on
- .
-
-
- An that represents the port number on which to listen.
-
-
- A that indicates providing a secure connection or not.
- (true indicates providing a secure connection.)
-
-
- isn't between 1 and 65535 inclusive.
-
-
-
-
- Initializes a new instance of the class with
- the specified and .
-
-
-
- An instance initialized by this constructor listens for the incoming connection requests
- on and .
-
-
- If is 443, that instance provides a secure connection.
-
-
-
- A that represents the local IP address of the server.
-
-
- An that represents the port number on which to listen.
-
-
- is .
-
-
- isn't a local IP address.
-
-
- isn't between 1 and 65535 inclusive.
-
-
-
-
- Initializes a new instance of the class with
- the specified , ,
- and .
-
-
- An instance initialized by this constructor listens for the incoming connection requests on
- and .
-
-
- A that represents the local IP address of the server.
-
-
- An that represents the port number on which to listen.
-
-
- A that indicates providing a secure connection or not.
- (true indicates providing a secure connection.)
-
-
- is .
-
-
- isn't a local IP address.
-
-
- isn't between 1 and 65535 inclusive.
-
-
-
-
- Adds a WebSocket service with the specified behavior, ,
- and .
-
-
-
- This method converts to URL-decoded string,
- and removes '/' from tail end of .
-
-
- returns an initialized specified typed
- instance.
-
-
-
- A that represents the absolute path to the service to add.
-
-
- A Func<T> delegate that references the method used to initialize
- a new specified typed instance (a new
- instance).
-
-
- The type of the behavior of the service to add. The TBehavior must inherit
- the class.
-
-
-
-
- Adds a WebSocket service with the specified behavior and .
-
-
- This method converts to URL-decoded string,
- and removes '/' from tail end of .
-
-
- A that represents the absolute path to the service to add.
-
-
- The type of the behavior of the service to add. The TBehaviorWithNew must inherit
- the class, and must have a public parameterless
- constructor.
-
-
-
-
- Removes the WebSocket service with the specified .
-
-
- This method converts to URL-decoded string,
- and removes '/' from tail end of .
-
-
- true if the service is successfully found and removed; otherwise, false.
-
-
- A that represents the absolute path to the service to find.
-
-
-
-
- Starts receiving the WebSocket connection requests.
-
-
-
-
- Stops receiving the WebSocket connection requests.
-
-
-
-
- Stops receiving the WebSocket connection requests with
- the specified and .
-
-
- A that represents the status code indicating the reason for the stop.
-
-
- A that represents the reason for the stop.
-
-
-
-
- Stops receiving the WebSocket connection requests with
- the specified and .
-
-
- One of the enum values, represents the status code indicating
- the reason for the stop.
-
-
- A that represents the reason for the stop.
-
-
-
-
- Gets the local IP address of the server.
-
-
- A that represents the local IP address of the server.
-
-
-
-
- Gets or sets the scheme used to authenticate the clients.
-
-
- One of the enum values,
- indicates the scheme used to authenticate the clients. The default value is
- .
-
-
-
-
- Gets a value indicating whether the server has started.
-
-
- true if the server has started; otherwise, false.
-
-
-
-
- Gets a value indicating whether the server provides a secure connection.
-
-
- true if the server provides a secure connection; otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether the server cleans up
- the inactive sessions periodically.
-
-
- true if the server cleans up the inactive sessions every 60 seconds;
- otherwise, false. The default value is true.
-
-
-
-
- Gets the logging functions.
-
-
- The default logging level is . If you would like to change it,
- you should set the Log.Level property to any of the enum
- values.
-
-
- A that provides the logging functions.
-
-
-
-
- Gets the port on which to listen for incoming connection requests.
-
-
- An that represents the port number on which to listen.
-
-
-
-
- Gets or sets the name of the realm associated with the server.
-
-
- If this property is or empty, "SECRET AREA" will be used as
- the name of the realm.
-
-
- A that represents the name of the realm. The default value is
- .
-
-
-
-
- Gets or sets a value indicating whether the server is allowed to be bound to
- an address that is already in use.
-
-
- If you would like to resolve to wait for socket in TIME_WAIT state,
- you should set this property to true.
-
-
- true if the server is allowed to be bound to an address that is already in use;
- otherwise, false. The default value is false.
-
-
-
-
- Gets or sets the SSL configuration used to authenticate the server and
- optionally the client for secure connection.
-
-
- A that represents the configuration used to
- authenticate the server and optionally the client for secure connection.
-
-
-
-
- Gets or sets the delegate called to find the credentials for an identity used to
- authenticate a client.
-
-
- A Func<, > delegate
- that references the method(s) used to find the credentials. The default value is
- .
-
-
-
-
- Gets or sets the wait time for the response to the WebSocket Ping or Close.
-
-
- A that represents the wait time. The default value is
- the same as 1 second.
-
-
-
-
- Gets the access to the WebSocket services provided by the server.
-
-
- A that manages the WebSocket services.
-
-
-
-
- Specifies the scheme for authentication.
-
-
-
-
- No authentication is allowed.
-
-
-
-
- Specifies digest authentication.
-
-
-
-
- Specifies basic authentication.
-
-
-
-
- Specifies anonymous authentication.
-
-
-
-
- Provides a set of methods and properties used to manage an HTTP Cookie.
-
-
-
- The Cookie class supports the following cookie formats:
- Netscape specification,
- RFC 2109, and
- RFC 2965
-
-
- The Cookie class cannot be inherited.
-
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class with the specified
- and .
-
-
- A that represents the Name of the cookie.
-
-
- A that represents the Value of the cookie.
-
-
-
- is or empty.
-
-
- - or -
-
-
- contains an invalid character.
-
-
- - or -
-
-
- is .
-
-
- - or -
-
-
- contains a string not enclosed in double quotes
- that contains an invalid character.
-
-
-
-
-
- Initializes a new instance of the class with the specified
- , , and .
-
-
- A that represents the Name of the cookie.
-
-
- A that represents the Value of the cookie.
-
-
- A that represents the value of the Path attribute of the cookie.
-
-
-
- is or empty.
-
-
- - or -
-
-
- contains an invalid character.
-
-
- - or -
-
-
- is .
-
-
- - or -
-
-
- contains a string not enclosed in double quotes
- that contains an invalid character.
-
-
-
-
-
- Initializes a new instance of the class with the specified
- , , , and
- .
-
-
- A that represents the Name of the cookie.
-
-
- A that represents the Value of the cookie.
-
-
- A that represents the value of the Path attribute of the cookie.
-
-
- A that represents the value of the Domain attribute of the cookie.
-
-
-
- is or empty.
-
-
- - or -
-
-
- contains an invalid character.
-
-
- - or -
-
-
- is .
-
-
- - or -
-
-
- contains a string not enclosed in double quotes
- that contains an invalid character.
-
-
-
-
-
- Determines whether the specified is equal to the current
- .
-
-
- An to compare with the current .
-
-
- true if is equal to the current ;
- otherwise, false.
-
-
-
-
- Serves as a hash function for a object.
-
-
- An that represents the hash code for the current .
-
-
-
-
- Returns a that represents the current .
-
-
- This method returns a to use to send an HTTP Cookie to
- an origin server.
-
-
- A that represents the current .
-
-
-
-
- Gets or sets the value of the Comment attribute of the cookie.
-
-
- A that represents the comment to document intended use of the cookie.
-
-
-
-
- Gets or sets the value of the CommentURL attribute of the cookie.
-
-
- A that represents the URI that provides the comment to document intended
- use of the cookie.
-
-
-
-
- Gets or sets a value indicating whether the client discards the cookie unconditionally
- when the client terminates.
-
-
- true if the client discards the cookie unconditionally when the client terminates;
- otherwise, false. The default value is false.
-
-
-
-
- Gets or sets the value of the Domain attribute of the cookie.
-
-
- A that represents the URI for which the cookie is valid.
-
-
-
-
- Gets or sets a value indicating whether the cookie has expired.
-
-
- true if the cookie has expired; otherwise, false.
- The default value is false.
-
-
-
-
- Gets or sets the value of the Expires attribute of the cookie.
-
-
- A that represents the date and time at which the cookie expires.
- The default value is .
-
-
-
-
- Gets or sets a value indicating whether non-HTTP APIs can access the cookie.
-
-
- true if non-HTTP APIs cannot access the cookie; otherwise, false.
- The default value is false.
-
-
-
-
- Gets or sets the Name of the cookie.
-
-
- A that represents the Name of the cookie.
-
-
-
- The value specified for a set operation is or empty.
-
-
- - or -
-
-
- The value specified for a set operation contains an invalid character.
-
-
-
-
-
- Gets or sets the value of the Path attribute of the cookie.
-
-
- A that represents the subset of URI on the origin server
- to which the cookie applies.
-
-
-
-
- Gets or sets the value of the Port attribute of the cookie.
-
-
- A that represents the list of TCP ports to which the cookie applies.
-
-
- The value specified for a set operation isn't enclosed in double quotes or
- couldn't be parsed.
-
-
-
-
- Gets or sets a value indicating whether the security level of the cookie is secure.
-
-
- When this property is true, the cookie may be included in the HTTP request
- only if the request is transmitted over the HTTPS.
-
-
- true if the security level of the cookie is secure; otherwise, false.
- The default value is false.
-
-
-
-
- Gets the time when the cookie was issued.
-
-
- A that represents the time when the cookie was issued.
-
-
-
-
- Gets or sets the Value of the cookie.
-
-
- A that represents the Value of the cookie.
-
-
-
- The value specified for a set operation is .
-
-
- - or -
-
-
- The value specified for a set operation contains a string not enclosed in double quotes
- that contains an invalid character.
-
-
-
-
-
- Gets or sets the value of the Version attribute of the cookie.
-
-
- An that represents the version of the HTTP state management
- to which the cookie conforms.
-
-
- The value specified for a set operation isn't 0 or 1.
-
-
-
-
- Provides a collection container for instances of the class.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Adds the specified to the collection.
-
-
- A to add.
-
-
- is .
-
-
-
-
- Adds the specified to the collection.
-
-
- A that contains the cookies to add.
-
-
- is .
-
-
-
-
- Copies the elements of the collection to the specified , starting at
- the specified in the .
-
-
- An that represents the destination of the elements copied from
- the collection.
-
-
- An that represents the zero-based index in
- at which copying begins.
-
-
- is .
-
-
- is less than zero.
-
-
-
- is multidimensional.
-
-
- -or-
-
-
- The number of elements in the collection is greater than the available space from
- to the end of the destination .
-
-
-
- The elements in the collection cannot be cast automatically to the type of the destination
- .
-
-
-
-
- Copies the elements of the collection to the specified array of ,
- starting at the specified in the .
-
-
- An array of that represents the destination of the elements
- copied from the collection.
-
-
- An that represents the zero-based index in
- at which copying begins.
-
-
- is .
-
-
- is less than zero.
-
-
- The number of elements in the collection is greater than the available space from
- to the end of the destination .
-
-
-
-
- Gets the enumerator used to iterate through the collection.
-
-
- An instance used to iterate through the collection.
-
-
-
-
- Gets the number of cookies in the collection.
-
-
- An that represents the number of cookies in the collection.
-
-
-
-
- Gets a value indicating whether the collection is read-only.
-
-
- true if the collection is read-only; otherwise, false.
- The default value is true.
-
-
-
-
- Gets a value indicating whether the access to the collection is thread safe.
-
-
- true if the access to the collection is thread safe; otherwise, false.
- The default value is false.
-
-
-
-
- Gets the at the specified from
- the collection.
-
-
- A at the specified in the collection.
-
-
- An that represents the zero-based index of the
- to find.
-
-
- is out of allowable range of indexes for the collection.
-
-
-
-
- Gets the with the specified from
- the collection.
-
-
- A with the specified in the collection.
-
-
- A that represents the name of the to find.
-
-
- is .
-
-
-
-
- Gets an object used to synchronize access to the collection.
-
-
- An used to synchronize access to the collection.
-
-
-
-
- The exception that is thrown when a gets an error.
-
-
-
-
- Initializes a new instance of the class from
- the specified and .
-
-
- A that contains the serialized object data.
-
-
- A that specifies the source for the deserialization.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Populates the specified with the data needed to serialize
- the current .
-
-
- A that holds the serialized object data.
-
-
- A that specifies the destination for the serialization.
-
-
-
-
- Populates the specified with the data needed to serialize
- the current .
-
-
- A that holds the serialized object data.
-
-
- A that specifies the destination for the serialization.
-
-
-
-
- Provides a simple, programmatically controlled HTTP listener.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Shuts down the listener immediately.
-
-
-
-
- Begins getting an incoming request asynchronously.
-
-
- This asynchronous operation must be completed by calling the EndGetContext method.
- Typically, the method is invoked by the delegate.
-
-
- An that represents the status of the asynchronous operation.
-
-
- An delegate that references the method to invoke when
- the asynchronous operation completes.
-
-
- An that represents a user defined object to pass to
- the delegate.
-
-
-
- This listener has no URI prefix on which listens.
-
-
- -or-
-
-
- This listener hasn't been started, or is currently stopped.
-
-
-
- This listener has been closed.
-
-
-
-
- Shuts down the listener.
-
-
-
-
- Ends an asynchronous operation to get an incoming request.
-
-
- This method completes an asynchronous operation started by calling
- the BeginGetContext method.
-
-
- A that represents a request.
-
-
- An obtained by calling the BeginGetContext method.
-
-
- is .
-
-
- wasn't obtained by calling the BeginGetContext method.
-
-
- This method was already called for the specified .
-
-
- This listener has been closed.
-
-
-
-
- Gets an incoming request.
-
-
- This method waits for an incoming request, and returns when a request is received.
-
-
- A that represents a request.
-
-
-
- This listener has no URI prefix on which listens.
-
-
- -or-
-
-
- This listener hasn't been started, or is currently stopped.
-
-
-
- This listener has been closed.
-
-
-
-
- Starts receiving incoming requests.
-
-
- This listener has been closed.
-
-
-
-
- Stops receiving incoming requests.
-
-
- This listener has been closed.
-
-
-
-
- Releases all resources used by the listener.
-
-
-
-
- Gets or sets the scheme used to authenticate the clients.
-
-
- One of the enum values,
- represents the scheme used to authenticate the clients. The default value is
- .
-
-
- This listener has been closed.
-
-
-
-
- Gets or sets the delegate called to select the scheme used to authenticate the clients.
-
-
- If you set this property, the listener uses the authentication scheme selected by
- the delegate for each request. Or if you don't set, the listener uses the value of
- the property as the authentication
- scheme for all requests.
-
-
- A Func<, >
- delegate that references the method used to select an authentication scheme. The default
- value is .
-
-
- This listener has been closed.
-
-
-
-
- Gets or sets the path to the folder in which stores the certificate files used to
- authenticate the server on the secure connection.
-
-
-
- This property represents the path to the folder in which stores the certificate files
- associated with each port number of added URI prefixes. A set of the certificate files
- is a pair of the 'port number'.cer (DER) and 'port number'.key
- (DER, RSA Private Key).
-
-
- If this property is or empty, the result of
- System.Environment.GetFolderPath
- () is used as the default path.
-
-
-
- A that represents the path to the folder in which stores
- the certificate files. The default value is .
-
-
- This listener has been closed.
-
-
-
-
- Gets or sets a value indicating whether the listener returns exceptions that occur when
- sending the response to the client.
-
-
- true if the listener shouldn't return those exceptions; otherwise, false.
- The default value is false.
-
-
- This listener has been closed.
-
-
-
-
- Gets a value indicating whether the listener has been started.
-
-
- true if the listener has been started; otherwise, false.
-
-
-
-
- Gets a value indicating whether the listener can be used with the current operating system.
-
-
- true.
-
-
-
-
- Gets the logging functions.
-
-
- The default logging level is . If you would like to change it,
- you should set the Log.Level property to any of the enum
- values.
-
-
- A that provides the logging functions.
-
-
-
-
- Gets the URI prefixes handled by the listener.
-
-
- A that contains the URI prefixes.
-
-
- This listener has been closed.
-
-
-
-
- Gets or sets the name of the realm associated with the listener.
-
-
- If this property is or empty, "SECRET AREA" will be used as
- the name of the realm.
-
-
- A that represents the name of the realm. The default value is
- .
-
-
- This listener has been closed.
-
-
-
-
- Gets or sets the SSL configuration used to authenticate the server and
- optionally the client for secure connection.
-
-
- A that represents the configuration used to
- authenticate the server and optionally the client for secure connection.
-
-
- This listener has been closed.
-
-
-
-
- Gets or sets a value indicating whether, when NTLM authentication is used,
- the authentication information of first request is used to authenticate
- additional requests on the same connection.
-
-
- This property isn't currently supported and always throws
- a .
-
-
- true if the authentication information of first request is used;
- otherwise, false.
-
-
- Any use of this property.
-
-
-
-
- Gets or sets the delegate called to find the credentials for an identity used to
- authenticate a client.
-
-
- A Func<, > delegate
- that references the method used to find the credentials. The default value is
- .
-
-
- This listener has been closed.
-
-
-
-
- Provides the access to the HTTP request and response objects used by
- the .
-
-
- This class cannot be inherited.
-
-
-
-
- Accepts a WebSocket handshake request.
-
-
- A that represents
- the WebSocket handshake request.
-
-
- A that represents the subprotocol supported on
- this WebSocket connection.
-
-
-
- is empty.
-
-
- -or-
-
-
- contains an invalid character.
-
-
-
- This method has already been called.
-
-
-
-
- Gets the HTTP request object that represents a client request.
-
-
- A that represents the client request.
-
-
-
-
- Gets the HTTP response object used to send a response to the client.
-
-
- A that represents a response to the client request.
-
-
-
-
- Gets the client information (identity, authentication, and security roles).
-
-
- A instance that represents the client information.
-
-
-
-
- The exception that is thrown when a gets an error
- processing an HTTP request.
-
-
-
-
- Initializes a new instance of the class from
- the specified and .
-
-
- A that contains the serialized object data.
-
-
- A that specifies the source for the deserialization.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class
- with the specified .
-
-
- An that identifies the error.
-
-
-
-
- Initializes a new instance of the class
- with the specified and .
-
-
- An that identifies the error.
-
-
- A that describes the error.
-
-
-
-
- Gets the error code that identifies the error that occurred.
-
-
- An that identifies the error.
-
-
-
-
- Provides the collection used to store the URI prefixes for the .
-
-
- The responds to the request which has a requested URI that
- the prefixes most closely match.
-
-
-
-
- Adds the specified to the collection.
-
-
- A that represents the URI prefix to add. The prefix must be
- a well-formed URI prefix with http or https scheme, and must end with a '/'.
-
-
- is .
-
-
- is invalid.
-
-
- The associated with this collection is closed.
-
-
-
-
- Removes all URI prefixes from the collection.
-
-
- The associated with this collection is closed.
-
-
-
-
- Returns a value indicating whether the collection contains the specified
- .
-
-
- true if the collection contains ;
- otherwise, false.
-
-
- A that represents the URI prefix to test.
-
-
- is .
-
-
- The associated with this collection is closed.
-
-
-
-
- Copies the contents of the collection to the specified .
-
-
- An that receives the URI prefix strings in the collection.
-
-
- An that represents the zero-based index in
- at which copying begins.
-
-
- The associated with this collection is closed.
-
-
-
-
- Copies the contents of the collection to the specified array of .
-
-
- An array of that receives the URI prefix strings in the collection.
-
-
- An that represents the zero-based index in
- at which copying begins.
-
-
- The associated with this collection is closed.
-
-
-
-
- Gets the enumerator used to iterate through the .
-
-
- An instance used to iterate
- through the collection.
-
-
-
-
- Removes the specified from the collection.
-
-
- true if is successfully found and removed;
- otherwise, false.
-
-
- A that represents the URI prefix to remove.
-
-
- is .
-
-
- The associated with this collection is closed.
-
-
-
-
- Gets the enumerator used to iterate through the .
-
-
- An instance used to iterate through the collection.
-
-
-
-
- Gets the number of prefixes in the collection.
-
-
- An that represents the number of prefixes.
-
-
-
-
- Gets a value indicating whether the access to the collection is read-only.
-
-
- Always returns false.
-
-
-
-
- Gets a value indicating whether the access to the collection is synchronized.
-
-
- Always returns false.
-
-
-
-
- Provides the access to a request to the .
-
-
- The HttpListenerRequest class cannot be inherited.
-
-
-
-
- Begins getting the client's X.509 v.3 certificate asynchronously.
-
-
- This asynchronous operation must be completed by calling
- the method. Typically,
- that method is invoked by the delegate.
-
-
- An that contains the status of the asynchronous operation.
-
-
- An delegate that references the method(s) called when
- the asynchronous operation completes.
-
-
- An that contains a user defined object to pass to
- the delegate.
-
-
- This method isn't implemented.
-
-
-
-
- Ends an asynchronous operation to get the client's X.509 v.3 certificate.
-
-
- This method completes an asynchronous operation started by calling
- the method.
-
-
- A that contains the client's X.509 v.3 certificate.
-
-
- An obtained by calling
- the method.
-
-
- This method isn't implemented.
-
-
-
-
- Gets the client's X.509 v.3 certificate.
-
-
- A that contains the client's X.509 v.3 certificate.
-
-
- This method isn't implemented.
-
-
-
-
- Returns a that represents
- the current .
-
-
- A that represents the current .
-
-
-
-
- Gets the media types which are acceptable for the response.
-
-
- An array of that contains the media type names in
- the Accept request-header, or if the request didn't include
- the Accept header.
-
-
-
-
- Gets an error code that identifies a problem with the client's certificate.
-
-
- Always returns 0.
-
-
-
-
- Gets the encoding for the entity body data included in the request.
-
-
- A that represents the encoding for the entity body data,
- or if the request didn't include the information about
- the encoding.
-
-
-
-
- Gets the number of bytes in the entity body data included in the request.
-
-
- A that represents the value of the Content-Length entity-header,
- or -1 if the value isn't known.
-
-
-
-
- Gets the media type of the entity body included in the request.
-
-
- A that represents the value of the Content-Type entity-header.
-
-
-
-
- Gets the cookies included in the request.
-
-
- A that contains the cookies included in the request.
-
-
-
-
- Gets a value indicating whether the request has the entity body.
-
-
- true if the request has the entity body; otherwise, false.
-
-
-
-
- Gets the HTTP headers used in the request.
-
-
- A that contains the HTTP headers used in the request.
-
-
-
-
- Gets the HTTP method used in the request.
-
-
- A that represents the HTTP method used in the request.
-
-
-
-
- Gets a that contains the entity body data included in the request.
-
-
- A that contains the entity body data included in the request.
-
-
-
-
- Gets a value indicating whether the client that sent the request is authenticated.
-
-
- true if the client is authenticated; otherwise, false.
-
-
-
-
- Gets a value indicating whether the request is sent from the local computer.
-
-
- true if the request is sent from the local computer; otherwise, false.
-
-
-
-
- Gets a value indicating whether the HTTP connection is secured using the SSL protocol.
-
-
- true if the HTTP connection is secured; otherwise, false.
-
-
-
-
- Gets a value indicating whether the request is a WebSocket connection request.
-
-
- true if the request is a WebSocket connection request; otherwise, false.
-
-
-
-
- Gets a value indicating whether the client requests a persistent connection.
-
-
- true if the client requests a persistent connection; otherwise, false.
-
-
-
-
- Gets the server endpoint as an IP address and a port number.
-
-
- A that represents the server endpoint.
-
-
-
-
- Gets the HTTP version used in the request.
-
-
- A that represents the HTTP version used in the request.
-
-
-
-
- Gets the query string included in the request.
-
-
- A that contains the query string parameters.
-
-
-
-
- Gets the raw URL (without the scheme, host, and port) requested by the client.
-
-
- A that represents the raw URL requested by the client.
-
-
-
-
- Gets the client endpoint as an IP address and a port number.
-
-
- A that represents the client endpoint.
-
-
-
-
- Gets the request identifier of a incoming HTTP request.
-
-
- A that represents the identifier of a request.
-
-
-
-
- Gets the URL requested by the client.
-
-
- A that represents the URL requested by the client.
-
-
-
-
- Gets the URL of the resource from which the requested URL was obtained.
-
-
- A that represents the value of the Referer request-header,
- or if the request didn't include an Referer header.
-
-
-
-
- Gets the information about the user agent originating the request.
-
-
- A that represents the value of the User-Agent request-header.
-
-
-
-
- Gets the server endpoint as an IP address and a port number.
-
-
- A that represents the server endpoint.
-
-
-
-
- Gets the internet host name and port number (if present) specified by the client.
-
-
- A that represents the value of the Host request-header.
-
-
-
-
- Gets the natural languages which are preferred for the response.
-
-
- An array of that contains the natural language names in
- the Accept-Language request-header, or if the request
- didn't include an Accept-Language header.
-
-
-
-
- Provides the access to a response to a request received by the .
-
-
- The HttpListenerResponse class cannot be inherited.
-
-
-
-
- Closes the connection to the client without returning a response.
-
-
-
-
- Adds an HTTP header with the specified and
- to the headers for the response.
-
-
- A that represents the name of the header to add.
-
-
- A that represents the value of the header to add.
-
-
- is or empty.
-
-
-
- or contains invalid characters.
-
-
- -or-
-
-
- is a restricted header name.
-
-
-
- The length of is greater than 65,535 characters.
-
-
- The header cannot be allowed to add to the current headers.
-
-
-
-
- Appends the specified to the cookies sent with the response.
-
-
- A to append.
-
-
- is .
-
-
-
-
- Appends a to the specified HTTP header sent with the response.
-
-
- A that represents the name of the header to append
- to.
-
-
- A that represents the value to append to the header.
-
-
- is or empty.
-
-
-
- or contains invalid characters.
-
-
- -or-
-
-
- is a restricted header name.
-
-
-
- The length of is greater than 65,535 characters.
-
-
- The current headers cannot allow the header to append a value.
-
-
-
-
- Returns the response to the client and releases the resources used by
- this instance.
-
-
-
-
- Returns the response with the specified array of to the client and
- releases the resources used by this instance.
-
-
- An array of that contains the response entity body data.
-
-
- true if this method blocks execution while flushing the stream to the client;
- otherwise, false.
-
-
- is .
-
-
- This object is closed.
-
-
-
-
- Copies some properties from the specified to
- this response.
-
-
- A to copy.
-
-
- is .
-
-
-
-
- Configures the response to redirect the client's request to
- the specified .
-
-
- This method sets the property to
- , the property to
- 302, and the property to
- "Found".
-
-
- A that represents the URL to redirect the client's request to.
-
-
- is .
-
-
- isn't an absolute URL.
-
-
- The response has already been sent.
-
-
- This object is closed.
-
-
-
-
- Adds or updates a in the cookies sent with the response.
-
-
- A to set.
-
-
- is .
-
-
- already exists in the cookies and couldn't be replaced.
-
-
-
-
- Releases all resources used by the .
-
-
-
-
- Gets or sets the encoding for the entity body data included in the response.
-
-
- A that represents the encoding for the entity body data,
- or if no encoding is specified.
-
-
- This object is closed.
-
-
-
-
- Gets or sets the number of bytes in the entity body data included in the response.
-
-
- A that represents the value of the Content-Length entity-header.
-
-
- The value specified for a set operation is less than zero.
-
-
- The response has already been sent.
-
-
- This object is closed.
-
-
-
-
- Gets or sets the media type of the entity body included in the response.
-
-
- A that represents the media type of the entity body,
- or if no media type is specified. This value is
- used for the value of the Content-Type entity-header.
-
-
- The value specified for a set operation is empty.
-
-
- This object is closed.
-
-
-
-
- Gets or sets the cookies sent with the response.
-
-
- A that contains the cookies sent with the response.
-
-
-
-
- Gets or sets the HTTP headers sent to the client.
-
-
- A that contains the headers sent to the client.
-
-
- The value specified for a set operation isn't valid for a response.
-
-
-
-
- Gets or sets a value indicating whether the server requests a persistent connection.
-
-
- true if the server requests a persistent connection; otherwise, false.
- The default value is true.
-
-
- The response has already been sent.
-
-
- This object is closed.
-
-
-
-
- Gets a to use to write the entity body data.
-
-
- A to use to write the entity body data.
-
-
- This object is closed.
-
-
-
-
- Gets or sets the HTTP version used in the response.
-
-
- A that represents the version used in the response.
-
-
- The value specified for a set operation is .
-
-
- The value specified for a set operation doesn't have its Major property set to 1 or
- doesn't have its Minor property set to either 0 or 1.
-
-
- The response has already been sent.
-
-
- This object is closed.
-
-
-
-
- Gets or sets the URL to which the client is redirected to locate a requested resource.
-
-
- A that represents the value of the Location response-header,
- or if no redirect location is specified.
-
-
- The value specified for a set operation isn't an absolute URL.
-
-
- This object is closed.
-
-
-
-
- Gets or sets a value indicating whether the response uses the chunked transfer encoding.
-
-
- true if the response uses the chunked transfer encoding;
- otherwise, false. The default value is false.
-
-
- The response has already been sent.
-
-
- This object is closed.
-
-
-
-
- Gets or sets the HTTP status code returned to the client.
-
-
- An that represents the status code for the response to
- the request. The default value is same as .
-
-
- The response has already been sent.
-
-
- This object is closed.
-
-
- The value specified for a set operation is invalid. Valid values are
- between 100 and 999 inclusive.
-
-
-
-
- Gets or sets the description of the HTTP status code returned to the client.
-
-
- A that represents the description of the status code. The default
- value is the RFC 2616
- description for the property value,
- or if an RFC 2616 description doesn't exist.
-
-
- The value specified for a set operation contains invalid characters.
-
-
- The response has already been sent.
-
-
- This object is closed.
-
-
-
-
- Decodes an HTML-encoded and returns the decoded .
-
-
- A that represents the decoded string.
-
-
- A to decode.
-
-
-
-
- Decodes an HTML-encoded and sends the decoded
- to the specified .
-
-
- A to decode.
-
-
- A that receives the decoded string.
-
-
-
-
- HTML-encodes a and returns the encoded .
-
-
- A that represents the encoded string.
-
-
- A to encode.
-
-
-
-
- HTML-encodes a and sends the encoded
- to the specified .
-
-
- A to encode.
-
-
- A that receives the encoded string.
-
-
-
-
- Provides a collection of the HTTP headers associated with a request or response.
-
-
-
-
- Initializes a new instance of the class from
- the specified and .
-
-
- A that contains the serialized object data.
-
-
- A that specifies the source for the deserialization.
-
-
- is .
-
-
- An element with the specified name isn't found in .
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Adds a header to the collection without checking if the header is on
- the restricted header list.
-
-
- A that represents the name of the header to add.
-
-
- A that represents the value of the header to add.
-
-
- is or empty.
-
-
- or contains invalid characters.
-
-
- The length of is greater than 65,535 characters.
-
-
- The current instance doesn't allow
- the .
-
-
-
-
- Adds the specified to the collection.
-
-
- A that represents the header with the name and value separated by
- a colon (':').
-
-
- is , empty, or the name part of
- is empty.
-
-
-
- doesn't contain a colon.
-
-
- -or-
-
-
- is a restricted header.
-
-
- -or-
-
-
- The name or value part of contains invalid characters.
-
-
-
- The length of the value part of is greater than 65,535 characters.
-
-
- The current instance doesn't allow
- the .
-
-
-
-
- Adds the specified request with
- the specified to the collection.
-
-
- One of the enum values, represents
- the request header to add.
-
-
- A that represents the value of the header to add.
-
-
-
- is a restricted header.
-
-
- -or-
-
-
- contains invalid characters.
-
-
-
- The length of is greater than 65,535 characters.
-
-
- The current instance doesn't allow
- the request .
-
-
-
-
- Adds the specified response with
- the specified to the collection.
-
-
- One of the enum values, represents
- the response header to add.
-
-
- A that represents the value of the header to add.
-
-
-
- is a restricted header.
-
-
- -or-
-
-
- contains invalid characters.
-
-
-
- The length of is greater than 65,535 characters.
-
-
- The current instance doesn't allow
- the response .
-
-
-
-
- Adds a header with the specified and
- to the collection.
-
-
- A that represents the name of the header to add.
-
-
- A that represents the value of the header to add.
-
-
- is or empty.
-
-
-
- or contains invalid characters.
-
-
- -or-
-
-
- is a restricted header name.
-
-
-
- The length of is greater than 65,535 characters.
-
-
- The current instance doesn't allow
- the header .
-
-
-
-
- Removes all headers from the collection.
-
-
-
-
- Get the value of the header at the specified in the collection.
-
-
- A that receives the value of the header.
-
-
- An that represents the zero-based index of the header to find.
-
-
- is out of allowable range of indexes for the collection.
-
-
-
-
- Get the value of the header with the specified in the collection.
-
-
- A that receives the value of the header if found;
- otherwise, .
-
-
- A that represents the name of the header to find.
-
-
-
-
- Gets the enumerator used to iterate through the collection.
-
-
- An instance used to iterate through the collection.
-
-
-
-
- Get the name of the header at the specified in the collection.
-
-
- A that receives the header name.
-
-
- An that represents the zero-based index of the header to find.
-
-
- is out of allowable range of indexes for the collection.
-
-
-
-
- Gets an array of header values stored in the specified position of
- the collection.
-
-
- An array of that receives the header values if found;
- otherwise, .
-
-
- An that represents the zero-based index of the header to find.
-
-
- is out of allowable range of indexes for the collection.
-
-
-
-
- Gets an array of header values stored in the specified .
-
-
- An array of that receives the header values if found;
- otherwise, .
-
-
- A that represents the name of the header to find.
-
-
-
-
- Populates the specified with the data needed to serialize
- the .
-
-
- A that holds the serialized object data.
-
-
- A that specifies the destination for the serialization.
-
-
- is .
-
-
-
-
- Determines whether the specified header can be set for the request.
-
-
- true if the header is restricted; otherwise, false.
-
-
- A that represents the name of the header to test.
-
-
- is or empty.
-
-
- contains invalid characters.
-
-
-
-
- Determines whether the specified header can be set for the request or the response.
-
-
- true if the header is restricted; otherwise, false.
-
-
- A that represents the name of the header to test.
-
-
- true if does the test for the response; for the request, false.
-
-
- is or empty.
-
-
- contains invalid characters.
-
-
-
-
- Implements the interface and raises the deserialization event
- when the deserialization is complete.
-
-
- An that represents the source of the deserialization event.
-
-
-
-
- Removes the specified request from the collection.
-
-
- One of the enum values, represents
- the request header to remove.
-
-
- is a restricted header.
-
-
- The current instance doesn't allow
- the request .
-
-
-
-
- Removes the specified response from the collection.
-
-
- One of the enum values, represents
- the response header to remove.
-
-
- is a restricted header.
-
-
- The current instance doesn't allow
- the response .
-
-
-
-
- Removes the specified header from the collection.
-
-
- A that represents the name of the header to remove.
-
-
- is or empty.
-
-
-
- contains invalid characters.
-
-
- -or-
-
-
- is a restricted header name.
-
-
-
- The current instance doesn't allow
- the header .
-
-
-
-
- Sets the specified request to the specified value.
-
-
- One of the enum values, represents
- the request header to set.
-
-
- A that represents the value of the request header to set.
-
-
-
- is a restricted header.
-
-
- -or-
-
-
- contains invalid characters.
-
-
-
- The length of is greater than 65,535 characters.
-
-
- The current instance doesn't allow
- the request .
-
-
-
-
- Sets the specified response to the specified value.
-
-
- One of the enum values, represents
- the response header to set.
-
-
- A that represents the value of the response header to set.
-
-
-
- is a restricted header.
-
-
- -or-
-
-
- contains invalid characters.
-
-
-
- The length of is greater than 65,535 characters.
-
-
- The current instance doesn't allow
- the response .
-
-
-
-
- Sets the specified header to the specified value.
-
-
- A that represents the name of the header to set.
-
-
- A that represents the value of the header to set.
-
-
- is or empty.
-
-
-
- or contains invalid characters.
-
-
- -or-
-
-
- is a restricted header name.
-
-
-
- The length of is greater than 65,535 characters.
-
-
- The current instance doesn't allow
- the header .
-
-
-
-
- Converts the current to an array of .
-
-
- An array of that receives the converted current
- .
-
-
-
-
- Returns a that represents the current
- .
-
-
- A that represents the current .
-
-
-
-
- Populates the specified with the data needed to serialize
- the current .
-
-
- A that holds the serialized object data.
-
-
- A that specifies the destination for the serialization.
-
-
- is .
-
-
-
-
- Gets all header names in the collection.
-
-
- An array of that contains all header names in the collection.
-
-
-
-
- Gets the number of headers in the collection.
-
-
- An that represents the number of headers in the collection.
-
-
-
-
- Gets or sets the specified request in the collection.
-
-
- A that represents the value of the request .
-
-
- One of the enum values, represents
- the request header to get or set.
-
-
-
- is a restricted header.
-
-
- -or-
-
-
- contains invalid characters.
-
-
-
- The length of is greater than 65,535 characters.
-
-
- The current instance doesn't allow
- the request .
-
-
-
-
- Gets or sets the specified response in the collection.
-
-
- A that represents the value of the response .
-
-
- One of the enum values, represents
- the response header to get or set.
-
-
-
- is a restricted header.
-
-
- -or-
-
-
- contains invalid characters.
-
-
-
- The length of is greater than 65,535 characters.
-
-
- The current instance doesn't allow
- the response .
-
-
-
-
- Gets a collection of header names in the collection.
-
-
- A that contains
- all header names in the collection.
-
-
-
-
- Provides a simple HTTP server that allows to accept the WebSocket connection requests.
-
-
- The HttpServer class can provide multiple WebSocket services.
-
-
-
-
- Initializes a new instance of the class.
-
-
- An instance initialized by this constructor listens for the incoming requests on port 80.
-
-
-
-
- Initializes a new instance of the class with
- the specified .
-
-
-
- An instance initialized by this constructor listens for the incoming requests on
- .
-
-
- If is 443, that instance provides a secure connection.
-
-
-
- An that represents the port number on which to listen.
-
-
- isn't between 1 and 65535 inclusive.
-
-
-
-
- Initializes a new instance of the class with
- the specified HTTP URL.
-
-
-
- An instance initialized by this constructor listens for the incoming requests on
- the host name and port in .
-
-
- If doesn't include a port, either port 80 or 443 is used on
- which to listen. It's determined by the scheme (http or https) in .
- (Port 80 if the scheme is http.)
-
-
-
- A that represents the HTTP URL of the server.
-
-
- is .
-
-
-
- is empty.
-
-
- -or-
-
-
- is invalid.
-
-
-
-
-
- Initializes a new instance of the class with
- the specified and .
-
-
- An instance initialized by this constructor listens for the incoming requests on
- .
-
-
- An that represents the port number on which to listen.
-
-
- A that indicates providing a secure connection or not.
- (true indicates providing a secure connection.)
-
-
- isn't between 1 and 65535 inclusive.
-
-
-
-
- Initializes a new instance of the class with
- the specified and .
-
-
-
- An instance initialized by this constructor listens for the incoming requests on
- and .
-
-
- If is 443, that instance provides a secure connection.
-
-
-
- A that represents the local IP address of the server.
-
-
- An that represents the port number on which to listen.
-
-
- is .
-
-
- isn't a local IP address.
-
-
- isn't between 1 and 65535 inclusive.
-
-
-
-
- Initializes a new instance of the class with
- the specified , ,
- and .
-
-
- An instance initialized by this constructor listens for the incoming requests on
- and .
-
-
- A that represents the local IP address of the server.
-
-
- An that represents the port number on which to listen.
-
-
- A that indicates providing a secure connection or not.
- (true indicates providing a secure connection.)
-
-
- is .
-
-
- isn't a local IP address.
-
-
- isn't between 1 and 65535 inclusive.
-
-
-
-
- Adds the WebSocket service with the specified behavior, ,
- and .
-
-
-
- This method converts to URL-decoded string,
- and removes '/' from tail end of .
-
-
- returns an initialized specified typed
- instance.
-
-
-
- A that represents the absolute path to the service to add.
-
-
- A Func<T> delegate that references the method used to initialize
- a new specified typed instance (a new
- instance).
-
-
- The type of the behavior of the service to add. The TBehavior must inherit
- the class.
-
-
-
-
- Adds a WebSocket service with the specified behavior and .
-
-
- This method converts to URL-decoded string,
- and removes '/' from tail end of .
-
-
- A that represents the absolute path to the service to add.
-
-
- The type of the behavior of the service to add. The TBehaviorWithNew must inherit
- the class, and must have a public parameterless
- constructor.
-
-
-
-
- Gets the contents of the file with the specified .
-
-
- An array of that receives the contents of the file,
- or if it doesn't exist.
-
-
- A that represents the virtual path to the file to find.
-
-
-
-
- Removes the WebSocket service with the specified .
-
-
- This method converts to URL-decoded string,
- and removes '/' from tail end of .
-
-
- true if the service is successfully found and removed; otherwise, false.
-
-
- A that represents the absolute path to the service to find.
-
-
-
-
- Starts receiving the HTTP requests.
-
-
-
-
- Stops receiving the HTTP requests.
-
-
-
-
- Stops receiving the HTTP requests with the specified and
- used to stop the WebSocket services.
-
-
- A that represents the status code indicating the reason for the stop.
-
-
- A that represents the reason for the stop.
-
-
-
-
- Stops receiving the HTTP requests with the specified and
- used to stop the WebSocket services.
-
-
- One of the enum values, represents the status code indicating
- the reason for the stop.
-
-
- A that represents the reason for the stop.
-
-
-
-
- Gets the local IP address of the server.
-
-
- A that represents the local IP address of the server.
-
-
-
-
- Gets or sets the scheme used to authenticate the clients.
-
-
- One of the enum values,
- indicates the scheme used to authenticate the clients. The default value is
- .
-
-
-
-
- Gets a value indicating whether the server has started.
-
-
- true if the server has started; otherwise, false.
-
-
-
-
- Gets a value indicating whether the server provides a secure connection.
-
-
- true if the server provides a secure connection; otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether the server cleans up
- the inactive sessions in the WebSocket services periodically.
-
-
- true if the server cleans up the inactive sessions every 60 seconds;
- otherwise, false. The default value is true.
-
-
-
-
- Gets the logging functions.
-
-
- The default logging level is . If you would like to change it,
- you should set the Log.Level property to any of the enum
- values.
-
-
- A that provides the logging functions.
-
-
-
-
- Gets the port on which to listen for incoming requests.
-
-
- An that represents the port number on which to listen.
-
-
-
-
- Gets or sets the name of the realm associated with the server.
-
-
- If this property is or empty, "SECRET AREA" will be used as
- the name of the realm.
-
-
- A that represents the name of the realm. The default value is
- .
-
-
-
-
- Gets or sets a value indicating whether the server is allowed to be bound to
- an address that is already in use.
-
-
- If you would like to resolve to wait for socket in TIME_WAIT state,
- you should set this property to true.
-
-
- true if the server is allowed to be bound to an address that is already in use;
- otherwise, false. The default value is false.
-
-
-
-
- Gets or sets the document root path of the server.
-
-
- A that represents the document root path of the server.
- The default value is "./Public".
-
-
-
-
- Gets or sets the SSL configuration used to authenticate the server and
- optionally the client for secure connection.
-
-
- A that represents the configuration used to
- authenticate the server and optionally the client for secure connection.
-
-
-
-
- Gets or sets the delegate called to find the credentials for an identity used to
- authenticate a client.
-
-
- A Func<, > delegate
- that references the method(s) used to find the credentials. The default value is
- .
-
-
-
-
- Gets or sets the wait time for the response to the WebSocket Ping or Close.
-
-
- A that represents the wait time. The default value is
- the same as 1 second.
-
-
-
-
- Gets the access to the WebSocket services provided by the server.
-
-
- A that manages the WebSocket services.
-
-
-
-
- Occurs when the server receives an HTTP CONNECT request.
-
-
-
-
- Occurs when the server receives an HTTP DELETE request.
-
-
-
-
- Occurs when the server receives an HTTP GET request.
-
-
-
-
- Occurs when the server receives an HTTP HEAD request.
-
-
-
-
- Occurs when the server receives an HTTP OPTIONS request.
-
-
-
-
- Occurs when the server receives an HTTP PATCH request.
-
-
-
-
- Occurs when the server receives an HTTP POST request.
-
-
-
-
- Occurs when the server receives an HTTP PUT request.
-
-
-
-
- Occurs when the server receives an HTTP TRACE request.
-
-
-
-
- Provides the HTTP version numbers.
-
-
-
-
- Provides a instance for the HTTP/1.0.
-
-
-
-
- Provides a instance for the HTTP/1.1.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Contains the values of the HTTP status codes.
-
-
- The HttpStatusCode enumeration contains the values of the HTTP status codes defined in
- RFC 2616 for the HTTP/1.1.
-
-
-
-
- Equivalent to status code 100.
- Indicates that the client should continue with its request.
-
-
-
-
- Equivalent to status code 101.
- Indicates that the server is switching the HTTP version or protocol on the connection.
-
-
-
-
- Equivalent to status code 200.
- Indicates that the client's request has succeeded.
-
-
-
-
- Equivalent to status code 201.
- Indicates that the client's request has been fulfilled and resulted in a new resource being
- created.
-
-
-
-
- Equivalent to status code 202.
- Indicates that the client's request has been accepted for processing, but the processing
- hasn't been completed.
-
-
-
-
- Equivalent to status code 203.
- Indicates that the returned metainformation is from a local or a third-party copy instead of
- the origin server.
-
-
-
-
- Equivalent to status code 204.
- Indicates that the server has fulfilled the client's request but doesn't need to return
- an entity-body.
-
-
-
-
- Equivalent to status code 205.
- Indicates that the server has fulfilled the client's request, and the user agent should
- reset the document view which caused the request to be sent.
-
-
-
-
- Equivalent to status code 206.
- Indicates that the server has fulfilled the partial GET request for the resource.
-
-
-
-
-
- Equivalent to status code 300.
- Indicates that the requested resource corresponds to any of multiple representations.
-
-
- MultipleChoices is a synonym for Ambiguous.
-
-
-
-
-
-
- Equivalent to status code 300.
- Indicates that the requested resource corresponds to any of multiple representations.
-
-
- Ambiguous is a synonym for MultipleChoices.
-
-
-
-
-
-
- Equivalent to status code 301.
- Indicates that the requested resource has been assigned a new permanent URI and
- any future references to this resource should use one of the returned URIs.
-
-
- MovedPermanently is a synonym for Moved.
-
-
-
-
-
-
- Equivalent to status code 301.
- Indicates that the requested resource has been assigned a new permanent URI and
- any future references to this resource should use one of the returned URIs.
-
-
- Moved is a synonym for MovedPermanently.
-
-
-
-
-
-
- Equivalent to status code 302.
- Indicates that the requested resource is located temporarily under a different URI.
-
-
- Found is a synonym for Redirect.
-
-
-
-
-
-
- Equivalent to status code 302.
- Indicates that the requested resource is located temporarily under a different URI.
-
-
- Redirect is a synonym for Found.
-
-
-
-
-
-
- Equivalent to status code 303.
- Indicates that the response to the request can be found under a different URI and
- should be retrieved using a GET method on that resource.
-
-
- SeeOther is a synonym for RedirectMethod.
-
-
-
-
-
-
- Equivalent to status code 303.
- Indicates that the response to the request can be found under a different URI and
- should be retrieved using a GET method on that resource.
-
-
- RedirectMethod is a synonym for SeeOther.
-
-
-
-
-
- Equivalent to status code 304.
- Indicates that the client has performed a conditional GET request and access is allowed,
- but the document hasn't been modified.
-
-
-
-
- Equivalent to status code 305.
- Indicates that the requested resource must be accessed through the proxy given by
- the Location field.
-
-
-
-
- Equivalent to status code 306.
- This status code was used in a previous version of the specification, is no longer used,
- and is reserved for future use.
-
-
-
-
-
- Equivalent to status code 307.
- Indicates that the requested resource is located temporarily under a different URI.
-
-
- TemporaryRedirect is a synonym for RedirectKeepVerb.
-
-
-
-
-
-
- Equivalent to status code 307.
- Indicates that the requested resource is located temporarily under a different URI.
-
-
- RedirectKeepVerb is a synonym for TemporaryRedirect.
-
-
-
-
-
- Equivalent to status code 400.
- Indicates that the client's request couldn't be understood by the server due to
- malformed syntax.
-
-
-
-
- Equivalent to status code 401.
- Indicates that the client's request requires user authentication.
-
-
-
-
- Equivalent to status code 402.
- This status code is reserved for future use.
-
-
-
-
- Equivalent to status code 403.
- Indicates that the server understood the client's request but is refusing to fulfill it.
-
-
-
-
- Equivalent to status code 404.
- Indicates that the server hasn't found anything matching the request URI.
-
-
-
-
- Equivalent to status code 405.
- Indicates that the method specified in the request line isn't allowed for the resource
- identified by the request URI.
-
-
-
-
- Equivalent to status code 406.
- Indicates that the server doesn't have the appropriate resource to respond to the Accept
- headers in the client's request.
-
-
-
-
- Equivalent to status code 407.
- Indicates that the client must first authenticate itself with the proxy.
-
-
-
-
- Equivalent to status code 408.
- Indicates that the client didn't produce a request within the time that the server was
- prepared to wait.
-
-
-
-
- Equivalent to status code 409.
- Indicates that the client's request couldn't be completed due to a conflict on the server.
-
-
-
-
- Equivalent to status code 410.
- Indicates that the requested resource is no longer available at the server and
- no forwarding address is known.
-
-
-
-
- Equivalent to status code 411.
- Indicates that the server refuses to accept the client's request without a defined
- Content-Length.
-
-
-
-
- Equivalent to status code 412.
- Indicates that the precondition given in one or more of the request headers evaluated to
- false when it was tested on the server.
-
-
-
-
- Equivalent to status code 413.
- Indicates that the entity of the client's request is larger than the server is willing or
- able to process.
-
-
-
-
- Equivalent to status code 414.
- Indicates that the request URI is longer than the server is willing to interpret.
-
-
-
-
- Equivalent to status code 415.
- Indicates that the entity of the client's request is in a format not supported by
- the requested resource for the requested method.
-
-
-
-
- Equivalent to status code 416.
- Indicates that none of the range specifier values in a Range request header overlap
- the current extent of the selected resource.
-
-
-
-
- Equivalent to status code 417.
- Indicates that the expectation given in an Expect request header couldn't be met by
- the server.
-
-
-
-
- Equivalent to status code 500.
- Indicates that the server encountered an unexpected condition which prevented it from
- fulfilling the client's request.
-
-
-
-
- Equivalent to status code 501.
- Indicates that the server doesn't support the functionality required to fulfill the client's
- request.
-
-
-
-
- Equivalent to status code 502.
- Indicates that a gateway or proxy server received an invalid response from the upstream
- server.
-
-
-
-
- Equivalent to status code 503.
- Indicates that the server is currently unable to handle the client's request due to
- a temporary overloading or maintenance of the server.
-
-
-
-
- Equivalent to status code 504.
- Indicates that a gateway or proxy server didn't receive a timely response from the upstream
- server or some other auxiliary server.
-
-
-
-
- Equivalent to status code 505.
- Indicates that the server doesn't support the HTTP version used in the client's request.
-
-
-
-
- Exposes the methods and properties used to access the information in a WebSocket service
- provided by the or .
-
-
- The WebSocketServiceHost class is an abstract class.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Creates a new session in the WebSocket service.
-
-
- A instance that represents a new session.
-
-
-
-
- Gets or sets a value indicating whether the WebSocket service cleans up
- the inactive sessions periodically.
-
-
- true if the service cleans up the inactive sessions periodically;
- otherwise, false.
-
-
-
-
- Gets the path to the WebSocket service.
-
-
- A that represents the absolute path to the service.
-
-
-
-
- Gets the access to the sessions in the WebSocket service.
-
-
- A that manages the sessions in the service.
-
-
-
-
- Gets the of the behavior of the WebSocket service.
-
-
- A that represents the type of the behavior of the service.
-
-
-
-
- Gets or sets the wait time for the response to the WebSocket Ping or Close.
-
-
- A that represents the wait time. The default value is
- the same as 1 second.
-
-
-
-
- Indicates the status code for the WebSocket connection close.
-
-
-
- The values of this enumeration are defined in
- Section 7.4 of RFC 6455.
-
-
- "Reserved value" must not be set as a status code in a connection close frame by
- an endpoint. It's designated for use in applications expecting a status code to
- indicate that the connection was closed due to the system grounds.
-
-
-
-
-
- Equivalent to close status 1000. Indicates normal close.
-
-
-
-
- Equivalent to close status 1001. Indicates that an endpoint is going away.
-
-
-
-
- Equivalent to close status 1002. Indicates that an endpoint is terminating
- the connection due to a protocol error.
-
-
-
-
- Equivalent to close status 1003. Indicates that an endpoint is terminating
- the connection because it has received a type of data that it cannot accept.
-
-
-
-
- Equivalent to close status 1004. Still undefined. A Reserved value.
-
-
-
-
- Equivalent to close status 1005. Indicates that no status code was actually present.
- A Reserved value.
-
-
-
-
- Equivalent to close status 1006. Indicates that the connection was closed abnormally.
- A Reserved value.
-
-
-
-
- Equivalent to close status 1007. Indicates that an endpoint is terminating
- the connection because it has received a message that contains data that
- isn't consistent with the type of the message.
-
-
-
-
- Equivalent to close status 1008. Indicates that an endpoint is terminating
- the connection because it has received a message that violates its policy.
-
-
-
-
- Equivalent to close status 1009. Indicates that an endpoint is terminating
- the connection because it has received a message that is too big to process.
-
-
-
-
- Equivalent to close status 1010. Indicates that a client is terminating
- the connection because it has expected the server to negotiate one or more extension,
- but the server didn't return them in the handshake response.
-
-
-
-
- Equivalent to close status 1011. Indicates that a server is terminating
- the connection because it has encountered an unexpected condition that
- prevented it from fulfilling the request.
-
-
-
-
- Equivalent to close status 1015. Indicates that the connection was closed
- due to a failure to perform a TLS handshake. A Reserved value.
-
-
-
-
- Indicates whether a WebSocket frame is the final frame of a message.
-
-
- The values of this enumeration are defined in
- Section 5.2 of RFC 6455.
-
-
-
-
- Equivalent to numeric value 0. Indicates more frames of a message follow.
-
-
-
-
- Equivalent to numeric value 1. Indicates the final frame of a message.
-
-
-
-
- Indicates whether the payload data of a WebSocket frame is masked.
-
-
- The values of this enumeration are defined in
- Section 5.2 of RFC 6455.
-
-
-
-
- Equivalent to numeric value 0. Indicates not masked.
-
-
-
-
- Equivalent to numeric value 1. Indicates masked.
-
-
-
-
- Indicates the WebSocket frame type.
-
-
- The values of this enumeration are defined in
- Section 5.2 of RFC 6455.
-
-
-
-
- Equivalent to numeric value 0. Indicates continuation frame.
-
-
-
-
- Equivalent to numeric value 1. Indicates text frame.
-
-
-
-
- Equivalent to numeric value 2. Indicates binary frame.
-
-
-
-
- Equivalent to numeric value 8. Indicates connection close frame.
-
-
-
-
- Equivalent to numeric value 9. Indicates ping frame.
-
-
-
-
- Equivalent to numeric value 10. Indicates pong frame.
-
-
-
-
- Represents the empty payload data.
-
-
-
-
- Represents the allowable max length.
-
-
-
- A will occur if the payload data length is
- greater than the value of this field.
-
-
- If you would like to change the value, you must set it to a value between
- WebSocket.FragmentLength and Int64.MaxValue inclusive.
-
-
-
-
-
- Indicates whether each RSV (RSV1, RSV2, and RSV3) of a WebSocket frame is non-zero.
-
-
- The values of this enumeration are defined in
- Section 5.2 of RFC 6455.
-
-
-
-
- Equivalent to numeric value 0. Indicates zero.
-
-
-
-
- Equivalent to numeric value 1. Indicates non-zero.
-
-
-
-
- Provides the properties used to access the information in
- a WebSocket handshake request received by the .
-
-
-
-
- Exposes the properties used to access the information in a WebSocket handshake request.
-
-
- This class is an abstract class.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Gets the HTTP cookies included in the request.
-
-
- A that contains the cookies.
-
-
-
-
- Gets the HTTP headers included in the request.
-
-
- A that contains the headers.
-
-
-
-
- Gets the value of the Host header included in the request.
-
-
- A that represents the value of the Host header.
-
-
-
-
- Gets a value indicating whether the client is authenticated.
-
-
- true if the client is authenticated; otherwise, false.
-
-
-
-
- Gets a value indicating whether the client connected from the local computer.
-
-
- true if the client connected from the local computer; otherwise, false.
-
-
-
-
- Gets a value indicating whether the WebSocket connection is secured.
-
-
- true if the connection is secured; otherwise, false.
-
-
-
-
- Gets a value indicating whether the request is a WebSocket handshake request.
-
-
- true if the request is a WebSocket handshake request; otherwise, false.
-
-
-
-
- Gets the value of the Origin header included in the request.
-
-
- A that represents the value of the Origin header.
-
-
-
-
- Gets the query string included in the request.
-
-
- A that contains the query string parameters.
-
-
-
-
- Gets the URI requested by the client.
-
-
- A that represents the requested URI.
-
-
-
-
- Gets the value of the Sec-WebSocket-Key header included in the request.
-
-
- This property provides a part of the information used by the server to prove that
- it received a valid WebSocket handshake request.
-
-
- A that represents the value of the Sec-WebSocket-Key header.
-
-
-
-
- Gets the values of the Sec-WebSocket-Protocol header included in the request.
-
-
- This property represents the subprotocols requested by the client.
-
-
- An instance that provides
- an enumerator which supports the iteration over the values of the Sec-WebSocket-Protocol
- header.
-
-
-
-
- Gets the value of the Sec-WebSocket-Version header included in the request.
-
-
- This property represents the WebSocket protocol version.
-
-
- A that represents the value of the Sec-WebSocket-Version header.
-
-
-
-
- Gets the server endpoint as an IP address and a port number.
-
-
- A that represents the server endpoint.
-
-
-
-
- Gets the client information (identity, authentication, and security roles).
-
-
- A instance that represents the client information.
-
-
-
-
- Gets the client endpoint as an IP address and a port number.
-
-
- A that represents the client endpoint.
-
-
-
-
- Gets the instance used for
- two-way communication between client and server.
-
-
- A .
-
-
-
-
- Returns a that represents
- the current .
-
-
- A that represents
- the current .
-
-
-
-
- Gets the HTTP cookies included in the request.
-
-
- A that contains the cookies.
-
-
-
-
- Gets the HTTP headers included in the request.
-
-
- A that contains the headers.
-
-
-
-
- Gets the value of the Host header included in the request.
-
-
- A that represents the value of the Host header.
-
-
-
-
- Gets a value indicating whether the client is authenticated.
-
-
- true if the client is authenticated; otherwise, false.
-
-
-
-
- Gets a value indicating whether the client connected from the local computer.
-
-
- true if the client connected from the local computer; otherwise, false.
-
-
-
-
- Gets a value indicating whether the WebSocket connection is secured.
-
-
- true if the connection is secured; otherwise, false.
-
-
-
-
- Gets a value indicating whether the request is a WebSocket handshake request.
-
-
- true if the request is a WebSocket handshake request; otherwise, false.
-
-
-
-
- Gets the value of the Origin header included in the request.
-
-
- A that represents the value of the Origin header.
-
-
-
-
- Gets the query string included in the request.
-
-
- A that contains the query string parameters.
-
-
-
-
- Gets the URI requested by the client.
-
-
- A that represents the requested URI.
-
-
-
-
- Gets the value of the Sec-WebSocket-Key header included in the request.
-
-
- This property provides a part of the information used by the server to prove that
- it received a valid WebSocket handshake request.
-
-
- A that represents the value of the Sec-WebSocket-Key header.
-
-
-
-
- Gets the values of the Sec-WebSocket-Protocol header included in the request.
-
-
- This property represents the subprotocols requested by the client.
-
-
- An instance that provides
- an enumerator which supports the iteration over the values of the Sec-WebSocket-Protocol
- header.
-
-
-
-
- Gets the value of the Sec-WebSocket-Version header included in the request.
-
-
- This property represents the WebSocket protocol version.
-
-
- A that represents the value of the Sec-WebSocket-Version header.
-
-
-
-
- Gets the server endpoint as an IP address and a port number.
-
-
- A that represents the server endpoint.
-
-
-
-
- Gets the client information (identity, authentication, and security roles).
-
-
- A instance that represents the client information.
-
-
-
-
- Gets the client endpoint as an IP address and a port number.
-
-
- A that represents the client endpoint.
-
-
-
-
- Gets the instance used for
- two-way communication between client and server.
-
-
- A .
-
-
-
-
- Provides the properties used to access the information in
- a WebSocket handshake request received by the .
-
-
-
-
- Returns a that represents
- the current .
-
-
- A that represents
- the current .
-
-
-
-
- Gets the HTTP cookies included in the request.
-
-
- A that contains the cookies.
-
-
-
-
- Gets the HTTP headers included in the request.
-
-
- A that contains the headers.
-
-
-
-
- Gets the value of the Host header included in the request.
-
-
- A that represents the value of the Host header.
-
-
-
-
- Gets a value indicating whether the client is authenticated.
-
-
- true if the client is authenticated; otherwise, false.
-
-
-
-
- Gets a value indicating whether the client connected from the local computer.
-
-
- true if the client connected from the local computer; otherwise, false.
-
-
-
-
- Gets a value indicating whether the WebSocket connection is secured.
-
-
- true if the connection is secured; otherwise, false.
-
-
-
-
- Gets a value indicating whether the request is a WebSocket handshake request.
-
-
- true if the request is a WebSocket handshake request; otherwise, false.
-
-
-
-
- Gets the value of the Origin header included in the request.
-
-
- A that represents the value of the Origin header.
-
-
-
-
- Gets the query string included in the request.
-
-
- A that contains the query string parameters.
-
-
-
-
- Gets the URI requested by the client.
-
-
- A that represents the requested URI.
-
-
-
-
- Gets the value of the Sec-WebSocket-Key header included in the request.
-
-
- This property provides a part of the information used by the server to prove that
- it received a valid WebSocket handshake request.
-
-
- A that represents the value of the Sec-WebSocket-Key header.
-
-
-
-
- Gets the values of the Sec-WebSocket-Protocol header included in the request.
-
-
- This property represents the subprotocols requested by the client.
-
-
- An instance that provides
- an enumerator which supports the iteration over the values of the Sec-WebSocket-Protocol
- header.
-
-
-
-
- Gets the value of the Sec-WebSocket-Version header included in the request.
-
-
- This property represents the WebSocket protocol version.
-
-
- A that represents the value of the Sec-WebSocket-Version header.
-
-
-
-
- Gets the server endpoint as an IP address and a port number.
-
-
- A that represents the server endpoint.
-
-
-
-
- Gets the client information (identity, authentication, and security roles).
-
-
- A instance that represents the client information.
-
-
-
-
- Gets the client endpoint as an IP address and a port number.
-
-
- A that represents the client endpoint.
-
-
-
-
- Gets the instance used for
- two-way communication between client and server.
-
-
- A .
-
-
-
-
- Represents the event data for the HTTP request event that the emits.
-
-
-
- An HTTP request event occurs when the receives an HTTP request.
-
-
- If you would like to get the request data sent from a client,
- you should access the property.
-
-
- And if you would like to get the response data used to return a response,
- you should access the property.
-
-
-
-
-
- Gets the HTTP request data sent from a client.
-
-
- A that represents the request data.
-
-
-
-
- Gets the HTTP response data used to return a response to the client.
-
-
- A that represents the response data.
-
-
-
-
- Specifies the compression method used to compress a message on the WebSocket connection.
-
-
- The compression methods are defined in
-
- Compression Extensions for WebSocket.
-
-
-
-
- Specifies non compression.
-
-
-
-
- Specifies DEFLATE.
-
-
-
-
- The exception that is thrown when a gets a fatal error.
-
-
-
-
- Gets the status code indicating the cause of the exception.
-
-
- One of the enum values, represents the status code
- indicating the cause of the exception.
-
-
-
-
- Represents a log data used by the class.
-
-
-
-
- Returns a that represents the current .
-
-
- A that represents the current .
-
-
-
-
- Gets the information of the logging method caller.
-
-
- A that provides the information of the logging method caller.
-
-
-
-
- Gets the date and time when the log data was created.
-
-
- A that represents the date and time when the log data was created.
-
-
-
-
- Gets the logging level of the log data.
-
-
- One of the enum values, indicates the logging level of the log data.
-
-
-
-
- Gets the message of the log data.
-
-
- A that represents the message of the log data.
-
-
-
-
- Specifies the logging level.
-
-
-
-
- Specifies the bottom logging level.
-
-
-
-
- Specifies the 2nd logging level from the bottom.
-
-
-
-
- Specifies the 3rd logging level from the bottom.
-
-
-
-
- Specifies the 3rd logging level from the top.
-
-
-
-
- Specifies the 2nd logging level from the top.
-
-
-
-
- Specifies the top logging level.
-
-
-
-
- Provides a set of methods and properties for logging.
-
-
-
- If you output a log with lower than the value of the property,
- it cannot be outputted.
-
-
- The default output action writes a log to the standard output stream and the log file
- if the property has a valid path to it.
-
-
- If you would like to use the custom output action, you should set
- the property to any Action<LogData, string>
- delegate.
-
-
-
-
-
- Initializes a new instance of the class.
-
-
- This constructor initializes the current logging level with .
-
-
-
-
- Initializes a new instance of the class with
- the specified logging .
-
-
- One of the enum values.
-
-
-
-
- Initializes a new instance of the class with
- the specified logging , path to the log ,
- and action.
-
-
- One of the enum values.
-
-
- A that represents the path to the log file.
-
-
- An Action<LogData, string> delegate that references the method(s) used to
- output a log. A parameter passed to this delegate is
- .
-
-
-
-
- Outputs as a log with .
-
-
- If the current logging level is higher than ,
- this method doesn't output as a log.
-
-
- A that represents the message to output as a log.
-
-
-
-
- Outputs as a log with .
-
-
- If the current logging level is higher than ,
- this method doesn't output as a log.
-
-
- A that represents the message to output as a log.
-
-
-
-
- Outputs as a log with .
-
-
- A that represents the message to output as a log.
-
-
-
-
- Outputs as a log with .
-
-
- If the current logging level is higher than ,
- this method doesn't output as a log.
-
-
- A that represents the message to output as a log.
-
-
-
-
- Outputs as a log with .
-
-
- If the current logging level is higher than ,
- this method doesn't output as a log.
-
-
- A that represents the message to output as a log.
-
-
-
-
- Outputs as a log with .
-
-
- If the current logging level is higher than ,
- this method doesn't output as a log.
-
-
- A that represents the message to output as a log.
-
-
-
-
- Gets or sets the current path to the log file.
-
-
- A that represents the current path to the log file if any.
-
-
-
-
- Gets or sets the current logging level.
-
-
- A log with lower than the value of this property cannot be outputted.
-
-
- One of the enum values, specifies the current logging level.
-
-
-
-
- Gets or sets the current output action used to output a log.
-
-
-
- An Action<LogData, string> delegate that references the method(s) used to
- output a log. A parameter passed to this delegate is the value of
- the property.
-
-
- If the value to set is , the current output action is changed to
- the default output action.
-
-
-
-
-
- Indicates the state of a WebSocket connection.
-
-
- The values of this enumeration are defined in
- The WebSocket API.
-
-
-
-
- Equivalent to numeric value 0. Indicates that the connection hasn't yet been established.
-
-
-
-
- Equivalent to numeric value 1. Indicates that the connection has been established,
- and the communication is possible.
-
-
-
-
- Equivalent to numeric value 2. Indicates that the connection is going through
- the closing handshake, or the WebSocket.Close method has been invoked.
-
-
-
-
- Equivalent to numeric value 3. Indicates that the connection has been closed or
- couldn't be established.
-
-
-
-
- Exposes the properties used to access the information in a session in a WebSocket service.
-
-
-
-
- Gets the information in the connection request to the WebSocket service.
-
-
- A that provides the access to the connection request.
-
-
-
-
- Gets the unique ID of the session.
-
-
- A that represents the unique ID of the session.
-
-
-
-
- Gets the WebSocket subprotocol used in the session.
-
-
- A that represents the subprotocol if any.
-
-
-
-
- Gets the time that the session has started.
-
-
- A that represents the time that the session has started.
-
-
-
-
- Gets the state of the used in the session.
-
-
- One of the enum values, indicates the state of
- the used in the session.
-
-
-
-
- Manages the sessions in a Websocket service.
-
-
-
-
- Sends binary to every client in the WebSocket service.
-
-
- An array of that represents the binary data to send.
-
-
-
-
- Sends text to every client in the WebSocket service.
-
-
- A that represents the text data to send.
-
-
-
-
- Sends binary asynchronously to every client in
- the WebSocket service.
-
-
- This method doesn't wait for the send to be complete.
-
-
- An array of that represents the binary data to send.
-
-
- An delegate that references the method(s) called when
- the send is complete.
-
-
-
-
- Sends text asynchronously to every client in
- the WebSocket service.
-
-
- This method doesn't wait for the send to be complete.
-
-
- A that represents the text data to send.
-
-
- An delegate that references the method(s) called when
- the send is complete.
-
-
-
-
- Sends binary data from the specified asynchronously to
- every client in the WebSocket service.
-
-
- This method doesn't wait for the send to be complete.
-
-
- A from which contains the binary data to send.
-
-
- An that represents the number of bytes to send.
-
-
- An delegate that references the method(s) called when
- the send is complete.
-
-
-
-
- Sends a Ping to every client in the WebSocket service.
-
-
- A Dictionary<string, bool> that contains a collection of pairs of
- a session ID and a value indicating whether the manager received a Pong from
- each client in a time.
-
-
-
-
- Sends a Ping with the specified to every client in
- the WebSocket service.
-
-
- A Dictionary<string, bool> that contains a collection of pairs of
- a session ID and a value indicating whether the manager received a Pong from
- each client in a time.
-
-
- A that represents the message to send.
-
-
-
-
- Closes the session with the specified .
-
-
- A that represents the ID of the session to close.
-
-
-
-
- Closes the session with the specified , ,
- and .
-
-
- A that represents the ID of the session to close.
-
-
- A that represents the status code indicating the reason for the close.
-
-
- A that represents the reason for the close.
-
-
-
-
- Closes the session with the specified , ,
- and .
-
-
- A that represents the ID of the session to close.
-
-
- One of the enum values, represents the status code
- indicating the reason for the close.
-
-
- A that represents the reason for the close.
-
-
-
-
- Sends a Ping to the client on the session with the specified .
-
-
- true if the manager receives a Pong from the client in a time;
- otherwise, false.
-
-
- A that represents the ID of the session to find.
-
-
-
-
- Sends a Ping with the specified to the client on
- the session with the specified .
-
-
- true if the manager receives a Pong from the client in a time;
- otherwise, false.
-
-
- A that represents the message to send.
-
-
- A that represents the ID of the session to find.
-
-
-
-
- Sends binary to the client on the session with
- the specified .
-
-
- An array of that represents the binary data to send.
-
-
- A that represents the ID of the session to find.
-
-
-
-
- Sends text to the client on the session with
- the specified .
-
-
- A that represents the text data to send.
-
-
- A that represents the ID of the session to find.
-
-
-
-
- Sends binary asynchronously to the client on
- the session with the specified .
-
-
- This method doesn't wait for the send to be complete.
-
-
- An array of that represents the binary data to send.
-
-
- A that represents the ID of the session to find.
-
-
- An Action<bool> delegate that references the method(s) called when
- the send is complete. A passed to this delegate is true
- if the send is complete successfully.
-
-
-
-
- Sends text asynchronously to the client on
- the session with the specified .
-
-
- This method doesn't wait for the send to be complete.
-
-
- A that represents the text data to send.
-
-
- A that represents the ID of the session to find.
-
-
- An Action<bool> delegate that references the method(s) called when
- the send is complete. A passed to this delegate is true
- if the send is complete successfully.
-
-
-
-
- Sends binary data from the specified asynchronously to
- the client on the session with the specified .
-
-
- This method doesn't wait for the send to be complete.
-
-
- A from which contains the binary data to send.
-
-
- An that represents the number of bytes to send.
-
-
- A that represents the ID of the session to find.
-
-
- An Action<bool> delegate that references the method(s) called when
- the send is complete. A passed to this delegate is true
- if the send is complete successfully.
-
-
-
-
- Cleans up the inactive sessions in the WebSocket service.
-
-
-
-
- Tries to get the session with the specified .
-
-
- true if the session is successfully found; otherwise, false.
-
-
- A that represents the ID of the session to find.
-
-
- When this method returns, a instance that
- provides the access to the information in the session, or
- if it's not found. This parameter is passed uninitialized.
-
-
-
-
- Gets the IDs for the active sessions in the Websocket service.
-
-
- An IEnumerable<string> instance that provides an enumerator which
- supports the iteration over the collection of the IDs for the active sessions.
-
-
-
-
- Gets the number of the sessions in the Websocket service.
-
-
- An that represents the number of the sessions.
-
-
-
-
- Gets the IDs for the sessions in the Websocket service.
-
-
- An IEnumerable<string> instance that provides an enumerator which
- supports the iteration over the collection of the IDs for the sessions.
-
-
-
-
- Gets the IDs for the inactive sessions in the Websocket service.
-
-
- An IEnumerable<string> instance that provides an enumerator which
- supports the iteration over the collection of the IDs for the inactive sessions.
-
-
-
-
- Gets the session with the specified .
-
-
- A instance that provides the access to
- the information in the session, or if it's not found.
-
-
- A that represents the ID of the session to find.
-
-
-
-
- Gets a value indicating whether the manager cleans up the inactive sessions in
- the WebSocket service periodically.
-
-
- true if the manager cleans up the inactive sessions every 60 seconds;
- otherwise, false.
-
-
-
-
- Gets the sessions in the Websocket service.
-
-
- An IEnumerable<IWebSocketSession> instance that provides an enumerator
- which supports the iteration over the collection of the sessions in the service.
-
-
-
-
- Gets the wait time for the response to the WebSocket Ping or Close.
-
-
- A that represents the wait time.
-
-
-
-
- Holds the user name and password from the HTTP Basic authentication credentials.
-
-
-
-
- Gets the password from the HTTP Basic authentication credentials.
-
-
- A that represents the password.
-
-
-
-
- Holds the user name and other parameters from the HTTP Digest authentication credentials.
-
-
-
-
- Gets the algorithm parameter from the HTTP Digest authentication credentials.
-
-
- A that represents the algorithm parameter.
-
-
-
-
- Gets the cnonce parameter from the HTTP Digest authentication credentials.
-
-
- A that represents the cnonce parameter.
-
-
-
-
- Gets the nc parameter from the HTTP Digest authentication credentials.
-
-
- A that represents the nc parameter.
-
-
-
-
- Gets the nonce parameter from the HTTP Digest authentication credentials.
-
-
- A that represents the nonce parameter.
-
-
-
-
- Gets the opaque parameter from the HTTP Digest authentication credentials.
-
-
- A that represents the opaque parameter.
-
-
-
-
- Gets the qop parameter from the HTTP Digest authentication credentials.
-
-
- A that represents the qop parameter.
-
-
-
-
- Gets the realm parameter from the HTTP Digest authentication credentials.
-
-
- A that represents the realm parameter.
-
-
-
-
- Gets the response parameter from the HTTP Digest authentication credentials.
-
-
- A that represents the response parameter.
-
-
-
-
- Gets the uri parameter from the HTTP Digest authentication credentials.
-
-
- A that represents the uri parameter.
-
-
-
-
- Provides the credentials for the HTTP authentication (Basic/Digest).
-
-
-
-
- Initializes a new instance of the class with
- the specified user name and password.
-
-
- A that represents the user name associated with the credentials.
-
-
- A that represents the password for the user name associated with
- the credentials.
-
-
- is .
-
-
- is empty.
-
-
-
-
- Initializes a new instance of the class with
- the specified user name, password, domain, and roles.
-
-
- A that represents the user name associated with the credentials.
-
-
- A that represents the password for the user name associated with
- the credentials.
-
-
- A that represents the name of the user domain associated with
- the credentials.
-
-
- An array of that contains the role names to which
- the user associated with the credentials belongs if any.
-
-
- is .
-
-
- is empty.
-
-
-
-
- Gets the name of the user domain associated with the credentials.
-
-
- A that represents the name of the user domain associated with
- the credentials.
-
-
-
-
- Gets the password for the user name associated with the credentials.
-
-
- A that represents the password for the user name associated with
- the credentials.
-
-
-
-
- Gets the role names to which the user associated with the credentials belongs.
-
-
- An array of that contains the role names to which
- the user associated with the credentials belongs if any.
-
-
-
-
- Gets the user name associated with the credentials.
-
-
- A that represents the user name associated with the credentials.
-
-
-
-
- Manages the WebSocket services provided by the or
- .
-
-
-
-
- Sends binary to every client in the WebSocket services.
-
-
- An array of that represents the binary data to send.
-
-
-
-
- Sends text to every client in the WebSocket services.
-
-
- A that represents the text data to send.
-
-
-
-
- Sends binary asynchronously to every client in
- the WebSocket services.
-
-
- This method doesn't wait for the send to be complete.
-
-
- An array of that represents the binary data to send.
-
-
- An delegate that references the method(s) called when
- the send is complete.
-
-
-
-
- Sends text asynchronously to every client in
- the WebSocket services.
-
-
- This method doesn't wait for the send to be complete.
-
-
- A that represents the text data to send.
-
-
- An delegate that references the method(s) called when
- the send is complete.
-
-
-
-
- Sends binary data from the specified asynchronously to
- every client in the WebSocket services.
-
-
- This method doesn't wait for the send to be complete.
-
-
- A from which contains the binary data to send.
-
-
- An that represents the number of bytes to send.
-
-
- An delegate that references the method(s) called when
- the send is complete.
-
-
-
-
- Sends a Ping to every client in the WebSocket services.
-
-
- A Dictionary<string, Dictionary<string, bool>> that contains
- a collection of pairs of a service path and a collection of pairs of a session ID
- and a value indicating whether the manager received a Pong from each client in a time,
- or if this method isn't available.
-
-
-
-
- Sends a Ping with the specified to every client in
- the WebSocket services.
-
-
- A Dictionary<string, Dictionary<string, bool>> that contains
- a collection of pairs of a service path and a collection of pairs of a session ID
- and a value indicating whether the manager received a Pong from each client in a time,
- or if this method isn't available or
- is invalid.
-
-
- A that represents the message to send.
-
-
-
-
- Tries to get the WebSocket service host with the specified .
-
-
- true if the service is successfully found; otherwise, false.
-
-
- A that represents the absolute path to the service to find.
-
-
- When this method returns, a instance that
- provides the access to the information in the service, or
- if it's not found. This parameter is passed uninitialized.
-
-
-
-
- Gets the number of the WebSocket services.
-
-
- An that represents the number of the services.
-
-
-
-
- Gets the host instances for the Websocket services.
-
-
- An IEnumerable<WebSocketServiceHost> instance that provides an enumerator
- which supports the iteration over the collection of the host instances for the services.
-
-
-
-
- Gets the WebSocket service host with the specified .
-
-
- A instance that provides the access to
- the information in the service, or if it's not found.
-
-
- A that represents the absolute path to the service to find.
-
-
-
-
- Gets a value indicating whether the manager cleans up the inactive sessions
- in the WebSocket services periodically.
-
-
- true if the manager cleans up the inactive sessions every 60 seconds;
- otherwise, false.
-
-
-
-
- Gets the paths for the WebSocket services.
-
-
- An IEnumerable<string> instance that provides an enumerator which supports
- the iteration over the collection of the paths for the services.
-
-
-
-
- Gets the total number of the sessions in the WebSocket services.
-
-
- An that represents the total number of the sessions in the services.
-
-
-
-
- Gets the wait time for the response to the WebSocket Ping or Close.
-
-
- A that represents the wait time.
-
-
-
-
- Represents the ping frame without the payload data as an array of .
-
-
- The value of this field is created from a non masked frame, so it can only be used to
- send a ping from a server.
-
-
-
-
- Exposes the methods and properties used to define the behavior of a WebSocket service
- provided by the or .
-
-
- The WebSocketBehavior class is an abstract class.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Calls the method with the specified and
- .
-
-
- This method doesn't call the method if is
- or empty.
-
-
- A that represents the error message.
-
-
- An instance that represents the cause of the error if any.
-
-
-
-
- Called when the WebSocket connection used in a session has been closed.
-
-
- A that represents the event data passed to
- a event.
-
-
-
-
- Called when the used in a session gets an error.
-
-
- A that represents the event data passed to
- a event.
-
-
-
-
- Called when the used in a session receives a message.
-
-
- A that represents the event data passed to
- a event.
-
-
-
-
- Called when the WebSocket connection used in a session has been established.
-
-
-
-
- Sends binary to the client on a session.
-
-
- This method is available after the WebSocket connection has been established.
-
-
- An array of that represents the binary data to send.
-
-
-
-
- Sends the specified as binary data to the client on a session.
-
-
- This method is available after the WebSocket connection has been established.
-
-
- A that represents the file to send.
-
-
-
-
- Sends text to the client on a session.
-
-
- This method is available after the WebSocket connection has been established.
-
-
- A that represents the text data to send.
-
-
-
-
- Sends binary asynchronously to the client on a session.
-
-
-
- This method is available after the WebSocket connection has been established.
-
-
- This method doesn't wait for the send to be complete.
-
-
-
- An array of that represents the binary data to send.
-
-
- An Action<bool> delegate that references the method(s) called when
- the send is complete. A passed to this delegate is true
- if the send is complete successfully.
-
-
-
-
- Sends the specified as binary data asynchronously to
- the client on a session.
-
-
-
- This method is available after the WebSocket connection has been established.
-
-
- This method doesn't wait for the send to be complete.
-
-
-
- A that represents the file to send.
-
-
- An Action<bool> delegate that references the method(s) called when
- the send is complete. A passed to this delegate is true
- if the send is complete successfully.
-
-
-
-
- Sends text asynchronously to the client on a session.
-
-
-
- This method is available after the WebSocket connection has been established.
-
-
- This method doesn't wait for the send to be complete.
-
-
-
- A that represents the text data to send.
-
-
- An Action<bool> delegate that references the method(s) called when
- the send is complete. A passed to this delegate is true
- if the send is complete successfully.
-
-
-
-
- Sends binary data from the specified asynchronously to
- the client on a session.
-
-
-
- This method is available after the WebSocket connection has been established.
-
-
- This method doesn't wait for the send to be complete.
-
-
-
- A from which contains the binary data to send.
-
-
- An that represents the number of bytes to send.
-
-
- An Action<bool> delegate that references the method(s) called when
- the send is complete. A passed to this delegate is true
- if the send is complete successfully.
-
-
-
-
- Gets the logging functions.
-
-
- A that provides the logging functions,
- or if the WebSocket connection isn't established.
-
-
-
-
- Gets the access to the sessions in the WebSocket service.
-
-
- A that provides the access to the sessions,
- or if the WebSocket connection isn't established.
-
-
-
-
- Gets the information in a handshake request to the WebSocket service.
-
-
- A instance that provides the access to the handshake request,
- or if the WebSocket connection isn't established.
-
-
-
-
- Gets or sets the delegate called to validate the HTTP cookies included in
- a handshake request to the WebSocket service.
-
-
- This delegate is called when the used in a session validates
- the handshake request.
-
-
-
- A Func<CookieCollection, CookieCollection, bool> delegate that references
- the method(s) used to validate the cookies.
-
-
- 1st parameter passed to this delegate contains
- the cookies to validate if any.
-
-
- 2nd parameter passed to this delegate receives
- the cookies to send to the client.
-
-
- This delegate should return true if the cookies are valid.
-
-
- The default value is , and it does nothing to validate.
-
-
-
-
-
- Gets or sets a value indicating whether the used in a session emits
- a event when receives a Ping.
-
-
- true if the emits a event
- when receives a Ping; otherwise, false. The default value is false.
-
-
-
-
- Gets the unique ID of a session.
-
-
- A that represents the unique ID of the session,
- or if the WebSocket connection isn't established.
-
-
-
-
- Gets or sets a value indicating whether the WebSocket service ignores
- the Sec-WebSocket-Extensions header included in a handshake request.
-
-
- true if the WebSocket service ignores the extensions requested from
- a client; otherwise, false. The default value is false.
-
-
-
-
- Gets or sets the delegate called to validate the Origin header included in
- a handshake request to the WebSocket service.
-
-
- This delegate is called when the used in a session validates
- the handshake request.
-
-
-
- A Func<string, bool> delegate that references the method(s) used to
- validate the origin header.
-
-
- parameter passed to this delegate represents the value of
- the origin header to validate if any.
-
-
- This delegate should return true if the origin header is valid.
-
-
- The default value is , and it does nothing to validate.
-
-
-
-
-
- Gets or sets the WebSocket subprotocol used in the WebSocket service.
-
-
- Set operation of this property is available before the WebSocket connection has
- been established.
-
-
-
- A that represents the subprotocol if any.
- The default value is .
-
-
- The value to set must be a token defined in
- RFC 2616.
-
-
-
-
-
- Gets the time that a session has started.
-
-
- A that represents the time that the session has started,
- or if the WebSocket connection isn't established.
-
-
-
-
- Gets the state of the used in a session.
-
-
- One of the enum values, indicates the state of
- the .
-
-
-
-
- Initializes a new instance of the class with
- the specified .
-
-
- This constructor must be called after calling the CheckPrefix method.
-
-
- A that represents the URI prefix.
-
-
-
-
- Determines whether this instance and the specified have the same value.
-
-
- This method will be required to detect duplicates in any collection.
-
-
- An to compare to this instance.
-
-
- true if is a and
- its value is the same as this instance; otherwise, false.
-
-
-
-
- Gets the hash code for this instance.
-
-
- This method will be required to detect duplicates in any collection.
-
-
- An that represents the hash code.
-
-
-
-
- Stores the parameters used to configure a instance as a client.
-
-
-
-
- Stores the parameters used to configure a instance.
-
-
- The SslConfiguration class is an abstract class.
-
-
-
-
- Initializes a new instance of the class with
- the specified and
- .
-
-
- The enum value that represents the protocols used for
- authentication.
-
-
- true if the certificate revocation list is checked during authentication;
- otherwise, false.
-
-
-
-
- Gets or sets the callback used to select a certificate to supply to the remote party.
-
-
- If this callback returns , no certificate will be supplied.
-
-
- A delegate that references the method
- used to select a certificate. The default value is a function that only returns
- .
-
-
-
-
- Gets or sets the callback used to validate the certificate supplied by the remote party.
-
-
- If this callback returns true, the certificate will be valid.
-
-
- A delegate that references the method
- used to validate the certificate. The default value is a function that only returns
- true.
-
-
-
-
- Gets or sets a value indicating whether the certificate revocation list is checked
- during authentication.
-
-
- true if the certificate revocation list is checked; otherwise, false.
-
-
-
-
- Gets or sets the SSL protocols used for authentication.
-
-
- The enum value that represents the protocols used for
- authentication.
-
-
-
-
- Initializes a new instance of the class with
- the specified .
-
-
- A that represents the name of the server that shares
- a secure connection.
-
-
-
-
- Initializes a new instance of the class with
- the specified , ,
- , and .
-
-
- A that represents the name of the server that shares
- a secure connection.
-
-
- A that contains client certificates.
-
-
- The enum value that represents the protocols used for
- authentication.
-
-
- true if the certificate revocation list is checked during authentication;
- otherwise, false.
-
-
-
-
- Gets or sets the collection that contains client certificates.
-
-
- A that contains client certificates.
-
-
-
-
- Gets or sets the callback used to select a client certificate to supply to the server.
-
-
- If this callback returns , no client certificate will be supplied.
-
-
- A delegate that references the method
- used to select the client certificate. The default value is a function that only returns
- .
-
-
-
-
- Gets or sets the callback used to validate the certificate supplied by the server.
-
-
- If this callback returns true, the server certificate will be valid.
-
-
- A delegate that references the method
- used to validate the server certificate. The default value is a function that only returns
- true.
-
-
-
-
- Gets or sets the name of the server that shares a secure connection.
-
-
- A that represents the name of the server that shares
- a secure connection.
-
-
-
-
- Stores the parameters used to configure a instance as a server.
-
-
-
-
- Initializes a new instance of the class with
- the specified .
-
-
- A that represents the certificate used to authenticate
- the server.
-
-
-
-
- Initializes a new instance of the class with
- the specified ,
- , ,
- and .
-
-
- A that represents the certificate used to authenticate
- the server.
-
-
- true if the client must supply a certificate for authentication;
- otherwise, false.
-
-
- The enum value that represents the protocols used for
- authentication.
-
-
- true if the certificate revocation list is checked during authentication;
- otherwise, false.
-
-
-
-
- Gets or sets a value indicating whether the client must supply a certificate for
- authentication.
-
-
- true if the client must supply a certificate; otherwise, false.
-
-
-
-
- Gets or sets the callback used to validate the certificate supplied by the client.
-
-
- If this callback returns true, the client certificate will be valid.
-
-
- A delegate that references the method
- used to validate the client certificate. The default value is a function that only returns
- true.
-
-
-
-
- Gets or sets the certificate used to authenticate the server for secure connection.
-
-
- A that represents the certificate used to authenticate
- the server.
-
-
-
-
- Contains the HTTP headers that may be specified in a client request.
-
-
- The HttpRequestHeader enumeration contains the HTTP request headers defined in
- RFC 2616 for the HTTP/1.1 and
- RFC 6455 for the WebSocket.
-
-
-
-
- Indicates the Cache-Control header.
-
-
-
-
- Indicates the Connection header.
-
-
-
-
- Indicates the Date header.
-
-
-
-
- Indicates the Keep-Alive header.
-
-
-
-
- Indicates the Pragma header.
-
-
-
-
- Indicates the Trailer header.
-
-
-
-
- Indicates the Transfer-Encoding header.
-
-
-
-
- Indicates the Upgrade header.
-
-
-
-
- Indicates the Via header.
-
-
-
-
- Indicates the Warning header.
-
-
-
-
- Indicates the Allow header.
-
-
-
-
- Indicates the Content-Length header.
-
-
-
-
- Indicates the Content-Type header.
-
-
-
-
- Indicates the Content-Encoding header.
-
-
-
-
- Indicates the Content-Language header.
-
-
-
-
- Indicates the Content-Location header.
-
-
-
-
- Indicates the Content-MD5 header.
-
-
-
-
- Indicates the Content-Range header.
-
-
-
-
- Indicates the Expires header.
-
-
-
-
- Indicates the Last-Modified header.
-
-
-
-
- Indicates the Accept header.
-
-
-
-
- Indicates the Accept-Charset header.
-
-
-
-
- Indicates the Accept-Encoding header.
-
-
-
-
- Indicates the Accept-Language header.
-
-
-
-
- Indicates the Authorization header.
-
-
-
-
- Indicates the Cookie header.
-
-
-
-
- Indicates the Expect header.
-
-
-
-
- Indicates the From header.
-
-
-
-
- Indicates the Host header.
-
-
-
-
- Indicates the If-Match header.
-
-
-
-
- Indicates the If-Modified-Since header.
-
-
-
-
- Indicates the If-None-Match header.
-
-
-
-
- Indicates the If-Range header.
-
-
-
-
- Indicates the If-Unmodified-Since header.
-
-
-
-
- Indicates the Max-Forwards header.
-
-
-
-
- Indicates the Proxy-Authorization header.
-
-
-
-
- Indicates the Referer header.
-
-
-
-
- Indicates the Range header.
-
-
-
-
- Indicates the TE header.
-
-
-
-
- Indicates the Translate header.
-
-
-
-
- Indicates the User-Agent header.
-
-
-
-
- Indicates the Sec-WebSocket-Key header.
-
-
-
-
- Indicates the Sec-WebSocket-Extensions header.
-
-
-
-
- Indicates the Sec-WebSocket-Protocol header.
-
-
-
-
- Indicates the Sec-WebSocket-Version header.
-
-
-
-
- Contains the HTTP headers that can be specified in a server response.
-
-
- The HttpResponseHeader enumeration contains the HTTP response headers defined in
- RFC 2616 for the HTTP/1.1 and
- RFC 6455 for the WebSocket.
-
-
-
-
- Indicates the Cache-Control header.
-
-
-
-
- Indicates the Connection header.
-
-
-
-
- Indicates the Date header.
-
-
-
-
- Indicates the Keep-Alive header.
-
-
-
-
- Indicates the Pragma header.
-
-
-
-
- Indicates the Trailer header.
-
-
-
-
- Indicates the Transfer-Encoding header.
-
-
-
-
- Indicates the Upgrade header.
-
-
-
-
- Indicates the Via header.
-
-
-
-
- Indicates the Warning header.
-
-
-
-
- Indicates the Allow header.
-
-
-
-
- Indicates the Content-Length header.
-
-
-
-
- Indicates the Content-Type header.
-
-
-
-
- Indicates the Content-Encoding header.
-
-
-
-
- Indicates the Content-Language header.
-
-
-
-
- Indicates the Content-Location header.
-
-
-
-
- Indicates the Content-MD5 header.
-
-
-
-
- Indicates the Content-Range header.
-
-
-
-
- Indicates the Expires header.
-
-
-
-
- Indicates the Last-Modified header.
-
-
-
-
- Indicates the Accept-Ranges header.
-
-
-
-
- Indicates the Age header.
-
-
-
-
- Indicates the ETag header.
-
-
-
-
- Indicates the Location header.
-
-
-
-
- Indicates the Proxy-Authenticate header.
-
-
-
-
- Indicates the Retry-After header.
-
-
-
-
- Indicates the Server header.
-
-
-
-
- Indicates the Set-Cookie header.
-
-
-
-
- Indicates the Vary header.
-
-
-
-
- Indicates the WWW-Authenticate header.
-
-
-
-
- Indicates the Sec-WebSocket-Extensions header.
-
-
-
-
- Indicates the Sec-WebSocket-Accept header.
-
-
-
-
- Indicates the Sec-WebSocket-Protocol header.
-
-
-
-
- Indicates the Sec-WebSocket-Version header.
-
-
-
-