commit 90b097f73dd5cb2587a292c358010bab4bc7f67c Author: Fabian Stamm Date: Tue May 16 03:04:42 2017 +0200 Basic Structure for adding Students and BookTypes diff --git a/BuechermarktClient.sln b/BuechermarktClient.sln new file mode 100644 index 0000000..c878023 --- /dev/null +++ b/BuechermarktClient.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 15 +VisualStudioVersion = 15.0.26403.3 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BuechermarktClient", "BuechermarktClient\BuechermarktClient.csproj", "{4DE1DCAB-3872-42C8-8E47-A1ED6A7A56E7}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {4DE1DCAB-3872-42C8-8E47-A1ED6A7A56E7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {4DE1DCAB-3872-42C8-8E47-A1ED6A7A56E7}.Debug|Any CPU.Build.0 = Debug|Any CPU + {4DE1DCAB-3872-42C8-8E47-A1ED6A7A56E7}.Release|Any CPU.ActiveCfg = Release|Any CPU + {4DE1DCAB-3872-42C8-8E47-A1ED6A7A56E7}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/BuechermarktClient/App.config b/BuechermarktClient/App.config new file mode 100644 index 0000000..fb37333 --- /dev/null +++ b/BuechermarktClient/App.config @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/BuechermarktClient/App.xaml b/BuechermarktClient/App.xaml new file mode 100644 index 0000000..d7edb4e --- /dev/null +++ b/BuechermarktClient/App.xaml @@ -0,0 +1,9 @@ + + + + + diff --git a/BuechermarktClient/App.xaml.cs b/BuechermarktClient/App.xaml.cs new file mode 100644 index 0000000..e8f18dc --- /dev/null +++ b/BuechermarktClient/App.xaml.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Configuration; +using System.Data; +using System.Linq; +using System.Threading.Tasks; +using System.Windows; + +namespace BuechermarktClient +{ + /// + /// Interaktionslogik für "App.xaml" + /// + public partial class App : Application + { + } +} diff --git a/BuechermarktClient/BookTypes.xaml b/BuechermarktClient/BookTypes.xaml new file mode 100644 index 0000000..7a6a4ea --- /dev/null +++ b/BuechermarktClient/BookTypes.xaml @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/BuechermarktClient/BookTypes.xaml.cs b/BuechermarktClient/BookTypes.xaml.cs new file mode 100644 index 0000000..df2a5f9 --- /dev/null +++ b/BuechermarktClient/BookTypes.xaml.cs @@ -0,0 +1,80 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Shapes; +using BuechermarktClient.Models; +using System.Threading; +using MongoDB.Driver; + +namespace BuechermarktClient +{ + /// + /// Interaktionslogik für BookTypes.xaml + /// + public partial class BookTypes : Window + { + public Thread RefreshThread = null; + private bool ThreadRunning = true; + + public BookTypes() + { + InitializeComponent(); + RefreshThread = new Thread(RefreshThreadS); + RefreshThread.Start(); + RefreshThread.IsBackground = true; + Closing += BookTypes_Closing; + } + + private void BookTypes_Closing(object sender, System.ComponentModel.CancelEventArgs e) + { + ThreadRunning = false; + } + + public void RefreshThreadS() + { + while (ThreadRunning) + { + LoadList(); + Thread.Sleep(1000); + } + } + + public void LoadList() + { + var list = MainWindow.BookTypeCollection.FindSync((b)=>true).ToList(); + Dispatcher.BeginInvoke(new Action(delegate (){ + BookTypesList.ItemsSource = list; + })); + } + + private void AddNew_Click(object sender, RoutedEventArgs e) + { + var editWindow = new BookTypesEdit(null) + { + Owner = this + }; + editWindow.Show(); + } + + private void ListViewItem_PreviewMouseUp(object sender, MouseButtonEventArgs e) + { + var item = sender as ListViewItem; + if (item != null && item.IsSelected) + { + var editWindow = new BookTypesEdit(item.DataContext as BookType) { + Owner = this + }; + editWindow.Show(); + } + } + } +} diff --git a/BuechermarktClient/BookTypesEdit.xaml b/BuechermarktClient/BookTypesEdit.xaml new file mode 100644 index 0000000..93f6c41 --- /dev/null +++ b/BuechermarktClient/BookTypesEdit.xaml @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + diff --git a/BuechermarktClient/BookTypesEdit.xaml.cs b/BuechermarktClient/BookTypesEdit.xaml.cs new file mode 100644 index 0000000..c12fc6a --- /dev/null +++ b/BuechermarktClient/BookTypesEdit.xaml.cs @@ -0,0 +1,93 @@ +using BuechermarktClient.Models; +using MongoDB.Driver; +using System.ComponentModel; +using System.Windows; + +namespace BuechermarktClient +{ + /// + /// Interaktionslogik für BookTypesEdit.xaml + /// + public partial class BookTypesEdit : Window, INotifyPropertyChanged + { + private bool New = false; + private BookType BookType = null; + private string _Name; + public string BName + { + get + { + return _Name; + } + set { + if(value != _Name) + { + _Name = value; + OnPropertyChanged("BName"); + } + } + } + + private string _ISBN; + public string BISBN + { + get + { + return _ISBN; + } + set + { + if (value != _ISBN) + { + _ISBN = value; + OnPropertyChanged("BISBN"); + } + } + } + + public event PropertyChangedEventHandler PropertyChanged; + protected void OnPropertyChanged(string propertyName) + { + PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName)); + } + + public BookTypesEdit(BookType booktype) + { + DataContext = this; + InitializeComponent(); + if(booktype == null) + { + BookType = new BookType(); + New = true; + } else + { + BookType = booktype; + BName = booktype.Name; + BISBN = booktype.ISBN; + } + } + + private void Save_Click(object sender, RoutedEventArgs e) + { + BookType.Name = BName; + BookType.ISBN = BISBN; + if(New) + { + MainWindow.BookTypeCollection.InsertOne(BookType); + } else + { + MainWindow.BookTypeCollection.FindOneAndUpdate(bt => bt.ID == BookType.ID, Builders.Update.Set((bt) => bt.Name, BookType.Name).Set(bt => bt.ISBN, BookType.ISBN)); + } + Close(); + } + + private void Delete_Click(object sender, RoutedEventArgs e) + { + if(BookType.ID != null) + { + MainWindow.BookTypeCollection.DeleteOne(bt => bt.ID == BookType.ID); + } + Close(); + } + } +} diff --git a/BuechermarktClient/BuechermarktClient.csproj b/BuechermarktClient/BuechermarktClient.csproj new file mode 100644 index 0000000..26bf0f7 --- /dev/null +++ b/BuechermarktClient/BuechermarktClient.csproj @@ -0,0 +1,147 @@ + + + + + Debug + AnyCPU + {4DE1DCAB-3872-42C8-8E47-A1ED6A7A56E7} + WinExe + BuechermarktClient + BuechermarktClient + v4.5.2 + 512 + {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + 4 + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + ..\packages\MongoDB.Bson.2.4.3\lib\net45\MongoDB.Bson.dll + + + ..\packages\MongoDB.Driver.2.4.3\lib\net45\MongoDB.Driver.dll + + + ..\packages\MongoDB.Driver.Core.2.4.3\lib\net45\MongoDB.Driver.Core.dll + + + ..\packages\Newtonsoft.Json.10.0.2\lib\net45\Newtonsoft.Json.dll + + + ..\packages\RestSharp.105.2.3\lib\net452\RestSharp.dll + + + + + ..\packages\System.Runtime.InteropServices.RuntimeInformation.4.3.0\lib\net45\System.Runtime.InteropServices.RuntimeInformation.dll + + + + + + + + + 4.0 + + + + + + + + MSBuild:Compile + Designer + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + MSBuild:Compile + Designer + + + Designer + MSBuild:Compile + + + MSBuild:Compile + Designer + + + App.xaml + Code + + + BookTypes.xaml + + + Students.xaml + + + StudentsEdit.xaml + + + BookTypesEdit.xaml + + + MainWindow.xaml + Code + + + + + + + + Code + + + True + True + Resources.resx + + + True + Settings.settings + True + + + ResXFileCodeGenerator + Resources.Designer.cs + + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + + + + + \ No newline at end of file diff --git a/BuechermarktClient/MainWindow.xaml b/BuechermarktClient/MainWindow.xaml new file mode 100644 index 0000000..3875efb --- /dev/null +++ b/BuechermarktClient/MainWindow.xaml @@ -0,0 +1,17 @@ + + + + + + + + + diff --git a/BuechermarktClient/Students.xaml.cs b/BuechermarktClient/Students.xaml.cs new file mode 100644 index 0000000..13454d5 --- /dev/null +++ b/BuechermarktClient/Students.xaml.cs @@ -0,0 +1,75 @@ +using System; +using System.Linq; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Input; +using BuechermarktClient.Models; +using System.Threading; +using MongoDB.Driver; + +namespace BuechermarktClient +{ + /// + /// Interaktionslogik für Students.xaml + /// + public partial class Students : Window + { + public Thread RefreshThread = null; + private bool ThreadRunning = true; + + public Students() + { + InitializeComponent(); + InitializeComponent(); + RefreshThread = new Thread(RefreshThreadS); + RefreshThread.Start(); + RefreshThread.IsBackground = true; + Closing += Students_Closing; + } + + + private void Students_Closing(object sender, System.ComponentModel.CancelEventArgs e) + { + ThreadRunning = false; + } + + public void RefreshThreadS() + { + while (ThreadRunning) + { + LoadList(); + Thread.Sleep(1000); + } + } + + public void LoadList() + { + var list = MainWindow.StudentCollection.FindSync((s) => true).ToList(); + Dispatcher.BeginInvoke(new Action(delegate () { + BookTypesList.ItemsSource = list; + })); + } + + private void AddNew_Click(object sender, RoutedEventArgs e) + { + var editWindow = new StudentsEdit(null) + { + Owner = this + }; + editWindow.Show(); + } + + private void ListViewItem_PreviewMouseUp(object sender, MouseButtonEventArgs e) + { + var item = sender as ListViewItem; + if (item != null && item.IsSelected) + { + var editWindow = new StudentsEdit(item.DataContext as Student) + { + Owner = this + }; + editWindow.Show(); + } + } + } +} diff --git a/BuechermarktClient/StudentsEdit.xaml b/BuechermarktClient/StudentsEdit.xaml new file mode 100644 index 0000000..fbf8aaa --- /dev/null +++ b/BuechermarktClient/StudentsEdit.xaml @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/BuechermarktClient/StudentsEdit.xaml.cs b/BuechermarktClient/StudentsEdit.xaml.cs new file mode 100644 index 0000000..0ed9025 --- /dev/null +++ b/BuechermarktClient/StudentsEdit.xaml.cs @@ -0,0 +1,157 @@ +using BuechermarktClient.Models; +using MongoDB.Driver; +using System.ComponentModel; +using System.Windows; + +namespace BuechermarktClient +{ + /// + /// Interaktionslogik für BookTypesEdit.xaml + /// + public partial class StudentsEdit : Window, INotifyPropertyChanged + { + private bool New = false; + private Student Student = null; + public string Forname + { + get + { + return Student.Forname; + } + set { + if(value != Student.Forname) + { + Student.Forname = value; + OnPropertyChanged("Forname"); + } + } + } + + public string Lastname + { + get + { + return Student.Lastname; + } + set + { + if (value != Student.Lastname) + { + Student.Lastname = value; + OnPropertyChanged("Lastname"); + } + } + } + + public string EMail + { + get + { + return Student.EMail; + } + set + { + if (value != Student.EMail) + { + Student.EMail = value; + OnPropertyChanged("EMail"); + } + } + } + + public string PhoneNumber + { + get + { + return Student.PhoneNumber; + } + set + { + if (value != Student.PhoneNumber) + { + Student.PhoneNumber = value; + OnPropertyChanged("PhoneNumber"); + } + } + } + + public string LabelId + { + get + { + return Student.LabelId; + } + set + { + if (value != Student.LabelId) + { + Student.LabelId = value; + OnPropertyChanged("LabelId"); + } + } + } + + public string Form + { + get + { + return Student.Form; + } + set + { + if (value != Student.Form) + { + Student.Form = value; + OnPropertyChanged("Form"); + } + } + } + + public event PropertyChangedEventHandler PropertyChanged; + protected void OnPropertyChanged(string propertyName) + { + PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName)); + } + + public StudentsEdit(Student student) + { + DataContext = this; + if(student == null) + { + Student = new Student(); + New = true; + } else + { + Student = student; + } + InitializeComponent(); + } + + private void Save_Click(object sender, RoutedEventArgs e) + { + if(New) + { + MainWindow.StudentCollection.InsertOne(Student); + } else + { + MainWindow.StudentCollection.FindOneAndUpdate(s => s.ID == Student.ID, Builders.Update + .Set(s => s.Forname, Student.Forname) + .Set(s => s.Lastname, Student.Lastname) + .Set(s => s.EMail, Student.EMail) + .Set(s => s.PhoneNumber, Student.PhoneNumber) + .Set(s => s.LabelId, Student.LabelId) + .Set(s=>s.Form, Student.Form)); + } + Close(); + } + + private void Delete_Click(object sender, RoutedEventArgs e) + { + if(Student.ID != null) + { + MainWindow.StudentCollection.DeleteOne(bt => bt.ID == Student.ID); + } + Close(); + } + } +} diff --git a/BuechermarktClient/bin/Debug/BuechermarktClient.exe.config b/BuechermarktClient/bin/Debug/BuechermarktClient.exe.config new file mode 100644 index 0000000..fb37333 --- /dev/null +++ b/BuechermarktClient/bin/Debug/BuechermarktClient.exe.config @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/BuechermarktClient/bin/Debug/MongoDB.Bson.xml b/BuechermarktClient/bin/Debug/MongoDB.Bson.xml new file mode 100644 index 0000000..e38dd06 --- /dev/null +++ b/BuechermarktClient/bin/Debug/MongoDB.Bson.xml @@ -0,0 +1,22445 @@ + + + + MongoDB.Bson + + + + + Represents a BSON array. + + + + + Initializes a new instance of the BsonArray class. + + + + + Initializes a new instance of the BsonArray class. + + A list of values to add to the array. + + + + Initializes a new instance of the BsonArray class. + + A list of values to add to the array. + + + + Initializes a new instance of the BsonArray class. + + A list of values to add to the array. + + + + Initializes a new instance of the BsonArray class. + + A list of values to add to the array. + + + + Initializes a new instance of the BsonArray class. + + A list of values to add to the array. + + + + Initializes a new instance of the BsonArray class. + + A list of values to add to the array. + + + + Initializes a new instance of the BsonArray class. + + A list of values to add to the array. + + + + Initializes a new instance of the BsonArray class. + + A list of values to add to the array. + + + + Initializes a new instance of the BsonArray class. + + A list of values to add to the array. + + + + Initializes a new instance of the BsonArray class. + + The initial capacity of the array. + + + + Adds an element to the array. + + The value to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Gets the BsonType of this BsonValue. + + + + + Gets or sets the total number of elements the internal data structure can hold without resizing. + + + + + Clears the array. + + + + + Creates a shallow clone of the array (see also DeepClone). + + A shallow clone of the array. + + + + Compares the array to another array. + + The other array. + A 32-bit signed integer that indicates whether this array is less than, equal to, or greather than the other. + + + + Compares the array to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this array is less than, equal to, or greather than the other BsonValue. + + + + Tests whether the array contains a value. + + The value to test for. + True if the array contains the value. + + + + Copies elements from this array to another array. + + The other array. + The zero based index of the other array at which to start copying. + + + + Copies elements from this array to another array as raw values (see BsonValue.RawValue). + + The other array. + The zero based index of the other array at which to start copying. + + + + Gets the count of array elements. + + + + + Creates a new BsonArray. + + A value to be mapped to a BsonArray. + A BsonArray or null. + + + + Creates a deep clone of the array (see also Clone). + + A deep clone of the array. + + + + Compares this array to another array. + + The other array. + True if the two arrays are equal. + + + + Compares this BsonArray to another object. + + The other object. + True if the other object is a BsonArray and equal to this one. + + + + Gets an enumerator that can enumerate the elements of the array. + + An enumerator. + + + + Gets the hash code. + + The hash code. + + + + Gets the index of a value in the array. + + The value to search for. + The zero based index of the value (or -1 if not found). + + + + Gets the index of a value in the array. + + The value to search for. + The zero based index at which to start the search. + The zero based index of the value (or -1 if not found). + + + + Gets the index of a value in the array. + + The value to search for. + The zero based index at which to start the search. + The number of elements to search. + The zero based index of the value (or -1 if not found). + + + + Inserts a new value into the array. + + The zero based index at which to insert the new value. + The new value. + + + + Gets whether the array is read-only. + + + + + Gets or sets a value by position. + + The position. + The value. + + + + Compares two BsonArray values. + + The first BsonArray. + The other BsonArray. + True if the two BsonArray values are equal according to ==. + + + + Compares two BsonArray values. + + The first BsonArray. + The other BsonArray. + True if the two BsonArray values are not equal according to ==. + + + + Gets the array elements as raw values (see BsonValue.RawValue). + + + + + Removes the first occurrence of a value from the array. + + The value to remove. + True if the value was removed. + + + + Removes an element from the array. + + The zero based index of the element to remove. + + + + Converts the BsonArray to an array of BsonValues. + + An array of BsonValues. + + + + Converts the BsonArray to a list of BsonValues. + + A list of BsonValues. + + + + Returns a string representation of the array. + + A string representation of the array. + + + + Gets the array elements. + + + + + Represents BSON binary data. + + + + + Initializes a new instance of the BsonBinaryData class. + + The binary data. + + + + Initializes a new instance of the BsonBinaryData class. + + The binary data. + The binary data subtype. + + + + Initializes a new instance of the BsonBinaryData class. + + The binary data. + The binary data subtype. + The representation for Guids. + + + + Initializes a new instance of the BsonBinaryData class. + + A Guid. + + + + Initializes a new instance of the BsonBinaryData class. + + A Guid. + The representation for Guids. + + + + Gets the BsonType of this BsonValue. + + + + + Gets the binary data. + + + + + Compares this BsonBinaryData to another BsonBinaryData. + + The other BsonBinaryData. + A 32-bit signed integer that indicates whether this BsonBinaryData is less than, equal to, or greather than the other. + + + + Compares the BsonBinaryData to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonBinaryData is less than, equal to, or greather than the other BsonValue. + + + + Creates a new BsonBinaryData. + + An object to be mapped to a BsonBinaryData. + A BsonBinaryData or null. + + + + Compares this BsonBinaryData to another BsonBinaryData. + + The other BsonBinaryData. + True if the two BsonBinaryData values are equal. + + + + Compares this BsonBinaryData to another object. + + The other object. + True if the other object is a BsonBinaryData and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Gets the representation to use when representing the Guid as BSON binary data. + + + + + Compares two BsonBinaryData values. + + The first BsonBinaryData. + The other BsonBinaryData. + True if the two BsonBinaryData values are equal according to ==. + + + + Converts a byte array to a BsonBinaryData. + + A byte array. + A BsonBinaryData. + + + + Converts a Guid to a BsonBinaryData. + + A Guid. + A BsonBinaryData. + + + + Compares two BsonBinaryData values. + + The first BsonBinaryData. + The other BsonBinaryData. + True if the two BsonBinaryData values are not equal according to ==. + + + + Gets the BsonBinaryData as a Guid if the subtype is UuidStandard or UuidLegacy, otherwise null. + + + + + Gets the binary data subtype. + + + + + Converts this BsonBinaryData to a Guid. + + A Guid. + + + + Converts this BsonBinaryData to a Guid. + + The representation for Guids. + A Guid. + + + + Returns a string representation of the binary data. + + A string representation of the binary data. + + + + Represents the binary data subtype of a BsonBinaryData. + + + + + Binary data. + + + + + A function. + + + + + Obsolete binary data subtype (use Binary instead). + + + + + A UUID in a driver dependent legacy byte order. + + + + + A UUID in standard network byte order. + + + + + An MD5 hash. + + + + + User defined binary data. + + + + + Represents a BSON boolean value. + + + + + Initializes a new instance of the BsonBoolean class. + + The value. + + + + Gets the BsonType of this BsonValue. + + + + + Compares this BsonBoolean to another BsonBoolean. + + The other BsonBoolean. + A 32-bit signed integer that indicates whether this BsonBoolean is less than, equal to, or greather than the other. + + + + Compares the BsonBoolean to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonBoolean is less than, equal to, or greather than the other BsonValue. + + + + Returns one of the two possible BsonBoolean values. + + An object to be mapped to a BsonBoolean. + A BsonBoolean or null. + + + + Compares this BsonBoolean to another BsonBoolean. + + The other BsonBoolean. + True if the two BsonBoolean values are equal. + + + + Compares this BsonBoolean to another object. + + The other object. + True if the other object is a BsonBoolean and equal to this one. + + + + Gets the instance of BsonBoolean that represents false. + + + + + Gets the hash code. + + The hash code. + + + + Implementation of the IConvertible GetTypeCode method. + + The TypeCode. + + + + Implementation of the IConvertible ToBoolean method. + + The format provider. + A bool. + + + + Implementation of the IConvertible ToByte method. + + The format provider. + A byte. + + + + Implementation of the IConvertible ToDecimal method. + + The format provider. + A decimal. + + + + Implementation of the IConvertible ToDouble method. + + The format provider. + A double. + + + + Implementation of the IConvertible ToInt16 method. + + The format provider. + A short. + + + + Implementation of the IConvertible ToInt32 method. + + The format provider. + An int. + + + + Implementation of the IConvertible ToInt64 method. + + The format provider. + A long. + + + + Implementation of the IConvertible ToSByte method. + + The format provider. + An sbyte. + + + + Implementation of the IConvertible ToSingle method. + + The format provider. + A float. + + + + Implementation of the IConvertible ToString method. + + The format provider. + A string. + + + + Implementation of the IConvertible ToUInt16 method. + + The format provider. + A ushort. + + + + Implementation of the IConvertible ToUInt32 method. + + The format provider. + A uint. + + + + Implementation of the IConvertible ToUInt64 method. + + The format provider. + A ulong. + + + + Compares two BsonBoolean values. + + The first BsonBoolean. + The other BsonBoolean. + True if the two BsonBoolean values are equal according to ==. + + + + Converts a bool to a BsonBoolean. + + A bool. + A BsonBoolean. + + + + Compares two BsonBoolean values. + + The first BsonBoolean. + The other BsonBoolean. + True if the two BsonBoolean values are not equal according to ==. + + + + Gets the BsonBoolean as a bool. + + + + + Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness). + + A Boolean. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Gets the instance of BsonBoolean that represents true. + + + + + Gets the value of this BsonBoolean. + + + + + A static class containing BSON constants. + + + + + Gets the number of milliseconds since the Unix epoch for DateTime.MaxValue. + + + + + Gets the number of milliseconds since the Unix epoch for DateTime.MinValue. + + + + + Gets the Unix Epoch for BSON DateTimes (1970-01-01). + + + + + Represents a BSON DateTime value. + + + + + Initializes a new instance of the BsonDateTime class. + + A DateTime. + + + + Initializes a new instance of the BsonDateTime class. + + Milliseconds since Unix Epoch. + + + + Gets the BsonType of this BsonValue. + + + + + Compares this BsonDateTime to another BsonDateTime. + + The other BsonDateTime. + A 32-bit signed integer that indicates whether this BsonDateTime is less than, equal to, or greather than the other. + + + + Compares the BsonDateTime to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonDateTime is less than, equal to, or greather than the other BsonValue. + + + + Creates a new BsonDateTime. + + An object to be mapped to a BsonDateTime. + A BsonDateTime or null. + + + + Compares this BsonDateTime to another BsonDateTime. + + The other BsonDateTime. + True if the two BsonDateTime values are equal. + + + + Compares this BsonDateTime to another object. + + The other object. + True if the other object is a BsonDateTime and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Implementation of the IConvertible GetTypeCode method. + + The TypeCode. + + + + Implementation of the IConvertible ToDateTime method. + + The format provider. + A DateTime. + + + + Gets whether this BsonDateTime is a valid .NET DateTime. + + + + + Gets the number of milliseconds since the Unix Epoch. + + + + + Compares two BsonDateTime values. + + The first BsonDateTime. + The other BsonDateTime. + True if the two BsonDateTime values are equal according to ==. + + + + Converts a DateTime to a BsonDateTime. + + A DateTime. + A BsonDateTime. + + + + Compares two BsonDateTime values. + + The first BsonDateTime. + The other BsonDateTime. + True if the two BsonDateTime values are not equal according to ==. + + + + Gets the number of milliseconds since the Unix Epoch. + + + + + Converts this BsonValue to a DateTime in local time. + + A DateTime. + + + + Converts this BsonValue to a DateTime? in local time. + + A DateTime?. + + + + Converts this BsonValue to a DateTime? in UTC. + + A DateTime?. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Converts this BsonValue to a DateTime in UTC. + + A DateTime. + + + + Gets the DateTime value. + + + + + Represents a BSON Decimal128 value. + + + + + Initializes a new instance of the class. + + The value. + + + + Gets the BsonType of this BsonValue. + + + + + Compares this BsonDecimal128 to another BsonDecimal128. + + The other BsonDecimal128. + A 32-bit signed integer that indicates whether this BsonDecimal128 is less than, equal to, or greather than the other. + + + + Compares this BsonValue to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonValue is less than, equal to, or greather than the other BsonValue. + + + + Creates a new instance of the BsonDecimal128 class. + + An object to be mapped to a BsonDecimal128. + A BsonDecimal128. + + + + Compares this BsonDecimal128 to another BsonDecimal128. + + The other BsonDecimal128. + True if the two BsonDecimal128 values are equal. + + + + Compares this BsonValue to another object. + + The other object. + True if the other object is a BsonValue and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Implementation of the IConvertible GetTypeCode method. + + The TypeCode. + + + + Implementation of the IConvertible ToBoolean method. + + The format provider. + A bool. + + + + Implementation of the IConvertible ToByte method. + + The format provider. + A byte. + + + + Implementation of the IConvertible ToDecimal method. + + The format provider. + A decimal. + + + + Implementation of the IConvertible ToDouble method. + + The format provider. + A double. + + + + Implementation of the IConvertible ToInt16 method. + + The format provider. + A short. + + + + Implementation of the IConvertible ToInt32 method. + + The format provider. + An int. + + + + Implementation of the IConvertible ToInt64 method. + + The format provider. + A long. + + + + Implementation of the IConvertible ToSByte method. + + The format provider. + An sbyte. + + + + Implementation of the IConvertible ToSingle method. + + The format provider. + A float. + + + + Implementation of the IConvertible ToString method. + + The format provider. + A string. + + + + Implementation of the IConvertible ToUInt16 method. + + The format provider. + A ushort. + + + + Implementation of the IConvertible ToUInt32 method. + + The format provider. + A uint. + + + + Implementation of the IConvertible ToUInt64 method. + + The format provider. + A ulong. + + + + Compares two BsonDecimal128 values. + + The first BsonDecimal128. + The other BsonDecimal128. + True if the two BsonDecimal128 values are equal according to ==. + + + + Converts a Decimal128 to a BsonDecimal128. + + A Decimal128. + A BsonDecimal128. + + + + Compares two BsonDecimal128 values. + + The first BsonDecimal128. + The other BsonDecimal128. + True if the two BsonDecimal128 values are not equal according to ==. + + + + Implementation of operator ==. + + The other BsonValue. + True if the two BsonValues are equal according to ==. + + + + Gets the raw value of this BsonValue (or null if this BsonValue doesn't have a single scalar value). + + + + + Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness). + + A Boolean. + + + + Converts this BsonValue to a Decimal. + + A Decimal. + + + + Converts this BsonValue to a Decimal128. + + A Decimal128. + + + + Converts this BsonValue to a Double. + + A Double. + + + + Converts this BsonValue to an Int32. + + An Int32. + + + + Converts this BsonValue to an Int64. + + An Int64. + + + Returns a string that represents the current object. + A string that represents the current object. + + + + Gets the value. + + + + + A static helper class containing BSON defaults. + + + + + Gets or sets the dynamic array serializer. + + + + + Gets or sets the dynamic document serializer. + + + + + Gets or sets the default representation to be used in serialization of + Guids to the database. + + + + + Gets or sets the default max document size. The default is 4MiB. + + + + + Gets or sets the default max serialization depth (used to detect circular references during serialization). The default is 100. + + + + + Represents a BSON document. + + + + + Initializes a new instance of the BsonDocument class. + + + + + Initializes a new instance of the BsonDocument class and adds one element. + + An element to add to the document. + + + + Initializes a new instance of the BsonDocument class and adds one or more elements. + + One or more elements to add to the document. + + + + Initializes a new instance of the BsonDocument class specifying whether duplicate element names are allowed + (allowing duplicate element names is not recommended). + + Whether duplicate element names are allowed. + + + + Initializes a new instance of the BsonDocument class and adds new elements from a dictionary of key/value pairs. + + A dictionary to initialize the document from. + + + + Initializes a new instance of the BsonDocument class and adds new elements from a dictionary of key/value pairs. + + A dictionary to initialize the document from. + A list of keys to select values from the dictionary. + + + + Initializes a new instance of the BsonDocument class and adds new elements from a dictionary of key/value pairs. + + A dictionary to initialize the document from. + A list of keys to select values from the dictionary. + + + + Initializes a new instance of the BsonDocument class and adds new elements from a list of elements. + + A list of elements to add to the document. + + + + Initializes a new instance of the BsonDocument class and adds new elements from a dictionary of key/value pairs. + + A dictionary to initialize the document from. + + + + Initializes a new instance of the BsonDocument class and adds new elements from a dictionary of key/value pairs. + + A dictionary to initialize the document from. + + + + Initializes a new instance of the BsonDocument class and adds new elements from a dictionary of key/value pairs. + + A dictionary to initialize the document from. + A list of keys to select values from the dictionary. + + + + Initializes a new instance of the BsonDocument class and creates and adds a new element. + + The name of the element to add to the document. + The value of the element to add to the document. + + + + Adds an element to the document. + + The element to add. + The document (so method calls can be chained). + + + + Adds a list of elements to the document. + + The list of elements. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + Which keys of the hash table to add. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + Which keys of the hash table to add. + The document (so method calls can be chained). + + + + Adds a list of elements to the document. + + The list of elements. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + Which keys of the hash table to add. + The document (so method calls can be chained). + + + + Creates and adds an element to the document. + + The name of the element. + The value of the element. + The document (so method calls can be chained). + + + + Creates and adds an element to the document, but only if the condition is true. + + The name of the element. + The value of the element. + Whether to add the element to the document. + The document (so method calls can be chained). + + + + Creates and adds an element to the document, but only if the condition is true. + If the condition is false the value factory is not called at all. + + The name of the element. + A delegate called to compute the value of the element if condition is true. + Whether to add the element to the document. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + The document (so method calls can be chained). + + + + Adds a list of elements to the document. + + The list of elements. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + The document (so method calls can be chained). + + + + Gets or sets whether to allow duplicate names (allowing duplicate names is not recommended). + + + + + Gets the BsonType of this BsonValue. + + + + + Clears the document (removes all elements). + + + + + Creates a shallow clone of the document (see also DeepClone). + + A shallow clone of the document. + + + + Compares this document to another document. + + The other document. + A 32-bit signed integer that indicates whether this document is less than, equal to, or greather than the other. + + + + Compares the BsonDocument to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonDocument is less than, equal to, or greather than the other BsonValue. + + + + Tests whether the document contains an element with the specified name. + + The name of the element to look for. + True if the document contains an element with the specified name. + + + + Tests whether the document contains an element with the specified value. + + The value of the element to look for. + True if the document contains an element with the specified value. + + + + Creates a new BsonDocument by mapping an object to a BsonDocument. + + The object to be mapped to a BsonDocument. + A BsonDocument. + + + + Creates a deep clone of the document (see also Clone). + + A deep clone of the document. + + + + Gets the number of elements. + + + + + Gets the elements. + + + + + Compares this document to another document. + + The other document. + True if the two documents are equal. + + + + Compares this BsonDocument to another object. + + The other object. + True if the other object is a BsonDocument and equal to this one. + + + + Gets an element of this document. + + The zero based index of the element. + The element. + + + + Gets an element of this document. + + The name of the element. + A BsonElement. + + + + Gets an enumerator that can be used to enumerate the elements of this document. + + An enumerator. + + + + Gets the hash code. + + The hash code. + + + + Gets the value of an element. + + The zero based index of the element. + The value of the element. + + + + Gets the value of an element. + + The name of the element. + The value of the element. + + + + Gets the value of an element or a default value if the element is not found. + + The name of the element. + The default value returned if the element is not found. + The value of the element or the default value if the element is not found. + + + + Gets the index of an element. + + The name of the element. + The index of the element, or -1 if the element is not found. + + + + Inserts a new element at a specified position. + + The position of the new element. + The element. + + + + Gets or sets a value by position. + + The position. + The value. + + + + Gets or sets a value by name. + + The name. + The value. + + + + Gets the value of an element or a default value if the element is not found. + + The name of the element. + The default value to return if the element is not found. + Teh value of the element or a default value if the element is not found. + + + + Merges another document into this one. Existing elements are not overwritten. + + The other document. + The document (so method calls can be chained). + + + + Merges another document into this one, specifying whether existing elements are overwritten. + + The other document. + Whether to overwrite existing elements. + The document (so method calls can be chained). + + + + Gets the element names. + + + + + Compares two BsonDocument values. + + The first BsonDocument. + The other BsonDocument. + True if the two BsonDocument values are equal according to ==. + + + + Compares two BsonDocument values. + + The first BsonDocument. + The other BsonDocument. + True if the two BsonDocument values are not equal according to ==. + + + + Parses a JSON string and returns a BsonDocument. + + The JSON string. + A BsonDocument. + + + + Gets the raw values (see BsonValue.RawValue). + + + + + Removes an element from this document (if duplicate element names are allowed + then all elements with this name will be removed). + + The name of the element to remove. + + + + Removes an element from this document. + + The zero based index of the element to remove. + + + + Removes an element from this document. + + The element to remove. + + + + Sets the value of an element. + + The zero based index of the element whose value is to be set. + The new value. + The document (so method calls can be chained). + + + + Sets the value of an element (an element will be added if no element with this name is found). + + The name of the element whose value is to be set. + The new value. + The document (so method calls can be chained). + + + + Sets an element of the document (replaces any existing element with the same name or adds a new element if an element with the same name is not found). + + The new element. + The document. + + + + Sets an element of the document (replacing the existing element at that position). + + The zero based index of the element to replace. + The new element. + The document. + + + + Converts the BsonDocument to a Dictionary<string, object>. + + A dictionary. + + + + Converts the BsonDocument to a Hashtable. + + A hashtable. + + + + Returns a string representation of the document. + + A string representation of the document. + + + + Tries to get an element of this document. + + The name of the element. + The element. + True if an element with that name was found. + + + + Tries to get the value of an element of this document. + + The name of the element. + The value of the element. + True if an element with that name was found. + + + + Tries to parse a JSON string and returns a value indicating whether it succeeded or failed. + + The JSON string. + The result. + Whether it succeeded or failed. + + + + Gets the values. + + + + + Represents a BsonDocument wrapper. + + + + + Initializes a new instance of the class. + + The value. + + + + Initializes a new instance of the class. + + The value. + The serializer. + + + + Creates a shallow clone of the document (see also DeepClone). + + + A shallow clone of the document. + + + + + Creates a new instance of the BsonDocumentWrapper class. + + The nominal type of the wrapped object. + The wrapped object. + A BsonDocumentWrapper. + + + + Creates a new instance of the BsonDocumentWrapper class. + + The wrapped object. + The nominal type of the wrapped object. + A BsonDocumentWrapper. + + + + Creates a list of new instances of the BsonDocumentWrapper class. + + A list of wrapped objects. + The nominal type of the wrapped objects. + A list of BsonDocumentWrappers. + + + + Creates a list of new instances of the BsonDocumentWrapper class. + + The nominal type of the wrapped object. + A list of wrapped objects. + A list of BsonDocumentWrappers. + + + + Materializes the BsonDocument. + + The materialized elements. + + + + Informs subclasses that the Materialize process completed so they can free any resources related to the unmaterialized state. + + + + + Gets the serializer. + + + + + Gets the wrapped value. + + + + + Represents a BSON double value. + + + + + Initializes a new instance of the BsonDouble class. + + The value. + + + + Gets the BsonType of this BsonValue. + + + + + Compares this BsonDouble to another BsonDouble. + + The other BsonDouble. + A 32-bit signed integer that indicates whether this BsonDouble is less than, equal to, or greather than the other. + + + + Compares this BsonValue to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonValue is less than, equal to, or greather than the other BsonValue. + + + + Creates a new instance of the BsonDouble class. + + An object to be mapped to a BsonDouble. + A BsonDouble. + + + + Compares this BsonDouble to another BsonDouble. + + The other BsonDouble. + True if the two BsonDouble values are equal. + + + + Compares this BsonValue to another object. + + The other object. + True if the other object is a BsonValue and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Implementation of the IConvertible GetTypeCode method. + + The TypeCode. + + + + Implementation of the IConvertible ToBoolean method. + + The format provider. + A bool. + + + + Implementation of the IConvertible ToByte method. + + The format provider. + A byte. + + + + Implementation of the IConvertible ToDecimal method. + + The format provider. + A decimal. + + + + Implementation of the IConvertible ToDouble method. + + The format provider. + A double. + + + + Implementation of the IConvertible ToInt16 method. + + The format provider. + A short. + + + + Implementation of the IConvertible ToInt32 method. + + The format provider. + An int. + + + + Implementation of the IConvertible ToInt64 method. + + The format provider. + A long. + + + + Implementation of the IConvertible ToSByte method. + + The format provider. + An sbyte. + + + + Implementation of the IConvertible ToSingle method. + + The format provider. + A float. + + + + Implementation of the IConvertible ToString method. + + The format provider. + A string. + + + + Implementation of the IConvertible ToUInt16 method. + + The format provider. + A ushort. + + + + Implementation of the IConvertible ToUInt32 method. + + The format provider. + A uint. + + + + Implementation of the IConvertible ToUInt64 method. + + The format provider. + A ulong. + + + + Compares two BsonDouble values. + + The first BsonDouble. + The other BsonDouble. + True if the two BsonDouble values are equal according to ==. + + + + Converts a double to a BsonDouble. + + A double. + A BsonDouble. + + + + Compares two BsonDouble values. + + The first BsonDouble. + The other BsonDouble. + True if the two BsonDouble values are not equal according to ==. + + + + Implementation of operator ==. + + The other BsonValue. + True if the two BsonValues are equal according to ==. + + + + Gets the raw value of this BsonValue (or null if this BsonValue doesn't have a single scalar value). + + + + + Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness). + + A Boolean. + + + + Converts this BsonValue to a Decimal. + + A Decimal. + + + + Converts this BsonValue to a Decimal128. + + A Decimal128. + + + + Converts this BsonValue to a Double. + + A Double. + + + + Converts this BsonValue to an Int32. + + An Int32. + + + + Converts this BsonValue to an Int64. + + An Int64. + + + Returns a string that represents the current object. + A string that represents the current object. + + + + Gets the value of this BsonDouble. + + + + + Represents a BSON element. + + + + + Initializes a new instance of the BsonElement class. + + The name of the element. + The value of the element. + + + + Creates a shallow clone of the element (see also DeepClone). + + A shallow clone of the element. + + + + Compares this BsonElement to another BsonElement. + + The other BsonElement. + A 32-bit signed integer that indicates whether this BsonElement is less than, equal to, or greather than the other. + + + + Creates a deep clone of the element (see also Clone). + + A deep clone of the element. + + + + Compares this BsonElement to another BsonElement. + + The other BsonElement. + True if the two BsonElement values are equal. + + + + Compares this BsonElement to another object. + + The other object. + True if the other object is a BsonElement and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Gets the name of the element. + + + + + Compares two BsonElements. + + The first BsonElement. + The other BsonElement. + True if the two BsonElements are equal (or both null). + + + + Compares two BsonElements. + + The first BsonElement. + The other BsonElement. + True if the two BsonElements are not equal (or one is null and the other is not). + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Gets or sets the value of the element. + + + + + Represents a BSON exception. + + + + + Initializes a new instance of the BsonException class. + + + + + Initializes a new instance of the BsonException class (this overload used by deserialization). + + The SerializationInfo. + The StreamingContext. + + + + Initializes a new instance of the BsonException class. + + The error message. + + + + Initializes a new instance of the BsonException class. + + The error message. + The inner exception. + + + + Initializes a new instance of the BsonException class. + + The error message format string. + One or more args for the error message. + + + + A static class containing BSON extension methods. + + + + + Serializes an object to a BSON byte array. + + The object. + The nominal type of the object.. + The writer settings. + The serializer. + The serialization context configurator. + The serialization args. + A BSON byte array. + nominalType + serializer + + + + Serializes an object to a BSON byte array. + + The object. + The serializer. + The writer settings. + The serialization context configurator. + The serialization args. + The nominal type of the object. + A BSON byte array. + + + + Serializes an object to a BsonDocument. + + The object. + The nominal type of the object. + The serializer. + The serialization context configurator. + The serialization args. + A BsonDocument. + nominalType + serializer + + + + Serializes an object to a BsonDocument. + + The object. + The serializer. + The serialization context configurator. + The serialization args. + The nominal type of the object. + A BsonDocument. + + + + Serializes an object to a JSON string. + + The object. + The nominal type of the objectt. + The JsonWriter settings. + The serializer. + The serialization context configurator. + The serialization args. + + A JSON string. + + nominalType + serializer + + + + Serializes an object to a JSON string. + + The object. + The JsonWriter settings. + The serializer. + The serializastion context configurator. + The serialization args. + The nominal type of the object. + + A JSON string. + + + + + Represents a BSON int value. + + + + + Creates a new instance of the BsonInt32 class. + + The value. + + + + Gets the BsonType of this BsonValue. + + + + + Compares this BsonInt32 to another BsonInt32. + + The other BsonInt32. + A 32-bit signed integer that indicates whether this BsonInt32 is less than, equal to, or greather than the other. + + + + Compares the BsonInt32 to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonInt32 is less than, equal to, or greather than the other BsonValue. + + + + Creates a new BsonInt32. + + An object to be mapped to a BsonInt32. + A BsonInt32 or null. + + + + Compares this BsonInt32 to another BsonInt32. + + The other BsonInt32. + True if the two BsonInt32 values are equal. + + + + Compares this BsonInt32 to another object. + + The other object. + True if the other object is a BsonInt32 and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Implementation of the IConvertible GetTypeCode method. + + The TypeCode. + + + + Implementation of the IConvertible ToBoolean method. + + The format provider. + A bool. + + + + Implementation of the IConvertible ToByte method. + + The format provider. + A byte. + + + + Implementation of the IConvertible ToChar method. + + The format provider. + A char. + + + + Implementation of the IConvertible ToDecimal method. + + The format provider. + A decimal. + + + + Implementation of the IConvertible ToDouble method. + + The format provider. + A double. + + + + Implementation of the IConvertible ToInt16 method. + + The format provider. + A short. + + + + Implementation of the IConvertible ToInt32 method. + + The format provider. + An int. + + + + Implementation of the IConvertible ToInt64 method. + + The format provider. + A long. + + + + Implementation of the IConvertible ToSByte method. + + The format provider. + An sbyte. + + + + Implementation of the IConvertible ToSingle method. + + The format provider. + A float. + + + + Implementation of the IConvertible ToString method. + + The format provider. + A string. + + + + Implementation of the IConvertible ToUInt16 method. + + The format provider. + A ushort. + + + + Implementation of the IConvertible ToUInt32 method. + + The format provider. + A uint. + + + + Implementation of the IConvertible ToUInt64 method. + + The format provider. + A ulong. + + + + Gets an instance of BsonInt32 that represents -1. + + + + + Gets an instance of BsonInt32 that represents 1. + + + + + Compares two BsonInt32 values. + + The first BsonInt32. + The other BsonInt32. + True if the two BsonInt32 values are equal according to ==. + + + + Converts an int to a BsonInt32. + + An int. + A BsonInt32. + + + + Compares two BsonInt32 values. + + The first BsonInt32. + The other BsonInt32. + True if the two BsonInt32 values are not equal according to ==. + + + + Compares this BsonInt32 against another BsonValue. + + The other BsonValue. + True if this BsonInt32 and the other BsonValue are equal according to ==. + + + + Gets the BsonInt32 as an int. + + + + + Gets an instance of BsonInt32 that represents 3. + + + + + Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness). + + A Boolean. + + + + Converts this BsonValue to a Decimal. + + A Decimal. + + + + Converts this BsonValue to a Decimal128. + + A Decimal128. + + + + Converts this BsonValue to a Double. + + A Double. + + + + Converts this BsonValue to an Int32. + + An Int32. + + + + Converts this BsonValue to an Int64. + + An Int32. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Gets an instance of BsonInt32 that represents 2. + + + + + Gets the value of this BsonInt32. + + + + + Gets an instance of BsonInt32 that represents -0. + + + + + Represents a BSON long value. + + + + + Initializes a new instance of the BsonInt64 class. + + The value. + + + + Gets the BsonType of this BsonValue. + + + + + Compares this BsonInt64 to another BsonInt64. + + The other BsonInt64. + A 32-bit signed integer that indicates whether this BsonInt64 is less than, equal to, or greather than the other. + + + + Compares the BsonInt64 to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonInt64 is less than, equal to, or greather than the other BsonValue. + + + + Creates a new BsonInt64. + + An object to be mapped to a BsonInt64. + A BsonInt64 or null. + + + + Compares this BsonInt64 to another BsonInt64. + + The other BsonInt64. + True if the two BsonInt64 values are equal. + + + + Compares this BsonInt64 to another object. + + The other object. + True if the other object is a BsonInt64 and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Implementation of the IConvertible GetTypeCode method. + + The TypeCode. + + + + Implementation of the IConvertible ToBoolean method. + + The format provider. + A bool. + + + + Implementation of the IConvertible ToByte method. + + The format provider. + A byte. + + + + Implementation of the IConvertible ToChar method. + + The format provider. + A char. + + + + Implementation of the IConvertible ToDecimal method. + + The format provider. + A decimal. + + + + Implementation of the IConvertible ToDouble method. + + The format provider. + A double. + + + + Implementation of the IConvertible ToInt16 method. + + The format provider. + A short. + + + + Implementation of the IConvertible ToInt32 method. + + The format provider. + An int. + + + + Implementation of the IConvertible ToInt64 method. + + The format provider. + A long. + + + + Implementation of the IConvertible ToSByte method. + + The format provider. + An sbyte. + + + + Implementation of the IConvertible ToSingle method. + + The format provider. + A float. + + + + Implementation of the IConvertible ToString method. + + The format provider. + A string. + + + + Implementation of the IConvertible ToUInt16 method. + + The format provider. + A ushort. + + + + Implementation of the IConvertible ToUInt32 method. + + The format provider. + A uint. + + + + Implementation of the IConvertible ToUInt64 method. + + The format provider. + A ulong. + + + + Compares two BsonInt64 values. + + The first BsonInt64. + The other BsonInt64. + True if the two BsonInt64 values are equal according to ==. + + + + Converts a long to a BsonInt64. + + A long. + A BsonInt64. + + + + Compares two BsonInt64 values. + + The first BsonInt64. + The other BsonInt64. + True if the two BsonInt64 values are not equal according to ==. + + + + Compares this BsonInt32 against another BsonValue. + + The other BsonValue. + True if this BsonInt64 and the other BsonValue are equal according to ==. + + + + Gets the BsonInt64 as a long. + + + + + Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness). + + A Boolean. + + + + Converts this BsonValue to a Decimal. + + A Decimal. + + + + Converts this BsonValue to a Decimal128. + + A Decimal128. + + + + Converts this BsonValue to a Double. + + A Double. + + + + Converts this BsonValue to an Int32. + + An Int32. + + + + Converts this BsonValue to an Int64. + + An Int32. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Gets the value of this BsonInt64. + + + + + Represents a BSON internal exception (almost surely the result of a bug). + + + + + Initializes a new instance of the BsonInternalException class. + + + + + Initializes a new instance of the BsonInternalException class (this overload used by deserialization). + + The SerializationInfo. + The StreamingContext. + + + + Initializes a new instance of the BsonInternalException class. + + The error message. + + + + Initializes a new instance of the BsonInternalException class. + + The error message. + The inner exception. + + + + Represents a BSON JavaScript value. + + + + + Initializes a new instance of the BsonJavaScript class. + + The JavaScript code. + + + + Gets the BsonType of this BsonValue. + + + + + Gets the JavaScript code. + + + + + Compares this BsonJavaScript to another BsonJavaScript. + + The other BsonJavaScript. + A 32-bit signed integer that indicates whether this BsonJavaScript is less than, equal to, or greather than the other. + + + + Compares the BsonJavaScript to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonJavaScript is less than, equal to, or greather than the other BsonValue. + + + + Creates a new BsonJavaScript. + + An object to be mapped to a BsonJavaScript. + A BsonJavaScript or null. + + + + Compares this BsonJavaScript to another BsonJavaScript. + + The other BsonJavaScript. + True if the two BsonJavaScript values are equal. + + + + Compares this BsonJavaScript to another object. + + The other object. + True if the other object is a BsonJavaScript and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Compares two BsonJavaScript values. + + The first BsonJavaScript. + The other BsonJavaScript. + True if the two BsonJavaScript values are equal according to ==. + + + + Converts a string to a BsonJavaScript. + + A string. + A BsonJavaScript. + + + + Compares two BsonJavaScript values. + + The first BsonJavaScript. + The other BsonJavaScript. + True if the two BsonJavaScript values are not equal according to ==. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Represents a BSON JavaScript value with a scope. + + + + + Initializes a new instance of the BsonJavaScriptWithScope class. + + The JavaScript code. + A scope (a set of variables with values). + + + + Gets the BsonType of this BsonValue. + + + + + Creates a shallow clone of the BsonJavaScriptWithScope (see also DeepClone). + + A shallow clone of the BsonJavaScriptWithScope. + + + + Compares this BsonJavaScriptWithScope to another BsonJavaScriptWithScope. + + The other BsonJavaScriptWithScope. + A 32-bit signed integer that indicates whether this BsonJavaScriptWithScope is less than, equal to, or greather than the other. + + + + Compares the BsonJavaScriptWithScope to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonJavaScriptWithScope is less than, equal to, or greather than the other BsonValue. + + + + Creates a new BsonJavaScriptWithScope. + + An object to be mapped to a BsonJavaScriptWithScope. + A BsonJavaScriptWithScope or null. + + + + Creates a deep clone of the BsonJavaScriptWithScope (see also Clone). + + A deep clone of the BsonJavaScriptWithScope. + + + + Compares this BsonJavaScriptWithScope to another BsonJavaScriptWithScope. + + The other BsonJavaScriptWithScope. + True if the two BsonJavaScriptWithScope values are equal. + + + + Compares this BsonJavaScriptWithScope to another object. + + The other object. + True if the other object is a BsonJavaScriptWithScope and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Compares two BsonJavaScriptWithScope values. + + The first BsonJavaScriptWithScope. + The other BsonJavaScriptWithScope. + True if the two BsonJavaScriptWithScope values are equal according to ==. + + + + Compares two BsonJavaScriptWithScope values. + + The first BsonJavaScriptWithScope. + The other BsonJavaScriptWithScope. + True if the two BsonJavaScriptWithScope values are not equal according to ==. + + + + Gets the scope (a set of variables with values). + + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Represents the BSON MaxKey value. + + + + + Gets the BsonType of this BsonValue. + + + + + Compares this BsonMaxKey to another BsonMaxKey. + + The other BsonMaxKey. + A 32-bit signed integer that indicates whether this BsonMaxKey is less than, equal to, or greather than the other. + + + + Compares the BsonMaxKey to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonMaxKey is less than, equal to, or greather than the other BsonValue. + + + + Compares this BsonMaxKey to another BsonMaxKey. + + The other BsonMaxKey. + True if the two BsonMaxKey values are equal. + + + + Compares this BsonMaxKey to another object. + + The other object. + True if the other object is a BsonMaxKey and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Compares two BsonMaxKey values. + + The first BsonMaxKey. + The other BsonMaxKey. + True if the two BsonMaxKey values are equal according to ==. + + + + Compares two BsonMaxKey values. + + The first BsonMaxKey. + The other BsonMaxKey. + True if the two BsonMaxKey values are not equal according to ==. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Gets the singleton instance of BsonMaxKey. + + + + + Represents the BSON MinKey value. + + + + + Gets the BsonType of this BsonValue. + + + + + Compares this BsonMinKey to another BsonMinKey. + + The other BsonMinKey. + A 32-bit signed integer that indicates whether this BsonMinKey is less than, equal to, or greather than the other. + + + + Compares the BsonMinKey to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonMinKey is less than, equal to, or greather than the other BsonValue. + + + + Compares this BsonMinKey to another BsonMinKey. + + The other BsonMinKey. + True if the two BsonMinKey values are equal. + + + + Compares this BsonMinKey to another object. + + The other object. + True if the other object is a BsonMinKey and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Compares two BsonMinKey values. + + The first BsonMinKey. + The other BsonMinKey. + True if the two BsonMinKey values are equal according to ==. + + + + Compares two BsonMinKey values. + + The first BsonMinKey. + The other BsonMinKey. + True if the two BsonMinKey values are not equal according to ==. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Gets the singleton instance of BsonMinKey. + + + + + Represents the BSON Null value. + + + + + Gets the BsonType of this BsonValue. + + + + + Compares this BsonNull to another BsonNull. + + The other BsonNull. + A 32-bit signed integer that indicates whether this BsonNull is less than, equal to, or greather than the other. + + + + Compares the BsonNull to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonNull is less than, equal to, or greather than the other BsonValue. + + + + Compares this BsonNull to another BsonNull. + + The other BsonNull. + True if the two BsonNull values are equal. + + + + Compares this BsonNull to another object. + + The other object. + True if the other object is a BsonNull and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Compares two BsonNull values. + + The first BsonNull. + The other BsonNull. + True if the two BsonNull values are equal according to ==. + + + + Compares two BsonNull values. + + The first BsonNull. + The other BsonNull. + True if the two BsonNull values are not equal according to ==. + + + + Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness). + + A Boolean. + + + + Converts this BsonValue to a DateTime? in local time. + + A DateTime?. + + + + Converts this BsonValue to a DateTime? in UTC. + + A DateTime?. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Gets the singleton instance of BsonNull. + + + + + Represents a BSON ObjectId value (see also ObjectId). + + + + + Initializes a new instance of the BsonObjectId class. + + The value. + + + + Initializes a new instance of the BsonObjectId class. + + The bytes. + + + + Initializes a new instance of the BsonObjectId class. + + The timestamp (expressed as a DateTime). + The machine hash. + The PID. + The increment. + + + + Initializes a new instance of the BsonObjectId class. + + The timestamp. + The machine hash. + The PID. + The increment. + + + + Initializes a new instance of the BsonObjectId class. + + The value. + + + + Gets the BsonType of this BsonValue. + + + + + Compares this BsonObjectId to another BsonObjectId. + + The other BsonObjectId. + A 32-bit signed integer that indicates whether this BsonObjectId is less than, equal to, or greather than the other. + + + + Compares the BsonObjectId to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonObjectId is less than, equal to, or greather than the other BsonValue. + + + + Creates a new BsonObjectId. + + An object to be mapped to a BsonObjectId. + A BsonObjectId or null. + + + + Gets the creation time (derived from the timestamp). + + + + + Gets an instance of BsonObjectId where the value is empty. + + + + + Compares this BsonObjectId to another BsonObjectId. + + The other BsonObjectId. + True if the two BsonObjectId values are equal. + + + + Compares this BsonObjectId to another object. + + The other object. + True if the other object is a BsonObjectId and equal to this one. + + + + Generates a new BsonObjectId with a unique value. + + A BsonObjectId. + + + + Generates a new BsonObjectId with a unique value (with the timestamp component based on a given DateTime). + + The timestamp component (expressed as a DateTime). + A BsonObjectId. + + + + Generates a new BsonObjectId with a unique value (with the given timestamp). + + The timestamp component. + A BsonObjectId. + + + + Gets the hash code. + + The hash code. + + + + Implementation of the IConvertible ToString method. + + The format provider. + A string. + + + + Gets the increment. + + + + + Gets the machine. + + + + + Compares two BsonObjectId values. + + The first BsonObjectId. + The other BsonObjectId. + True if the two BsonObjectId values are equal according to ==. + + + + Converts an ObjectId to a BsonObjectId. + + An ObjectId. + A BsonObjectId. + + + + Compares two BsonObjectId values. + + The first BsonObjectId. + The other BsonObjectId. + True if the two BsonObjectId values are not equal according to ==. + + + + Parses a string and creates a new BsonObjectId. + + The string value. + A BsonObjectId. + + + + Gets the PID. + + + + + Gets the BsonObjectId as an ObjectId. + + + + + Gets the timestamp. + + + + + Converts the BsonObjectId to a byte array. + + A byte array. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Tries to parse a string and create a new BsonObjectId. + + The string value. + The new BsonObjectId. + True if the string was parsed successfully. + + + + Gets the value of this BsonObjectId. + + + + + Represents a BSON regular expression value. + + + + + Initializes a new instance of the BsonRegularExpression class. + + A regular expression pattern. + + + + Initializes a new instance of the BsonRegularExpression class. + + A regular expression pattern. + Regular expression options. + + + + Initializes a new instance of the BsonRegularExpression class. + + A Regex. + + + + Gets the BsonType of this BsonValue. + + + + + Compares this BsonRegularExpression to another BsonRegularExpression. + + The other BsonRegularExpression. + A 32-bit signed integer that indicates whether this BsonRegularExpression is less than, equal to, or greather than the other. + + + + Compares the BsonRegularExpression to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonRegularExpression is less than, equal to, or greather than the other BsonValue. + + + + Creates a new BsonRegularExpression. + + An object to be mapped to a BsonRegularExpression. + A BsonRegularExpression or null. + + + + Compares this BsonRegularExpression to another BsonRegularExpression. + + The other BsonRegularExpression. + True if the two BsonRegularExpression values are equal. + + + + Compares this BsonRegularExpression to another object. + + The other object. + True if the other object is a BsonRegularExpression and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Compares two BsonRegularExpression values. + + The first BsonRegularExpression. + The other BsonRegularExpression. + True if the two BsonRegularExpression values are equal according to ==. + + + + Converts a string to a BsonRegularExpression. + + A string. + A BsonRegularExpression. + + + + Converts a Regex to a BsonRegularExpression. + + A Regex. + A BsonRegularExpression. + + + + Compares two BsonRegularExpression values. + + The first BsonRegularExpression. + The other BsonRegularExpression. + True if the two BsonRegularExpression values are not equal according to ==. + + + + Gets the regular expression options. + + + + + Gets the regular expression pattern. + + + + + Converts the BsonRegularExpression to a Regex. + + A Regex. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Represents a BSON serialization exception. + + + + + Initializes a new instance of the BsonSerializationException class. + + + + + Initializes a new instance of the BsonSerializationException class (this overload used by deserialization). + + The SerializationInfo. + The StreamingContext. + + + + Initializes a new instance of the BsonSerializationException class. + + The error message. + + + + Initializes a new instance of the BsonSerializationException class. + + The error message. + The inner exception. + + + + Represents a BSON string value. + + + + + Initializes a new instance of the BsonString class. + + The value. + + + + Gets the BsonType of this BsonValue. + + + + + Compares this BsonString to another BsonString. + + The other BsonString. + A 32-bit signed integer that indicates whether this BsonString is less than, equal to, or greather than the other. + + + + Compares the BsonString to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonString is less than, equal to, or greather than the other BsonValue. + + + + Creates a new BsonString. + + An object to be mapped to a BsonString. + A BsonString or null. + + + + Gets an instance of BsonString that represents an empty string. + + + + + Compares this BsonString to another BsonString. + + The other BsonString. + True if the two BsonString values are equal. + + + + Compares this BsonString to another object. + + The other object. + True if the other object is a BsonString and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Implementation of the IConvertible GetTypeCode method. + + The TypeCode. + + + + Implementation of the IConvertible ToBoolean method. + + The format provider. + A bool. + + + + Implementation of the IConvertible ToByte method. + + The format provider. + A byte. + + + + Implementation of the IConvertible ToChar method. + + The format provider. + A char. + + + + Implementation of the IConvertible ToDateTime method. + + The format provider. + A DateTime. + + + + Implementation of the IConvertible ToDecimal method. + + The format provider. + A decimal. + + + + Implementation of the IConvertible ToDouble method. + + The format provider. + A double. + + + + Implementation of the IConvertible ToInt16 method. + + The format provider. + A short. + + + + Implementation of the IConvertible ToInt32 method. + + The format provider. + An int. + + + + Implementation of the IConvertible ToInt64 method. + + The format provider. + A long. + + + + Implementation of the IConvertible ToSByte method. + + The format provider. + An sbyte. + + + + Implementation of the IConvertible ToSingle method. + + The format provider. + A float. + + + + Implementation of the IConvertible ToString method. + + The format provider. + A string. + + + + Implementation of the IConvertible ToUInt16 method. + + The format provider. + A ushort. + + + + Implementation of the IConvertible ToUInt32 method. + + The format provider. + A uint. + + + + Implementation of the IConvertible ToUInt64 method. + + The format provider. + A ulong. + + + + Compares two BsonString values. + + The first BsonString. + The other BsonString. + True if the two BsonString values are equal according to ==. + + + + Converts a string to a BsonString. + + A string. + A BsonString. + + + + Compares two BsonString values. + + The first BsonString. + The other BsonString. + True if the two BsonString values are not equal according to ==. + + + + Gets the BsonString as a string. + + + + + Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness). + + A Boolean. + + + + Converts this BsonValue to a Decimal. + + A Decimal. + + + + Converts this BsonValue to a Decimal128. + + A Decimal128. + + + + Converts this BsonValue to a Double. + + A Double. + + + + Converts this BsonValue to an Int32. + + An Int32. + + + + Converts this BsonValue to an Int64. + + An Int32. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Gets the value of this BsonString. + + + + + Represents a BSON symbol value. + + + + + Gets the BsonType of this BsonValue. + + + + + Compares this BsonSymbol to another BsonSymbol. + + The other BsonSymbol. + A 32-bit signed integer that indicates whether this BsonSymbol is less than, equal to, or greather than the other. + + + + Compares the BsonSymbol to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonSymbol is less than, equal to, or greather than the other BsonValue. + + + + Creates a new BsonSymbol. + + An object to be mapped to a BsonSymbol. + A BsonSymbol or null. + + + + Compares this BsonSymbol to another BsonSymbol. + + The other BsonSymbol. + True if the two BsonSymbol values are equal. + + + + Compares this BsonSymbol to another object. + + The other object. + True if the other object is a BsonSymbol and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Gets the name of the symbol. + + + + + Compares two BsonSymbol values. + + The first BsonSymbol. + The other BsonSymbol. + True if the two BsonSymbol values are equal according to ==. + + + + Converts a string to a BsonSymbol. + + A string. + A BsonSymbol. + + + + Compares two BsonSymbol values. + + The first BsonSymbol. + The other BsonSymbol. + True if the two BsonSymbol values are not equal according to ==. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Represents the symbol table of BsonSymbols. + + + + + Looks up a symbol (and creates a new one if necessary). + + The name of the symbol. + The symbol. + + + + Represents a BSON timestamp value. + + + + + Initializes a new instance of the BsonTimestamp class. + + The timestamp. + The increment. + + + + Initializes a new instance of the BsonTimestamp class. + + The combined timestamp/increment value. + + + + Gets the BsonType of this BsonValue. + + + + + Compares this BsonTimestamp to another BsonTimestamp. + + The other BsonTimestamp. + A 32-bit signed integer that indicates whether this BsonTimestamp is less than, equal to, or greather than the other. + + + + Compares the BsonTimestamp to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonTimestamp is less than, equal to, or greather than the other BsonValue. + + + + Creates a new BsonTimestamp. + + An object to be mapped to a BsonTimestamp. + A BsonTimestamp or null. + + + + Compares this BsonTimestamp to another BsonTimestamp. + + The other BsonTimestamp. + True if the two BsonTimestamp values are equal. + + + + Compares this BsonTimestamp to another object. + + The other object. + True if the other object is a BsonTimestamp and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Gets the increment. + + + + + Compares two BsonTimestamp values. + + The first BsonTimestamp. + The other BsonTimestamp. + True if the two BsonTimestamp values are equal according to ==. + + + + Compares two BsonTimestamp values. + + The first BsonTimestamp. + The other BsonTimestamp. + True if the two BsonTimestamp values are not equal according to ==. + + + + Gets the timestamp. + + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Gets the value of this BsonTimestamp. + + + + + Represents the type of a BSON element. + + + + + Not a real BSON type. Used to signal the end of a document. + + + + + A BSON double. + + + + + A BSON string. + + + + + A BSON document. + + + + + A BSON array. + + + + + BSON binary data. + + + + + A BSON undefined value. + + + + + A BSON ObjectId. + + + + + A BSON bool. + + + + + A BSON DateTime. + + + + + A BSON null value. + + + + + A BSON regular expression. + + + + + BSON JavaScript code. + + + + + A BSON symbol. + + + + + BSON JavaScript code with a scope (a set of variables with values). + + + + + A BSON 32-bit integer. + + + + + A BSON timestamp. + + + + + A BSON 64-bit integer. + + + + + A BSON 128-bit decimal. + + + + + A BSON MinKey value. + + + + + A BSON MaxKey value. + + + + + A static class that maps between .NET objects and BsonValues. + + + + + Maps an object to an instance of the closest BsonValue class. + + An object. + A BsonValue. + + + + Maps an object to a specific BsonValue type. + + An object. + The BsonType to map to. + A BsonValue of the desired type (or BsonNull.Value if value is null and bsonType is Null). + + + + Maps a BsonValue to a .NET value using the default BsonTypeMapperOptions. + + The BsonValue. + The mapped .NET value. + + + + Maps a BsonValue to a .NET value. + + The BsonValue. + The BsonTypeMapperOptions. + The mapped .NET value. + + + + Registers a custom type mapper. + + The type. + A custom type mapper. + + + + Tries to map an object to an instance of the closest BsonValue class. + + An object. + The BsonValue. + True if the mapping was successfull. + + + + Represents options used by the BsonTypeMapper. + + + + + Initializes a new instance of the BsonTypeMapperOptions class. + + + + + Clones the BsonTypeMapperOptions. + + The cloned BsonTypeMapperOptions. + + + + Gets or sets the default BsonTypeMapperOptions. + + + + + Gets or sets how duplicate names should be handled. + + + + + Freezes the BsonTypeMapperOptions. + + The frozen BsonTypeMapperOptions. + + + + Gets whether the BsonTypeMapperOptions is frozen. + + + + + Gets or sets the type that a BsonArray should be mapped to. + + + + + Gets or sets the type that a BsonDocument should be mapped to. + + + + + Gets or sets whether binary sub type OldBinary should be mapped to byte[] the way sub type Binary is. + + + + + Represents the BSON undefined value. + + + + + Gets the BsonType of this BsonValue. + + + + + Compares this BsonUndefined to another BsonUndefined. + + The other BsonUndefined. + A 32-bit signed integer that indicates whether this BsonUndefined is less than, equal to, or greather than the other. + + + + Compares the BsonUndefined to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonUndefined is less than, equal to, or greather than the other BsonValue. + + + + Compares this BsonUndefined to another BsonUndefined. + + The other BsonUndefined. + True if the two BsonUndefined values are equal. + + + + Compares this BsonUndefined to another object. + + The other object. + True if the other object is a BsonUndefined and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Compares two BsonUndefined values. + + The first BsonUndefined. + The other BsonUndefined. + True if the two BsonUndefined values are equal according to ==. + + + + Compares two BsonUndefined values. + + The first BsonUndefined. + The other BsonUndefined. + True if the two BsonUndefined values are not equal according to ==. + + + + Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness). + + A Boolean. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Gets the singleton instance of BsonUndefined. + + + + + A static class containing BSON utility methods. + + + + + Gets a friendly class name suitable for use in error messages. + + The type. + A friendly class name. + + + + Parses a hex string into its equivalent byte array. + + The hex string to parse. + The byte equivalent of the hex string. + + + + Converts from number of milliseconds since Unix epoch to DateTime. + + The number of milliseconds since Unix epoch. + A DateTime. + + + + Converts a byte array to a hex string. + + The byte array. + A hex string. + + + + Converts a DateTime to local time (with special handling for MinValue and MaxValue). + + A DateTime. + The DateTime in local time. + + + + Converts a DateTime to number of milliseconds since Unix epoch. + + A DateTime. + Number of seconds since Unix epoch. + + + + Converts a DateTime to UTC (with special handling for MinValue and MaxValue). + + A DateTime. + The DateTime in UTC. + + + + Tries to parse a hex string to a byte array. + + The hex string. + A byte array. + True if the hex string was successfully parsed. + + + + Represents a BSON value (this is an abstract class, see the various subclasses). + + + + + + + MongoDB.Bson.BsonValue + + + + + + + Casts the BsonValue to a Boolean (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonArray (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonBinaryData (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonDateTime (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonDocument (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonJavaScript (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonJavaScriptWithScope (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonMaxKey (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonMinKey (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonNull (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonRegularExpression (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonSymbol (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonTimestamp (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonUndefined (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonValue (a way of upcasting subclasses of BsonValue to BsonValue at compile time). + + + + + Casts the BsonValue to a Byte[] (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a DateTime in UTC (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Double (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Guid (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to an Int32 (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Int64 (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a DateTime in the local timezone (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Nullable{Boolean} (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Nullable{DateTime} (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Nullable{Decimal} (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Nullable{Decimal128} (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Nullable{Double} (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Nullable{Guid} (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Nullable{Int32} (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Nullable{Int64} (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Nullable{ObjectId} (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to an ObjectId (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Regex (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a String (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a DateTime in UTC (throws an InvalidCastException if the cast is not valid). + + + + + Gets the BsonType of this BsonValue. + + + + + Creates a shallow clone of the BsonValue (see also DeepClone). + + A shallow clone of the BsonValue. + + + + Compares this BsonValue to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonValue is less than, equal to, or greather than the other BsonValue. + + + + Compares the type of this BsonValue to the type of another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether the type of this BsonValue is less than, equal to, or greather than the type of the other BsonValue. + + + + Creates a new instance of the BsonValue class. + + A value to be mapped to a BsonValue. + A BsonValue. + + + + Creates a deep clone of the BsonValue (see also Clone). + + A deep clone of the BsonValue. + + + + Compares this BsonValue to another BsonValue. + + The other BsonValue. + True if the two BsonValue values are equal. + + + + Compares this BsonValue to another object. + + The other object. + True if the other object is a BsonValue and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Implementation of the IConvertible GetTypeCode method. + + The TypeCode. + + + + Implementation of the IConvertible ToBoolean method. + + The format provider. + A bool. + + + + Implementation of the IConvertible ToByte method. + + The format provider. + A byte. + + + + Implementation of the IConvertible ToChar method. + + The format provider. + A char. + + + + Implementation of the IConvertible ToDateTime method. + + The format provider. + A DateTime. + + + + Implementation of the IConvertible ToDecimal method. + + The format provider. + A decimal. + + + + Implementation of the IConvertible ToDouble method. + + The format provider. + A double. + + + + Implementation of the IConvertible ToInt16 method. + + The format provider. + A short. + + + + Implementation of the IConvertible ToInt32 method. + + The format provider. + An int. + + + + Implementation of the IConvertible ToInt64 method. + + The format provider. + A long. + + + + Implementation of the IConvertible ToSByte method. + + The format provider. + An sbyte. + + + + Implementation of the IConvertible ToSingle method. + + The format provider. + A float. + + + + Implementation of the IConvertible ToString method. + + The format provider. + A string. + + + + Implementation of the IConvertible ToUInt16 method. + + The format provider. + A ushort. + + + + Implementation of the IConvertible ToUInt32 method. + + The format provider. + A uint. + + + + Implementation of the IConvertible ToUInt64 method. + + The format provider. + A ulong. + + + + Tests whether this BsonValue is a Boolean. + + + + + Tests whether this BsonValue is a BsonArray. + + + + + Tests whether this BsonValue is a BsonBinaryData. + + + + + Tests whether this BsonValue is a BsonDateTime. + + + + + Tests whether this BsonValue is a BsonDocument. + + + + + Tests whether this BsonValue is a BsonJavaScript. + + + + + Tests whether this BsonValue is a BsonJavaScriptWithScope. + + + + + Tests whether this BsonValue is a BsonMaxKey. + + + + + Tests whether this BsonValue is a BsonMinKey. + + + + + Tests whether this BsonValue is a BsonNull. + + + + + Tests whether this BsonValue is a BsonRegularExpression. + + + + + Tests whether this BsonValue is a BsonSymbol . + + + + + Tests whether this BsonValue is a BsonTimestamp. + + + + + Tests whether this BsonValue is a BsonUndefined. + + + + + Tests whether this BsonValue is a DateTime. + + + + + Tests whether this BsonValue is a Decimal128. + + + + + Tests whether this BsonValue is a Double. + + + + + Tests whether this BsonValue is a Guid. + + + + + Tests whether this BsonValue is an Int32. + + + + + Tests whether this BsonValue is an Int64. + + + + + Tests whether this BsonValue is a numeric value. + + + + + Tests whether this BsonValue is an ObjectId . + + + + + Tests whether this BsonValue is a String. + + + + + Tests whether this BsonValue is a valid DateTime. + + + + + Gets or sets a value by position (only applies to BsonDocument and BsonArray). + + The position. + The value. + + + + Gets or sets a value by name (only applies to BsonDocument). + + The name. + The value. + + + + Compares two BsonValues. + + The first BsonValue. + The other BsonValue. + True if the two BsonValues are equal according to ==. + + + + Casts a BsonValue to a bool. + + The BsonValue. + A bool. + + + + Casts a BsonValue to a bool?. + + The BsonValue. + A bool?. + + + + Casts a BsonValue to a byte[]. + + The BsonValue. + A byte[]. + + + + Casts a BsonValue to a DateTime. + + The BsonValue. + A DateTime. + + + + Casts a BsonValue to a DateTime?. + + The BsonValue. + A DateTime?. + + + + Casts a BsonValue to a decimal. + + The BsonValue. + A decimal. + + + + Casts a BsonValue to a decimal?. + + The BsonValue. + A decimal?. + + + + Casts a BsonValue to a . + + The BsonValue. + A . + + + + Casts a BsonValue to a nullable ?. + + The BsonValue. + A nullable . + + + + Casts a BsonValue to a double. + + The BsonValue. + A double. + + + + Casts a BsonValue to a double?. + + The BsonValue. + A double?. + + + + Casts a BsonValue to a Guid. + + The BsonValue. + A Guid. + + + + Casts a BsonValue to a Guid?. + + The BsonValue. + A Guid?. + + + + Casts a BsonValue to an int. + + The BsonValue. + An int. + + + + Casts a BsonValue to an int?. + + The BsonValue. + An int?. + + + + Casts a BsonValue to a long. + + The BsonValue. + A long. + + + + Casts a BsonValue to a long?. + + The BsonValue. + A long?. + + + + Casts a BsonValue to an ObjectId. + + The BsonValue. + An ObjectId. + + + + Casts a BsonValue to an ObjectId?. + + The BsonValue. + An ObjectId?. + + + + Casts a BsonValue to a Regex. + + The BsonValue. + A Regex. + + + + Casts a BsonValue to a string. + + The BsonValue. + A string. + + + + Compares two BsonValues. + + The first BsonValue. + The other BsonValue. + True if the first BsonValue is greater than the other one. + + + + Compares two BsonValues. + + The first BsonValue. + The other BsonValue. + True if the first BsonValue is greater than or equal to the other one. + + + + Converts a to a BsonValue. + + A Decimal128. + A BsonValue. + + + + Converts an ObjectId to a BsonValue. + + An ObjectId. + A BsonValue. + + + + Converts a bool to a BsonValue. + + A bool. + A BsonValue. + + + + Converts a byte[] to a BsonValue. + + A byte[]. + A BsonValue. + + + + Converts a DateTime to a BsonValue. + + A DateTime. + A BsonValue. + + + + Converts a decimal to a BsonValue. + + A decimal. + A BsonValue. + + + + Converts a double to a BsonValue. + + A double. + A BsonValue. + + + + Converts an Enum to a BsonValue. + + An Enum. + A BsonValue. + + + + Converts a Guid to a BsonValue. + + A Guid. + A BsonValue. + + + + Converts an int to a BsonValue. + + An int. + A BsonValue. + + + + Converts a long to a BsonValue. + + A long. + A BsonValue. + + + + Converts a nullable to a BsonValue. + + A Decimal128?. + A BsonValue. + + + + Converts an ObjectId? to a BsonValue. + + An ObjectId?. + A BsonValue. + + + + Converts a bool? to a BsonValue. + + A bool?. + A BsonValue. + + + + Converts a DateTime? to a BsonValue. + + A DateTime?. + A BsonValue. + + + + Converts a decimal? to a BsonValue. + + A decimal?. + A BsonValue. + + + + Converts a double? to a BsonValue. + + A double?. + A BsonValue. + + + + Converts a Guid? to a BsonValue. + + A Guid?. + A BsonValue. + + + + Converts an int? to a BsonValue. + + An int?. + A BsonValue. + + + + Converts a long? to a BsonValue. + + A long?. + A BsonValue. + + + + Converts a string to a BsonValue. + + A string. + A BsonValue. + + + + Converts a Regex to a BsonValue. + + A Regex. + A BsonValue. + + + + Compares two BsonValues. + + The first BsonValue. + The other BsonValue. + True if the two BsonValues are not equal according to ==. + + + + Compares two BsonValues. + + The first BsonValue. + The other BsonValue. + True if the first BsonValue is less than the other one. + + + + Compares two BsonValues. + + The first BsonValue. + The other BsonValue. + True if the first BsonValue is less than or equal to the other one. + + + + Implementation of operator ==. + + The other BsonValue. + True if the two BsonValues are equal according to ==. + + + + Gets the raw value of this BsonValue (or null if this BsonValue doesn't have a single scalar value). + + + + + Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness). + + A Boolean. + + + + Converts this BsonValue to a Decimal. + + A Decimal. + + + + Converts this BsonValue to a Decimal128. + + A Decimal128. + + + + Converts this BsonValue to a Double. + + A Double. + + + + Converts this BsonValue to an Int32. + + An Int32. + + + + Converts this BsonValue to an Int64. + + An Int64. + + + + Converts this BsonValue to a DateTime in local time. + + A DateTime. + + + + Converts this BsonValue to a DateTime? in local time. + + A DateTime?. + + + + Converts this BsonValue to a DateTime? in UTC. + + A DateTime?. + + + + Converts this BsonValue to a DateTime in UTC. + + A DateTime. + + + + Represents a Decimal128 value. + + + + + Initializes a new instance of the struct. + + The value. + + + + Initializes a new instance of the struct. + + The value. + + + + Initializes a new instance of the struct. + + The value. + + + + Initializes a new instance of the struct. + + The value. + + + + Initializes a new instance of the struct. + + The value. + + + + Initializes a new instance of the struct. + + The value. + + + + Initializes a new instance of the struct. + + The value. + + + + Compares two specified Decimal128 values and returns an integer that indicates whether the first value + is greater than, less than, or equal to the second value. + + The first value. + The second value. + Less than zero if x < y, zero if x == y, and greater than zero if x > y. + + + Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. + An object to compare with this instance. + A value that indicates the relative order of the objects being compared. The return value has these meanings: Value Meaning Less than zero This instance precedes in the sort order. Zero This instance occurs in the same position in the sort order as . Greater than zero This instance follows in the sort order. + + + Indicates whether the current object is equal to another object of the same type. + An object to compare with this object. + true if the current object is equal to the parameter; otherwise, false. + + + + Determines whether the specified Decimal128 instances are considered equal. + + The first Decimal128 object to compare. + The second Decimal128 object to compare. + True if the objects are considered equal; otherwise false. If both x and y are null, the method returns true. + + + Indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if and this instance are the same type and represent the same value; otherwise, false. + + + + Creates a new Decimal128 value from its components. + + if set to true [is negative]. + The exponent. + The signficand high bits. + The significand low bits. + A Decimal128 value. + + + + Creates a new Decimal128 value from the IEEE encoding bits. + + The high bits. + The low bits. + A Decimal128 value. + + + + Gets the exponent of a Decimal128 value. + + The Decimal128 value. + The exponent. + + + Returns the hash code for this instance. + A 32-bit signed integer that is the hash code for this instance. + + + + Gets the high order 64 bits of the binary representation of this instance. + + The high order 64 bits of the binary representation of this instance. + + + + Gets the low order 64 bits of the binary representation of this instance. + + The low order 64 bits of the binary representation of this instance. + + + + Gets the high bits of the significand of a Decimal128 value. + + The Decimal128 value. + The high bits of the significand. + + + + Gets the high bits of the significand of a Decimal128 value. + + The Decimal128 value. + The high bits of the significand. + + + + Returns a value indicating whether the specified number evaluates to negative or positive infinity. + + A 128-bit decimal. + true if evaluates to negative or positive infinity; otherwise, false. + + + + Returns a value indicating whether the specified number is not a number. + + A 128-bit decimal. + true if is not a number; otherwise, false. + + + + Returns a value indicating whether the specified number is negative. + + A 128-bit decimal. + true if is negative; otherwise, false. + + + + Returns a value indicating whether the specified number evaluates to negative infinity. + + A 128-bit decimal. + true if evaluates to negative infinity; otherwise, false. + + + + Returns a value indicating whether the specified number evaluates to positive infinity. + + A 128-bit decimal. + true if evaluates to positive infinity; otherwise, false. + + + + Returns a value indicating whether the specified number is a quiet not a number. + + A 128-bit decimal. + true if is a quiet not a number; otherwise, false. + + + + Returns a value indicating whether the specified number is a signaled not a number. + + A 128-bit decimal. + true if is a signaled not a number; otherwise, false. + + + + Gets a value indicating whether this instance is zero. + + + + + param + d + M:MongoDB.Bson.Decimal128.IsZero(MongoDB.Bson.Decimal128) + + + + + true if this instance is zero; otherwise, false. + + + + + Gets the maximum value. + + + + + Gets the minimum value. + + + + + Negates the specified x. + + The x. + The result of multiplying the value by negative one. + + + + Represents negative infinity. + + + + + Represents one. + + + + + Implements the operator ==. + + The LHS. + The RHS. + + The result of the operator. + + + + + Performs an explicit conversion from to . + + The value to convert. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value to convert. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value to convert. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value to convert. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value to convert. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value to convert. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value to convert. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value to convert. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value to convert. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value to convert. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value to convert. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value to convert. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value. + + The result of the conversion. + + + + + Returns a value indicating whether a specified Decimal128 is greater than another specified Decimal128. + + The first value. + The second value. + + true if x > y; otherwise, false. + + + + + Returns a value indicating whether a specified Decimal128 is greater than or equal to another another specified Decimal128. + + The first value. + The second value. + + true if x >= y; otherwise, false. + + + + + Performs an implicit conversion from to . + + The value. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The value. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The value. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The value. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The value. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The value. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The value. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The value. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The value. + + The result of the conversion. + + + + + Implements the operator !=. + + The LHS. + The RHS. + + The result of the operator. + + + + + Returns a value indicating whether a specified Decimal128 is less than another specified Decimal128. + + The first value. + The second value. + + true if x < y; otherwise, false. + + + + + Returns a value indicating whether a specified Decimal128 is less than or equal to another another specified Decimal128. + + The first value. + The second value. + + true if x <= y; otherwise, false. + + + + + Converts the string representation of a number to its equivalent. + + The string representation of the number to convert. + + The equivalent to the number contained in . + + + + + Represents positive infinity. + + + + + Represents a value that is not a number. + + + + + Represents a value that is not a number and raises errors when used in calculations. + + + + + Converts the value of the specified to the equivalent 8-bit unsigned integer. + + The number to convert. + A 8-bit unsigned integer equivalent to . + + + + Converts the value of the specified to the equivalent . + + The number to convert. + A equivalent to . + + + + Converts the value of the specified to the equivalent . + + The number to convert. + A equivalent to . + + + + Converts the value of the specified to the equivalent 16-bit signed integer. + + The number to convert. + A 16-bit signed integer equivalent to . + + + + Converts the value of the specified to the equivalent 32-bit signed integer. + + The number to convert. + A 32-bit signed integer equivalent to . + + + + Converts the value of the specified to the equivalent 64-bit signed integer. + + The number to convert. + A 64-bit signed integer equivalent to . + + + + Converts the value of the specified to the equivalent 8-bit signed integer. + + The number to convert. + A 8-bit signed integer equivalent to . + + + + Converts the value of the specified to the equivalent . + + The number to convert. + A equivalent to . + + + Returns the fully qualified type name of this instance. + A containing a fully qualified type name. + + + + Converts the value of the specified to the equivalent 16-bit unsigned integer. + + The number to convert. + A 16-bit unsigned integer equivalent to . + + + + Converts the value of the specified to the equivalent 32-bit unsigned integer. + + The number to convert. + A 32-bit unsigned integer equivalent to . + + + + Converts the value of the specified to the equivalent 64-bit unsigned integer. + + The number to convert. + A 64-bit unsigned integer equivalent to . + + + + Converts the string representation of a number to its equivalent. A return value indicates whether the conversion succeeded or failed. + + The string representation of the number to convert. + When this method returns, contains the number that is equivalent to the numeric value contained in , if the conversion succeeded, or is zero if the conversion failed. The conversion fails if the parameter is null, is not a number in a valid format, or represents a number less than the min value or greater than the max value. This parameter is passed uninitialized. + + true if was converted successfully; otherwise, false. + + + + + Represents zero. + + + + + Indicates that an attribute restricted to one member has been applied to multiple members. + + + + + Initializes a new instance of the class. + + The info. + The context. + + + + Initializes a new instance of the class. + + The message. + + + + Initializes a new instance of the class. + + The message. + The inner. + + + + Represents how duplicate names should be handled. + + + + + Overwrite original value with new value. + + + + + Ignore duplicate name and keep original value. + + + + + Throw an exception. + + + + + A static class containing methods to convert to and from Guids and byte arrays in various byte orders. + + + + + Converts a byte array to a Guid. + + The byte array. + The representation of the Guid in the byte array. + A Guid. + + + + Converts a Guid to a byte array. + + The Guid. + The representation of the Guid in the byte array. + A byte array. + + + + Represents the representation to use when converting a Guid to a BSON binary value. + + + + + The representation for Guids is unspecified, so conversion between Guids and Bson binary data is not possible. + + + + + Use the new standard representation for Guids (binary subtype 4 with bytes in network byte order). + + + + + Use the representation used by older versions of the C# driver (including most community provided C# drivers). + + + + + Use the representation used by older versions of the Java driver. + + + + + Use the representation used by older versions of the Python driver. + + + + + An interface implemented by objects that convert themselves to a BsonDocument. + + + + + Converts this object to a BsonDocument. + + A BsonDocument. + + + + An interface for custom mappers that map an object to a BsonValue. + + + + + Tries to map an object to a BsonValue. + + An object. + The BsonValue. + True if the mapping was successfull. + + + + Represents a BSON array that is deserialized lazily. + + + + + Initializes a new instance of the class. + + The slice. + slice + LazyBsonArray cannot be used with an IByteBuffer that needs disposing. + + + + Creates a shallow clone of the array (see also DeepClone). + + A shallow clone of the array. + + + + Creates a deep clone of the array (see also Clone). + + A deep clone of the array. + + + + Releases unmanaged and - optionally - managed resources. + + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Materializes the BsonArray. + + + The materialized values. + + + + + Informs subclasses that the Materialize process completed so they can free any resources related to the unmaterialized state. + + + + + Gets the slice. + + + + + Represents a BSON document that is deserialized lazily. + + + + + Initializes a new instance of the class. + + The slice. + slice + LazyBsonDocument cannot be used with an IByteBuffer that needs disposing. + + + + Initializes a new instance of the class. + + The bytes. + + + + Creates a shallow clone of the document (see also DeepClone). + + + A shallow clone of the document. + + + + + Creates a deep clone of the document (see also Clone). + + + A deep clone of the document. + + + + + Releases unmanaged and - optionally - managed resources. + + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Materializes the BsonDocument. + + The materialized elements. + + + + Informs subclasses that the Materialize process completed so they can free any resources related to the unmaterialized state. + + + + + Gets the slice. + + + + + Represents a BSON array that is not materialized until you start using it. + + + + + Initializes a new instance of the class. + + + + + Adds an element to the array. + + The value to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Gets or sets the total number of elements the internal data structure can hold without resizing. + + + + + Clears the array. + + + + + Creates a shallow clone of the array (see also DeepClone). + + + A shallow clone of the array. + + + + + Compares the array to another array. + + The other array. + A 32-bit signed integer that indicates whether this array is less than, equal to, or greather than the other. + + + + Compares the array to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this array is less than, equal to, or greather than the other BsonValue. + + + + Tests whether the array contains a value. + + The value to test for. + True if the array contains the value. + + + + Copies elements from this array to another array. + + The other array. + The zero based index of the other array at which to start copying. + + + + Copies elements from this array to another array as raw values (see BsonValue.RawValue). + + The other array. + The zero based index of the other array at which to start copying. + + + + Gets the count of array elements. + + + + + Creates a deep clone of the array (see also Clone). + + + A deep clone of the array. + + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + + Releases unmanaged and - optionally - managed resources. + + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + 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. + + + + + Gets an enumerator that can enumerate the elements of the array. + + An enumerator. + + + + Gets the hash code. + + The hash code. + + + + Gets the index of a value in the array. + + The value to search for. + The zero based index of the value (or -1 if not found). + + + + Gets the index of a value in the array. + + The value to search for. + The zero based index at which to start the search. + The zero based index of the value (or -1 if not found). + + + + Gets the index of a value in the array. + + The value to search for. + The zero based index at which to start the search. + The number of elements to search. + The zero based index of the value (or -1 if not found). + + + + Inserts a new value into the array. + + The zero based index at which to insert the new value. + The new value. + + + + Gets a value indicating whether this instance is disposed. + + + + + Gets a value indicating whether this instance is materialized. + + + + + Gets or sets a value by position. + + The position. + The value. + + + + Materializes the BsonArray. + + The materialized elements. + + + + Informs subclasses that the Materialize process completed so they can free any resources related to the unmaterialized state. + + + + + Gets the array elements as raw values (see BsonValue.RawValue). + + + + + Removes the first occurrence of a value from the array. + + The value to remove. + True if the value was removed. + + + + Removes an element from the array. + + The zero based index of the element to remove. + + + + Throws if disposed. + + + + + + Converts the BsonArray to an array of BsonValues. + + An array of BsonValues. + + + + Converts the BsonArray to a list of BsonValues. + + A list of BsonValues. + + + + Returns a string representation of the array. + + A string representation of the array. + + + + Gets the array elements. + + + + + Represents a BSON document that is not materialized until you start using it. + + + + + Initializes a new instance of the class. + + + + + Adds an element to the document. + + The element to add. + + The document (so method calls can be chained). + + + + + Adds a list of elements to the document. + + The list of elements. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + Which keys of the hash table to add. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + Which keys of the hash table to add. + The document (so method calls can be chained). + + + + Adds a list of elements to the document. + + The list of elements. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + Which keys of the hash table to add. + The document (so method calls can be chained). + + + + Creates and adds an element to the document. + + The name of the element. + The value of the element. + + The document (so method calls can be chained). + + + + + Creates and adds an element to the document, but only if the condition is true. + + The name of the element. + The value of the element. + Whether to add the element to the document. + The document (so method calls can be chained). + + + + Creates and adds an element to the document, but only if the condition is true. + If the condition is false the value factory is not called at all. + + The name of the element. + A delegate called to compute the value of the element if condition is true. + Whether to add the element to the document. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + + The document (so method calls can be chained). + + + + + Adds a list of elements to the document. + + The list of elements. + + The document (so method calls can be chained). + + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + + The document (so method calls can be chained). + + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + + The document (so method calls can be chained). + + + + + Clears the document (removes all elements). + + + + + Creates a shallow clone of the document (see also DeepClone). + + + A shallow clone of the document. + + + + + Compares this document to another document. + + The other document. + + A 32-bit signed integer that indicates whether this document is less than, equal to, or greather than the other. + + + + + Compares the BsonDocument to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonDocument is less than, equal to, or greather than the other BsonValue. + + + + Tests whether the document contains an element with the specified name. + + The name of the element to look for. + + True if the document contains an element with the specified name. + + + + + Tests whether the document contains an element with the specified value. + + The value of the element to look for. + + True if the document contains an element with the specified value. + + + + + Creates a deep clone of the document (see also Clone). + + + A deep clone of the document. + + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + + Releases unmanaged and - optionally - managed resources. + + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Gets the number of elements. + + + + + Gets the elements. + + + + + 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. + + + + + Gets an element of this document. + + The zero based index of the element. + + The element. + + + + + Gets an element of this document. + + The name of the element. + + A BsonElement. + + + + + Gets an enumerator that can be used to enumerate the elements of this document. + + + An enumerator. + + + + + Returns a hash code for this instance. + + + A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. + + + + + Gets the value of an element. + + The zero based index of the element. + + The value of the element. + + + + + Gets the value of an element. + + The name of the element. + + The value of the element. + + + + + Gets the value of an element or a default value if the element is not found. + + The name of the element. + The default value returned if the element is not found. + + The value of the element or the default value if the element is not found. + + + + + Inserts a new element at a specified position. + + The position of the new element. + The element. + + + + Gets a value indicating whether this instance is disposed. + + + + + Gets a value indicating whether this instance is materialized. + + + + + Gets or sets a value by position. + + The position. + The value. + + + + Gets or sets a value by name. + + The name. + The value. + + + + Gets the value of an element or a default value if the element is not found. + + The name of the element. + The default value to return if the element is not found. + Teh value of the element or a default value if the element is not found. + + + + Materializes the BsonDocument. + + The materialized elements. + + + + Informs subclasses that the Materialize process completed so they can free any resources related to the unmaterialized state. + + + + + Merges another document into this one. Existing elements are not overwritten. + + The other document. + + The document (so method calls can be chained). + + + + + Merges another document into this one, specifying whether existing elements are overwritten. + + The other document. + Whether to overwrite existing elements. + + The document (so method calls can be chained). + + + + + Gets the element names. + + + + + Gets the raw values (see BsonValue.RawValue). + + + + + Removes an element from this document (if duplicate element names are allowed + then all elements with this name will be removed). + + The name of the element to remove. + + + + Removes an element from this document. + + The zero based index of the element to remove. + + + + Removes an element from this document. + + The element to remove. + + + + Sets the value of an element. + + The zero based index of the element whose value is to be set. + The new value. + + The document (so method calls can be chained). + + + + + Sets the value of an element (an element will be added if no element with this name is found). + + The name of the element whose value is to be set. + The new value. + + The document (so method calls can be chained). + + + + + Sets an element of the document (replaces any existing element with the same name or adds a new element if an element with the same name is not found). + + The new element. + + The document. + + + + + Sets an element of the document (replacing the existing element at that position). + + The zero based index of the element to replace. + The new element. + + The document. + + + + + Throws if disposed. + + + + + + Tries to get an element of this document. + + The name of the element. + The element. + + True if an element with that name was found. + + + + + Tries to get the value of an element of this document. + + The name of the element. + The value of the element. + + True if an element with that name was found. + + + + + Gets the values. + + + + + Represents an ObjectId (see also BsonObjectId). + + + + + Initializes a new instance of the ObjectId class. + + The bytes. + + + + Initializes a new instance of the ObjectId class. + + The timestamp (expressed as a DateTime). + The machine hash. + The PID. + The increment. + + + + Initializes a new instance of the ObjectId class. + + The timestamp. + The machine hash. + The PID. + The increment. + + + + Initializes a new instance of the ObjectId class. + + The value. + + + + Compares this ObjectId to another ObjectId. + + The other ObjectId. + A 32-bit signed integer that indicates whether this ObjectId is less than, equal to, or greather than the other. + + + + Gets the creation time (derived from the timestamp). + + + + + Gets an instance of ObjectId where the value is empty. + + + + + Compares this ObjectId to another ObjectId. + + The other ObjectId. + True if the two ObjectIds are equal. + + + + Compares this ObjectId to another object. + + The other object. + True if the other object is an ObjectId and equal to this one. + + + + Generates a new ObjectId with a unique value. + + An ObjectId. + + + + Generates a new ObjectId with a unique value (with the timestamp component based on a given DateTime). + + The timestamp component (expressed as a DateTime). + An ObjectId. + + + + Generates a new ObjectId with a unique value (with the given timestamp). + + The timestamp component. + An ObjectId. + + + + Gets the hash code. + + The hash code. + + + + Gets the increment. + + + + + Gets the machine. + + + + + Compares two ObjectIds. + + The first ObjectId. + The other ObjectId. + True if the two ObjectIds are equal. + + + + Compares two ObjectIds. + + The first ObjectId. + The other ObjectId + True if the first ObjectId is greather than the second ObjectId. + + + + Compares two ObjectIds. + + The first ObjectId. + The other ObjectId + True if the first ObjectId is greather than or equal to the second ObjectId. + + + + Compares two ObjectIds. + + The first ObjectId. + The other ObjectId. + True if the two ObjectIds are not equal. + + + + Compares two ObjectIds. + + The first ObjectId. + The other ObjectId + True if the first ObjectId is less than the second ObjectId. + + + + Compares two ObjectIds. + + The first ObjectId. + The other ObjectId + True if the first ObjectId is less than or equal to the second ObjectId. + + + + Packs the components of an ObjectId into a byte array. + + The timestamp. + The machine hash. + The PID. + The increment. + A byte array. + + + + Parses a string and creates a new ObjectId. + + The string value. + A ObjectId. + + + + Gets the PID. + + + + + Gets the timestamp. + + + + + Converts the ObjectId to a byte array. + + A byte array. + + + + Converts the ObjectId to a byte array. + + The destination. + The offset. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Tries to parse a string and create a new ObjectId. + + The string value. + The new ObjectId. + True if the string was parsed successfully. + + + + Unpacks a byte array into the components of an ObjectId. + + A byte array. + The timestamp. + The machine hash. + The PID. + The increment. + + + + Represents an immutable BSON array that is represented using only the raw bytes. + + + + + Initializes a new instance of the class. + + The slice. + slice + RawBsonArray cannot be used with an IByteBuffer that needs disposing. + + + + Adds an element to the array. + + The value to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Gets or sets the total number of elements the internal data structure can hold without resizing. + + + + + Clears the array. + + + + + Creates a shallow clone of the array (see also DeepClone). + + A shallow clone of the array. + + + + Tests whether the array contains a value. + + The value to test for. + True if the array contains the value. + + + + Copies elements from this array to another array. + + The other array. + The zero based index of the other array at which to start copying. + + + + Copies elements from this array to another array as raw values (see BsonValue.RawValue). + + The other array. + The zero based index of the other array at which to start copying. + + + + Gets the count of array elements. + + + + + Creates a deep clone of the array (see also Clone). + + A deep clone of the array. + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + + Releases unmanaged and - optionally - managed resources. + + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Gets an enumerator that can enumerate the elements of the array. + + An enumerator. + + + + Gets the index of a value in the array. + + The value to search for. + The zero based index of the value (or -1 if not found). + + + + Gets the index of a value in the array. + + The value to search for. + The zero based index at which to start the search. + The zero based index of the value (or -1 if not found). + + + + Gets the index of a value in the array. + + The value to search for. + The zero based index at which to start the search. + The number of elements to search. + The zero based index of the value (or -1 if not found). + + + + Inserts a new value into the array. + + The zero based index at which to insert the new value. + The new value. + + + + Gets whether the array is read-only. + + + + + Gets or sets a value by position. + + The position. + The value. + + + + Gets the array elements as raw values (see BsonValue.RawValue). + + + + + Removes the first occurrence of a value from the array. + + The value to remove. + True if the value was removed. + + + + Removes an element from the array. + + The zero based index of the element to remove. + + + + Gets the slice. + + + + + Throws if disposed. + + + + + + Converts the BsonArray to an array of BsonValues. + + An array of BsonValues. + + + + Converts the BsonArray to a list of BsonValues. + + A list of BsonValues. + + + + Returns a string representation of the array. + + A string representation of the array. + + + + Gets the array elements. + + + + + Represents an immutable BSON document that is represented using only the raw bytes. + + + + + Initializes a new instance of the class. + + The slice. + slice + RawBsonDocument cannot be used with an IByteBuffer that needs disposing. + + + + Initializes a new instance of the class. + + The bytes. + + + + Adds an element to the document. + + The element to add. + + The document (so method calls can be chained). + + + + + Adds a list of elements to the document. + + The list of elements. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + Which keys of the hash table to add. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + Which keys of the hash table to add. + The document (so method calls can be chained). + + + + Adds a list of elements to the document. + + The list of elements. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + Which keys of the hash table to add. + The document (so method calls can be chained). + + + + Creates and adds an element to the document. + + The name of the element. + The value of the element. + + The document (so method calls can be chained). + + + + + Creates and adds an element to the document, but only if the condition is true. + + The name of the element. + The value of the element. + Whether to add the element to the document. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + + The document (so method calls can be chained). + + + + + Adds a list of elements to the document. + + The list of elements. + + The document (so method calls can be chained). + + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + + The document (so method calls can be chained). + + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + + The document (so method calls can be chained). + + + + + Clears the document (removes all elements). + + + + + Creates a shallow clone of the document (see also DeepClone). + + + A shallow clone of the document. + + + + + Tests whether the document contains an element with the specified name. + + The name of the element to look for. + + True if the document contains an element with the specified name. + + + + + Tests whether the document contains an element with the specified value. + + The value of the element to look for. + + True if the document contains an element with the specified value. + + + + + Creates a deep clone of the document (see also Clone). + + + A deep clone of the document. + + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + + Releases unmanaged and - optionally - managed resources. + + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Gets the number of elements. + + + + + Gets the elements. + + + + + Gets an element of this document. + + The zero based index of the element. + + The element. + + + + + Gets an element of this document. + + The name of the element. + + A BsonElement. + + + + + Gets an enumerator that can be used to enumerate the elements of this document. + + + An enumerator. + + + + + Gets the value of an element. + + The zero based index of the element. + + The value of the element. + + + + + Gets the value of an element. + + The name of the element. + + The value of the element. + + + + + Gets the value of an element or a default value if the element is not found. + + The name of the element. + The default value returned if the element is not found. + + The value of the element or the default value if the element is not found. + + + + + Inserts a new element at a specified position. + + The position of the new element. + The element. + + + + Gets or sets a value by position. + + The position. + The value. + + + + Gets or sets a value by name. + + The name. + The value. + + + + Gets the value of an element or a default value if the element is not found. + + The name of the element. + The default value to return if the element is not found. + Teh value of the element or a default value if the element is not found. + + + + Materializes the RawBsonDocument into a regular BsonDocument. + + The binary reader settings. + A BsonDocument. + + + + Merges another document into this one. Existing elements are not overwritten. + + The other document. + + The document (so method calls can be chained). + + + + + Merges another document into this one, specifying whether existing elements are overwritten. + + The other document. + Whether to overwrite existing elements. + + The document (so method calls can be chained). + + + + + Gets the element names. + + + + + Gets the raw values (see BsonValue.RawValue). + + + + + Removes an element from this document (if duplicate element names are allowed + then all elements with this name will be removed). + + The name of the element to remove. + + + + Removes an element from this document. + + The zero based index of the element to remove. + + + + Removes an element from this document. + + The element to remove. + + + + Sets the value of an element. + + The zero based index of the element whose value is to be set. + The new value. + + The document (so method calls can be chained). + + + + + Sets the value of an element (an element will be added if no element with this name is found). + + The name of the element whose value is to be set. + The new value. + + The document (so method calls can be chained). + + + + + Sets an element of the document (replaces any existing element with the same name or adds a new element if an element with the same name is not found). + + The new element. + + The document. + + + + + Sets an element of the document (replacing the existing element at that position). + + The zero based index of the element to replace. + The new element. + + The document. + + + + + Gets the slice. + + + + + Throws if disposed. + + RawBsonDocument + + + + Tries to get an element of this document. + + The name of the element. + The element. + + True if an element with that name was found. + + + + + Tries to get the value of an element of this document. + + The name of the element. + The value of the element. + + True if an element with that name was found. + + + + + Gets the values. + + + + + Represents a truncation exception. + + + + + Initializes a new instance of the TruncationException class. + + + + + Initializes a new instance of the TruncationException class (this overload used by deserialization). + + The SerializationInfo. + The StreamingContext. + + + + Initializes a new instance of the TruncationException class. + + The error message. + + + + Initializes a new instance of the TruncationException class. + + The error message. + The inner exception. + + + + Represents a BSON reader for a binary BSON byte array. + + + + + Initializes a new instance of the BsonBinaryReader class. + + A stream (BsonBinary does not own the stream and will not Dispose it). + + + + Initializes a new instance of the BsonBinaryReader class. + + A stream (BsonBinary does not own the stream and will not Dispose it). + A BsonBinaryReaderSettings. + + + + Gets the base stream. + + + + + Gets the BSON stream. + + + + + Closes the reader. + + + + + Disposes of any resources used by the reader. + + True if called from Dispose. + + + + Gets a bookmark to the reader's current position and state. + + A bookmark. + + + + Determines whether this reader is at end of file. + + + Whether this reader is at end of file. + + + + + Reads BSON binary data from the reader. + + A BsonBinaryData. + + + + Reads a BSON boolean from the reader. + + A Boolean. + + + + Reads a BsonType from the reader. + + A BsonType. + + + + Reads BSON binary data from the reader. + + A byte array. + + + + Reads a BSON DateTime from the reader. + + The number of milliseconds since the Unix epoch. + + + + Reads a BSON Decimal128 from the reader. + + A . + + + + Reads a BSON Double from the reader. + + A Double. + + + + Reads the end of a BSON array from the reader. + + + + + Reads the end of a BSON document from the reader. + + + + + Reads a BSON Int32 from the reader. + + An Int32. + + + + Reads a BSON Int64 from the reader. + + An Int64. + + + + Reads a BSON JavaScript from the reader. + + A string. + + + + Reads a BSON JavaScript with scope from the reader (call ReadStartDocument next to read the scope). + + A string. + + + + Reads a BSON MaxKey from the reader. + + + + + Reads a BSON MinKey from the reader. + + + + + Reads the name of an element from the reader. + + The name decoder. + The name of the element. + + + + Reads a BSON null from the reader. + + + + + Reads a BSON ObjectId from the reader. + + An ObjectId. + + + + Reads a raw BSON array. + + + The raw BSON array. + + + + + Reads a raw BSON document. + + + The raw BSON document. + + + + + Reads a BSON regular expression from the reader. + + A BsonRegularExpression. + + + + Reads the start of a BSON array. + + + + + Reads the start of a BSON document. + + + + + Reads a BSON string from the reader. + + A String. + + + + Reads a BSON symbol from the reader. + + A string. + + + + Reads a BSON timestamp from the reader. + + The combined timestamp/increment. + + + + Reads a BSON undefined from the reader. + + + + + Returns the reader to previously bookmarked position and state. + + The bookmark. + + + + Skips the name (reader must be positioned on a name). + + + + + Skips the value (reader must be positioned on a value). + + + + + Represents a bookmark that can be used to return a reader to the current position and state. + + + + + Represents settings for a BsonBinaryReader. + + + + + Initializes a new instance of the BsonBinaryReaderSettings class. + + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Gets or sets the default settings for a BsonBinaryReader. + + + + + Gets or sets the Encoding. + + + + + Gets or sets whether to fix occurrences of the old binary subtype on input. + + + + + Gets or sets whether to fix occurrences of the old representation of DateTime.MaxValue on input. + + + + + Gets or sets the max document size. + + + + + Represents a BSON writer to a BSON Stream. + + + + + Initializes a new instance of the BsonBinaryWriter class. + + A stream. The BsonBinaryWriter does not own the stream and will not Dispose it. + + + + Initializes a new instance of the BsonBinaryWriter class. + + A stream. The BsonBinaryWriter does not own the stream and will not Dispose it. + The BsonBinaryWriter settings. + + + + Gets the base stream. + + + + + Gets the BSON stream. + + + + + Closes the writer. Also closes the base stream. + + + + + Disposes of any resources used by the writer. + + True if called from Dispose. + + + + Flushes any pending data to the output destination. + + + + + Pops the max document size stack, restoring the previous max document size. + + + + + Pushes a new max document size onto the max document size stack. + + The maximum size of the document. + + + + Writes BSON binary data to the writer. + + The binary data. + + + + Writes a BSON Boolean to the writer. + + The Boolean value. + + + + Writes BSON binary data to the writer. + + The bytes. + + + + Writes a BSON DateTime to the writer. + + The number of milliseconds since the Unix epoch. + + + + Writes a BSON Decimal128 to the writer. + + The value. + + + + Writes a BSON Double to the writer. + + The Double value. + + + + Writes the end of a BSON array to the writer. + + + + + Writes the end of a BSON document to the writer. + + + + + Writes a BSON Int32 to the writer. + + The Int32 value. + + + + Writes a BSON Int64 to the writer. + + The Int64 value. + + + + Writes a BSON JavaScript to the writer. + + The JavaScript code. + + + + Writes a BSON JavaScript to the writer (call WriteStartDocument to start writing the scope). + + The JavaScript code. + + + + Writes a BSON MaxKey to the writer. + + + + + Writes a BSON MinKey to the writer. + + + + + Writes a BSON null to the writer. + + + + + Writes a BSON ObjectId to the writer. + + The ObjectId. + + + + Writes a raw BSON array. + + The byte buffer containing the raw BSON array. + + + + Writes a raw BSON document. + + The byte buffer containing the raw BSON document. + + + + Writes a BSON regular expression to the writer. + + A BsonRegularExpression. + + + + Writes the start of a BSON array to the writer. + + + + + Writes the start of a BSON document to the writer. + + + + + Writes a BSON String to the writer. + + The String value. + + + + Writes a BSON Symbol to the writer. + + The symbol. + + + + Writes a BSON timestamp to the writer. + + The combined timestamp/increment value. + + + + Writes a BSON undefined to the writer. + + + + + Represents settings for a BsonBinaryWriter. + + + + + Initializes a new instance of the BsonBinaryWriterSettings class. + + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Gets or sets the default BsonBinaryWriter settings. + + + + + Gets or sets the Encoding. + + + + + Gets or sets whether to fix the old binary data subtype on output. + + + + + Gets or sets the max document size. + + + + + Represents a pool of chunks. + + + + + Initializes a new instance of the class. + + The maximum number of chunks to keep in the pool. + The size of each chunk. + + + + Gets the size of the pool. + + + + + Gets the chunk size. + + + + + Gets or sets the default chunk pool. + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + Gets the chunk. + + Size of the requested. + A chunk. + + + + Gets the maximum size of the pool. + + + + + Represents a BSON reader for a BsonDocument. + + + + + Initializes a new instance of the BsonDocumentReader class. + + A BsonDocument. + + + + Initializes a new instance of the BsonDocumentReader class. + + A BsonDocument. + The reader settings. + + + + Closes the reader. + + + + + Disposes of any resources used by the reader. + + True if called from Dispose. + + + + Gets a bookmark to the reader's current position and state. + + A bookmark. + + + + Determines whether this reader is at end of file. + + + Whether this reader is at end of file. + + + + + Reads BSON binary data from the reader. + + A BsonBinaryData. + + + + Reads a BSON boolean from the reader. + + A Boolean. + + + + Reads a BsonType from the reader. + + A BsonType. + + + + Reads BSON binary data from the reader. + + A byte array. + + + + Reads a BSON DateTime from the reader. + + The number of milliseconds since the Unix epoch. + + + + Reads a BSON Decimal128 from the reader. + + A . + + + + Reads a BSON Double from the reader. + + A Double. + + + + Reads the end of a BSON array from the reader. + + + + + Reads the end of a BSON document from the reader. + + + + + Reads a BSON Int32 from the reader. + + An Int32. + + + + Reads a BSON Int64 from the reader. + + An Int64. + + + + Reads a BSON JavaScript from the reader. + + A string. + + + + Reads a BSON JavaScript with scope from the reader (call ReadStartDocument next to read the scope). + + A string. + + + + Reads a BSON MaxKey from the reader. + + + + + Reads a BSON MinKey from the reader. + + + + + Reads the name of an element from the reader. + + The name decoder. + + The name of the element. + + + + + Reads a BSON null from the reader. + + + + + Reads a BSON ObjectId from the reader. + + An ObjectId. + + + + Reads a BSON regular expression from the reader. + + A BsonRegularExpression. + + + + Reads the start of a BSON array. + + + + + Reads the start of a BSON document. + + + + + Reads a BSON string from the reader. + + A String. + + + + Reads a BSON symbol from the reader. + + A string. + + + + Reads a BSON timestamp from the reader. + + The combined timestamp/increment. + + + + Reads a BSON undefined from the reader. + + + + + Returns the reader to previously bookmarked position and state. + + The bookmark. + + + + Skips the name (reader must be positioned on a name). + + + + + Skips the value (reader must be positioned on a value). + + + + + Represents a bookmark that can be used to return a reader to the current position and state. + + + + + Represents settings for a BsonDocumentReader. + + + + + Initializes a new instance of the BsonDocumentReaderSettings class. + + + + + Initializes a new instance of the BsonDocumentReaderSettings class. + + The representation for Guids. + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Gets or sets the default settings for a BsonDocumentReader. + + + + + Represents a BSON writer to a BsonDocument. + + + + + Initializes a new instance of the BsonDocumentWriter class. + + The document to write to (normally starts out as an empty document). + + + + Initializes a new instance of the BsonDocumentWriter class. + + The document to write to (normally starts out as an empty document). + The settings. + + + + Closes the writer. + + + + + Disposes of any resources used by the writer. + + True if called from Dispose. + + + + Gets the BsonDocument being written to. + + + + + Flushes any pending data to the output destination. + + + + + Writes BSON binary data to the writer. + + The binary data. + + + + Writes a BSON Boolean to the writer. + + The Boolean value. + + + + Writes BSON binary data to the writer. + + The bytes. + + + + Writes a BSON DateTime to the writer. + + The number of milliseconds since the Unix epoch. + + + + Writes a BSON Decimal128 to the writer. + + The value. + + + + Writes a BSON Double to the writer. + + The Double value. + + + + Writes the end of a BSON array to the writer. + + + + + Writes the end of a BSON document to the writer. + + + + + Writes a BSON Int32 to the writer. + + The Int32 value. + + + + Writes a BSON Int64 to the writer. + + The Int64 value. + + + + Writes a BSON JavaScript to the writer. + + The JavaScript code. + + + + Writes a BSON JavaScript to the writer (call WriteStartDocument to start writing the scope). + + The JavaScript code. + + + + Writes a BSON MaxKey to the writer. + + + + + Writes a BSON MinKey to the writer. + + + + + Writes the name of an element to the writer. + + The name of the element. + + + + Writes a BSON null to the writer. + + + + + Writes a BSON ObjectId to the writer. + + The ObjectId. + + + + Writes a BSON regular expression to the writer. + + A BsonRegularExpression. + + + + Writes the start of a BSON array to the writer. + + + + + Writes the start of a BSON document to the writer. + + + + + Writes a BSON String to the writer. + + The String value. + + + + Writes a BSON Symbol to the writer. + + The symbol. + + + + Writes a BSON timestamp to the writer. + + The combined timestamp/increment value. + + + + Writes a BSON undefined to the writer. + + + + + Represents settings for a BsonDocumentWriter. + + + + + Initializes a new instance of the BsonDocumentWriterSettings class. + + + + + Initializes a new instance of the BsonDocumentWriterSettings class. + + The representation for Guids. + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Gets or sets the default BsonDocumentWriter settings. + + + + + Represents a BSON reader for some external format (see subclasses). + + + + + Initializes a new instance of the BsonReader class. + + The reader settings. + + + + Closes the reader. + + + + + Gets the current BsonType. + + + + + Gets the current name. + + + + + Disposes of any resources used by the reader. + + + + + Disposes of any resources used by the reader. + + True if called from Dispose. + + + + Gets whether the BsonReader has been disposed. + + + + + Gets a bookmark to the reader's current position and state. + + A bookmark. + + + + Gets the current BsonType (calls ReadBsonType if necessary). + + The current BsonType. + + + + Determines whether this reader is at end of file. + + + Whether this reader is at end of file. + + + + + Reads BSON binary data from the reader. + + A BsonBinaryData. + + + + Reads a BSON boolean from the reader. + + A Boolean. + + + + Reads a BsonType from the reader. + + A BsonType. + + + + Reads BSON binary data from the reader. + + A byte array. + + + + Reads a BSON DateTime from the reader. + + The number of milliseconds since the Unix epoch. + + + + Reads a BSON Decimal128 from the reader. + + A . + + + + Reads a BSON Double from the reader. + + A Double. + + + + Reads the end of a BSON array from the reader. + + + + + Reads the end of a BSON document from the reader. + + + + + Reads a BSON Int32 from the reader. + + An Int32. + + + + Reads a BSON Int64 from the reader. + + An Int64. + + + + Reads a BSON JavaScript from the reader. + + A string. + + + + Reads a BSON JavaScript with scope from the reader (call ReadStartDocument next to read the scope). + + A string. + + + + Reads a BSON MaxKey from the reader. + + + + + Reads a BSON MinKey from the reader. + + + + + Reads the name of an element from the reader. + + The name of the element. + + + + Reads the name of an element from the reader (using the provided name decoder). + + The name decoder. + + The name of the element. + + + + + Reads a BSON null from the reader. + + + + + Reads a BSON ObjectId from the reader. + + An ObjectId. + + + + Reads a raw BSON array. + + The raw BSON array. + + + + Reads a raw BSON document. + + The raw BSON document. + + + + Reads a BSON regular expression from the reader. + + A BsonRegularExpression. + + + + Reads the start of a BSON array. + + + + + Reads the start of a BSON document. + + + + + Reads a BSON string from the reader. + + A String. + + + + Reads a BSON symbol from the reader. + + A string. + + + + Reads a BSON timestamp from the reader. + + The combined timestamp/increment. + + + + Reads a BSON undefined from the reader. + + + + + Returns the reader to previously bookmarked position and state. + + The bookmark. + + + + Gets the settings of the reader. + + + + + Skips the name (reader must be positioned on a name). + + + + + Skips the value (reader must be positioned on a value). + + + + + Gets the current state of the reader. + + + + + Throws an InvalidOperationException when the method called is not valid for the current ContextType. + + The name of the method. + The actual ContextType. + The valid ContextTypes. + + + + Throws an InvalidOperationException when the method called is not valid for the current state. + + The name of the method. + The valid states. + + + + Throws an ObjectDisposedException. + + + + + Verifies the current state and BsonType of the reader. + + The name of the method calling this one. + The required BSON type. + + + + Represents a bookmark that can be used to return a reader to the current position and state. + + + + + Initializes a new instance of the BsonReaderBookmark class. + + The state of the reader. + The current BSON type. + The name of the current element. + + + + Gets the current BsonType; + + + + + Gets the name of the current element. + + + + + Gets the current state of the reader. + + + + + Represents settings for a BsonReader. + + + + + Initializes a new instance of the BsonReaderSettings class. + + + + + Initializes a new instance of the BsonReaderSettings class. + + The representation for Guids. + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Freezes the settings. + + The frozen settings. + + + + Returns a frozen copy of the settings. + + A frozen copy of the settings. + + + + Gets or sets the representation for Guids. + + + + + Gets whether the settings are frozen. + + + + + Throws an InvalidOperationException when an attempt is made to change a setting after the settings are frozen. + + + + + Represents the state of a reader. + + + + + The initial state. + + + + + The reader is positioned at the type of an element or value. + + + + + The reader is positioned at the name of an element. + + + + + The reader is positioned at a value. + + + + + The reader is positioned at a scope document. + + + + + The reader is positioned at the end of a document. + + + + + The reader is positioned at the end of an array. + + + + + The reader has finished reading a document. + + + + + The reader is closed. + + + + + Represents a Stream has additional methods to suport reading and writing BSON values. + + + + + + + MongoDB.Bson.IO.BsonStream + + + + + + + Reads a BSON CString from the stream. + + The encoding. + A string. + + + + Reads a BSON CString from the stream. + + An ArraySegment containing the CString bytes (without the null byte). + + + + Reads a BSON Decimal128 from the stream. + + A . + + + + Reads a BSON double from the stream. + + A double. + + + + Reads a 32-bit BSON integer from the stream. + + An int. + + + + Reads a 64-bit BSON integer from the stream. + + A long. + + + + Reads a BSON ObjectId from the stream. + + An ObjectId. + + + + Reads a raw length prefixed slice from the stream. + + A slice. + + + + Reads a BSON string from the stream. + + The encoding. + A string. + + + + Skips over a BSON CString leaving the stream positioned just after the terminating null byte. + + + + + Writes a BSON CString to the stream. + + The value. + + + + Writes the CString bytes to the stream. + + The value. + + + + Writes a BSON Decimal128 to the stream. + + The value. + + + + Writes a BSON double to the stream. + + The value. + + + + Writes a 32-bit BSON integer to the stream. + + The value. + + + + Writes a 64-bit BSON integer to the stream. + + The value. + + + + Writes a BSON ObjectId to the stream. + + The value. + + + + Writes a BSON string to the stream. + + The value. + The encoding. + + + + A Stream that wraps another Stream while implementing the BsonStream abstract methods. + + + + + Initializes a new instance of the class. + + The stream. + if set to true [owns stream]. + stream + + + + Gets the base stream. + + + + Begins an asynchronous read operation. (Consider using instead; see the Remarks section.) + The buffer to read the data into. + The byte offset in at which to begin writing data read from the stream. + The maximum number of bytes to read. + An optional asynchronous callback, to be called when the read is complete. + A user-provided object that distinguishes this particular asynchronous read request from other requests. + An that represents the asynchronous read, which could still be pending. + Attempted an asynchronous read past the end of the stream, or a disk error occurs. + One or more of the arguments is invalid. + Methods were called after the stream was closed. + The current Stream implementation does not support the read operation. + + + Begins an asynchronous write operation. (Consider using instead; see the Remarks section.) + The buffer to write data from. + The byte offset in from which to begin writing. + The maximum number of bytes to write. + An optional asynchronous callback, to be called when the write is complete. + A user-provided object that distinguishes this particular asynchronous write request from other requests. + An IAsyncResult that represents the asynchronous write, which could still be pending. + Attempted an asynchronous write past the end of the stream, or a disk error occurs. + One or more of the arguments is invalid. + Methods were called after the stream was closed. + The current Stream implementation does not support the write operation. + + + When overridden in a derived class, gets a value indicating whether the current stream supports reading. + true if the stream supports reading; otherwise, false. + + + When overridden in a derived class, gets a value indicating whether the current stream supports seeking. + true if the stream supports seeking; otherwise, false. + + + Gets a value that determines whether the current stream can time out. + A value that determines whether the current stream can time out. + + + When overridden in a derived class, gets a value indicating whether the current stream supports writing. + true if the stream supports writing; otherwise, false. + + + Closes the current stream and releases any resources (such as sockets and file handles) associated with the current stream. Instead of calling this method, ensure that the stream is properly disposed. + + + Asynchronously reads the bytes from the current stream and writes them to another stream, using a specified buffer size and cancellation token. + The stream to which the contents of the current stream will be copied. + The size, in bytes, of the buffer. This value must be greater than zero. The default size is 81920. + The token to monitor for cancellation requests. The default value is . + A task that represents the asynchronous copy operation. + + is null. + + is negative or zero. + Either the current stream or the destination stream is disposed. + The current stream does not support reading, or the destination stream does not support writing. + + + Waits for the pending asynchronous read to complete. (Consider using instead; see the Remarks section.) + The reference to the pending asynchronous request to finish. + The number of bytes read from the stream, between zero (0) and the number of bytes you requested. Streams return zero (0) only at the end of the stream, otherwise, they should block until at least one byte is available. + + is null. + A handle to the pending read operation is not available.-or-The pending operation does not support reading. + + did not originate from a method on the current stream. + The stream is closed or an internal error has occurred. + + + Ends an asynchronous write operation. (Consider using instead; see the Remarks section.) + A reference to the outstanding asynchronous I/O request. + + is null. + A handle to the pending write operation is not available.-or-The pending operation does not support writing. + + did not originate from a method on the current stream. + The stream is closed or an internal error has occurred. + + + When overridden in a derived class, clears all buffers for this stream and causes any buffered data to be written to the underlying device. + An I/O error occurs. + + + Asynchronously clears all buffers for this stream, causes any buffered data to be written to the underlying device, and monitors cancellation requests. + The token to monitor for cancellation requests. The default value is . + A task that represents the asynchronous flush operation. + The stream has been disposed. + + + When overridden in a derived class, gets the length in bytes of the stream. + A long value representing the length of the stream in bytes. + A class derived from Stream does not support seeking. + Methods were called after the stream was closed. + + + When overridden in a derived class, gets or sets the position within the current stream. + The current position within the stream. + An I/O error occurs. + The stream does not support seeking. + Methods were called after the stream was closed. + + + When overridden in a derived class, reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read. + An array of bytes. When this method returns, the buffer contains the specified byte array with the values between and ( + - 1) replaced by the bytes read from the current source. + The zero-based byte offset in at which to begin storing the data read from the current stream. + The maximum number of bytes to be read from the current stream. + The total number of bytes read into the buffer. This can be less than the number of bytes requested if that many bytes are not currently available, or zero (0) if the end of the stream has been reached. + The sum of and is larger than the buffer length. + + is null. + + or is negative. + An I/O error occurs. + The stream does not support reading. + Methods were called after the stream was closed. + + + Asynchronously reads a sequence of bytes from the current stream, advances the position within the stream by the number of bytes read, and monitors cancellation requests. + The buffer to write the data into. + The byte offset in at which to begin writing data from the stream. + The maximum number of bytes to read. + The token to monitor for cancellation requests. The default value is . + A task that represents the asynchronous read operation. The value of the parameter contains the total number of bytes read into the buffer. The result value can be less than the number of bytes requested if the number of bytes currently available is less than the requested number, or it can be 0 (zero) if the end of the stream has been reached. + + is null. + + or is negative. + The sum of and is larger than the buffer length. + The stream does not support reading. + The stream has been disposed. + The stream is currently in use by a previous read operation. + + + Reads a byte from the stream and advances the position within the stream by one byte, or returns -1 if at the end of the stream. + The unsigned byte cast to an Int32, or -1 if at the end of the stream. + The stream does not support reading. + Methods were called after the stream was closed. + + + + Reads a BSON CString from the stream. + + The encoding. + A string. + + + + Reads a BSON CString from the stream. + + An ArraySegment containing the CString bytes (without the null byte). + + + + Reads a BSON Decimal128 from the stream. + + A . + + + + Reads a BSON double from the stream. + + A double. + + + + Reads a 32-bit BSON integer from the stream. + + An int. + + + + Reads a 64-bit BSON integer from the stream. + + A long. + + + + Reads a BSON ObjectId from the stream. + + An ObjectId. + + + + Reads a raw length prefixed slice from the stream. + + A slice. + + + + Reads a BSON string from the stream. + + The encoding. + A string. + + + Gets or sets a value, in miliseconds, that determines how long the stream will attempt to read before timing out. + A value, in miliseconds, that determines how long the stream will attempt to read before timing out. + The method always throws an . + + + When overridden in a derived class, sets the position within the current stream. + A byte offset relative to the parameter. + A value of type indicating the reference point used to obtain the new position. + The new position within the current stream. + An I/O error occurs. + The stream does not support seeking, such as if the stream is constructed from a pipe or console output. + Methods were called after the stream was closed. + + + When overridden in a derived class, sets the length of the current stream. + The desired length of the current stream in bytes. + An I/O error occurs. + The stream does not support both writing and seeking, such as if the stream is constructed from a pipe or console output. + Methods were called after the stream was closed. + + + + Skips over a BSON CString leaving the stream positioned just after the terminating null byte. + + + + When overridden in a derived class, writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written. + An array of bytes. This method copies bytes from to the current stream. + The zero-based byte offset in at which to begin copying bytes to the current stream. + The number of bytes to be written to the current stream. + The sum of  and  is greater than the buffer length. + + is null. + + or  is negative. + An I/O error occured, such as the specified file cannot be found. + The stream does not support writing. + + was called after the stream was closed. + + + Asynchronously writes a sequence of bytes to the current stream, advances the current position within this stream by the number of bytes written, and monitors cancellation requests. + The buffer to write data from. + The zero-based byte offset in from which to begin copying bytes to the stream. + The maximum number of bytes to write. + The token to monitor for cancellation requests. The default value is . + A task that represents the asynchronous write operation. + + is null. + + or is negative. + The sum of and is larger than the buffer length. + The stream does not support writing. + The stream has been disposed. + The stream is currently in use by a previous write operation. + + + Writes a byte to the current position in the stream and advances the position within the stream by one byte. + The byte to write to the stream. + An I/O error occurs. + The stream does not support writing, or the stream is already closed. + Methods were called after the stream was closed. + + + + Writes a BSON CString to the stream. + + The value. + + + + Writes the CString bytes to the stream. + + The value. + + + + Writes a BSON Decimal128 to the stream. + + The value. + + + + Writes a BSON double to the stream. + + The value. + + + + Writes a 32-bit BSON integer to the stream. + + The value. + + + + Writes a 64-bit BSON integer to the stream. + + The value. + + + + Writes a BSON ObjectId to the stream. + + The value. + + + + Writes a BSON string to the stream. + + The value. + The encoding. + + + Gets or sets a value, in miliseconds, that determines how long the stream will attempt to write before timing out. + A value, in miliseconds, that determines how long the stream will attempt to write before timing out. + The method always throws an . + + + + Represents extension methods on BsonStream. + + + + + Backpatches the size. + + The stream. + The start position. + + + + Reads the binary sub type. + + The stream. + The binary sub type. + + + + Reads a boolean from the stream. + + The stream. + A boolean. + + + + Reads the BSON type. + + The stream. + The BSON type. + + + + Reads bytes from the stream. + + The stream. + The buffer. + The offset. + The count. + + + + Reads bytes from the stream. + + The stream. + The count. + The bytes. + + + + Writes a binary sub type to the stream. + + The stream. + The value. + + + + Writes a boolean to the stream. + + The stream. + The value. + + + + Writes a BsonType to the stream. + + The stream. + The value. + + + + Writes bytes to the stream. + + The stream. + The buffer. + The offset. + The count. + + + + Writes a slice to the stream. + + The stream. + The slice. + + + + Represents a mapping from a set of UTF8 encoded strings to a set of elementName/value pairs, implemented as a trie. + + The type of the BsonTrie values. + + + + Initializes a new instance of the BsonTrie class. + + + + + Adds the specified elementName (after encoding as a UTF8 byte sequence) and value to the trie. + + The element name to add. + The value to add. The value can be null for reference types. + + + + Gets the root node. + + + + + Tries to get the node associated with a name read from a stream. + + The stream. + The node. + + True if the node was found. + If the node was found the stream is advanced over the name, otherwise + the stream is repositioned to the beginning of the name. + + + + + Gets the node associated with the specified element name. + + The element name. + + When this method returns, contains the node associated with the specified element name, if the key is found; + otherwise, null. This parameter is passed unitialized. + + True if the node was found; otherwise, false. + + + + Gets the value associated with the specified element name. + + The element name. + + When this method returns, contains the value associated with the specified element name, if the key is found; + otherwise, the default value for the type of the value parameter. This parameter is passed unitialized. + + True if the value was found; otherwise, false. + + + + Gets the value associated with the specified element name. + + The element name. + + When this method returns, contains the value associated with the specified element name, if the key is found; + otherwise, the default value for the type of the value parameter. This parameter is passed unitialized. + + True if the value was found; otherwise, false. + + + + Represents a node in a BsonTrie. + + The type of the BsonTrie values. + + + + Gets the element name for this node. + + + + + Gets the child of this node for a given key byte. + + The key byte. + The child node if it exists; otherwise, null. + + + + Gets whether this node has a value. + + + + + Gets the value for this node. + + + + + Represents a BSON writer for some external format (see subclasses). + + + + + Initializes a new instance of the BsonWriter class. + + The writer settings. + + + + Closes the writer. + + + + + Disposes of any resources used by the writer. + + + + + Disposes of any resources used by the writer. + + True if called from Dispose. + + + + Gets whether the BsonWriter has been disposed. + + + + + Flushes any pending data to the output destination. + + + + + Gets the name of the element being written. + + + + + Pops the element name validator. + + The popped element validator. + + + + Pushes the element name validator. + + The validator. + + + + Gets the current serialization depth. + + + + + Gets the settings of the writer. + + + + + Gets the current state of the writer. + + + + + Throws an InvalidOperationException when the method called is not valid for the current ContextType. + + The name of the method. + The actual ContextType. + The valid ContextTypes. + + + + Throws an InvalidOperationException when the method called is not valid for the current state. + + The name of the method. + The valid states. + + + + Writes BSON binary data to the writer. + + The binary data. + + + + Writes a BSON Boolean to the writer. + + The Boolean value. + + + + Writes BSON binary data to the writer. + + The bytes. + + + + Writes a BSON DateTime to the writer. + + The number of milliseconds since the Unix epoch. + + + + Writes a BSON Decimal128 to the writer. + + The value. + + + + Writes a BSON Double to the writer. + + The Double value. + + + + Writes the end of a BSON array to the writer. + + + + + Writes the end of a BSON document to the writer. + + + + + Writes a BSON Int32 to the writer. + + The Int32 value. + + + + Writes a BSON Int64 to the writer. + + The Int64 value. + + + + Writes a BSON JavaScript to the writer. + + The JavaScript code. + + + + Writes a BSON JavaScript to the writer (call WriteStartDocument to start writing the scope). + + The JavaScript code. + + + + Writes a BSON MaxKey to the writer. + + + + + Writes a BSON MinKey to the writer. + + + + + Writes the name of an element to the writer. + + The name of the element. + + + + Writes a BSON null to the writer. + + + + + Writes a BSON ObjectId to the writer. + + The ObjectId. + + + + Writes a raw BSON array. + + The byte buffer containing the raw BSON array. + + + + Writes a raw BSON document. + + The byte buffer containing the raw BSON document. + + + + Writes a BSON regular expression to the writer. + + A BsonRegularExpression. + + + + Writes the start of a BSON array to the writer. + + + + + Writes the start of a BSON document to the writer. + + + + + Writes a BSON String to the writer. + + The String value. + + + + Writes a BSON Symbol to the writer. + + The symbol. + + + + Writes a BSON timestamp to the writer. + + The combined timestamp/increment value. + + + + Writes a BSON undefined to the writer. + + + + + Represents settings for a BsonWriter. + + + + + Initializes a new instance of the BsonWriterSettings class. + + + + + Initializes a new instance of the BsonWriterSettings class. + + The representation for Guids. + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Freezes the settings. + + The frozen settings. + + + + Returns a frozen copy of the settings. + + A frozen copy of the settings. + + + + Gets or sets the representation for Guids. + + + + + Gets whether the settings are frozen. + + + + + Gets or sets the max serialization depth allowed (used to detect circular references). + + + + + Throws an InvalidOperationException when an attempt is made to change a setting after the settings are frozen. + + + + + Represents the state of a BsonWriter. + + + + + The initial state. + + + + + The writer is positioned to write a name. + + + + + The writer is positioned to write a value. + + + + + The writer is positioned to write a scope document (call WriteStartDocument to start writing the scope document). + + + + + The writer is done. + + + + + The writer is closed. + + + + + An IByteBuffer that is backed by a contiguous byte array. + + + + + Initializes a new instance of the class. + + The bytes. + Whether the buffer is read only. + + + + Initializes a new instance of the class. + + The bytes. + The length. + Whether the buffer is read only. + + + + Access the backing bytes directly. The returned ArraySegment will point to the desired position and contain + as many bytes as possible up to the next chunk boundary (if any). If the returned ArraySegment does not + contain enough bytes for your needs you will have to call ReadBytes instead. + + The position. + + An ArraySegment pointing directly to the backing bytes for the position. + + + + + Gets the capacity. + + + + + Clears the specified bytes. + + The position. + The count. + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + Ensure that the buffer has a minimum capacity. Depending on the buffer allocation strategy + calling this method may result in a higher capacity than the minimum (but never lower). + + The minimum capacity. + + + + Gets a byte. + + The position. + A byte. + + + + Gets bytes. + + The position. + The destination. + The destination offset. + The count. + + + + Gets a slice of this buffer. + + The position of the start of the slice. + The length of the slice. + A slice of this buffer. + + + + Gets a value indicating whether this instance is read only. + + + + + Gets or sets the length. + + + + + Makes this buffer read only. + + + + + Sets a byte. + + The position. + The value. + + + + Sets bytes. + + The position. + The bytes. + The offset. + The count. + + + + Represents a chunk backed by a byte array. + + + + + Initializes a new instance of the class. + + The bytes. + bytes + + + + Initializes a new instance of the class. + + The size. + + + + Gets the bytes. + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + Releases unmanaged and - optionally - managed resources. + + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Returns a new reference to the same chunk that can be independently disposed. + + A new reference to the same chunk. + + + + Represents a factory for IBsonBuffers. + + + + + Creates a buffer of the specified length. Depending on the length, either a SingleChunkBuffer or a MultiChunkBuffer will be created. + + The chunk pool. + The minimum capacity. + A buffer with at least the minimum capacity. + + + + Represents a slice of a byte buffer. + + + + + Initializes a new instance of the class. + + The byte buffer. + The offset of the slice. + The length of the slice. + + + + Access the backing bytes directly. The returned ArraySegment will point to the desired position and contain + as many bytes as possible up to the next chunk boundary (if any). If the returned ArraySegment does not + contain enough bytes for your needs you will have to call ReadBytes instead. + + The position. + + An ArraySegment pointing directly to the backing bytes for the position. + + + + + Gets the buffer. + + + + + Gets the capacity. + + + + + Clears the specified bytes. + + The position. + The count. + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + Releases unmanaged and - optionally - managed resources. + + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Ensure that the buffer has a minimum capacity. Depending on the buffer allocation strategy + calling this method may result in a higher capacity than the minimum (but never lower). + + The minimum capacity. + + + + Gets a byte. + + The position. + A byte. + + + + Gets bytes. + + The position. + The destination. + The destination offset. + The count. + + + + Gets a slice of this buffer. + + The position of the start of the slice. + The length of the slice. + A slice of this buffer. + + + + Gets a value indicating whether this instance is read only. + + + + + Gets or sets the length. + + + + + Makes this buffer read only. + + + + + Sets a byte. + + The position. + The value. + + + + Sets bytes. + + The position. + The bytes. + The offset. + The count. + + + + Represents a Stream backed by an IByteBuffer. Similar to MemoryStream but backed by an IByteBuffer + instead of a byte array and also implements the BsonStream interface for higher performance BSON I/O. + + + + + Initializes a new instance of the class. + + The buffer. + Whether the stream owns the buffer and should Dispose it when done. + + + + Gets the buffer. + + + + When overridden in a derived class, gets a value indicating whether the current stream supports reading. + true if the stream supports reading; otherwise, false. + + + When overridden in a derived class, gets a value indicating whether the current stream supports seeking. + true if the stream supports seeking; otherwise, false. + + + Gets a value that determines whether the current stream can time out. + A value that determines whether the current stream can time out. + + + When overridden in a derived class, gets a value indicating whether the current stream supports writing. + true if the stream supports writing; otherwise, false. + + + Releases the unmanaged resources used by the and optionally releases the managed resources. + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + When overridden in a derived class, clears all buffers for this stream and causes any buffered data to be written to the underlying device. + An I/O error occurs. + + + When overridden in a derived class, gets the length in bytes of the stream. + A long value representing the length of the stream in bytes. + A class derived from Stream does not support seeking. + Methods were called after the stream was closed. + + + When overridden in a derived class, gets or sets the position within the current stream. + The current position within the stream. + An I/O error occurs. + The stream does not support seeking. + Methods were called after the stream was closed. + + + When overridden in a derived class, reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read. + An array of bytes. When this method returns, the buffer contains the specified byte array with the values between and ( + - 1) replaced by the bytes read from the current source. + The zero-based byte offset in at which to begin storing the data read from the current stream. + The maximum number of bytes to be read from the current stream. + The total number of bytes read into the buffer. This can be less than the number of bytes requested if that many bytes are not currently available, or zero (0) if the end of the stream has been reached. + The sum of and is larger than the buffer length. + + is null. + + or is negative. + An I/O error occurs. + The stream does not support reading. + Methods were called after the stream was closed. + + + Reads a byte from the stream and advances the position within the stream by one byte, or returns -1 if at the end of the stream. + The unsigned byte cast to an Int32, or -1 if at the end of the stream. + The stream does not support reading. + Methods were called after the stream was closed. + + + + Reads a BSON CString from the stream. + + The encoding. + A string. + + + + Reads a BSON CString from the stream. + + An ArraySegment containing the CString bytes (without the null byte). + + + + Reads a BSON Decimal128 from the stream. + + A . + + + + Reads a BSON double from the stream. + + A double. + + + + Reads a 32-bit BSON integer from the stream. + + An int. + + + + Reads a 64-bit BSON integer from the stream. + + A long. + + + + Reads a BSON ObjectId from the stream. + + An ObjectId. + + + + Reads a raw length prefixed slice from the stream. + + A slice. + + + + Reads a BSON string from the stream. + + The encoding. + A string. + + + When overridden in a derived class, sets the position within the current stream. + A byte offset relative to the parameter. + A value of type indicating the reference point used to obtain the new position. + The new position within the current stream. + An I/O error occurs. + The stream does not support seeking, such as if the stream is constructed from a pipe or console output. + Methods were called after the stream was closed. + + + When overridden in a derived class, sets the length of the current stream. + The desired length of the current stream in bytes. + An I/O error occurs. + The stream does not support both writing and seeking, such as if the stream is constructed from a pipe or console output. + Methods were called after the stream was closed. + + + + Skips over a BSON CString leaving the stream positioned just after the terminating null byte. + + + + When overridden in a derived class, writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written. + An array of bytes. This method copies bytes from to the current stream. + The zero-based byte offset in at which to begin copying bytes to the current stream. + The number of bytes to be written to the current stream. + The sum of  and  is greater than the buffer length. + + is null. + + or  is negative. + An I/O error occured, such as the specified file cannot be found. + The stream does not support writing. + + was called after the stream was closed. + + + Writes a byte to the current position in the stream and advances the position within the stream by one byte. + The byte to write to the stream. + An I/O error occurs. + The stream does not support writing, or the stream is already closed. + Methods were called after the stream was closed. + + + + Writes a BSON CString to the stream. + + The value. + + + + Writes the CString bytes to the stream. + + The value. + + + + Writes a BSON Decimal128 to the stream. + + The value. + + + + Writes a BSON double to the stream. + + The value. + + + + Writes a 32-bit BSON integer to the stream. + + The value. + + + + Writes a 64-bit BSON integer to the stream. + + The value. + + + + Writes a BSON ObjectId to the stream. + + The value. + + + + Writes a BSON string to the stream. + + The value. + The encoding. + + + + Used by BsonReaders and BsonWriters to represent the current context. + + + + + The top level of a BSON document. + + + + + A (possibly embedded) BSON document. + + + + + A BSON array. + + + + + A JavaScriptWithScope BSON value. + + + + + The scope document of a JavaScriptWithScope BSON value. + + + + + Represents a DateTime JSON token. + + + + + Initializes a new instance of the DateTimeJsonToken class. + + The lexeme. + The DateTime value. + + + + Gets the value of a DateTime token. + + + + + Represents a Double JSON token. + + + + + Initializes a new instance of the DoubleJsonToken class. + + The lexeme. + The Double value. + + + + Gets the value of a Double token. + + + + + Gets the value of an Int32 token. + + + + + Gets the value of an Int64 token. + + + + + Gets a value indicating whether this token is number. + + + + + Represents a chunk of bytes. + + + + + Gets the bytes. + + + + + Returns a new reference to the same chunk that can be independently disposed. + + A new reference to the same chunk. + + + + Represents a source of chunks. + + + + + Gets the chunk. + + Size of the requested. + A chunk. + + + + Represents a BSON reader. + + + + + Closes the reader. + + + + + Gets the current BsonType. + + + + + Gets a bookmark to the reader's current position and state. + + A bookmark. + + + + Gets the current BsonType (calls ReadBsonType if necessary). + + The current BsonType. + + + + Determines whether this reader is at end of file. + + + Whether this reader is at end of file. + + + + + Reads BSON binary data from the reader. + + A BsonBinaryData. + + + + Reads a BSON boolean from the reader. + + A Boolean. + + + + Reads a BsonType from the reader. + + A BsonType. + + + + Reads BSON binary data from the reader. + + A byte array. + + + + Reads a BSON DateTime from the reader. + + The number of milliseconds since the Unix epoch. + + + + Reads a BSON Decimal128 from the reader. + + A . + + + + Reads a BSON Double from the reader. + + A Double. + + + + Reads the end of a BSON array from the reader. + + + + + Reads the end of a BSON document from the reader. + + + + + Reads a BSON Int32 from the reader. + + An Int32. + + + + Reads a BSON Int64 from the reader. + + An Int64. + + + + Reads a BSON JavaScript from the reader. + + A string. + + + + Reads a BSON JavaScript with scope from the reader (call ReadStartDocument next to read the scope). + + A string. + + + + Reads a BSON MaxKey from the reader. + + + + + Reads a BSON MinKey from the reader. + + + + + Reads the name of an element from the reader (using the provided name decoder). + + The name decoder. + + The name of the element. + + + + + Reads a BSON null from the reader. + + + + + Reads a BSON ObjectId from the reader. + + An ObjectId. + + + + Reads a raw BSON array. + + The raw BSON array. + + + + Reads a raw BSON document. + + The raw BSON document. + + + + Reads a BSON regular expression from the reader. + + A BsonRegularExpression. + + + + Reads the start of a BSON array. + + + + + Reads the start of a BSON document. + + + + + Reads a BSON string from the reader. + + A String. + + + + Reads a BSON symbol from the reader. + + A string. + + + + Reads a BSON timestamp from the reader. + + The combined timestamp/increment. + + + + Reads a BSON undefined from the reader. + + + + + Returns the reader to previously bookmarked position and state. + + The bookmark. + + + + Skips the name (reader must be positioned on a name). + + + + + Skips the value (reader must be positioned on a value). + + + + + Gets the current state of the reader. + + + + + Contains extensions methods for IBsonReader. + + + + + Positions the reader to an element by name. + + The reader. + The name of the element. + True if the element was found. + + + + Positions the reader to a string element by name. + + The reader. + The name of the element. + True if the element was found. + + + + Reads a BSON binary data element from the reader. + + The reader. + The name of the element. + A BsonBinaryData. + + + + Reads a BSON boolean element from the reader. + + The reader. + The name of the element. + A Boolean. + + + + Reads a BSON binary data element from the reader. + + The reader. + The name of the element. + A byte array. + + + + Reads a BSON DateTime element from the reader. + + The reader. + The name of the element. + The number of milliseconds since the Unix epoch. + + + + Reads a BSON Decimal128 element from the reader. + + The reader. + The name of the element. + A . + + + + Reads a BSON Double element from the reader. + + The reader. + The name of the element. + A Double. + + + + Reads a BSON Int32 element from the reader. + + The reader. + The name of the element. + An Int32. + + + + Reads a BSON Int64 element from the reader. + + The reader. + The name of the element. + An Int64. + + + + Reads a BSON JavaScript element from the reader. + + The reader. + The name of the element. + A string. + + + + Reads a BSON JavaScript with scope element from the reader (call ReadStartDocument next to read the scope). + + The reader. + The name of the element. + A string. + + + + Reads a BSON MaxKey element from the reader. + + The reader. + The name of the element. + + + + Reads a BSON MinKey element from the reader. + + The reader. + The name of the element. + + + + Reads the name of an element from the reader. + + The reader. + The name of the element. + + + + Reads the name of an element from the reader. + + The reader. + The name of the element. + + + + Reads a BSON null element from the reader. + + The reader. + The name of the element. + + + + Reads a BSON ObjectId element from the reader. + + The reader. + The name of the element. + An ObjectId. + + + + Reads a raw BSON array. + + The reader. + The name. + + The raw BSON array. + + + + + Reads a raw BSON document. + + The reader. + The name. + The raw BSON document. + + + + Reads a BSON regular expression element from the reader. + + The reader. + The name of the element. + A BsonRegularExpression. + + + + Reads a BSON string element from the reader. + + The reader. + The name of the element. + A String. + + + + Reads a BSON symbol element from the reader. + + The reader. + The name of the element. + A string. + + + + Reads a BSON timestamp element from the reader. + + The reader. + The name of the element. + The combined timestamp/increment. + + + + Reads a BSON undefined element from the reader. + + The reader. + The name of the element. + + + + Represents a BSON writer. + + + + + Closes the writer. + + + + + Flushes any pending data to the output destination. + + + + + Pops the element name validator. + + The popped element validator. + + + + Pushes the element name validator. + + The validator. + + + + Gets the current serialization depth. + + + + + Gets the settings of the writer. + + + + + Gets the current state of the writer. + + + + + Writes BSON binary data to the writer. + + The binary data. + + + + Writes a BSON Boolean to the writer. + + The Boolean value. + + + + Writes BSON binary data to the writer. + + The bytes. + + + + Writes a BSON DateTime to the writer. + + The number of milliseconds since the Unix epoch. + + + + Writes a BSON Decimal128 to the writer. + + The value. + + + + Writes a BSON Double to the writer. + + The Double value. + + + + Writes the end of a BSON array to the writer. + + + + + Writes the end of a BSON document to the writer. + + + + + Writes a BSON Int32 to the writer. + + The Int32 value. + + + + Writes a BSON Int64 to the writer. + + The Int64 value. + + + + Writes a BSON JavaScript to the writer. + + The JavaScript code. + + + + Writes a BSON JavaScript to the writer (call WriteStartDocument to start writing the scope). + + The JavaScript code. + + + + Writes a BSON MaxKey to the writer. + + + + + Writes a BSON MinKey to the writer. + + + + + Writes the name of an element to the writer. + + The name of the element. + + + + Writes a BSON null to the writer. + + + + + Writes a BSON ObjectId to the writer. + + The ObjectId. + + + + Writes a raw BSON array. + + The byte buffer containing the raw BSON array. + + + + Writes a raw BSON document. + + The byte buffer containing the raw BSON document. + + + + Writes a BSON regular expression to the writer. + + A BsonRegularExpression. + + + + Writes the start of a BSON array to the writer. + + + + + Writes the start of a BSON document to the writer. + + + + + Writes a BSON String to the writer. + + The String value. + + + + Writes a BSON Symbol to the writer. + + The symbol. + + + + Writes a BSON timestamp to the writer. + + The combined timestamp/increment value. + + + + Writes a BSON undefined to the writer. + + + + + Contains extension methods for IBsonWriter. + + + + + Writes a BSON binary data element to the writer. + + The writer. + The name of the element. + The binary data. + + + + Writes a BSON Boolean element to the writer. + + The writer. + The name of the element. + The Boolean value. + + + + Writes a BSON binary data element to the writer. + + The writer. + The name of the element. + The bytes. + + + + Writes a BSON DateTime element to the writer. + + The writer. + The name of the element. + The number of milliseconds since the Unix epoch. + + + + Writes a BSON Decimal128 element to the writer. + + The writer. + The name of the element. + The value. + + + + Writes a BSON Double element to the writer. + + The writer. + The name of the element. + The Double value. + + + + Writes a BSON Int32 element to the writer. + + The writer. + The name of the element. + The Int32 value. + + + + Writes a BSON Int64 element to the writer. + + The writer. + The name of the element. + The Int64 value. + + + + Writes a BSON JavaScript element to the writer. + + The writer. + The name of the element. + The JavaScript code. + + + + Writes a BSON JavaScript element to the writer (call WriteStartDocument to start writing the scope). + + The writer. + The name of the element. + The JavaScript code. + + + + Writes a BSON MaxKey element to the writer. + + The writer. + The name of the element. + + + + Writes a BSON MinKey element to the writer. + + The writer. + The name of the element. + + + + Writes a BSON null element to the writer. + + The writer. + The name of the element. + + + + Writes a BSON ObjectId element to the writer. + + The writer. + The name of the element. + The ObjectId. + + + + Writes a raw BSON array. + + The writer. + The name. + The byte buffer containing the raw BSON array. + + + + Writes a raw BSON document. + + The writer. + The name. + The byte buffer containing the raw BSON document. + + + + Writes a BSON regular expression element to the writer. + + The writer. + The name of the element. + A BsonRegularExpression. + + + + Writes the start of a BSON array element to the writer. + + The writer. + The name of the element. + + + + Writes the start of a BSON document element to the writer. + + The writer. + The name of the element. + + + + Writes a BSON String element to the writer. + + The writer. + The name of the element. + The String value. + + + + Writes a BSON Symbol element to the writer. + + The writer. + The name of the element. + The symbol. + + + + Writes a BSON timestamp element to the writer. + + The writer. + The name of the element. + The combined timestamp/increment value. + + + + Writes a BSON undefined element to the writer. + + The writer. + The name of the element. + + + + Represents a byte buffer (backed by various means depending on the implementation). + + + + + Access the backing bytes directly. The returned ArraySegment will point to the desired position and contain + as many bytes as possible up to the next chunk boundary (if any). If the returned ArraySegment does not + contain enough bytes for your needs you will have to call ReadBytes instead. + + The position. + + An ArraySegment pointing directly to the backing bytes for the position. + + + + + Gets the capacity. + + + + + Clears the specified bytes. + + The position. + The count. + + + + Ensure that the buffer has a minimum capacity. Depending on the buffer allocation strategy + calling this method may result in a higher capacity than the minimum (but never lower). + + The minimum capacity. + + + + Gets a byte. + + The position. + A byte. + + + + Gets bytes. + + The position. + The destination. + The destination offset. + The count. + + + + Gets a slice of this buffer. + + The position of the start of the slice. + The length of the slice. + A slice of this buffer. + + + + Gets a value indicating whether this instance is read only. + + + + + Gets or sets the length. + + + + + Makes this buffer read only. + + + + + Sets a byte. + + The position. + The value. + + + + Sets bytes. + + The position. + The bytes. + The offset. + The count. + + + + Represents an element name validator. Used by BsonWriters when WriteName is called + to determine if the element name is valid. + + + + + Gets the validator to use for child content (a nested document or array). + + The name of the element. + The validator to use for child content. + + + + Determines whether the element name is valid. + + The name of the element. + True if the element name is valid. + + + + Represents a name decoder. + + + + + Decodes the name. + + The stream. + The encoding. + + The name. + + + + + Informs the decoder of an already decoded name (so the decoder can change state if necessary). + + The name. + + + + Represents a source of chunks optimized for input buffers. + + + + + Initializes a new instance of the class. + + The chunk source. + The maximum size of an unpooled chunk. + The minimum size of a chunk. + The maximum size of a chunk. + + + + Gets the base source. + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + Gets the chunk. + + Size of the requested. + A chunk. + + + + Gets the maximum size of a chunk. + + + + + Gets the maximum size of an unpooled chunk. + + + + + Gets the minimum size of a chunk. + + + + + Represents an Int32 JSON token. + + + + + Initializes a new instance of the Int32JsonToken class. + + The lexeme. + The Int32 value. + + + + Gets the value of a Double token. + + + + + Gets the value of an Int32 token. + + + + + Gets the value of an Int32 token as an Int64. + + + + + Gets a value indicating whether this token is number. + + + + + Represents an Int64 JSON token. + + + + + Initializes a new instance of the Int64JsonToken class. + + The lexeme. + The Int64 value. + + + + Gets the value of a Double token. + + + + + Gets the value of an Int32 token. + + + + + Gets the value of an Int64 token. + + + + + Gets a value indicating whether this token is number. + + + + + Encodes and decodes scalar values to JSON compatible strings. + + + + + Converts a string to a Boolean. + + The value. + A Boolean. + + + + Converts a string to a DateTime. + + The value. + A DateTime. + + + + Converts a string to a DateTimeOffset. + + The value. + A DateTimeOffset. + + + + Converts a string to a Decimal. + + The value. + A Decimal. + + + + Converts a string to a . + + The value. + A . + + + + Converts a string to a Double. + + The value. + A Double. + + + + Converts a string to an Int16. + + The value. + An Int16. + + + + Converts a string to an Int32. + + The value. + An Int32. + + + + Converts a string to an Int64. + + The value. + An Int64. + + + + Converts a string to a Single. + + The value. + A Single. + + + + Converts a to a string. + + The value. + A string. + + + + Converts a Boolean to a string. + + The value. + A string. + + + + Converts a DateTime to a string. + + The value. + A string. + + + + Converts a DateTimeOffset to a string. + + The value. + A string. + + + + Converts a Decimal to a string. + + The value. + A string. + + + + Converts a Double to a string. + + The value. + A string. + + + + Converts an Int16 to a string. + + The value. + A string. + + + + Converts an Int32 to a string. + + The value. + A string. + + + + Converts an Int64 to a string. + + The value. + A string. + + + + Converts a Single to a string. + + The value. + A string. + + + + Converts a UInt16 to a string. + + The value. + A string. + + + + Converts a UInt32 to a string. + + The value. + A string. + + + + Converts a UInt64 to a string. + + The value. + A string. + + + + Converts a string to a UInt16. + + The value. + A UInt16. + + + + Converts a string to a UInt32. + + The value. + A UInt32. + + + + Converts a string to a UInt64. + + The value. + A UInt64. + + + + Represents the output mode of a JsonWriter. + + + + + Output strict JSON. + + + + + Use a format that can be pasted in to the MongoDB shell. + + + + + Use JavaScript data types for some values. + + + + + Use JavaScript and MongoDB data types for some values. + + + + + Represents a BSON reader for a JSON string. + + + + + Initializes a new instance of the JsonReader class. + + The TextReader. + + + + Initializes a new instance of the JsonReader class. + + The TextReader. + The reader settings. + + + + Initializes a new instance of the JsonReader class. + + The JSON string. + + + + Initializes a new instance of the JsonReader class. + + The JSON string. + The reader settings. + + + + Closes the reader. + + + + + Disposes of any resources used by the reader. + + True if called from Dispose. + + + + Gets a bookmark to the reader's current position and state. + + A bookmark. + + + + Determines whether this reader is at end of file. + + + Whether this reader is at end of file. + + + + + Reads BSON binary data from the reader. + + A BsonBinaryData. + + + + Reads a BSON boolean from the reader. + + A Boolean. + + + + Reads a BsonType from the reader. + + A BsonType. + + + + Reads BSON binary data from the reader. + + A byte array. + + + + Reads a BSON DateTime from the reader. + + The number of milliseconds since the Unix epoch. + + + + Reads a BSON Decimal128 from the reader. + + A . + + + + Reads a BSON Double from the reader. + + A Double. + + + + Reads the end of a BSON array from the reader. + + + + + Reads the end of a BSON document from the reader. + + + + + Reads a BSON Int32 from the reader. + + An Int32. + + + + Reads a BSON Int64 from the reader. + + An Int64. + + + + Reads a BSON JavaScript from the reader. + + A string. + + + + Reads a BSON JavaScript with scope from the reader (call ReadStartDocument next to read the scope). + + A string. + + + + Reads a BSON MaxKey from the reader. + + + + + Reads a BSON MinKey from the reader. + + + + + Reads the name of an element from the reader. + + The name decoder. + + The name of the element. + + + + + Reads a BSON null from the reader. + + + + + Reads a BSON ObjectId from the reader. + + An ObjectId. + + + + Reads a BSON regular expression from the reader. + + A BsonRegularExpression. + + + + Reads the start of a BSON array. + + + + + Reads the start of a BSON document. + + + + + Reads a BSON string from the reader. + + A String. + + + + Reads a BSON symbol from the reader. + + A string. + + + + Reads a BSON timestamp from the reader. + + The combined timestamp/increment. + + + + Reads a BSON undefined from the reader. + + + + + Returns the reader to previously bookmarked position and state. + + The bookmark. + + + + Skips the name (reader must be positioned on a name). + + + + + Skips the value (reader must be positioned on a value). + + + + + Represents a bookmark that can be used to return a reader to the current position and state. + + + + + Represents settings for a JsonReader. + + + + + Initializes a new instance of the JsonReaderSettings class. + + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Gets or sets the default settings for a JsonReader. + + + + + Represents a JSON token. + + + + + Initializes a new instance of the JsonToken class. + + The token type. + The lexeme. + + + + Gets the value of a DateTime token. + + + + + Gets the value of a Double token. + + + + + Gets the value of an Int32 token. + + + + + Gets the value of an Int64 token. + + + + + Gets a value indicating whether this token is number. + + + + + Gets the lexeme. + + + + + Gets the value of an ObjectId token. + + + + + Gets the value of a regular expression token. + + + + + Gets the value of a string token. + + + + + Gets the token type. + + + + + Represents a JSON token type. + + + + + An invalid token. + + + + + A begin array token (a '['). + + + + + A begin object token (a '{'). + + + + + An end array token (a ']'). + + + + + A left parenthesis (a '('). + + + + + A right parenthesis (a ')'). + + + + + An end object token (a '}'). + + + + + A colon token (a ':'). + + + + + A comma token (a ','). + + + + + A DateTime token. + + + + + A Double token. + + + + + An Int32 token. + + + + + And Int64 token. + + + + + An ObjectId token. + + + + + A regular expression token. + + + + + A string token. + + + + + An unquoted string token. + + + + + An end of file token. + + + + + Represents a BSON writer to a TextWriter (in JSON format). + + + + + Initializes a new instance of the JsonWriter class. + + A TextWriter. + + + + Initializes a new instance of the JsonWriter class. + + A TextWriter. + Optional JsonWriter settings. + + + + Gets the base TextWriter. + + + + + Closes the writer. + + + + + Disposes of any resources used by the writer. + + True if called from Dispose. + + + + Flushes any pending data to the output destination. + + + + + Writes BSON binary data to the writer. + + The binary data. + + + + Writes a BSON Boolean to the writer. + + The Boolean value. + + + + Writes BSON binary data to the writer. + + The bytes. + + + + Writes a BSON DateTime to the writer. + + The number of milliseconds since the Unix epoch. + + + + Writes a BSON Decimal128 to the writer. + + The value. + + + + Writes a BSON Double to the writer. + + The Double value. + + + + Writes the end of a BSON array to the writer. + + + + + Writes the end of a BSON document to the writer. + + + + + Writes a BSON Int32 to the writer. + + The Int32 value. + + + + Writes a BSON Int64 to the writer. + + The Int64 value. + + + + Writes a BSON JavaScript to the writer. + + The JavaScript code. + + + + Writes a BSON JavaScript to the writer (call WriteStartDocument to start writing the scope). + + The JavaScript code. + + + + Writes a BSON MaxKey to the writer. + + + + + Writes a BSON MinKey to the writer. + + + + + Writes a BSON null to the writer. + + + + + Writes a BSON ObjectId to the writer. + + The ObjectId. + + + + Writes a BSON regular expression to the writer. + + A BsonRegularExpression. + + + + Writes the start of a BSON array to the writer. + + + + + Writes the start of a BSON document to the writer. + + + + + Writes a BSON String to the writer. + + The String value. + + + + Writes a BSON Symbol to the writer. + + The symbol. + + + + Writes a BSON timestamp to the writer. + + The combined timestamp/increment value. + + + + Writes a BSON undefined to the writer. + + + + + Represents settings for a JsonWriter. + + + + + Initializes a new instance of the JsonWriterSettings class. + + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Gets or sets the default JsonWriterSettings. + + + + + Gets or sets the output Encoding. + + + + + Gets or sets whether to indent the output. + + + + + Gets or sets the indent characters. + + + + + Gets or sets the new line characters. + + + + + Gets or sets the output mode. + + + + + Gets or sets the shell version (used with OutputMode Shell). + + + + + An IByteBuffer that is backed by multiple chunks. + + + + + Initializes a new instance of the class. + + The chunk pool. + chunkPool + + + + Initializes a new instance of the class. + + The chunks. + The length. + Whether the buffer is read only. + chunks + + + + Access the backing bytes directly. The returned ArraySegment will point to the desired position and contain + as many bytes as possible up to the next chunk boundary (if any). If the returned ArraySegment does not + contain enough bytes for your needs you will have to call ReadBytes instead. + + The position. + + An ArraySegment pointing directly to the backing bytes for the position. + + + + + Gets the capacity. + + + + + Gets the chunk source. + + + + + Clears the specified bytes. + + The position. + The count. + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + Ensure that the buffer has a minimum capacity. Depending on the buffer allocation strategy + calling this method may result in a higher capacity than the minimum (but never lower). + + The minimum capacity. + + + + Gets a byte. + + The position. + A byte. + + + + Gets bytes. + + The position. + The destination. + The destination offset. + The count. + + + + Gets a slice of this buffer. + + The position of the start of the slice. + The length of the slice. + A slice of this buffer. + + + + Gets a value indicating whether this instance is read only. + + + + + Gets or sets the length. + + + + + Makes this buffer read only. + + + + + Sets a byte. + + The position. + The value. + + + + Sets bytes. + + The position. + The bytes. + The offset. + The count. + + + + Represents an element name validator that does no validation. + + + + + + + MongoDB.Bson.IO.NoOpElementNameValidator + + + + + + + Gets the validator to use for child content (a nested document or array). + + The name of the element. + The validator to use for child content. + + + + Gets the instance. + + + + + Determines whether the element name is valid. + + The name of the element. + True if the element name is valid. + + + + Represents an ObjectId JSON token. + + + + + Initializes a new instance of the ObjectIdJsonToken class. + + The lexeme. + The ObjectId value. + + + + Gets the value of an ObjectId token. + + + + + Represents a source of chunks optimized for output buffers. + + + + + Initializes a new instance of the class. + + The chunk source. + The size of the initial unpooled chunk. + The minimum size of a chunk. + The maximum size of a chunk. + + + + Gets the base source. + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + Gets the chunk. + + Size of the requested. + A chunk. + + + + Gets the initial unpooled chunk size. + + + + + Gets the maximum size of a chunk. + + + + + Gets the minimum size of a chunk. + + + + + Represents a regular expression JSON token. + + + + + Initializes a new instance of the RegularExpressionJsonToken class. + + The lexeme. + The BsonRegularExpression value. + + + + Gets the value of a regular expression token. + + + + + An IByteBuffer that is backed by a single chunk. + + + + + Initializes a new instance of the class. + + The chuns. + The length. + Whether the buffer is read only. + + + + Access the backing bytes directly. The returned ArraySegment will point to the desired position and contain + as many bytes as possible up to the next chunk boundary (if any). If the returned ArraySegment does not + contain enough bytes for your needs you will have to call ReadBytes instead. + + The position. + + An ArraySegment pointing directly to the backing bytes for the position. + + + + + Gets the capacity. + + + + + Clears the specified bytes. + + The position. + The count. + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + Ensure that the buffer has a minimum capacity. Depending on the buffer allocation strategy + calling this method may result in a higher capacity than the minimum (but never lower). + + The minimum capacity. + + + + Gets a byte. + + The position. + A byte. + + + + Gets bytes. + + The position. + The destination. + The destination offset. + The count. + + + + Gets a slice of this buffer. + + The position of the start of the slice. + The length of the slice. + A slice of this buffer. + + + + Gets a value indicating whether this instance is read only. + + + + + Gets or sets the length. + + + + + Makes this buffer read only. + + + + + Sets a byte. + + The position. + The value. + + + + Sets bytes. + + The position. + The bytes. + The offset. + The count. + + + + Represents a String JSON token. + + + + + Initializes a new instance of the StringJsonToken class. + + The token type. + The lexeme. + The String value. + + + + Gets the value of an String token. + + + + + Represents a Trie-based name decoder that also provides a value. + + The type of the value. + + + + Initializes a new instance of the class. + + The trie. + + + + Reads the name. + + The stream. + The encoding. + + The name. + + + + + Gets a value indicating whether this is found. + + + + + Informs the decoder of an already decoded name (so the decoder can change state if necessary). + + The name. + + + + Gets the value. + + + + + Represents a singleton instance of a strict UTF8Encoding. + + + + + Gets the lenient instance. + + + + + Gets the strict instance. + + + + + Represents a class that has some helper methods for decoding UTF8 strings. + + + + + Decodes a UTF8 string. + + The bytes. + The index. + The count. + The encoding. + The decoded string. + + + + Represents a UTF8 name decoder. + + + + + + + MongoDB.Bson.IO.Utf8NameDecoder + + + + + + + Decodes the name. + + The stream. + The encoding. + + The name. + + + + + Informs the decoder of an already decoded name (so the decoder can change state if necessary). + + The name. + + + + Gets the instance. + + + + + Provides serializers based on an attribute. + + + + + + + MongoDB.Bson.Serialization.AttributedSerializationProvider + + + + + + + Gets a serializer for a type. + + The type. + The serializer registry. + + A serializer. + + + + + Represents a mapping between a class and a BSON document. + + + + + Initializes a new instance of the BsonClassMap class. + + The class type. + + + + Initializes a new instance of the class. + + Type of the class. + The base class map. + + + + Adds a known type to the class map. + + The known type. + + + + Gets all the member maps (including maps for inherited members). + + + + + Automaps the class. + + + + + Gets the base class map. + + + + + Gets the class type. + + + + + Gets the conventions used for auto mapping. + + + + + Creates an instance of the class. + + An object. + + + + Gets the constructor maps. + + + + + Gets the declared member maps (only for members declared in this class). + + + + + Gets the discriminator. + + + + + Gets whether a discriminator is required when serializing this class. + + + + + Gets the member map of the member used to hold extra elements. + + + + + Freezes the class map. + + The frozen class map. + + + + Gets the type of a member. + + The member info. + The type of the member. + + + + Gets a member map (only considers members declared in this class). + + The member name. + The member map (or null if the member was not found). + + + + Gets the member map for a BSON element. + + The name of the element. + The member map. + + + + Gets all registered class maps. + + All registered class maps. + + + + Gets whether this class map has any creator maps. + + + + + Gets whether this class has a root class ancestor. + + + + + Gets the Id member map (null if none). + + + + + Gets whether extra elements should be ignored when deserializing. + + + + + Gets whether the IgnoreExtraElements value should be inherited by derived classes. + + + + + Gets whether this class is anonymous. + + + + + Checks whether a class map is registered for a type. + + The type to check. + True if there is a class map registered for the type. + + + + Gets whether the class map is frozen. + + + + + Gets whether this class is a root class. + + + + + Gets the known types of this class. + + + + + Looks up a class map (will AutoMap the class if no class map is registered). + + The class type. + The class map. + + + + Creates a creator map for a constructor and adds it to the class map. + + The constructor info. + The creator map (so method calls can be chained). + + + + Creates a creator map for a constructor and adds it to the class map. + + The constructor info. + The argument names. + The creator map (so method calls can be chained). + + + + Creates a creator map and adds it to the class. + + The delegate. + The factory method map (so method calls can be chained). + + + + Creates a creator map and adds it to the class. + + The delegate. + The argument names. + The factory method map (so method calls can be chained). + + + + Creates a member map for the extra elements field and adds it to the class map. + + The name of the extra elements field. + The member map (so method calls can be chained). + + + + Creates a member map for the extra elements member and adds it to the class map. + + The member info for the extra elements member. + The member map (so method calls can be chained). + + + + Creates a member map for the extra elements property and adds it to the class map. + + The name of the property. + The member map (so method calls can be chained). + + + + Creates a creator map for a factory method and adds it to the class. + + The method info. + The creator map (so method calls can be chained). + + + + Creates a creator map for a factory method and adds it to the class. + + The method info. + The argument names. + The creator map (so method calls can be chained). + + + + Creates a member map for a field and adds it to the class map. + + The name of the field. + The member map (so method calls can be chained). + + + + Creates a member map for the Id field and adds it to the class map. + + The name of the Id field. + The member map (so method calls can be chained). + + + + Creates a member map for the Id member and adds it to the class map. + + The member info for the Id member. + The member map (so method calls can be chained). + + + + Creates a member map for the Id property and adds it to the class map. + + The name of the Id property. + The member map (so method calls can be chained). + + + + Creates a member map for a member and adds it to the class map. + + The member info. + The member map (so method calls can be chained). + + + + Creates a member map for a property and adds it to the class map. + + The name of the property. + The member map (so method calls can be chained). + + + + Creates and registers a class map. + + The class. + The class map. + + + + Registers a class map. + + The class map. + + + + Creates and registers a class map. + + The class map initializer. + The class. + The class map. + + + + Resets the class map back to its initial state. + + + + + Sets the creator for the object. + + The creator. + The class map (so method calls can be chained). + + + + Sets the discriminator. + + The discriminator. + + + + Sets whether a discriminator is required when serializing this class. + + Whether a discriminator is required. + + + + Sets the member map of the member used to hold extra elements. + + The extra elements member map. + + + + Sets the Id member. + + The Id member (null if none). + + + + Sets whether extra elements should be ignored when deserializing. + + Whether extra elements should be ignored when deserializing. + + + + Sets whether the IgnoreExtraElements value should be inherited by derived classes. + + Whether the IgnoreExtraElements value should be inherited by derived classes. + + + + Sets whether this class is a root class. + + Whether this class is a root class. + + + + Removes a creator map for a constructor from the class map. + + The constructor info. + + + + Removes a creator map for a factory method from the class map. + + The method info. + + + + Removes the member map for a field from the class map. + + The name of the field. + + + + Removes a member map from the class map. + + The member info. + + + + Removes the member map for a property from the class map. + + The name of the property. + + + + Represents a mapping between a class and a BSON document. + + The class. + + + + Initializes a new instance of the BsonClassMap class. + + + + + Initializes a new instance of the BsonClassMap class. + + The class map initializer. + + + + Creates an instance. + + An instance. + + + + Gets a member map. + + A lambda expression specifying the member. + The member type. + The member map. + + + + Creates a creator map and adds it to the class map. + + Lambda expression specifying the creator code and parameters to use. + The member map. + + + + Creates a member map for the extra elements field and adds it to the class map. + + A lambda expression specifying the extra elements field. + The member type. + The member map. + + + + Creates a member map for the extra elements member and adds it to the class map. + + A lambda expression specifying the extra elements member. + The member type. + The member map. + + + + Creates a member map for the extra elements property and adds it to the class map. + + A lambda expression specifying the extra elements property. + The member type. + The member map. + + + + Creates a member map for a field and adds it to the class map. + + A lambda expression specifying the field. + The member type. + The member map. + + + + Creates a member map for the Id field and adds it to the class map. + + A lambda expression specifying the Id field. + The member type. + The member map. + + + + Creates a member map for the Id member and adds it to the class map. + + A lambda expression specifying the Id member. + The member type. + The member map. + + + + Creates a member map for the Id property and adds it to the class map. + + A lambda expression specifying the Id property. + The member type. + The member map. + + + + Creates a member map and adds it to the class map. + + A lambda expression specifying the member. + The member type. + The member map. + + + + Creates a member map for the Id property and adds it to the class map. + + A lambda expression specifying the Id property. + The member type. + The member map. + + + + Removes the member map for a field from the class map. + + A lambda expression specifying the field. + The member type. + + + + Removes a member map from the class map. + + A lambda expression specifying the member. + The member type. + + + + Removes a member map for a property from the class map. + + A lambda expression specifying the property. + The member type. + + + + Represents a serializer for a class map. + + The type of the class. + + + + Initializes a new instance of the BsonClassMapSerializer class. + + The class map. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Deserializes a value. + + The deserialization context. + A deserialized value. + + + + Gets the document Id. + + The document. + The Id. + The nominal type of the Id. + The IdGenerator for the Id type. + True if the document has an Id. + + + + Gets a value indicating whether this serializer's discriminator is compatible with the object serializer. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Sets the document Id. + + The document. + The Id. + + + + Tries to get the serialization info for a member. + + Name of the member. + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Represents a mapping to a delegate and its arguments. + + + + + Initializes a new instance of the BsonCreatorMap class. + + The class map. + The member info (null if none). + The delegate. + + + + Gets the arguments. + + + + + Gets the class map that this creator map belongs to. + + + + + Gets the delegeate + + + + + Gets the element names. + + + + + Freezes the creator map. + + + + + Gets whether there is a default value for a missing element. + + The element name. + True if there is a default value for element name; otherwise, false. + + + + Gets the member info (null if none). + + + + + Sets the arguments for the creator map. + + The arguments. + The creator map. + + + + Sets the arguments for the creator map. + + The argument names. + The creator map. + + + + Represents args common to all serializers. + + + + + Gets or sets the nominal type. + + + + + Represents all the contextual information needed by a serializer to deserialize a value. + + + + + Gets a value indicating whether to allow duplicate element names. + + + + + Creates a root context. + + The reader. + The configurator. + + A root context. + + + + + Gets the dynamic array serializer. + + + + + Gets the dynamic document serializer. + + + + + Gets the reader. + + + + + Creates a new context with some values changed. + + The configurator. + + A new context. + + + + + Represents a builder for a BsonDeserializationContext. + + + + + Gets or sets a value indicating whether to allow duplicate element names. + + + + + Gets or sets the dynamic array serializer. + + + + + Gets or sets the dynamic document serializer. + + + + + Gets the reader. + + + + + A class backed by a BsonDocument. + + + + + Initializes a new instance of the class. + + The backing document. + The serializer. + + + + Initializes a new instance of the class. + + The serializer. + + + + Gets the backing document. + + + + + Gets the value from the backing document. + + The member name. + The type of the value. + The value. + + + + Gets the value from the backing document. + + The member name. + The default value. + The type of the value. + The value. + + + + Sets the value in the backing document. + + The member name. + The value. + + + + Represents a serializer for TClass (a subclass of BsonDocumentBackedClass). + + The subclass of BsonDocumentBackedClass. + + + + Initializes a new instance of the class. + + + + + Creates the instance. + + The backing document. + An instance of TClass. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Registers a member. + + The member name. + The element name. + The serializer. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Tries to get the serialization info for a member. + + Name of the member. + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Represents the mapping between a field or property and a BSON element. + + + + + Initializes a new instance of the BsonMemberMap class. + + The class map this member map belongs to. + The member info. + + + + Applies the default value to the member of an object. + + The object. + + + + Gets the class map that this member map belongs to. + + + + + Gets the default value. + + + + + Gets the name of the element. + + + + + Freezes this instance. + + + + + Gets the serializer. + + The serializer. + + + + Gets the getter function. + + + + + Gets the Id generator. + + + + + Gets whether default values should be ignored when serialized. + + + + + Gets whether null values should be ignored when serialized. + + + + + Gets whether a default value was specified. + + + + + Gets whether the member is readonly. + + + + + Gets whether an element is required for this member when deserialized. + + + + + Gets the member info. + + + + + Gets the name of the member. + + + + + Gets the type of the member. + + + + + Gets whether the member type is a BsonValue. + + + + + Gets the serialization order. + + + + + Resets the member map back to its initial state. + + The member map. + + + + Sets the default value creator. + + The default value creator (note: the supplied delegate must be thread safe). + The member map. + + + + Sets the default value. + + The default value. + The member map. + + + + Sets the name of the element. + + The name of the element. + The member map. + + + + Sets the Id generator. + + The Id generator. + The member map. + + + + Sets whether default values should be ignored when serialized. + + Whether default values should be ignored when serialized. + The member map. + + + + Sets whether null values should be ignored when serialized. + + Wether null values should be ignored when serialized. + The member map. + + + + Sets whether an element is required for this member when deserialized + + Whether an element is required for this member when deserialized + The member map. + + + + Sets the serialization order. + + The serialization order. + The member map. + + + + Sets the serializer. + + The serializer. + + The member map. + + serializer + serializer + + + + Sets the method that will be called to determine whether the member should be serialized. + + The method. + The member map. + + + + Gets the setter function. + + + + + Determines whether a value should be serialized + + The object. + The value. + True if the value should be serialized. + + + + Gets the method that will be called to determine whether the member should be serialized. + + + + + Indicates the usage restrictions for the attribute. + + + + + Initializes a new instance of the class. + + + + + Gets or sets a value indicating whether the attribute this attribute applies to is allowed to be applied + to more than one member. + + + + + Provides serializers for BsonValue and its derivations. + + + + + + + MongoDB.Bson.Serialization.BsonObjectModelSerializationProvider + + + + + + + Gets a serializer for a type. + + The type. + The serializer registry. + + A serializer. + + + + + Represents args common to all serializers. + + + + + Initializes a new instance of the struct. + + The nominal type. + Whether to serialize as the nominal type. + Whether to serialize the id first. + + + + Gets or sets the nominal type. + + + + + Gets or sets a value indicating whether to serialize the value as if it were an instance of the nominal type. + + + + + Gets or sets a value indicating whether to serialize the id first. + + + + + Represents all the contextual information needed by a serializer to serialize a value. + + + + + Creates a root context. + + The writer. + The serialization context configurator. + + A root context. + + + + + Gets a function that, when executed, will indicate whether the type + is a dynamic type. + + + + + Creates a new context with some values changed. + + The serialization context configurator. + + A new context. + + + + + Gets the writer. + + + + + Represents a builder for a BsonSerializationContext. + + + + + Gets or sets the function used to determine if a type is a dynamic type. + + + + + Gets the writer. + + + + + Represents the information needed to serialize a member. + + + + + Initializes a new instance of the BsonSerializationInfo class. + + The element name. + The serializer. + The nominal type. + + + + Deserializes the value. + + The value. + A deserialized value. + + + + Gets or sets the dotted element name. + + + + + Merges the new BsonSerializationInfo by taking its properties and concatenating its ElementName. + + The new info. + A new BsonSerializationInfo. + + + + Gets or sets the nominal type. + + + + + Gets or sets the serializer. + + + + + Serializes the value. + + The value. + The serialized value. + + + + Serializes the values. + + The values. + The serialized values. + + + + Creates a new BsonSerializationInfo object using the elementName provided and copying all other attributes. + + Name of the element. + A new BsonSerializationInfo. + + + + Base class for serialization providers. + + + + + + + MongoDB.Bson.Serialization.BsonSerializationProviderBase + + + + + + + Creates the serializer from a serializer type definition and type arguments. + + The serializer type definition. + The type arguments. + A serializer. + + + + Creates the serializer from a serializer type definition and type arguments. + + The serializer type definition. + The type arguments. + The serializer registry. + + A serializer. + + + + + Creates the serializer. + + The serializer type. + A serializer. + + + + Creates the serializer. + + The serializer type. + The serializer registry. + + A serializer. + + + + + Gets a serializer for a type. + + The type. + A serializer. + + + + Gets a serializer for a type. + + The type. + The serializer registry. + + A serializer. + + + + + A static class that represents the BSON serialization functionality. + + + + + Deserializes an object from a BsonDocument. + + The BsonDocument. + The configurator. + The nominal type of the object. + A deserialized value. + + + + Deserializes an object from a BsonDocument. + + The BsonDocument. + The nominal type of the object. + The configurator. + A deserialized value. + + + + Deserializes a value. + + The BsonReader. + The configurator. + The nominal type of the object. + A deserialized value. + + + + Deserializes a value. + + The BsonReader. + The nominal type of the object. + The configurator. + A deserialized value. + + + + Deserializes an object from a BSON byte array. + + The BSON byte array. + The configurator. + The nominal type of the object. + A deserialized value. + + + + Deserializes an object from a BSON byte array. + + The BSON byte array. + The nominal type of the object. + The configurator. + A deserialized value. + + + + Deserializes an object from a BSON Stream. + + The BSON Stream. + The configurator. + The nominal type of the object. + A deserialized value. + + + + Deserializes an object from a BSON Stream. + + The BSON Stream. + The nominal type of the object. + The configurator. + A deserialized value. + + + + Deserializes an object from a JSON TextReader. + + The JSON TextReader. + The configurator. + The nominal type of the object. + A deserialized value. + + + + Deserializes an object from a JSON TextReader. + + The JSON TextReader. + The nominal type of the object. + The configurator. + A deserialized value. + + + + Deserializes an object from a JSON string. + + The JSON string. + The configurator. + The nominal type of the object. + A deserialized value. + + + + Deserializes an object from a JSON string. + + The JSON string. + The nominal type of the object. + The configurator. + A deserialized value. + + + + Returns whether the given type has any discriminators registered for any of its subclasses. + + A Type. + True if the type is discriminated. + + + + Looks up the actual type of an object to be deserialized. + + The nominal type of the object. + The discriminator. + The actual type of the object. + + + + Looks up the discriminator convention for a type. + + The type. + A discriminator convention. + + + + Looks up an IdGenerator. + + The Id type. + An IdGenerator for the Id type. + + + + Looks up a serializer for a Type. + + The type. + A serializer for type T. + + + + Looks up a serializer for a Type. + + The Type. + A serializer for the Type. + + + + Registers the discriminator for a type. + + The type. + The discriminator. + + + + Registers the discriminator convention for a type. + + Type type. + The discriminator convention. + + + + Registers a generic serializer definition for a generic type. + + The generic type. + The generic serializer definition. + + + + Registers an IdGenerator for an Id Type. + + The Id Type. + The IdGenerator for the Id Type. + + + + Registers a serialization provider. + + The serialization provider. + + + + Registers a serializer for a type. + + The serializer. + The type. + + + + Registers a serializer for a type. + + The type. + The serializer. + + + + Serializes a value. + + The BsonWriter. + The nominal type of the object. + The object. + The serialization context configurator. + The serialization args. + + + + Serializes a value. + + The BsonWriter. + The object. + The serialization context configurator. + The serialization args. + The nominal type of the object. + + + + Gets the serializer registry. + + + + + Gets or sets whether to use the NullIdChecker on reference Id types that don't have an IdGenerator registered. + + + + + Gets or sets whether to use the ZeroIdChecker on value Id types that don't have an IdGenerator registered. + + + + + Default, global implementation of an . + + + + + Initializes a new instance of the class. + + + + + Gets the serializer for the specified . + + + + The serializer. + + + + + Gets the serializer for the specified . + + The type. + + The serializer. + + + + + Registers the serialization provider. This behaves like a stack, so the + last provider registered is the first provider consulted. + + The serialization provider. + + + + Registers the serializer. + + The type. + The serializer. + + + + Provides serializers for collections. + + + + + + + MongoDB.Bson.Serialization.CollectionsSerializationProvider + + + + + + + Gets a serializer for a type. + + The type. + The serializer registry. + + A serializer. + + + + + A helper class used to create and compile delegates for creator maps. + + + + + + + MongoDB.Bson.Serialization.CreatorMapDelegateCompiler + + + + + + + Creates and compiles a delegate that calls a constructor. + + The constructor. + A delegate that calls the constructor. + + + + Creates and compiles a delegate from a lambda expression. + + The lambda expression. + The arguments for the delegate's parameters. + The type of the class. + A delegate. + + + + Creates and compiles a delegate that calls a factory method. + + the method. + A delegate that calls the factory method. + + + + Visits a MemberExpression. + + The MemberExpression. + The MemberExpression (possibly modified). + + + + Visits a ParameterExpression. + + The ParameterExpression. + The ParameterExpression (possibly modified). + + + + Provides a serializer for interfaces. + + + + + + + MongoDB.Bson.Serialization.DiscriminatedInterfaceSerializationProvider + + + + + + + Gets a serializer for a type. + + The type. + The serializer registry. + + A serializer. + + + + + An abstract base class for an Expression visitor. + + + + + Initializes a new instance of the ExpressionVisitor class. + + + + + Visits an Expression list. + + The Expression list. + The Expression list (possibly modified). + + + + Visits an Expression. + + The Expression. + The Expression (posibly modified). + + + + Visits a BinaryExpression. + + The BinaryExpression. + The BinaryExpression (possibly modified). + + + + Visits a ConditionalExpression. + + The ConditionalExpression. + The ConditionalExpression (possibly modified). + + + + Visits a ConstantExpression. + + The ConstantExpression. + The ConstantExpression (possibly modified). + + + + Visits an ElementInit. + + The ElementInit. + The ElementInit (possibly modified). + + + + Visits an ElementInit list. + + The ElementInit list. + The ElementInit list (possibly modified). + + + + Visits an InvocationExpression. + + The InvocationExpression. + The InvocationExpression (possibly modified). + + + + Visits a LambdaExpression. + + The LambdaExpression. + The LambdaExpression (possibly modified). + + + + Visits a ListInitExpression. + + The ListInitExpression. + The ListInitExpression (possibly modified). + + + + Visits a MemberExpression. + + The MemberExpression. + The MemberExpression (possibly modified). + + + + Visits a MemberAssignment. + + The MemberAssignment. + The MemberAssignment (possibly modified). + + + + Visits a MemberBinding. + + The MemberBinding. + The MemberBinding (possibly modified). + + + + Visits a MemberBinding list. + + The MemberBinding list. + The MemberBinding list (possibly modified). + + + + Visits a MemberInitExpression. + + The MemberInitExpression. + The MemberInitExpression (possibly modified). + + + + Visits a MemberListBinding. + + The MemberListBinding. + The MemberListBinding (possibly modified). + + + + Visits a MemberMemberBinding. + + The MemberMemberBinding. + The MemberMemberBinding (possibly modified). + + + + Visits a MethodCallExpression. + + The MethodCallExpression. + The MethodCallExpression (possibly modified). + + + + Visits a NewExpression. + + The NewExpression. + The NewExpression (possibly modified). + + + + Visits a NewArrayExpression. + + The NewArrayExpression. + The NewArrayExpression (possibly modified). + + + + Visits a ParameterExpression. + + The ParameterExpression. + The ParameterExpression (possibly modified). + + + + Visits a TypeBinaryExpression. + + The TypeBinaryExpression. + The TypeBinaryExpression (possibly modified). + + + + Visits a UnaryExpression. + + The UnaryExpression. + The UnaryExpression (possibly modified). + + + + Contract for serializers to implement if they serialize an array of items. + + + + + Tries to get the serialization info for the individual items of the array. + + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Represents an attribute used to modify a class map. + + + + + Applies the attribute to the class map. + + The class map. + + + + Represents an attribute used to modify a creator map. + + + + + Applies the attribute to the creator map. + + The creator map. + + + + Represents a dictionary serializer that can be used in LINQ queries. + + + + + Gets the dictionary representation. + + + + + Gets the key serializer. + + + + + Gets the value serializer. + + + + + Contract for composite serializers that contain a number of named serializers. + + + + + Tries to get the serialization info for a member. + + Name of the member. + The serialization information. + + true if the serialization info exists; otherwise false. + + + + Contract for serializers that can get and set Id values. + + + + + Gets the document Id. + + The document. + The Id. + The nominal type of the Id. + The IdGenerator for the Id type. + True if the document has an Id. + + + + Sets the document Id. + + The document. + The Id. + + + + Represents an attribute used to modify a member map. + + + + + Applies the attribute to the member map. + + The member map. + + + + An interface implemented by a polymorphic serializer. + + + + + Gets a value indicating whether this serializer's discriminator is compatible with the object serializer. + + + + + Represents an attribute used to post process a class map. + + + + + Applies the post processing attribute to the class map. + + The class map. + + + + An interface implemented by serialization providers. + + + + + Gets a serializer for a type. + + The type. + A serializer. + + + + An interface implemented by a serializer. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Gets the type of the value. + + + + + An interface implemented by a serializer for values of type TValue. + + The type that this serializer knows how to serialize. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Extensions methods for IBsonSerializer. + + + + + Deserializes a value. + + The serializer. + The deserialization context. + A deserialized value. + + + + Deserializes a value. + + The serializer. + The deserialization context. + The type that this serializer knows how to serialize. + A deserialized value. + + + + Serializes a value. + + The serializer. + The serialization context. + The value. + + + + Serializes a value. + + The serializer. + The serialization context. + The value. + The type that this serializer knows how to serialize. + + + + Converts a value to a BsonValue by serializing it. + + The serializer. + The value. + The serialized value. + + + + Converts a value to a BsonValue by serializing it. + + The serializer. + The value. + The type of the value. + The serialized value. + + + + A serializer registry. + + + + + Gets the serializer for the specified . + + + The serializer. + + + + Gets the serializer for the specified . + + The type. + The serializer. + + + + Represents a serializer that has a child serializer that configuration attributes can be forwarded to. + + + + + Gets the child serializer. + + + + + Returns a serializer that has been reconfigured with the specified child serializer. + + The child serializer. + The reconfigured serializer. + + + + Represents a serializer that has a DictionaryRepresentation property. + + + + + Gets the dictionary representation. + + + + + Returns a serializer that has been reconfigured with the specified dictionary representation. + + The dictionary representation. + The reconfigured serializer. + + + + Represents a serializer that has a DictionaryRepresentation property. + + The type of the serializer. + + + + Returns a serializer that has been reconfigured with the specified dictionary representation. + + The dictionary representation. + The reconfigured serializer. + + + + An interface implemented by Id generators. + + + + + Generates an Id for a document. + + The container of the document (will be a MongoCollection when called from the C# driver). + The document. + An Id. + + + + Tests whether an Id is empty. + + The Id. + True if the Id is empty. + + + + An interface implemented by serialization providers that are aware of registries. + + + + + Gets a serializer for a type. + + The type. + The serializer registry. + + A serializer. + + + + + Represents a serializer that has a Representation property. + + + + + Gets the representation. + + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer that has a Representation property. + + The type of the serializer. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer that has a representation converter. + + + + + Gets the converter. + + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The converter. + The reconfigured serializer. + + + + Represents a serializer that has a representation converter. + + The type of the serializer. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The converter. + The reconfigured serializer. + + + + Provides serializers for primitive types. + + + + + + + MongoDB.Bson.Serialization.PrimitiveSerializationProvider + + + + + + + Gets a serializer for a type. + + The type. + The serializer registry. + + A serializer. + + + + + Represents a serialization provider based on a mapping from value types to serializer types. + + + + + Initializes a new instance of the class. + + + + + Gets a serializer for a type. + + The type. + The serializer registry. + + A serializer. + + + + + Registers the serializer mapping. + + The type. + Type of the serializer. + + + + Supports using type names as discriminators. + + + + + Resolves a type name discriminator. + + The type name. + The type if type type name can be resolved; otherwise, null. + + + + Gets a type name to be used as a discriminator (like AssemblyQualifiedName but shortened for common DLLs). + + The type. + The type name. + + + + Specifies that this constructor should be used for creator-based deserialization. + + + + + Initializes a new instance of the BsonConstructorAttribute class. + + + + + Initializes a new instance of the BsonConstructorAttribute class. + + The names of the members that the creator argument values come from. + + + + Applies a modification to the creator map. + + The creator map. + + + + Gets the names of the members that the creator arguments values come from. + + + + + Specifies serialization options for a DateTime field or property. + + + + + Initializes a new instance of the BsonDateTimeOptionsAttribute class. + + + + + Reconfigures the specified serializer by applying this attribute to it. + + The serializer. + A reconfigured serializer. + + + + Gets or sets whether the DateTime consists of a Date only. + + + + + Gets or sets the DateTimeKind (Local, Unspecified or Utc). + + + + + Gets or sets the external representation. + + + + + Specifies the default value for a field or property. + + + + + Initializes a new instance of the BsonDefaultValueAttribute class. + + The default value. + + + + Applies a modification to the member map. + + The member map. + + + + Gets the default value. + + + + + Gets or sets whether to serialize the default value. + + + + + Specifies serialization options for a Dictionary field or property. + + + + + Initializes a new instance of the BsonDictionaryOptionsAttribute class. + + + + + Initializes a new instance of the BsonDictionaryOptionsAttribute class. + + The representation to use for the Dictionary. + + + + Reconfigures the specified serializer by applying this attribute to it. + + The serializer. + A reconfigured serializer. + + + + Gets or sets the external representation. + + + + + Specifies the discriminator and related options for a class. + + + + + Initializes a new instance of the BsonDiscriminatorAttribute class. + + + + + Initializes a new instance of the BsonDiscriminatorAttribute class. + + The discriminator. + + + + Applies a modification to the class map. + + The class map. + + + + Gets the discriminator. + + + + + Gets or sets whether the discriminator is required. + + + + + Gets or sets whether this is a root class. + + + + + Specifies the element name and related options for a field or property. + + + + + Initializes a new instance of the BsonElementAttribute class. + + + + + Initializes a new instance of the BsonElementAttribute class. + + The name of the element. + + + + Applies a modification to the member map. + + The member map. + + + + Gets the element name. + + + + + Gets the element serialization order. + + + + + Indicates that this property or field will be used to hold any extra elements found during deserialization. + + + + + + + MongoDB.Bson.Serialization.Attributes.BsonExtraElementsAttribute + + + + + + + Applies a modification to the member map. + + The member map. + + + + Specifies that this factory method should be used for creator-based deserialization. + + + + + Initializes a new instance of the BsonFactoryMethodAttribute class. + + + + + Initializes a new instance of the BsonFactoryMethodAttribute class. + + The names of the members that the creator argument values come from. + + + + Applies a modification to the creator map. + + The creator map. + + + + Gets the names of the members that the creator arguments values come from. + + + + + Specifies that this is the Id field or property. + + + + + Initializes a new instance of the BsonIdAttribute class. + + + + + Applies a modification to the member map. + + The member map. + + + + Gets or sets the Id generator for the Id. + + + + + Gets or sets the Id element serialization order. + + + + + Indicates that this field or property should be ignored when this class is serialized. + + + + + + + MongoDB.Bson.Serialization.Attributes.BsonIgnoreAttribute + + + + + + + Specifies whether extra elements should be ignored when this class is deserialized. + + + + + Initializes a new instance of the BsonIgnoreExtraElementsAttribute class. + + + + + Initializes a new instance of the BsonIgnoreExtraElementsAttribute class. + + Whether extra elements should be ignored when this class is deserialized. + + + + Applies a modification to the class map. + + The class map. + + + + Gets whether extra elements should be ignored when this class is deserialized. + + + + + Gets whether extra elements should also be ignored when any class derived from this one is deserialized. + + + + + Indicates whether a field or property equal to the default value should be ignored when serializing this class. + + + + + Initializes a new instance of the BsonIgnoreIfDefaultAttribute class. + + + + + Initializes a new instance of the BsonIgnoreIfDefaultAttribute class. + + Whether a field or property equal to the default value should be ignored when serializing this class. + + + + Applies a modification to the member map. + + The member map. + + + + Gets whether a field or property equal to the default value should be ignored when serializing this class. + + + + + Indicates whether a field or property equal to null should be ignored when serializing this class. + + + + + Initializes a new instance of the BsonIgnoreIfNullAttribute class. + + + + + Initializes a new instance of the BsonIgnoreIfNullAttribute class. + + Whether a field or property equal to null should be ignored when serializing this class. + + + + Applies a modification to the member map. + + The member map. + + + + Gets whether a field or property equal to null should be ignored when serializing this class. + + + + + Specifies the known types for this class (the derived classes). + + + + + Initializes a new instance of the BsonKnownTypesAttribute class. + + A known types. + + + + Initializes a new instance of the BsonKnownTypesAttribute class. + + One or more known types. + + + + Applies a modification to the class map. + + The class map. + + + + Gets a list of the known types. + + + + + Specifies that the class's IdMember should be null. + + + + + + + MongoDB.Bson.Serialization.Attributes.BsonNoIdAttribute + + + + + + + Applies the post processing attribute to the class map. + + The class map. + + + + Specifies the external representation and related options for this field or property. + + + + + Initializes a new instance of the BsonRepresentationAttribute class. + + The external representation. + + + + Gets or sets whether to allow overflow. + + + + + Gets or sets whether to allow truncation. + + + + + Reconfigures the specified serializer by applying this attribute to it. + + The serializer. + A reconfigured serializer. + + + + Gets the external representation. + + + + + Indicates that a field or property is required. + + + + + + + MongoDB.Bson.Serialization.Attributes.BsonRequiredAttribute + + + + + + + Applies a modification to the member map. + + The member map. + + + + Abstract base class for serialization options attributes. + + + + + Initializes a new instance of the BsonSerializationOptionsAttribute class. + + + + + Applies a modification to the member map. + + The member map. + + + + Reconfigures the specified serializer by applying this attribute to it. + + The serializer. + A reconfigured serializer. + + + + + Specifies the type of the serializer to use for a class. + + + + + Initializes a new instance of the BsonSerializerAttribute class. + + + + + Initializes a new instance of the BsonSerializerAttribute class. + + The type of the serializer to use for a class. + + + + Applies a modification to the member map. + + The member map. + + + + Gets or sets the type of the serializer to use for a class. + + + + + Specifies the external representation and related options for this field or property. + + + + + Initializes a new instance of the BsonTimeSpanOptionsAttribute class. + + The external representation. + + + + Initializes a new instance of the BsonTimeSpanOptionsAttribute class. + + The external representation. + The TimeSpanUnits. + + + + Reconfigures the specified serializer by applying this attribute to it. + + The serializer. + A reconfigured serializer. + + + + Gets the external representation. + + + + + Gets or sets the TimeSpanUnits. + + + + + Convention pack for applying attributes. + + + + + Gets the conventions. + + + + + Gets the instance. + + + + + A convention that sets the element name the same as the member name with the first character lower cased. + + + + + + + MongoDB.Bson.Serialization.Conventions.CamelCaseElementNameConvention + + + + + + + Applies a modification to the member map. + + The member map. + + + + Base class for a convention. + + + + + Initializes a new instance of the ConventionBase class. + + + + + Initializes a new instance of the ConventionBase class. + + The name of the convention. + + + + Gets the name of the convention. + + + + + A mutable pack of conventions. + + + + + Initializes a new instance of the class. + + + + + Adds the specified convention. + + The convention. + + + + + Adds a class map convention created using the specified action upon a class map. + + The name of the convention. + The action the convention should take upon the class map. + + + + Adds a member map convention created using the specified action upon a member map. + + The name of the convention. + The action the convention should take upon the member map. + + + + Adds a post processing convention created using the specified action upon a class map. + + The name of the convention. + The action the convention should take upon the class map. + + + + Adds a range of conventions. + + The conventions. + + + + + Appends the conventions in another pack to the end of this pack. + + The other pack. + + + + Gets the conventions. + + + + + Gets an enumerator for the conventions. + + An enumerator. + + + + Inserts the convention after another convention specified by the name. + + The name. + The convention. + + + + Inserts the convention before another convention specified by the name. + + The name. + The convention. + + + + Removes the named convention. + + The name of the convention. + + + + Represents a registry of conventions. + + + + + Looks up the effective set of conventions that apply to a type. + + The type. + The conventions for that type. + + + + Registers the conventions. + + The name. + The conventions. + The filter. + + + + Removes the conventions specified by the given name. + + The name. + + + + Runs the conventions against a BsonClassMap and its BsonMemberMaps. + + + + + Initializes a new instance of the class. + + The conventions. + + + + Applies a modification to the class map. + + The class map. + + + + Convention pack of defaults. + + + + + Gets the conventions. + + + + + Gets the instance. + + + + + A class map convention that wraps a delegate. + + + + + Initializes a new instance of the class. + + The name. + The delegate. + + + + Applies a modification to the class map. + + The class map. + + + + A member map convention that wraps a delegate. + + + + + Initializes a new instance of the class. + + The name. + The delegate. + + + + Applies a modification to the member map. + + The member map. + + + + A post processing convention that wraps a delegate. + + + + + Initializes a new instance of the class. + + The name. + The delegate. + + + + Applies a post processing modification to the class map. + + The class map. + + + + A convention that allows you to set the Enum serialization representation + + + + + Initializes a new instance of the class. + + The serialization representation. 0 is used to detect representation + from the enum itself. + + + + Applies a modification to the member map. + + The member map. + + + + Gets the representation. + + + + + Represents a discriminator convention where the discriminator is an array of all the discriminators provided by the class maps of the root class down to the actual type. + + + + + Initializes a new instance of the HierarchicalDiscriminatorConvention class. + + The element name. + + + + Gets the discriminator value for an actual type. + + The nominal type. + The actual type. + The discriminator value. + + + + Represents a convention that applies to a BsonClassMap. + + + + + Applies a modification to the class map. + + The class map. + + + + Represents a convention. + + + + + Gets the name of the convention. + + + + + Represents a grouping of conventions. + + + + + Gets the conventions. + + + + + Represents a convention that applies to a BsonCreatorMap. + + + + + Applies a modification to the creator map. + + The creator map. + + + + Represents a discriminator convention. + + + + + Gets the discriminator element name. + + + + + Gets the actual type of an object by reading the discriminator from a BsonReader. + + The reader. + The nominal type. + The actual type. + + + + Gets the discriminator value for an actual type. + + The nominal type. + The actual type. + The discriminator value. + + + + A convention that sets whether to ignore extra elements encountered during deserialization. + + + + + Initializes a new instance of the class. + + Whether to ignore extra elements encountered during deserialization. + + + + Applies a modification to the class map. + + The class map. + + + + A convention that sets whether to ignore default values during serialization. + + + + + Initializes a new instance of the class. + + Whether to ignore default values during serialization. + + + + Applies a modification to the member map. + + The member map. + + + + A convention that sets whether to ignore nulls during serialization. + + + + + Initializes a new instance of the class. + + Whether to ignore nulls during serialization. + + + + Applies a modification to the member map. + + The member map. + + + + Represents a convention that applies to a BsonMemberMap. + + + + + Applies a modification to the member map. + + The member map. + + + + Maps a fully immutable type. This will include anonymous types. + + + + + + + MongoDB.Bson.Serialization.Conventions.ImmutableTypeClassMapConvention + + + + + + + Applies a modification to the class map. + + The class map. + + + + Represents a post processing convention that applies to a BsonClassMap. + + + + + Applies a post processing modification to the class map. + + The class map. + + + + A convention that looks up an id generator for the id member. + + + + + + + MongoDB.Bson.Serialization.Conventions.LookupIdGeneratorConvention + + + + + + + Applies a post processing modification to the class map. + + The class map. + + + + A convention that sets the default value for members of a given type. + + + + + Initializes a new instance of the class. + + The type of the member. + The default value for members of this type. + + + + Applies a modification to the member map. + + The member map. + + + + A convention that sets the element name the same as the member name. + + + + + + + MongoDB.Bson.Serialization.Conventions.MemberNameElementNameConvention + + + + + + + Applies a modification to the member map. + + The member map. + + + + A convention that finds the extra elements member by name (and that is also of type or ). + + + + + Initializes a new instance of the class. + + The names. + + + + Initializes a new instance of the class. + + The names. + The binding flags. + + + + Initializes a new instance of the class. + + The names. + The member types. + + + + Initializes a new instance of the class. + + The names. + The member types. + The binding flags. + + + + + Initializes a new instance of the NamedExtraElementsMemberConvention class. + + The name of the extra elements member. + + + + Applies a modification to the class map. + + The class map. + + + + A convention that finds the id member by name. + + + + + Initializes a new instance of the class. + + The names. + + + + Initializes a new instance of the class. + + The names. + The binding flags. + + + + Initializes a new instance of the class. + + The names. + The member types. + + + + Initializes a new instance of the class. + + The names. + The member types. + The binding flags. + + + + + Initializes a new instance of the class. + + The names. + + + + Applies a modification to the class map. + + The class map. + + + + A convention that uses the names of the creator parameters to find the matching members. + + + + + + + MongoDB.Bson.Serialization.Conventions.NamedParameterCreatorMapConvention + + + + + + + Applies a modification to the creator map. + + The creator map. + + + + A convention that sets a class's IdMember to null. + + + + + + + MongoDB.Bson.Serialization.Conventions.NoIdMemberConvention + + + + + + + Applies a post processing modification to the class map. + + The class map. + + + + Represents the object discriminator convention. + + + + + Initializes a new instance of the ObjectDiscriminatorConvention class. + + The element name. + + + + Gets the discriminator element name. + + + + + Gets the actual type of an object by reading the discriminator from a BsonReader. + + The reader. + The nominal type. + The actual type. + + + + Gets the discriminator value for an actual type. + + The nominal type. + The actual type. + The discriminator value. + + + + Gets an instance of the ObjectDiscriminatorConvention. + + + + + A convention that finds readable and writeable members and adds them to the class map. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The binding flags. + + + + Initializes a new instance of the class. + + The member types. + + + + Initializes a new instance of the class. + + The member types. + The binding flags. + + + + Applies a modification to the class map. + + The class map. + + + + A convention that resets a class map (resetting any changes that earlier conventions may have applied). + + + + + + + MongoDB.Bson.Serialization.Conventions.ResetClassMapConvention + + + + + + + Applies a modification to the class map. + + The class map. + + + + A convention that resets class members (resetting any changes that earlier conventions may have applied). + + + + + + + MongoDB.Bson.Serialization.Conventions.ResetMemberMapsConvention + + + + + + + Applies a modification to the member map. + + The member map. + + + + Represents a discriminator convention where the discriminator is provided by the class map of the actual type. + + + + + Initializes a new instance of the ScalarDiscriminatorConvention class. + + The element name. + + + + Gets the discriminator value for an actual type. + + The nominal type. + The actual type. + The discriminator value. + + + + Represents the standard discriminator conventions (see ScalarDiscriminatorConvention and HierarchicalDiscriminatorConvention). + + + + + Initializes a new instance of the StandardDiscriminatorConvention class. + + The element name. + + + + Gets the discriminator element name. + + + + + Gets the actual type of an object by reading the discriminator from a BsonReader. + + The reader. + The nominal type. + The actual type. + + + + Gets the discriminator value for an actual type. + + The nominal type. + The actual type. + The discriminator value. + + + + Gets an instance of the HierarchicalDiscriminatorConvention. + + + + + Gets an instance of the ScalarDiscriminatorConvention. + + + + + A convention that sets the id generator for a string member with a BSON representation of ObjectId. + + + + + + + MongoDB.Bson.Serialization.Conventions.StringObjectIdIdGeneratorConvention + + + + + + + Applies a post processing modification to the class map. + + The class map. + + + + A GUID generator that generates GUIDs in ascending order. To enable + an index to make use of the ascending nature make sure to use + GuidRepresentation.Standard + as the storage representation. + Internally the GUID is of the form + 8 bytes: Ticks from DateTime.UtcNow.Ticks + 3 bytes: hash of machine name + 2 bytes: low order bytes of process Id + 3 bytes: increment + + + + + + + MongoDB.Bson.Serialization.IdGenerators.AscendingGuidGenerator + + + + + + + Generates a Guid for a document. Note - this is purely used for + unit testing + + The time portion of the Guid + A 5 byte array with the first 3 bytes + representing a machine id and the next 2 representing a process + id + The increment portion of the Guid. Used + to distinguish between 2 Guids that have the timestamp. Note + only the least significant 3 bytes are used. + A Guid. + + + + Generates an ascending Guid for a document. Consecutive invocations + should generate Guids that are ascending from a MongoDB perspective + + The container of the document (will be a + MongoCollection when called from the driver). + The document it was generated for. + A Guid. + + + + Gets an instance of AscendingGuidGenerator. + + + + + Tests whether an id is empty. + + The id to test. + True if the Id is empty. False otherwise + + + + Represents an Id generator for Guids stored in BsonBinaryData values. + + + + + Initializes a new instance of the BsonBinaryDataGuidGenerator class. + + The GuidRepresentation to use when generating new Id values. + + + + Gets an instance of BsonBinaryDataGuidGenerator for CSharpLegacy GuidRepresentation. + + + + + Generates an Id for a document. + + The container of the document (will be a MongoCollection when called from the C# driver). + The document. + An Id. + + + + Gets the instance of BsonBinaryDataGuidGenerator for a GuidRepresentation. + + The GuidRepresentation. + The instance of BsonBinaryDataGuidGenerator for a GuidRepresentation. + + + + Tests whether an Id is empty. + + The Id. + True if the Id is empty. + + + + Gets an instance of BsonBinaryDataGuidGenerator for JavaLegacy GuidRepresentation. + + + + + Gets an instance of BsonBinaryDataGuidGenerator for PythonLegacy GuidRepresentation. + + + + + Gets an instance of BsonBinaryDataGuidGenerator for Standard GuidRepresentation. + + + + + Gets an instance of BsonBinaryDataGuidGenerator for Unspecifed GuidRepresentation. + + + + + Represents an Id generator for BsonObjectIds. + + + + + Initializes a new instance of the BsonObjectIdGenerator class. + + + + + Generates an Id for a document. + + The container of the document (will be a MongoCollection when called from the C# driver). + The document. + An Id. + + + + Gets an instance of ObjectIdGenerator. + + + + + Tests whether an Id is empty. + + The Id. + True if the Id is empty. + + + + Represents an Id generator for Guids using the COMB algorithm. + + + + + Initializes a new instance of the CombGuidGenerator class. + + + + + Generates an Id for a document. + + The container of the document (will be a MongoCollection when called from the C# driver). + The document. + An Id. + + + + Gets an instance of CombGuidGenerator. + + + + + Tests whether an Id is empty. + + The Id. + True if the Id is empty. + + + + Create a new CombGuid from a given Guid and timestamp. + + The base Guid. + The timestamp. + A new CombGuid created by combining the base Guid with the timestamp. + + + + Represents an Id generator for Guids. + + + + + Initializes a new instance of the GuidGenerator class. + + + + + Generates an Id for a document. + + The container of the document (will be a MongoCollection when called from the C# driver). + The document. + An Id. + + + + Gets an instance of GuidGenerator. + + + + + Tests whether an Id is empty. + + The Id. + True if the Id is empty. + + + + Represents an Id generator that only checks that the Id is not null. + + + + + Initializes a new instance of the NullIdChecker class. + + + + + Generates an Id for a document. + + The container of the document (will be a MongoCollection when called from the C# driver). + The document. + An Id. + + + + Gets an instance of NullIdChecker. + + + + + Tests whether an Id is empty. + + The Id. + True if the Id is empty. + + + + Represents an Id generator for ObjectIds. + + + + + Initializes a new instance of the ObjectIdGenerator class. + + + + + Generates an Id for a document. + + The container of the document (will be a MongoCollection when called from the C# driver). + The document. + An Id. + + + + Gets an instance of ObjectIdGenerator. + + + + + Tests whether an Id is empty. + + The Id. + True if the Id is empty. + + + + Represents an Id generator for ObjectIds represented internally as strings. + + + + + Initializes a new instance of the StringObjectIdGenerator class. + + + + + Generates an Id for a document. + + The container of the document (will be a MongoCollection when called from the C# driver). + The document. + An Id. + + + + Gets an instance of StringObjectIdGenerator. + + + + + Tests whether an Id is empty. + + The Id. + True if the Id is empty. + + + + Represents an Id generator that only checks that the Id is not all zeros. + + The type of the Id. + + + + Initializes a new instance of the ZeroIdChecker class. + + + + + Generates an Id for a document. + + The container of the document (will be a MongoCollection when called from the C# driver). + The document. + An Id. + + + + Tests whether an Id is empty. + + The Id. + True if the Id is empty. + + + + Represents the representation to use for dictionaries. + + + + + Represent the dictionary as a Document. + + + + + Represent the dictionary as an array of arrays. + + + + + Represent the dictionary as an array of documents. + + + + + Represents the external representation of a field or property. + + + + + Initializes a new instance of the RepresentationConverter class. + + Whether to allow overflow. + Whether to allow truncation. + + + + Gets whether to allow overflow. + + + + + Gets whether to allow truncation. + + + + + Converts a Decimal128 to a Decimal. + + A Decimal128. + A Decimal. + + + + Converts a Double to a Decimal. + + A Double. + A Decimal. + + + + Converts an Int32 to a Decimal. + + An Int32. + A Decimal. + + + + Converts an Int64 to a Decimal. + + An Int64. + A Decimal. + + + + Converts a decimal to a Decimal128. + + A decimal. + A Decimal128. + + + + Converts a Double to a Decimal128. + + A Double. + A Decimal128. + + + + Converts an Int32 to a Decimal128. + + An Int32. + A Decimal128. + + + + Converts an Int64 to a Decimal128. + + An Int64. + A Decimal128. + + + + Converts a UInt64 to a Decimal128. + + A UInt64. + A Decimal128. + + + + Converts a Decimal128 to a Double. + + A Decimal. + A Double. + + + + Converts a Decimal to a Double. + + A Decimal. + A Double. + + + + Converts a Double to a Double. + + A Double. + A Double. + + + + Converts an Int16 to a Double. + + An Int16. + A Double. + + + + Converts an Int32 to a Double. + + An Int32. + A Double. + + + + Converts an Int64 to a Double. + + An Int64. + A Double. + + + + Converts a Single to a Double. + + A Single. + A Double. + + + + Converts a UInt16 to a Double. + + A UInt16. + A Double. + + + + Converts a UInt32 to a Double. + + A UInt32. + A Double. + + + + Converts a UInt64 to a Double. + + A UInt64. + A Double. + + + + Converts a Decimal128 to an Int16. + + A Decimal128. + An Int16. + + + + Converts a Double to an Int16. + + A Double. + An Int16. + + + + Converts an Int32 to an Int16. + + An Int32. + An Int16. + + + + Converts an Int64 to an Int16. + + An Int64. + An Int16. + + + + Converts a Decimal128 to an Int32. + + A Decimal128. + An Int32. + + + + Converts a Decimal to an Int32. + + A Decimal. + An Int32. + + + + Converts a Double to an Int32. + + A Double. + An Int32. + + + + Converts an Int16 to an Int32. + + An Int16. + An Int32. + + + + Converts an Int32 to an Int32. + + An Int32. + An Int32. + + + + Converts an Int64 to an Int32. + + An Int64. + An Int32. + + + + Converts a Single to an Int32. + + A Single. + An Int32. + + + + Converts a UInt16 to an Int32. + + A UInt16. + An Int32. + + + + Converts a UInt32 to an Int32. + + A UInt32. + An Int32. + + + + Converts a UInt64 to an Int32. + + A UInt64. + An Int32. + + + + Converts a Decimal128 to an Int64. + + A Decimal128. + An Int64. + + + + Converts a Decimal to an Int64. + + A Decimal. + An Int64. + + + + Converts a Double to an Int64. + + A Double. + An Int64. + + + + Converts an Int16 to an Int64. + + An Int16. + An Int64. + + + + Converts an Int32 to an Int64. + + An Int32. + An Int64. + + + + Converts an Int64 to an Int64. + + An Int64. + An Int64. + + + + Converts a Single to an Int64. + + A Single. + An Int64. + + + + Converts a UInt16 to an Int64. + + A UInt16. + An Int64. + + + + Converts a UInt32 to an Int64. + + A UInt32. + An Int64. + + + + Converts a UInt64 to an Int64. + + A UInt64. + An Int64. + + + + Converts a Decimal128 to a Single. + + A Decimal128. + A Single. + + + + Converts a Double to a Single. + + A Double. + A Single. + + + + Converts an Int32 to a Single. + + An Int32. + A Single. + + + + Converts an Int64 to a Single. + + An Int64. + A Single. + + + + Converts a Decimal128 to a UInt16. + + A Decimal128. + A UInt16. + + + + Converts a Double to a UInt16. + + A Double. + A UInt16. + + + + Converts an Int32 to a UInt16. + + An Int32. + A UInt16. + + + + Converts an Int64 to a UInt16. + + An Int64. + A UInt16. + + + + Converts a Decimal128 to a UInt32. + + A Decimal128. + A UInt32. + + + + Converts a Double to a UInt32. + + A Double. + A UInt32. + + + + Converts an Int32 to a UInt32. + + An Int32. + A UInt32. + + + + Converts an Int64 to a UInt32. + + An Int64. + A UInt32. + + + + Converts a Decimal128 to a UInt64. + + A Decimal128. + A UInt64. + + + + Converts a Double to a UInt64. + + A Double. + A UInt64. + + + + Converts an Int32 to a UInt64. + + An Int32. + A UInt64. + + + + Converts an Int64 to a UInt64. + + An Int64. + A UInt64. + + + + Represents the units a TimeSpan is serialized in. + + + + + Use ticks as the units. + + + + + Use days as the units. + + + + + Use hours as the units. + + + + + Use minutes as the units. + + + + + Use seconds as the units. + + + + + Use milliseconds as the units. + + + + + Use microseconds as the units. + + + + + Use nanoseconds as the units. + + + + + Represents a serializer for an abstract class. + + The type of the class. + + + + + + MongoDB.Bson.Serialization.Serializers.AbstractClassSerializer`1 + + + + + + + Represents a serializer for one-dimensional arrays. + + The type of the elements. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Adds the item. + + The accumulator. + The item. + + + + Creates the accumulator. + + The accumulator. + + + + Enumerates the items in serialization order. + + The value. + The items. + + + + Finalizes the result. + + The accumulator. + The result. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The item serializer. + The reconfigured serializer. + + + + Represents a serializer for BitArrays. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the representation. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for Booleans. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the representation. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for BsonArrays. + + + + + Initializes a new instance of the BsonArraySerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets an instance of the BsonArraySerializer class. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Tries to get the serialization info for the individual items of the array. + + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Represents a serializer for BsonBinaryDatas. + + + + + Initializes a new instance of the BsonBinaryDataSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets an instance of the BsonBinaryDataSerializer class. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonBooleans. + + + + + Initializes a new instance of the BsonBooleanSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets an instance of the BsonBooleanSerializer class. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonDateTimes. + + + + + Initializes a new instance of the BsonDateTimeSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets an instance of the BsonDateTimeSerializer class. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonDecimal128s. + + + + + Initializes a new instance of the BsonBooleanSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets an instance of the BsonBooleanSerializer class. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonDocuments. + + + + + Initializes a new instance of the BsonDocumentSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the document Id. + + The document. + The Id. + The nominal type of the Id. + The IdGenerator for the Id type. + True if the document has an Id. + + + + Gets an instance of the BsonDocumentSerializer class. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Sets the document Id. + + The document. + The Id. + + + + Tries to get the serialization info for a member. + + Name of the member. + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Represents a serializer for BsonDocumentWrappers. + + + + + Initializes a new instance of the BsonDocumentWrapperSerializer class. + + + + + Deserializes a class. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Deserializes a class. + + The deserialization context. + The deserialization args. + An object. + + + + Gets an instance of the BsonDocumentWrapperSerializer class. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonDoubles. + + + + + Initializes a new instance of the BsonDoubleSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets an instance of the BsonDoubleSerializer class. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonInt32s. + + + + + Initializes a new instance of the BsonInt32Serializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets an instance of the BsonInt32Serializer class. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonInt64s. + + + + + Initializes a new instance of the BsonInt64Serializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets an instance of the BsonInt64Serializer class. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonJavaScripts. + + + + + Initializes a new instance of the BsonJavaScriptSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets an instance of the BsonJavaScriptSerializer class. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonJavaScriptWithScopes. + + + + + Initializes a new instance of the BsonJavaScriptWithScopeSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets an instance of the BsonJavaScriptWithScopeSerializer class. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonMaxKeys. + + + + + Initializes a new instance of the BsonMaxKeySerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets an instance of the BsonMaxKeySerializer class. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonMinKeys. + + + + + Initializes a new instance of the BsonMinKeySerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets an instance of the BsonMinKeySerializer class. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonNulls. + + + + + Initializes a new instance of the BsonNullSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets an instance of the BsonNullSerializer class. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonObjectIds. + + + + + Initializes a new instance of the BsonObjectIdSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets an instance of the BsonObjectIdSerializer class. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonRegularExpressions. + + + + + Initializes a new instance of the BsonRegularExpressionSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets an instance of the BsonRegularExpressionSerializer class. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonStrings. + + + + + Initializes a new instance of the BsonStringSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets an instance of the BsonStringSerializer class. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonSymbols. + + + + + Initializes a new instance of the BsonSymbolSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets an instance of the BsonSymbolSerializer class. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonTimestamps. + + + + + Initializes a new instance of the BsonTimestampSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets an instance of the BsonTimestampSerializer class. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonUndefineds. + + + + + Initializes a new instance of the BsonUndefinedSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets an instance of the BsonUndefinedSerializer class. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for a BsonValue that can round trip C# null and implements IBsonArraySerializer and IBsonDocumentSerializer. + + The type of the bson value. + + + + Initializes a new instance of the class. + + The wrapped serializer. + + + + Tries to get the serialization info for the individual items of the array. + + The serialization information. + + The serialization info for the items. + + + + + Tries to get the serialization info for a member. + + Name of the member. + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Represents a serializer for a BsonValue that can round trip C# null and implements IBsonArraySerializer. + + The type of the bson value. + + + + Initializes a new instance of the class. + + The wrapped serializer. + + + + Tries to get the serialization info for the individual items of the array. + + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Represents a serializer for a BsonValue that can round trip C# null and implements IBsonDocumentSerializer. + + The type of the bson value. + + + + Initializes a new instance of the class. + + The wrapped serializer. + + + + Tries to get the serialization info for a member. + + Name of the member. + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Represents a serializer for a BsonValue that can round trip C# null. + + The type of the BsonValue. + + + + Initializes a new instance of the class. + + The wrapped serializer. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonValues. + + + + + Initializes a new instance of the BsonValueSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets an instance of the BsonValueSerializer class. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Tries to get the serialization info for the individual items of the array. + + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Tries to get the serialization info for a member. + + Name of the member. + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Represents a base class for BsonValue serializers. + + The type of the BsonValue. + + + + Initializes a new instance of the class. + + The Bson type. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for ByteArrays. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the representation. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for Bytes. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the representation. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for Chars. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the representation. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents an abstract base class for class serializers. + + The type of the value. + + + + + + MongoDB.Bson.Serialization.Serializers.ClassSerializerBase`1 + + + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Deserializes a class. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the actual type. + + The context. + The actual type. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Serializes a value of type {TValue}. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for CultureInfos. + + + + + Initializes a new instance of the CultureInfoSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for DateTimeOffsets. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the representation. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for DateTimes. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + if set to true [date only]. + + + + Initializes a new instance of the class. + + if set to true [date only]. + The representation. + + + + Initializes a new instance of the class. + + The kind. + + + + Initializes a new instance of the class. + + The kind. + The representation. + + + + Gets whether this DateTime consists of a Date only. + + + + + Gets an instance of DateTimeSerializer with DateOnly=true. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the DateTimeKind (Local, Unspecified or Utc). + + + + + Gets an instance of DateTimeSerializer with Kind=Local. + + + + + Gets the external representation. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Gets an instance of DateTimeSerializer with Kind=Utc. + + + + + Returns a serializer that has been reconfigured with the specified dateOnly value. + + if set to true the values will be required to be Date's only (zero time component). + + The reconfigured serializer. + + + + + Returns a serializer that has been reconfigured with the specified dateOnly value and representation. + + if set to true the values will be required to be Date's only (zero time component). + The representation. + + The reconfigured serializer. + + + + + Returns a serializer that has been reconfigured with the specified DateTimeKind value. + + The DateTimeKind. + + The reconfigured serializer. + + + + + Returns a serializer that has been reconfigured with the specified DateTimeKind value and representation. + + The DateTimeKind. + The representation. + + The reconfigured serializer. + + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for Decimal128s. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The representation. + The converter. + + + + Gets the converter. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the representation. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The converter. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for Decimals. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The representation. + The converter. + + + + Gets the converter. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the representation. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The converter. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for a class that implements IDictionary. + + The type of the dictionary. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The dictionary representation. + + + + Initializes a new instance of the class. + + The dictionary representation. + The key serializer. + The value serializer. + + + + Creates the instance. + + The instance. + + + + Returns a serializer that has been reconfigured with the specified dictionary representation. + + The dictionary representation. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified dictionary representation and key value serializers. + + The dictionary representation. + The key serializer. + The value serializer. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified key serializer. + + The key serializer. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified value serializer. + + The value serializer. + The reconfigured serializer. + + + + Represents a serializer for a class that implements . + + The type of the dictionary. + The type of the key. + The type of the value. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The dictionary representation. + + + + Initializes a new instance of the class. + + The dictionary representation. + The key serializer. + The value serializer. + + + + Creates the instance. + + The instance. + + + + Returns a serializer that has been reconfigured with the specified dictionary representation. + + The dictionary representation. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified dictionary representation and key value serializers. + + The dictionary representation. + The key serializer. + The value serializer. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified key serializer. + + The key serializer. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified value serializer. + + The value serializer. + The reconfigured serializer. + + + + Represents a serializer for dictionaries. + + The type of the dictionary. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The dictionary representation. + + + + Initializes a new instance of the class. + + The dictionary representation. + The key serializer. + The value serializer. + + + + Creates the instance. + + The instance. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the dictionary representation. + + + + + Gets the key serializer. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Tries to get the serialization info for a member. + + Name of the member. + The serialization information. + + true if the serialization info exists; otherwise false. + + + + Gets the value serializer. + + + + + Represents a serializer for dictionaries. + + The type of the dictionary. + The type of the keys. + The type of the values. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The dictionary representation. + + + + Initializes a new instance of the class. + + The dictionary representation. + The key serializer. + The value serializer. + + + + Initializes a new instance of the class. + + The dictionary representation. + The serializer registry. + + + + Creates the instance. + + The instance. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the dictionary representation. + + + + + Gets the key serializer. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Tries to get the serialization info for the individual items of the array. + + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Tries to get the serialization info for a member. + + Name of the member. + The serialization information. + + true if the serialization info exists; otherwise false. + + + + Gets the value serializer. + + + + + Represents a serializer for Interfaces. + + The type of the interface. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The discriminator convention. + interfaceType + interfaceType + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The document. + + + + Represents a serializer that serializes values as a discriminator/value pair. + + The type of the value. + + + + Initializes a new instance of the class. + + The discriminator convention. + The wrapped serializer. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Determines whether the reader is positioned at a discriminated wrapper. + + The context. + True if the reader is positioned at a discriminated wrapper. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for Doubles. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The representation. + The converter. + + + + Gets the converter. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the representation. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The converter. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Base serializer for dynamic types. + + The dynamic type. + + + + Initializes a new instance of the class. + + + + + Configures the deserialization context. + + The builder. + + + + Configures the serialization context. + + The builder. + + + + Creates the document. + + A + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Sets the value for the member. + + The document. + Name of the member. + The value. + + + + Tries to get the value for a member. Returns true if the member should be serialized. + + The document. + Name of the member. + The value. + + true if the member should be serialized; otherwise false. + + + + Represents a serializer for a class that implements IEnumerable. + + The type of the value. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + + + + + Creates the accumulator. + + The accumulator. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The item serializer. + The reconfigured serializer. + + + + Represents a serializer for a class that implementes . + + The type of the value. + The type of the item. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Creates the accumulator. + + The accumulator. + + + + Finalizes the result. + + The accumulator. + The final result. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The item serializer. + The reconfigured serializer. + + + + Represents a serializer for enumerable values. + + The type of the value. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Adds the item. + + The accumulator. + The item. + + + + Enumerates the items in serialization order. + + The value. + The items. + + + + Finalizes the result. + + The accumulator. + The result. + + + + Represents a serializer for enumerable values. + + The type of the value. + The type of the items. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Adds the item. + + The accumulator. + The item. + + + + Enumerates the items in serialization order. + + The value. + The items. + + + + Finalizes the result. + + The accumulator. + The result. + + + + Represents a base serializer for enumerable values. + + The type of the value. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Adds the item. + + The accumulator. + The item. + + + + Creates the accumulator. + + The accumulator. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Enumerates the items in serialization order. + + The value. + The items. + + + + Finalizes the result. + + The accumulator. + The final result. + + + + Gets the item serializer. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Tries to get the serialization info for the individual items of the array. + + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Represents a serializer for enumerable values. + + The type of the value. + The type of the items. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Adds the item. + + The accumulator. + The item. + + + + Creates the accumulator. + + The accumulator. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Enumerates the items in serialization order. + + The value. + The items. + + + + Finalizes the result. + + The accumulator. + The result. + + + + Gets the item serializer. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Tries to get the serialization info for the individual items of the array. + + The serialization information. + + The serialization info for the items. + + + + + Represents a serializer for enums. + + The type of the enum. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the representation. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Serializer for . + + + + + Initializes a new instance of the class. + + + + + Configures the deserialization context. + + The builder. + + + + Configures the serialization context. + + The builder. + + + + Creates the document. + + + A . + + + + + Sets the value for the member. + + The document. + Name of the member. + The value. + + + + Tries to get the value for a member. Returns true if the member should be serialized. + + The value. + Name of the member. + The member value. + + true if the member should be serialized; otherwise false. + + + + Represents a serializer for Guids. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the representation. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for Interfaces. + + The type of the interface. + The type of the implementation. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The implementation serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + + Gets the dictionary representation. + + + + + + Gets the implementation serializer. + + + + + Gets the key serializer. + + + + + + Serializes a value. + + The serialization context. + The serialization args. + The document. + + + + Tries to get the serialization info for the individual items of the array. + + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Tries to get the serialization info for a member. + + Name of the member. + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Gets the value serializer. + + + + + + Returns a serializer that has been reconfigured with the specified implementation serializer. + + The implementation serializer. + + The reconfigured serializer. + + + + + Represents a serializer for Int16s. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The representation. + The converter. + + + + Gets the converter. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the representation. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The converter. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for Int32. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The representation. + The converter. + + + + Gets the converter. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the representation. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The converter. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for Int64s. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The representation. + The converter. + + + + Gets the converter. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the representation. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The converter. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for IPAddresses. + + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for IPEndPoints. + + + + + Initializes a new instance of the IPEndPointSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for KeyValuePairs. + + The type of the keys. + The type of the values. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The representation. + The key serializer. + The value serializer. + + + + Initializes a new instance of the class. + + The representation. + The serializer registry. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the key serializer. + + + + + Gets the representation. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Tries to get the serialization info for a member. + + Name of the member. + The serialization information. + + true if the serialization info exists; otherwise false. + + + + Gets the value serializer. + + + + + Represents a serializer for LazyBsonArrays. + + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for LazyBsonDocuments. + + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for nullable values. + + The underlying type. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified serializer. + + The serializer. + + The reconfigured serializer. + + + + + Represents a serializer for ObjectIds. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the representation. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for objects. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The discriminator convention. + discriminatorConvention + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the standard instance. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for a BsonDocument with some parts raw. + + + + + Initializes a new instance of the class. + + The name. + The raw serializer. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Wraps a serializer and projects using a function. + + The type of from. + The type of to. + + + + Initializes a new instance of the class. + + From serializer. + The projector. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Represents a serializer for Queues. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + + + + + Adds the item. + + The accumulator. + The item. + + + + Creates the accumulator. + + The accumulator. + + + + Enumerates the items. + + The value. + The items. + + + + Finalizes the result. + + The instance. + The result. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The item serializer. + The reconfigured serializer. + + + + Represents a serializer for Queues. + + The type of the elements. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Adds the item. + + The accumulator. + The item. + + + + Creates the accumulator. + + The accumulator. + + + + Enumerates the items in serialization order. + + The value. + The items. + + + + Finalizes the result. + + The accumulator. + The result. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The item serializer. + The reconfigured serializer. + + + + Represents a serializer for RawBsonArrays. + + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for RawBsonDocuments. + + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the instance. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for readonly collection. + + The type of the item. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Creates the accumulator. + + The accumulator. + + + + Finalizes the result. + + The accumulator. + The final result. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The item serializer. + The reconfigured serializer. + + + + Represents a serializer for a subclass of ReadOnlyCollection. + + The type of the value. + The type of the item. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Creates the accumulator. + + The accumulator. + + + + Finalizes the result. + + The accumulator. + The final result. + + + + Represents a serializer for SBytes. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the representation. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents an abstract base class for sealed class serializers. + + The type of the value. + + + + + + MongoDB.Bson.Serialization.Serializers.SealedClassSerializerBase`1 + + + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Deserializes a class. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Serializes a value of type {TValue}. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a class that will be serialized as if it were one of its base classes. + + The actual type. + The nominal type. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The base class serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents an abstract base class for serializers. + + The type of the value. + + + + + + MongoDB.Bson.Serialization.Serializers.SerializerBase`1 + + + + + + + Creates an exception to throw when a type cannot be deserialized. + + An exception. + + + + Creates an exception to throw when a type cannot be deserialized. + + An exception. + + + + Creates an exception to throw when a type cannot be deserialized from a BsonType. + + The BSON type. + An exception. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Ensures that the BsonType equals the expected type. + + The reader. + The expected type. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Gets the type of the values. + + + + + Represents a helper for serializers. + + + + + Initializes a new instance of the class. + + The members. + + + + Deserializes the members. + + The deserialization context. + The member handler. + The found member flags. + + + + Represents information about a member. + + + + + Initializes a new instance of the class. + + The name of the element. + The flag. + Whether the member is optional. + + + + Gets the name of the element. + + + + + Gets the flag. + + + + + Gets a value indicating whether this member is optional. + + + + + Represents a serializer for Singles. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The representation. + The converter. + + + + Gets the converter. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the representation. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The converter. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for Stacks. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Adds the item. + + The accumulator. + The item. + + + + Creates the accumulator. + + The accumulator. + + + + Enumerates the items in serialization order. + + The value. + The items. + + + + Finalizes the result. + + The accumulator. + The result. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The item serializer. + The reconfigured serializer. + + + + Represents a serializer for Stacks. + + The type of the elements. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Adds the item. + + The accumulator. + The item. + + + + Creates the accumulator. + + The accumulator. + + + + Enumerates the items in serialization order. + + The value. + The items. + + + + Finalizes the result. + + The accumulator. + The result. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The item serializer. + The reconfigured serializer. + + + + Represents a serializer for Strings. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the representation. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents an abstract base class for struct serializers. + + The type of the value. + + + + + + MongoDB.Bson.Serialization.Serializers.StructSerializerBase`1 + + + + + + + Represents a serializer for three-dimensional arrays. + + The type of the elements. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the item serializer. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The item serializer. + The reconfigured serializer. + + + + Represents a serializer for Timespans. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The representation. + The units. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the representation. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Gets the units. + + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified representation and units. + + The representation. + The units. + + The reconfigured serializer. + + + + + Represents a serializer for a . + + The type of item 1. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The Item1 serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Deserializes the value. + + The context. + The deserialization args. + A deserialized value. + + + + Gets the Item1 serializer. + + + + + Serializes the value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a . + + The type of item 1. + The type of item 2. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The Item1 serializer. + The Item2 serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Deserializes the value. + + The context. + The deserialization args. + A deserialized value. + + + + Gets the Item1 serializer. + + + + + Gets the Item2 serializer. + + + + + Serializes the value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a . + + The type of item 1. + The type of item 2. + The type of item 3. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The Item1 serializer. + The Item2 serializer. + The Item3 serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Deserializes the value. + + The context. + The deserialization args. + A deserialized value. + + + + Gets the Item1 serializer. + + + + + Gets the Item2 serializer. + + + + + Gets the Item3 serializer. + + + + + Serializes the value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a . + + The type of item 1. + The type of item 2. + The type of item 3. + The type of item 4. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The Item1 serializer. + The Item2 serializer. + The Item3 serializer. + The Item4 serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Deserializes the value. + + The context. + The deserialization args. + A deserialized value. + + + + Gets the Item1 serializer. + + + + + Gets the Item2 serializer. + + + + + Gets the Item3 serializer. + + + + + Gets the Item4 serializer. + + + + + Serializes the value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a . + + The type of item 1. + The type of item 2. + The type of item 3. + The type of item 4. + The type of item 5. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The Item1 serializer. + The Item2 serializer. + The Item3 serializer. + The Item4 serializer. + The Item5 serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Deserializes the value. + + The context. + The deserialization args. + A deserialized value. + + + + Gets the Item1 serializer. + + + + + Gets the Item2 serializer. + + + + + Gets the Item3 serializer. + + + + + Gets the Item4 serializer. + + + + + Gets the Item5 serializer. + + + + + Serializes the value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a . + + The type of item 1. + The type of item 2. + The type of item 3. + The type of item 4. + The type of item 5. + The type of item 6. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The Item1 serializer. + The Item2 serializer. + The Item3 serializer. + The Item4 serializer. + The Item5 serializer. + The Item6 serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Deserializes the value. + + The context. + The deserialization args. + A deserialized value. + + + + Gets the Item1 serializer. + + + + + Gets the Item2 serializer. + + + + + Gets the Item3 serializer. + + + + + Gets the Item4 serializer. + + + + + Gets the Item5 serializer. + + + + + Gets the Item6 serializer. + + + + + Serializes the value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a . + + The type of item 1. + The type of item 2. + The type of item 3. + The type of item 4. + The type of item 5. + The type of item 6. + The type of item 7. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The Item1 serializer. + The Item2 serializer. + The Item3 serializer. + The Item4 serializer. + The Item5 serializer. + The Item6 serializer. + The Item7 serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Deserializes the value. + + The context. + The deserialization args. + A deserialized value. + + + + Gets the Item1 serializer. + + + + + Gets the Item2 serializer. + + + + + Gets the Item3 serializer. + + + + + Gets the Item4 serializer. + + + + + Gets the Item5 serializer. + + + + + Gets the Item6 serializer. + + + + + Gets the Item7 serializer. + + + + + Serializes the value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a . + + The type of item 1. + The type of item 2. + The type of item 3. + The type of item 4. + The type of item 5. + The type of item 6. + The type of item 7. + The type of the rest item. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The Item1 serializer. + The Item2 serializer. + The Item3 serializer. + The Item4 serializer. + The Item5 serializer. + The Item6 serializer. + The Item7 serializer. + The Rest serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Deserializes the value. + + The context. + The deserialization args. + A deserialized value. + + + + Gets the Item1 serializer. + + + + + Gets the Item2 serializer. + + + + + Gets the Item3 serializer. + + + + + Gets the Item4 serializer. + + + + + Gets the Item5 serializer. + + + + + Gets the Item6 serializer. + + + + + Gets the Item7 serializer. + + + + + Gets the Rest serializer. + + + + + Serializes the value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for two-dimensional arrays. + + The type of the elements. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the item serializer. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The item serializer. + The reconfigured serializer. + + + + Represents a serializer for UInt16s. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The representation. + The converter. + + + + Gets the converter. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the representation. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The converter. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for UInt32s. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The representation. + The converter. + + + + Gets the converter. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the representation. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The converter. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for UInt64s. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The representation. + The converter. + + + + Gets the converter. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the representation. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The converter. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for interfaces and base classes that delegates to the actual type interface without writing a discriminator. + + Type type of the value. + + + + Initializes a new instance of the class. + + + + + Gets the instance. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The document. + + + + Represents a serializer for Uris. + + + + + Initializes a new instance of the UriSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for Versions. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the representation. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + \ No newline at end of file diff --git a/BuechermarktClient/bin/Debug/MongoDB.Driver.Core.xml b/BuechermarktClient/bin/Debug/MongoDB.Driver.Core.xml new file mode 100644 index 0000000..870a648 --- /dev/null +++ b/BuechermarktClient/bin/Debug/MongoDB.Driver.Core.xml @@ -0,0 +1,13336 @@ + + + + MongoDB.Driver.Core + + + + + Represents a cursor that wraps another cursor with a transformation function on the documents. + + The type of from document. + The type of to document. + + + + Initializes a new instance of the class. + + The wrapped. + The transformer. + + + + Gets the current batch of documents. + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + Moves to the next batch of documents. + + The cancellation token. + Whether any more documents are available. + + + + Moves to the next batch of documents. + + The cancellation token. + A Task whose result indicates whether any more documents are available. + + + + Represents a MongoDB collation. + + + + + Initializes a new instance of the class. + + The locale. + The case level. + The case that is ordered first. + The strength. + Whether numbers are ordered numerically. + The alternate. + The maximum variable. + The normalization. + Whether secondary differences are to be considered in reverse order. + + + + Gets whether spaces and punctuation are considered base characters. + + + + + Gets whether secondary differencs are to be considered in reverse order. + + + + + Gets whether upper case or lower case is ordered first. + + + + + Gets whether the collation is case sensitive at strength 1 and 2. + + + + + Indicates whether the current object is equal to another object of the same type. + + An object to compare with this object. + + true if the current object is equal to the parameter; otherwise, false. + + + + Determines whether the specified object is equal to the current object. + The object to compare with the current object. + true if the specified object is equal to the current object; otherwise, false. + + + + Creates a Collation instance from a BsonDocument. + + The document. + A Collation instance. + + + Serves as the default hash function. + A hash code for the current object. + + + + Gets the locale. + + + + + Gets which characters are affected by the alternate: "Shifted". + + + + + Gets the normalization. + + + + + Gets whether numbers are ordered numerically. + + + + + Gets the simple binary compare collation. + + + + + Gets the strength. + + + + + Converts this object to a BsonDocument. + + A BsonDocument. + + + Returns a string that represents the current object. + A string that represents the current object. + + + + Creates a new Collation instance with some properties changed. + + The new locale. + The new case level. + The new case first. + The new strength. + The new numeric ordering. + The new alternate. + The new maximum variable. + The new normalization. + The new backwards. + A new Collation instance. + + + + Controls whether spaces and punctuation are considered base characters. + + + + + Spaces and punctuation are considered base characters (the default). + + + + + Spaces and characters are not considered base characters, and are only distinguised at strength > 3. + + + + + Uppercase or lowercase first. + + + + + Off (the default). + + + + + Uppercase first. + + + + + Lowercase first. + + + + + Controls which characters are affected by alternate: "Shifted". + + + + + Punctuation and spaces are affected (the default). + + + + + Only spaces. + + + + + Prioritizes the comparison properties. + + + + + Primary. + + + + + Secondary. + + + + + Tertiary (the default). + + + + + Quaternary. + + + + + Identical. + + + + + Represents a collection namespace. + + + + + Initializes a new instance of the class. + + The database namespace. + The name of the collection. + + + + Initializes a new instance of the class. + + The name of the database. + The name of the collection. + + + + Gets the name of the collection. + + + + + Gets the database namespace. + + + + Indicates whether the current object is equal to another object of the same type. + An object to compare with this object. + true if the current object is equal to the parameter; otherwise, false. + + + Determines whether the specified object is equal to the current object. + The object to compare with the current object. + true if the specified object is equal to the current object; otherwise, false. + + + + Creates a new instance of the class from a collection full name. + + The collection full name. + A CollectionNamespace. + + + + Gets the collection full name. + + + + Serves as the default hash function. + A hash code for the current object. + + + + Determines whether the specified collection name is valid. + + The name of the collection. + Whether the specified collection name is valid. + + + Returns a string that represents the current object. + A string that represents the current object. + + + + Represents a database namespace. + + + + + Initializes a new instance of the class. + + The name of the database. + + + + Gets the admin database namespace. + + + + + Gets the name of the database. + + + + Indicates whether the current object is equal to another object of the same type. + An object to compare with this object. + true if the current object is equal to the parameter; otherwise, false. + + + Determines whether the specified object is equal to the current object. + The object to compare with the current object. + true if the specified object is equal to the current object; otherwise, false. + + + Serves as the default hash function. + A hash code for the current object. + + + + Determines whether the specified database name is valid. + + The database name. + True if the database name is valid. + + + Returns a string that represents the current object. + A string that represents the current object. + + + + Represents a cursor for an operation that is not actually executed until MoveNextAsync is called for the first time. + + The type of the document. + + + + Initializes a new instance of the class. + + The delegate to execute the first time MoveNext is called. + The delegate to execute the first time MoveNextAsync is called. + + + + Gets the current batch of documents. + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + Moves to the next batch of documents. + + The cancellation token. + Whether any more documents are available. + + + + Moves to the next batch of documents. + + The cancellation token. + A Task whose result indicates whether any more documents are available. + + + + Represents the document validation action. + + + + + Validation failures result in an error. + + + + + Validation failures result in a warning. + + + + + Represents the document validation level. + + + + + Strict document validation. + + + + + Moderate document validation. + + + + + No document validation. + + + + + Represents an asynchronous cursor. + + The type of the document. + + + + Gets the current batch of documents. + + + + + Moves to the next batch of documents. + + The cancellation token. + Whether any more documents are available. + + + + Moves to the next batch of documents. + + The cancellation token. + A Task whose result indicates whether any more documents are available. + + + + Represents extension methods for IAsyncCursor. + + + + + Determines whether the cursor contains any documents. + + The cursor. + The cancellation token. + The type of the document. + True if the cursor contains any documents. + + + + Determines whether the cursor contains any documents. + + The cursor. + The cancellation token. + The type of the document. + A Task whose result is true if the cursor contains any documents. + + + + Returns the first document of a cursor. + + The cursor. + The cancellation token. + The type of the document. + The first document. + + + + Returns the first document of a cursor. + + The cursor. + The cancellation token. + The type of the document. + A Task whose result is the first document. + + + + Returns the first document of a cursor, or a default value if the cursor contains no documents. + + The cursor. + The cancellation token. + The type of the document. + The first document of the cursor, or a default value if the cursor contains no documents. + + + + Returns the first document of the cursor, or a default value if the cursor contains no documents. + + The cursor. + The cancellation token. + The type of the document. + A task whose result is the first document of the cursor, or a default value if the cursor contains no documents. + + + + Calls a delegate for each document returned by the cursor. + + The source. + The processor. + The cancellation token. + The type of the document. + A Task that completes when all the documents have been processed. + + + + Calls a delegate for each document returned by the cursor. + + The source. + The processor. + The cancellation token. + The type of the document. + A Task that completes when all the documents have been processed. + + + + Calls a delegate for each document returned by the cursor. + + The source. + The processor. + The cancellation token. + The type of the document. + A Task that completes when all the documents have been processed. + + + + Calls a delegate for each document returned by the cursor. + + The source. + The processor. + The cancellation token. + The type of the document. + A Task that completes when all the documents have been processed. + + + + Returns the only document of a cursor. This method throws an exception if the cursor does not contain exactly one document. + + The cursor. + The cancellation token. + The type of the document. + The only document of a cursor. + + + + Returns the only document of a cursor. This method throws an exception if the cursor does not contain exactly one document. + + The cursor. + The cancellation token. + The type of the document. + A Task whose result is the only document of a cursor. + + + + Returns the only document of a cursor, or a default value if the cursor contains no documents. + This method throws an exception if the cursor contains more than one document. + + The cursor. + The cancellation token. + The type of the document. + The only document of a cursor, or a default value if the cursor contains no documents. + + + + Returns the only document of a cursor, or a default value if the cursor contains no documents. + This method throws an exception if the cursor contains more than one document. + + The cursor. + The cancellation token. + The type of the document. + A Task whose result is the only document of a cursor, or a default value if the cursor contains no documents. + + + + Wraps a cursor in an IEnumerable that can be enumerated one time. + + The cursor. + The cancellation token. + The type of the document. + An IEnumerable + + + + Returns a list containing all the documents returned by a cursor. + + The source. + The cancellation token. + The type of the document. + The list of documents. + + + + Returns a list containing all the documents returned by a cursor. + + The source. + The cancellation token. + The type of the document. + A Task whose value is the list of documents. + + + + Represents an operation that will return a cursor when executed. + + The type of the document. + + + + Executes the operation and returns a cursor to the results. + + The cancellation token. + A cursor. + + + + Executes the operation and returns a cursor to the results. + + The cancellation token. + A Task whose result is a cursor. + + + + Represents extension methods for IAsyncCursorSource. + + + + + Determines whether the cursor returned by a cursor source contains any documents. + + The source. + The cancellation token. + The type of the document. + True if the cursor contains any documents. + + + + Determines whether the cursor returned by a cursor source contains any documents. + + The source. + The cancellation token. + The type of the document. + A Task whose result is true if the cursor contains any documents. + + + + Returns the first document of a cursor returned by a cursor source. + + The source. + The cancellation token. + The type of the document. + The first document. + + + + Returns the first document of a cursor returned by a cursor source. + + The source. + The cancellation token. + The type of the document. + A Task whose result is the first document. + + + + Returns the first document of a cursor returned by a cursor source, or a default value if the cursor contains no documents. + + The source. + The cancellation token. + The type of the document. + The first document of the cursor, or a default value if the cursor contains no documents. + + + + Returns the first document of a cursor returned by a cursor source, or a default value if the cursor contains no documents. + + The source. + The cancellation token. + The type of the document. + A Task whose result is the first document of the cursor, or a default value if the cursor contains no documents. + + + + Calls a delegate for each document returned by the cursor. + + The source. + The processor. + The cancellation token. + The type of the document. + A Task that completes when all the documents have been processed. + + + + Calls a delegate for each document returned by the cursor. + + The source. + The processor. + The cancellation token. + The type of the document. + A Task that completes when all the documents have been processed. + + + + Calls a delegate for each document returned by the cursor. + + The source. + The processor. + The cancellation token. + The type of the document. + A Task that completes when all the documents have been processed. + + + + Calls a delegate for each document returned by the cursor. + + The source. + The processor. + The cancellation token. + The type of the document. + A Task that completes when all the documents have been processed. + + + + Returns the only document of a cursor returned by a cursor source. This method throws an exception if the cursor does not contain exactly one document. + + The source. + The cancellation token. + The type of the document. + The only document of a cursor. + + + + Returns the only document of a cursor returned by a cursor source. This method throws an exception if the cursor does not contain exactly one document. + + The source. + The cancellation token. + The type of the document. + A Task whose result is the only document of a cursor. + + + + Returns the only document of a cursor returned by a cursor source, or a default value if the cursor contains no documents. + This method throws an exception if the cursor contains more than one document. + + The source. + The cancellation token. + The type of the document. + The only document of a cursor, or a default value if the cursor contains no documents. + + + + Returns the only document of a cursor returned by a cursor source, or a default value if the cursor contains no documents. + This method throws an exception if the cursor contains more than one document. + + The source. + The cancellation token. + The type of the document. + A Task whose result is the only document of a cursor, or a default value if the cursor contains no documents. + + + + Wraps a cursor source in an IEnumerable. Each time GetEnumerator is called a new cursor is fetched from the cursor source. + + The source. + The cancellation token. + The type of the document. + An IEnumerable. + + + + Returns a list containing all the documents returned by the cursor returned by a cursor source. + + The source. + The cancellation token. + The type of the document. + The list of documents. + + + + Returns a list containing all the documents returned by the cursor returned by a cursor source. + + The source. + The cancellation token. + The type of the document. + A Task whose value is the list of documents. + + + + Represents a MongoDB authentication exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The error message. + + + + Initializes a new instance of the class. + + The connection identifier. + The error message. + The inner exception. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Represents a MongoDB client exception. + + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Initializes a new instance of the class. + + The error message. + + + + Initializes a new instance of the class. + + The error message. + The inner exception. + + + + Represents a MongoDB command exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The message. + The command. + + + + Initializes a new instance of the class. + + The connection identifier. + The message. + The command. + The command result. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Gets the error code. + + + + + Gets the command. + + + + + Gets the error message. + + + + When overridden in a derived class, sets the with information about the exception. + The that holds the serialized object data about the exception being thrown. + The that contains contextual information about the source or destination. + The parameter is a null reference (Nothing in Visual Basic). + The caller does not have the required permission. + + + + Gets the command result. + + + + + Represents a MongoDB configuration exception. + + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Initializes a new instance of the class. + + The error message. + + + + Initializes a new instance of the class. + + The error message. + The inner exception. + + + + Represents a MongoDB connection failed exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Represents a MongoDB connection exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The error message. + + + + Initializes a new instance of the class. + + The connection identifier. + The error message. + The inner exception. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Gets the connection identifier. + + + + When overridden in a derived class, sets the with information about the exception. + The that holds the serialized object data about the exception being thrown. + The that contains contextual information about the source or destination. + The parameter is a null reference (Nothing in Visual Basic). + The caller does not have the required permission. + + + + Represents a MongoDB cursor not found exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The cursor identifier. + The query. + + + + Initializes a new instance of the class. + + The information. + The context. + + + + Gets the cursor identifier. + + + + When overridden in a derived class, sets the with information about the exception. + The that holds the serialized object data about the exception being thrown. + The that contains contextual information about the source or destination. + The parameter is a null reference (Nothing in Visual Basic). + The caller does not have the required permission. + + + + Represents a MongoDB duplicate key exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The error message. + The command result. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Represents a MongoDB exception. + + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Initializes a new instance of the class. + + The error message. + + + + Initializes a new instance of the class. + + The error message. + The inner exception. + + + + Represents a MongoDB execution timeout exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The error message. + + + + Initializes a new instance of the class. + + The connection identifier. + The error message. + The inner exception. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Represents a MongoDB incompatible driver exception. + + + + + Initializes a new instance of the class. + + The cluster description. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Represents a MongoDB internal exception (almost surely the result of a bug). + + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Initializes a new instance of the class. + + The error message. + + + + Initializes a new instance of the class. + + The error message. + The inner exception. + + + + Represents a MongoDB node is recovering exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The result. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + When overridden in a derived class, sets the with information about the exception. + The that holds the serialized object data about the exception being thrown. + The that contains contextual information about the source or destination. + The parameter is a null reference (Nothing in Visual Basic). + The caller does not have the required permission. + + + + Gets the result from the server. + + + + + Represents a MongoDB not primary exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The result. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + When overridden in a derived class, sets the with information about the exception. + The that holds the serialized object data about the exception being thrown. + The that contains contextual information about the source or destination. + The parameter is a null reference (Nothing in Visual Basic). + The caller does not have the required permission. + + + + Gets the result from the server. + + + + + Represents a MongoDB query exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The message. + The query. + The query result. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + When overridden in a derived class, sets the with information about the exception. + The that holds the serialized object data about the exception being thrown. + The that contains contextual information about the source or destination. + The parameter is a null reference (Nothing in Visual Basic). + The caller does not have the required permission. + + + + Gets the query. + + + + + Gets the query result. + + + + + Represents a MongoDB server exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The error message. + + + + Initializes a new instance of the class. + + The connection identifier. + The error message. + The inner exception. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Gets the connection identifier. + + + + When overridden in a derived class, sets the with information about the exception. + The that holds the serialized object data about the exception being thrown. + The that contains contextual information about the source or destination. + The parameter is a null reference (Nothing in Visual Basic). + The caller does not have the required permission. + + + + Represents a MongoDB connection pool wait queue full exception. + + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Initializes a new instance of the class. + + The error message. + + + + Represents a MongoDB write concern exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The error message. + The command result. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + When overridden in a derived class, sets the with information about the exception. + The that holds the serialized object data about the exception being thrown. + The that contains contextual information about the source or destination. + The parameter is a null reference (Nothing in Visual Basic). + The caller does not have the required permission. + + + + Gets the write concern result. + + + + + Represents helper methods for use with the struct. + + + + + Creates an instance of an optional parameter with a value. + + The value. + The type of the optional parameter. + An instance of an optional parameter with a value. + + + + Creates an instance of an optional parameter with an enumerable value. + + The value. + The type of the items of the optional paramater. + An instance of an optional parameter with an enumerable value. + + + + Represents an optional parameter that might or might not have a value. + + The type of the parameter. + + + + Initializes a new instance of the struct with a value. + + The value of the parameter. + + + + Gets a value indicating whether the optional parameter has a value. + + + + + Performs an implicit conversion from to an with a value. + + The value. + + The result of the conversion. + + + + + Returns a value indicating whether this optional parameter contains a value that is not equal to an existing value. + + The value. + True if this optional parameter contains a value that is not equal to an existing value. + + + + Gets the value of the optional parameter. + + + + + Returns either the value of this optional parameter if it has a value, otherwise a default value. + + The default value. + Either the value of this optional parameter if it has a value, otherwise a default value. + + + + Represents a read concern. + + + + + Initializes a new instance of the class. + + The level. + + + + Gets a default read concern. + + + + Indicates whether the current object is equal to another object of the same type. + An object to compare with this object. + true if the current object is equal to the parameter; otherwise, false. + + + Determines whether the specified object is equal to the current object. + The object to compare with the current object. + true if the specified object is equal to the current object; otherwise, false. + + + + Creates a read concern from a document. + + The document. + A read concern. + + + Serves as the default hash function. + A hash code for the current object. + + + + Gets a value indicating whether this is the server's default read concern. + + + + + Gets the level. + + + + + Gets a linearizable read concern. + + + + + Gets a local read concern. + + + + + Gets a majority read concern. + + + + + Converts this read concern to a BsonDocument suitable to be sent to the server. + + + A BsonDocument. + + + + + Returns a that represents this instance. + + + A that represents this instance. + + + + + Returns a new instance of ReadConcern with some values changed. + + The level. + + A ReadConcern. + + + + + The leve of the read concern. + + + + + Reads data committed locally. + + + + + Reads data committed to a majority of nodes. + + + + + Avoids returning data from a "stale" primary + (one that has already been superseded by a new primary but doesn't know it yet). + It is important to note that readConcern level linearizable does not by itself + produce linearizable reads; they must be issued in conjunction with w:majority + writes to the same document(s) in order to be linearizable. + + + + + Represents a read preference. + + + + + Initializes a new instance of the class. + + The read preference mode. + The tag sets. + The maximum staleness. + + + Indicates whether the current object is equal to another object of the same type. + An object to compare with this object. + true if the current object is equal to the parameter; otherwise, false. + + + Determines whether the specified object is equal to the current object. + The object to compare with the current object. + true if the specified object is equal to the current object; otherwise, false. + + + Serves as the default hash function. + A hash code for the current object. + + + + Gets the maximum staleness. + + + + + Gets an instance of ReadPreference that represents a Nearest read preference. + + + + + Gets an instance of ReadPreference that represents a Primary read preference. + + + + + Gets an instance of ReadPreference that represents a PrimaryPreferred read preference. + + + + + Gets the read preference mode. + + + + + Gets an instance of ReadPreference that represents a Secondary read preference. + + + + + Gets an instance of ReadPreference that represents a SecondaryPreferred read preference. + + + + + Gets the tag sets. + + + + Returns a string that represents the current object. + A string that represents the current object. + + + + Returns a new instance of ReadPreference with some values changed. + + The read preference mode. + A new instance of ReadPreference. + + + + Returns a new instance of ReadPreference with some values changed. + + The tag sets. + A new instance of ReadPreference. + + + + Returns a new instance of ReadPreference with some values changed. + + The maximum staleness. + A new instance of ReadPreference. + + + + Represents the read preference mode. + + + + + Reads should be from the primary. + + + + + Reads should be from the primary if possible, otherwise from a secondary. + + + + + Reads should be from a secondary. + + + + + Reads should be from a secondary if possible, otherwise from the primary. + + + + + Reads should be from any server that is within the latency threshold window. + + + + + Represents the category for an error from the server. + + + + + An error without a category. + + + + + A duplicate key error. + + + + + An execution timeout error. + + + + + Represents a replica set member tag. + + + + + Initializes a new instance of the class. + + The name. + The value. + + + Indicates whether the current object is equal to another object of the same type. + An object to compare with this object. + true if the current object is equal to the parameter; otherwise, false. + + + Determines whether the specified object is equal to the current object. + The object to compare with the current object. + true if the specified object is equal to the current object; otherwise, false. + + + Serves as the default hash function. + A hash code for the current object. + + + + Gets the name. + + + + Returns a string that represents the current object. + A string that represents the current object. + + + + Gets the value. + + + + + Represents a replica set member tag set. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The tags. + + + + Determines whether the tag set contains all of the required tags. + + The required tags. + True if the tag set contains all of the required tags. + + + Indicates whether the current object is equal to another object of the same type. + An object to compare with this object. + true if the current object is equal to the parameter; otherwise, false. + + + Determines whether the specified object is equal to the current object. + The object to compare with the current object. + true if the specified object is equal to the current object; otherwise, false. + + + Serves as the default hash function. + A hash code for the current object. + + + + Gets a value indicating whether the tag set is empty. + + + + + Gets the tags. + + + + Returns a string that represents the current object. + A string that represents the current object. + + + + Represents a write concern. + + + + + Initializes a new instance of the class. + + The w value. + The wtimeout value. + The fsync value . + The journal value. + + + + Initializes a new instance of the class. + + The w value. + The wtimeout value. + The fsync value . + The journal value. + + + + Initializes a new instance of the class. + + The mode. + The wtimeout value. + The fsync value . + The journal value. + + + + Gets an instance of WriteConcern that represents an acknowledged write concern. + + + + Indicates whether the current object is equal to another object of the same type. + An object to compare with this object. + true if the current object is equal to the parameter; otherwise, false. + + + Determines whether the specified object is equal to the current object. + The object to compare with the current object. + true if the specified object is equal to the current object; otherwise, false. + + + + Creates a write concern from a document. + + The document. + A write concern. + + + + Gets the fsync value. + + + + Serves as the default hash function. + A hash code for the current object. + + + + Gets a value indicating whether this instance is an acknowledged write concern. + + + + + Gets a value indicating whether this write concern will use the default on the server. + + + + + Gets the journal value. + + + + + Converts this write concern to a BsonDocument suitable to be sent to the server. + + + A BsonDocument. + + + + Returns a string that represents the current object. + A string that represents the current object. + + + + Gets an instance of WriteConcern that represents an unacknowledged write concern. + + + + + Gets the w value. + + + + + Gets an instance of WriteConcern that represents a W1 write concern. + + + + + Gets an instance of WriteConcern that represents a W2 write concern. + + + + + Gets an instance of WriteConcern that represents a W3 write concern. + + + + + Returns a new instance of WriteConcern with some values changed. + + The w value. + The wtimeout value. + The fsync value. + The journal value. + A WriteConcern. + + + + Returns a new instance of WriteConcern with some values changed. + + The w value. + The wtimeout value. + The fsync value. + The journal value. + A WriteConcern. + + + + Returns a new instance of WriteConcern with some values changed. + + The mode. + The wtimeout value. + The fsync value. + The journal value. + A WriteConcern. + + + + Gets an instance of WriteConcern that represents a majority write concern. + + + + + Gets the wtimeout value. + + + + + Represents a numeric WValue. + + + + + Initializes a new instance of the class. + + The w value. + + + Indicates whether the current object is equal to another object of the same type. + An object to compare with this object. + true if the current object is equal to the parameter; otherwise, false. + + + Determines whether the specified object is equal to the current object. + The object to compare with the current object. + true if the specified object is equal to the current object; otherwise, false. + + + Serves as the default hash function. + A hash code for the current object. + + + + Converts this WValue to a BsonValue suitable to be included in a BsonDocument representing a write concern. + + A BsonValue. + + + Returns a string that represents the current object. + A string that represents the current object. + + + + Gets the value. + + + + + Represents a mode string WValue. + + + + + Initializes a new instance of the class. + + The mode. + + + Indicates whether the current object is equal to another object of the same type. + An object to compare with this object. + true if the current object is equal to the parameter; otherwise, false. + + + Determines whether the specified object is equal to the current object. + The object to compare with the current object. + true if the specified object is equal to the current object; otherwise, false. + + + Serves as the default hash function. + A hash code for the current object. + + + + Gets an instance of WValue that represents the majority mode. + + + + + Converts this WValue to a BsonValue suitable to be included in a BsonDocument representing a write concern. + + A BsonValue. + + + Returns a string that represents the current object. + A string that represents the current object. + + + + Gets the value. + + + + + Represents the base class for w values. + + + + Indicates whether the current object is equal to another object of the same type. + An object to compare with this object. + true if the current object is equal to the parameter; otherwise, false. + + + + Performs an implicit conversion from to . + + The value. + + The result of the conversion. + + + + + Performs an implicit conversion from Nullable{Int32} to . + + The value. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The value. + + The result of the conversion. + + + + + Parses the specified value. + + The value. + A WValue. + + + + Converts this WValue to a BsonValue suitable to be included in a BsonDocument representing a write concern. + + A BsonValue. + + + + Represents the results of an operation performed with an acknowledged WriteConcern. + + + + + Initializes a new instance of the class. + + The response. + + + + Gets the number of documents affected. + + + + + Gets whether the result has a LastErrorMessage. + + + + + Gets the last error message (null if none). + + + + + Gets the wrapped result. + + + + + Gets whether the last command updated an existing document. + + + + + Gets the _id of an upsert that resulted in an insert. + + + + + The default authenticator (uses SCRAM-SHA1 if possible, falls back to MONGODB-CR otherwise). + + + + + Initializes a new instance of the class. + + The credential. + + + + Authenticates the connection. + + The connection. + The connection description. + The cancellation token. + + + + Authenticates the connection. + + The connection. + The connection description. + The cancellation token. + A Task. + + + + Gets the name of the authenticator. + + + + + A GSSAPI SASL authenticator. + + + + + Initializes a new instance of the class. + + The credential. + The properties. + + + + Initializes a new instance of the class. + + The username. + The properties. + + + + Gets the name of the canonicalize host name property. + + + + + Gets the name of the database. + + + + + Gets the default service name. + + + + + Gets the name of the mechanism. + + + + + Gets the name of the realm property. + + + + + Gets the name of the service name property. + + + + + Gets the name of the service realm property. + + + + + Represents a connection authenticator. + + + + + Authenticates the connection. + + The connection. + The connection description. + The cancellation token. + + + + Authenticates the connection. + + The connection. + The connection description. + The cancellation token. + A Task. + + + + Gets the name of the authenticator. + + + + + A MONGODB-CR authenticator. + + + + + Initializes a new instance of the class. + + The credential. + + + + Authenticates the connection. + + The connection. + The connection description. + The cancellation token. + + + + Authenticates the connection. + + The connection. + The connection description. + The cancellation token. + A Task. + + + + Gets the name of the mechanism. + + + + + Gets the name of the authenticator. + + + + + A MongoDB-X509 authenticator. + + + + + Initializes a new instance of the class. + + The username. + + + + Authenticates the connection. + + The connection. + The connection description. + The cancellation token. + + + + Authenticates the connection. + + The connection. + The connection description. + The cancellation token. + A Task. + + + + Gets the name of the mechanism. + + + + + Gets the name of the authenticator. + + + + + A PLAIN SASL authenticator. + + + + + Initializes a new instance of the class. + + The credential. + + + + Gets the name of the database. + + + + + Gets the name of the mechanism. + + + + + Base class for a SASL authenticator. + + + + + Initializes a new instance of the class. + + The mechanism. + + + + Authenticates the connection. + + The connection. + The connection description. + The cancellation token. + + + + Authenticates the connection. + + The connection. + The connection description. + The cancellation token. + A Task. + + + + Gets the name of the database. + + + + + Gets the name of the authenticator. + + + + + Represents a completed SASL step. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The bytes to send to server. + + + + Gets the bytes to send to server. + + + + + Gets a value indicating whether this instance is complete. + + + + + Transitions the SASL conversation to the next step. + + The SASL conversation. + The bytes received from server. + The next SASL step. + + + + Represents a SASL mechanism. + + + + + Initializes the mechanism. + + The connection. + The connection description. + The initial SASL step. + + + + Gets the name of the mechanism. + + + + + Represents a SASL step. + + + + + Gets the bytes to send to server. + + + + + Gets a value indicating whether this instance is complete. + + + + + Transitions the SASL conversation to the next step. + + The SASL conversation. + The bytes received from server. + The next SASL step. + + + + Represents a SASL conversation. + + + + + Initializes a new instance of the class. + + The connection identifier. + + + + Gets the connection identifier. + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + Registers the item for disposal. + + The disposable item. + + + + A SCRAM-SHA1 SASL authenticator. + + + + + Initializes a new instance of the class. + + The credential. + + + + Gets the name of the database. + + + + + Gets the name of the mechanism. + + + + + Represents a username/password credential. + + + + + Initializes a new instance of the class. + + The source. + The username. + The password. + + + + Initializes a new instance of the class. + + The source. + The username. + The password. + + + + Gets the password (converts the password from a SecureString to a regular string). + + The password. + + + + Gets the password. + + + + + Gets the source. + + + + + Gets the username. + + + + + Represents a read binding that is bound to a channel. + + + + + Initializes a new instance of the class. + + The server. + The channel. + The read preference. + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + Gets a channel source for read operations. + + The cancellation token. + A channel source. + + + + Gets a channel source for read operations. + + The cancellation token. + A channel source. + + + + Gets the read preference. + + + + + Represents a read-write binding that is bound to a channel. + + + + + Initializes a new instance of the class. + + The server. + The channel. + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + Gets a channel source for read operations. + + The cancellation token. + A channel source. + + + + Gets a channel source for read operations. + + The cancellation token. + A channel source. + + + + Gets a channel source for write operations. + + The cancellation token. + A channel source. + + + + Gets a channel source for write operations. + + The cancellation token. + A channel source. + + + + Gets the read preference. + + + + + Represents a handle to a channel source. + + + + + Initializes a new instance of the class. + + The channel source. + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + Returns a new handle to the underlying channel source. + + A handle to a channel source. + + + + Gets a channel. + + The cancellation token. + A channel. + + + + Gets a channel. + + The cancellation token. + A Task whose result is a channel. + + + + Gets the server. + + + + + Gets the server description. + + + + + Represents a read-write binding to a channel source. + + + + + Initializes a new instance of the class. + + The channel source. + The read preference. + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + Gets a channel source for read operations. + + The cancellation token. + A channel source. + + + + Gets a channel source for read operations. + + The cancellation token. + A channel source. + + + + Gets a channel source for write operations. + + The cancellation token. + A channel source. + + + + Gets a channel source for write operations. + + The cancellation token. + A channel source. + + + + Gets the read preference. + + + + + Represents a channel (similar to a connection but operates at the level of protocols rather than messages). + + + + + Executes a Command protocol. + + The database namespace. + The command. + The command validator. + The response handling. + if set to true sets the SlaveOk bit to true in the command message sent to the server. + The result serializer. + The message encoder settings. + The cancellation token. + The type of the result. + The result of the Command protocol. + + + + Executes a Command protocol. + + The database namespace. + The command. + The command validator. + The response handling. + if set to true sets the SlaveOk bit to true in the command message sent to the server. + The result serializer. + The message encoder settings. + The cancellation token. + The type of the result. + A Task whose result is the result of the Command protocol. + + + + Gets the connection description. + + + + + Executes a Delete protocol. + + The collection namespace. + The query. + if set to true all matching documents are deleted. + The message encoder settings. + The write concern. + The cancellation token. + The result of the Delete protocol. + + + + Executes a Delete protocol. + + The collection namespace. + The query. + if set to true all matching documents are deleted. + The message encoder settings. + The write concern. + The cancellation token. + A Task whose result is the result of the Delete protocol. + + + + Executes a GetMore protocol. + + The collection namespace. + The query. + The cursor identifier. + Size of the batch. + The serializer. + The message encoder settings. + The cancellation token. + The type of the document. + The result of the GetMore protocol. + + + + Executes a GetMore protocol. + + The collection namespace. + The query. + The cursor identifier. + Size of the batch. + The serializer. + The message encoder settings. + The cancellation token. + The type of the document. + A Task whose result is the result of the GetMore protocol. + + + + Executes an Insert protocol. + + The collection namespace. + The write concern. + The serializer. + The message encoder settings. + The document source. + The maximum batch count. + Maximum size of the message. + if set to true the server will continue with subsequent Inserts even if errors occur. + A delegate that determines whether to piggy-back a GetLastError messsage with the Insert message. + The cancellation token. + The type of the document. + The result of the Insert protocol. + + + + Executes an Insert protocol. + + The collection namespace. + The write concern. + The serializer. + The message encoder settings. + The document source. + The maximum batch count. + Maximum size of the message. + if set to true the server will continue with subsequent Inserts even if errors occur. + A delegate that determines whether to piggy-back a GetLastError messsage with the Insert message. + The cancellation token. + The type of the document. + A Task whose result is the result of the Insert protocol. + + + + Executes a KillCursors protocol. + + The cursor ids. + The message encoder settings. + The cancellation token. + + + + Executes a KillCursors protocol. + + The cursor ids. + The message encoder settings. + The cancellation token. + A Task that represents the KillCursors protocol. + + + + Executes a Query protocol. + + The collection namespace. + The query. + The fields. + The query validator. + The number of documents to skip. + The size of a batch. + if set to true sets the SlaveOk bit to true in the query message sent to the server. + if set to true the server is allowed to return partial results if any shards are unavailable. + if set to true the server will not timeout the cursor. + if set to true the OplogReplay bit will be set. + if set to true the query should return a tailable cursor. + if set to true the server should await awhile before returning an empty batch for a tailable cursor. + The serializer. + The message encoder settings. + The cancellation token. + The type of the document. + The result of the Insert protocol. + + + + Executes a Query protocol. + + The collection namespace. + The query. + The fields. + The query validator. + The number of documents to skip. + The size of a batch. + if set to true sets the SlaveOk bit to true in the query message sent to the server. + if set to true the server is allowed to return partial results if any shards are unavailable. + if set to true the server will not timeout the cursor. + if set to true the OplogReplay bit will be set. + if set to true the query should return a tailable cursor. + if set to true the server should await awhile before returning an empty batch for a tailable cursor. + The serializer. + The message encoder settings. + The cancellation token. + The type of the document. + A Task whose result is the result of the Insert protocol. + + + + Executes an Update protocol. + + The collection namespace. + The message encoder settings. + The write concern. + The query. + The update. + The update validator. + if set to true the Update can affect multiple documents. + if set to true the document will be inserted if it is not found. + The cancellation token. + The result of the Update protocol. + + + + Executes an Update protocol. + + The collection namespace. + The message encoder settings. + The write concern. + The query. + The update. + The update validator. + if set to true the Update can affect multiple documents. + if set to true the document will be inserted if it is not found. + The cancellation token. + A Task whose result is the result of the Update protocol. + + + + Represents a handle to a channel. + + + + + Returns a new handle to the underlying channel. + + A channel handle. + + + + Represents a channel source. + + + + + Gets a channel. + + The cancellation token. + A channel. + + + + Gets a channel. + + The cancellation token. + A Task whose result is a channel. + + + + Gets the server. + + + + + Gets the server description. + + + + + Represents a handle to a channel source. + + + + + Returns a new handle to the underlying channel source. + + A handle to a channel source. + + + + Represents a binding that determines which channel source gets used for read operations. + + + + + Gets a channel source for read operations. + + The cancellation token. + A channel source. + + + + Gets a channel source for read operations. + + The cancellation token. + A channel source. + + + + Gets the read preference. + + + + + Represents a handle to a read binding. + + + + + Returns a new handle to the underlying read binding. + + A read binding handle. + + + + Represents a binding that can be used for both read and write operations. + + + + + Represents a handle to a read-write binding. + + + + + Returns a new handle to the underlying read-write binding. + + A read-write binding handle. + + + + Represents a binding that determines which channel source gets used for write operations. + + + + + Gets a channel source for write operations. + + The cancellation token. + A channel source. + + + + Gets a channel source for write operations. + + The cancellation token. + A channel source. + + + + Represents a handle to a write binding. + + + + + Returns a new handle to the underlying write binding. + + A write binding handle. + + + + Represents a handle to a read binding. + + + + + Initializes a new instance of the class. + + The read binding. + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + Returns a new handle to the underlying read binding. + + A read binding handle. + + + + Gets a channel source for read operations. + + The cancellation token. + A channel source. + + + + Gets a channel source for read operations. + + The cancellation token. + A channel source. + + + + Gets the read preference. + + + + + Represents a read binding to a cluster using a ReadPreference to select the server. + + + + + Initializes a new instance of the class. + + The cluster. + The read preference. + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + Gets a channel source for read operations. + + The cancellation token. + A channel source. + + + + Gets a channel source for read operations. + + The cancellation token. + A channel source. + + + + Gets the read preference. + + + + + Represents a handle to a read-write binding. + + + + + Initializes a new instance of the class. + + The write binding. + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + Returns a new handle to the underlying read-write binding. + + A read-write binding handle. + + + + Gets a channel source for read operations. + + The cancellation token. + A channel source. + + + + Gets a channel source for read operations. + + The cancellation token. + A channel source. + + + + Gets a channel source for write operations. + + The cancellation token. + A channel source. + + + + Gets a channel source for write operations. + + The cancellation token. + A channel source. + + + + Gets the read preference. + + + + + Represents a channel source that is bound to a server. + + + + + Initializes a new instance of the class. + + The server. + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + Gets a channel. + + The cancellation token. + A channel. + + + + Gets a channel. + + The cancellation token. + A Task whose result is a channel. + + + + Gets the server. + + + + + Gets the server description. + + + + + Represents a read binding to a single server; + + + + + Initializes a new instance of the class. + + The server. + The read preference. + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + Gets a channel source for read operations. + + The cancellation token. + A channel source. + + + + Gets a channel source for read operations. + + The cancellation token. + A channel source. + + + + Gets the read preference. + + + + + Represents a read/write binding to a single server. + + + + + Initializes a new instance of the class. + + The server. + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + Gets a channel source for read operations. + + The cancellation token. + A channel source. + + + + Gets a channel source for read operations. + + The cancellation token. + A channel source. + + + + Gets a channel source for write operations. + + The cancellation token. + A channel source. + + + + Gets a channel source for write operations. + + The cancellation token. + A channel source. + + + + Gets the read preference. + + + + + Represents a split read-write binding, where the reads use one binding and the writes use another. + + + + + Initializes a new instance of the class. + + The read binding. + The write binding. + + + + Initializes a new instance of the class. + + The cluster. + The read preference. + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + Gets a channel source for read operations. + + The cancellation token. + A channel source. + + + + Gets a channel source for read operations. + + The cancellation token. + A channel source. + + + + Gets a channel source for write operations. + + The cancellation token. + A channel source. + + + + Gets a channel source for write operations. + + The cancellation token. + A channel source. + + + + Gets the read preference. + + + + + Represents a write binding to a writable server. + + + + + Initializes a new instance of the class. + + The cluster. + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + Gets a channel source for read operations. + + The cancellation token. + A channel source. + + + + Gets a channel source for read operations. + + The cancellation token. + A channel source. + + + + Gets a channel source for write operations. + + The cancellation token. + A channel source. + + + + Gets a channel source for write operations. + + The cancellation token. + A channel source. + + + + Gets the read preference. + + + + + Represents the cluster connection mode. + + + + + Determine the cluster type automatically. + + + + + Connect directly to a single server of any type. + + + + + Connect directly to a Standalone server. + + + + + Connect to a replica set. + + + + + Connect to one or more shard routers. + + + + + Represents information about a cluster. + + + + + Initializes a new instance of the class. + + The cluster identifier. + The connection mode. + The type. + The servers. + + + + Gets the cluster identifier. + + + + + Gets the connection mode. + + + + Indicates whether the current object is equal to another object of the same type. + An object to compare with this object. + true if the current object is equal to the parameter; otherwise, false. + + + Determines whether the specified object is equal to the current object. + The object to compare with the current object. + true if the specified object is equal to the current object; otherwise, false. + + + Serves as the default hash function. + A hash code for the current object. + + + + Gets the servers. + + + + + Gets the cluster state. + + + + Returns a string that represents the current object. + A string that represents the current object. + + + + Gets the cluster type. + + + + + Returns a new ClusterDescription with a ServerDescription removed. + + The end point of the server description to remove. + A ClusterDescription. + + + + Returns a new ClusterDescription with a changed ServerDescription. + + The server description. + A ClusterDescription. + + + + Returns a new ClusterDescription with a changed ClusterType. + + The value. + A ClusterDescription. + + + + Represents the data for the event that fires when a cluster description changes. + + + + + Initializes a new instance of the class. + + The old cluster description. + The new cluster description. + + + + Gets the new cluster description. + + + + + Gets the old cluster description. + + + + + Represents a cluster identifier. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The value. + + + Indicates whether the current object is equal to another object of the same type. + An object to compare with this object. + true if the current object is equal to the parameter; otherwise, false. + + + Determines whether the specified object is equal to the current object. + The object to compare with the current object. + true if the specified object is equal to the current object; otherwise, false. + + + Serves as the default hash function. + A hash code for the current object. + + + Returns a string that represents the current object. + A string that represents the current object. + + + + Gets the value. + + + + + Represents the state of a cluster. + + + + + The cluster is disconnected. + + + + + The cluster is connected. + + + + + Represents the type of a cluster. + + + + + The type of the cluster is unknown. + + + + + The cluster is a standalone cluster. + + + + + The cluster is a replica set. + + + + + The cluster is a sharded cluster. + + + + + An election id from the server. + + + + + Initializes a new instance of the class. + + The identifier. + + + + Compares the current object with another object of the same type. + + An object to compare with this object. + + A value that indicates the relative order of the objects being compared. The return value has the following meanings: Value Meaning Less than zero This object is less than the parameter.Zero This object is equal to . Greater than zero This object is greater than . + + + + + Indicates whether the current object is equal to another object of the same type. + + An object to compare with this object. + + true if the current object is equal to the parameter; 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. + + + + + Returns a that represents this instance. + + + A that represents this instance. + + + + + Represents a MongoDB cluster. + + + + + Gets the cluster identifier. + + + + + Gets the cluster description. + + + + + Occurs when the cluster description has changed. + + + + + Initializes the cluster. + + + + + Selects a server from the cluster. + + The server selector. + The cancellation token. + The selected server. + + + + Selects a server from the cluster. + + The server selector. + The cancellation token. + A Task representing the operation. The result of the Task is the selected server. + + + + Gets the cluster settings. + + + + + Represents a cluster factory. + + + + + Creates a cluster. + + A cluster. + + + + Represents the config of a replica set (as reported by one of the members of the replica set). + + + + + Initializes a new instance of the class. + + The members. + The name. + The primary. + The version. + + + + Gets an empty replica set config. + + + + Indicates whether the current object is equal to another object of the same type. + An object to compare with this object. + true if the current object is equal to the parameter; otherwise, false. + + + Determines whether the specified object is equal to the current object. + The object to compare with the current object. + true if the specified object is equal to the current object; otherwise, false. + + + Serves as the default hash function. + A hash code for the current object. + + + + Gets the members. + + + + + Gets the name of the replica set. + + + + + Gets the primary. + + + + + Gets the replica set config version. + + + + + Represents a selector that selects servers based on multiple partial selectors + + + + + Initializes a new instance of the class. + + The selectors. + + + + Selects the servers. + + The cluster. + The servers. + The selected servers. + + + Returns a string that represents the current object. + A string that represents the current object. + + + + Represents a server selector that wraps a delegate. + + + + + Initializes a new instance of the class. + + The selector. + + + + Selects the servers. + + The cluster. + The servers. + The selected servers. + + + Returns a string that represents the current object. + A string that represents the current object. + + + + Represents a selector that selects servers based on an end point. + + + + + Initializes a new instance of the class. + + The end point. + + + + Selects the servers. + + The cluster. + The servers. + The selected servers. + + + Returns a string that represents the current object. + A string that represents the current object. + + + + Represents a selector that selects servers. + + + + + Selects the servers. + + The cluster. + The servers. + The selected servers. + + + + Represents a selector that selects servers within an acceptable latency range. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The allowed latency range. + + + + Selects the servers. + + The cluster. + The servers. + The selected servers. + + + Returns a string that represents the current object. + A string that represents the current object. + + + + Represents a selector that selects a random server. + + + + + Initializes a new instance of the class. + + + + + Selects the servers. + + The cluster. + The servers. + The selected servers. + + + Returns a string that represents the current object. + A string that represents the current object. + + + + Represents a selector that selects servers based on a read preference. + + + + + Initializes a new instance of the class. + + The read preference. + + + + Gets a ReadPreferenceServerSelector that selects the Primary. + + + + + Selects the servers. + + The cluster. + The servers. + The selected servers. + + + Returns a string that represents the current object. + A string that represents the current object. + + + + Represents a server selector that selects writable servers. + + + + + Gets a WritableServerSelector. + + + + + Selects the servers. + + The cluster. + The servers. + The selected servers. + + + Returns a string that represents the current object. + A string that represents the current object. + + + + Represents a cluster builder. + + + + + Initializes a new instance of the class. + + + + + Builds the cluster. + + A cluster. + + + + Configures the cluster settings. + + The cluster settings configurator delegate. + A reconfigured cluster builder. + + + + Configures the connection settings. + + The connection settings configurator delegate. + A reconfigured cluster builder. + + + + Configures the connection pool settings. + + The connection pool settings configurator delegate. + A reconfigured cluster builder. + + + + Configures the server settings. + + The server settings configurator delegate. + A reconfigured cluster builder. + + + + Configures the SSL stream settings. + + The SSL stream settings configurator delegate. + A reconfigured cluster builder. + + + + Configures the TCP stream settings. + + The TCP stream settings configurator delegate. + A reconfigured cluster builder. + + + + Registers a stream factory wrapper. + + The stream factory wrapper. + A reconfigured cluster builder. + + + + Subscribes the specified subscriber. + + The subscriber. + A reconfigured cluster builder. + + + + Subscribes to events of type . + + The handler. + The type of the event. + A reconfigured cluster builder. + + + + Extension methods for a ClusterBuilder. + + + + + Configures a cluster builder from a connection string. + + The cluster builder. + The connection string. + A reconfigured cluster builder. + + + + Configures a cluster builder from a connection string. + + The cluster builder. + The connection string. + A reconfigured cluster builder. + + + + Configures the cluster to trace command events to the specified . + + The builder. + The trace source. + A reconfigured cluster builder. + + + + Configures the cluster to trace events to the specified . + + The builder. + The trace source. + A reconfigured cluster builder. + + + + Configures the cluster to write performance counters. + + The cluster builder. + The name of the application. + if set to true install the performance counters first. + A reconfigured cluster builder. + + + + Represents settings for a cluster. + + + + + Initializes a new instance of the class. + + The connection mode. + The end points. + Maximum size of the server selection wait queue. + Name of the replica set. + The server selection timeout. + The pre server selector. + The post server selector. + + + + Gets the connection mode. + + + + + Gets the end points. + + + + + Gets the maximum size of the server selection wait queue. + + + + + Gets the post server selector. + + + + + Gets the pre server selector. + + + + + Gets the name of the replica set. + + + + + Gets the server selection timeout. + + + + + Returns a new ClusterSettings instance with some settings changed. + + The connection mode. + The end points. + Maximum size of the server selection wait queue. + Name of the replica set. + The server selection timeout. + The pre server selector. + The post server selector. + A new ClusterSettings instance. + + + + Represents settings for a connection pool. + + + + + Initializes a new instance of the class. + + The maintenance interval. + The maximum number of connections. + The minimum number of connections. + Size of the wait queue. + The wait queue timeout. + + + + Gets the maintenance interval. + + + + + Gets the maximum number of connections. + + + + + Gets the minimum number of connections. + + + + + Gets the size of the wait queue. + + + + + Gets the wait queue timeout. + + + + + Returns a new ConnectionPoolSettings instance with some settings changed. + + The maintenance interval. + The maximum connections. + The minimum connections. + Size of the wait queue. + The wait queue timeout. + A new ConnectionPoolSettings instance. + + + + Represents settings for a connection. + + + + + Initializes a new instance of the class. + + The authenticators. + The maximum idle time. + The maximum life time. + The application name. + + + + Gets the name of the application. + + + + + Gets the authenticators. + + + + + Gets the maximum idle time. + + + + + Gets the maximum life time. + + + + + Returns a new ConnectionSettings instance with some settings changed. + + The authenticators. + The maximum idle time. + The maximum life time. + The application name. + A new ConnectionSettings instance. + + + + Represents a connection string. + + + + + Initializes a new instance of the class. + + The connection string. + + + + Gets all the option names. + + + + + Gets all the unknown option names. + + + + + Gets the application name. + + + + + Gets the auth mechanism. + + + + + Gets the auth mechanism properties. + + + + + Gets the auth source. + + + + + Gets the connection mode. + + + + + Gets the connect timeout. + + + + + Gets the name of the database. + + + + + Gets the fsync value of the write concern. + + + + + Gets the option. + + The name. + The option with the specified name. + + + + Gets the heartbeat interval. + + + + + Gets the heartbeat timeout. + + + + + Gets the hosts. + + + + + Gets whether to use IPv6. + + + + + Gets the journal value of the write concern. + + + + + Gets the local threshold. + + + + + Gets the max idle time. + + + + + Gets the max life time. + + + + + Gets the max size of the connection pool. + + + + + Gets the max staleness. + + + + + Gets the min size of the connection pool. + + + + + Gets the password. + + + + + Gets the read concern level. + + + + + Gets the read preference. + + + + + Gets the read preference tags. + + + + + Gets the replica set name. + + + + + Gets the server selection timeout. + + + + + Gets the socket timeout. + + + + + Gets whether to use SSL. + + + + + Gets whether to verify SSL certificates. + + + + Returns a string that represents the current object. + A string that represents the current object. + + + + Gets the username. + + + + + Gets the UUID representation. + + + + + Gets the w value of the write concern. + + + + + Gets the wait queue multiple. + + + + + Gets the wait queue size. + + + + + Gets the wait queue timeout. + + + + + Gets the wtimeout value of the write concern. + + + + + Represents settings for a server. + + + + + Initializes a new instance of the class. + + The heartbeat interval. + The heartbeat timeout. + + + + Gets the default heartbeat interval. + + + + + Gets the default heartbeat timeout. + + + + + Gets the heartbeat interval. + + + + + Gets the heartbeat timeout. + + + + + Returns a new ServerSettings instance with some settings changed. + + The heartbeat interval. + The heartbeat timeout. + A new ServerSettings instance. + + + + Represents settings for an SSL stream. + + + + + Initializes a new instance of the class. + + Whether to check for certificate revocation. + The client certificates. + The client certificate selection callback. + The enabled protocols. + The server certificate validation callback. + + + + Gets a value indicating whether to check for certificate revocation. + + + + + Gets the client certificates. + + + + + Gets the client certificate selection callback. + + + + + Gets the enabled SSL protocols. + + + + + Gets the server certificate validation callback. + + + + + Returns a new SsslStreamSettings instance with some settings changed. + + Whether to check certificate revocation. + The client certificates. + The client certificate selection callback. + The enabled protocols. + The server certificate validation callback. + A new SsslStreamSettings instance. + + + + Represents settings for a TCP stream. + + + + + Initializes a new instance of the class. + + The address family. + The connect timeout. + The read timeout. + Size of the receive buffer. + Size of the send buffer. + The socket configurator. + The write timeout. + + + + Gets the address family. + + + + + Gets the connect timeout. + + + + + Gets the read timeout. + + + + + Gets the size of the receive buffer. + + + + + Gets the size of the send buffer. + + + + + Gets the socket configurator. + + + + + Returns a new TcpStreamSettings instance with some settings changed. + + The address family. + The connect timeout. + The read timeout. + Size of the receive buffer. + Size of the send buffer. + The socket configurator. + The write timeout. + A new TcpStreamSettings instance. + + + + Gets the write timeout. + + + + + Represents a connection pool. + + + + + Acquires a connection. + + The cancellation token. + A connection. + + + + Acquires a connection. + + The cancellation token. + A Task whose result is a connection. + + + + Clears the connection pool. + + + + + Initializes the connection pool. + + + + + Gets the server identifier. + + + + + Represents a connection pool factory. + + + + + Creates a connection pool. + + The server identifier. + The end point. + A connection pool. + + + + Represents the result of a buildInfo command. + + + + + Initializes a new instance of the class. + + The wrapped result document. + + + Indicates whether the current object is equal to another object of the same type. + An object to compare with this object. + true if the current object is equal to the parameter; otherwise, false. + + + Determines whether the specified object is equal to the current object. + The object to compare with the current object. + true if the specified object is equal to the current object; otherwise, false. + + + Serves as the default hash function. + A hash code for the current object. + + + + Gets the server version. + + + + + Gets the wrapped result document. + + + + + Represents information describing a connection. + + + + + Initializes a new instance of the class. + + The connection identifier. + The issMaster result. + The buildInfo result. + + + + Gets the buildInfo result. + + + + + Gets the connection identifier. + + + + Indicates whether the current object is equal to another object of the same type. + An object to compare with this object. + true if the current object is equal to the parameter; otherwise, false. + + + Determines whether the specified object is equal to the current object. + The object to compare with the current object. + true if the specified object is equal to the current object; otherwise, false. + + + Serves as the default hash function. + A hash code for the current object. + + + + Gets the isMaster result. + + + + + Gets the maximum number of documents in a batch. + + + + + Gets the maximum size of a document. + + + + + Gets the maximum size of a message. + + + + + Gets the maximum size of a wire document. + + + + + Gets the server version. + + + + + Returns a new instance of ConnectionDescription with a different connection identifier. + + The value. + A connection description. + + + + Represents a connection identifier. + + + + + Initializes a new instance of the class. + + The server identifier. + + + + Initializes a new instance of the class. + + The server identifier. + The local value. + + + Indicates whether the current object is equal to another object of the same type. + An object to compare with this object. + true if the current object is equal to the parameter; otherwise, false. + + + Determines whether the specified object is equal to the current object. + The object to compare with the current object. + true if the specified object is equal to the current object; otherwise, false. + + + Serves as the default hash function. + A hash code for the current object. + + + + Gets the local value. + + + + + Gets the server identifier. + + + + + Gets the server value. + + + + + Compares all fields of two ConnectionId instances (Equals ignores the ServerValue). + + The other ConnectionId. + True if both instances are equal. + + + Returns a string that represents the current object. + A string that represents the current object. + + + + Returns a new instance of ConnectionId with a new server value. + + The server value. + A ConnectionId. + + + + Represents a connection. + + + + + Gets the connection identifier. + + + + + Gets the connection description. + + + + + Gets the end point. + + + + + Gets a value indicating whether this instance is expired. + + + + + Opens the connection. + + The cancellation token. + + + + Opens the connection. + + The cancellation token. + A Task. + + + + Receives a message. + + The id of the sent message for which a response is to be received. + The encoder selector. + The message encoder settings. + The cancellation token. + + The response message. + + + + + Receives a message. + + The id of the sent message for which a response is to be received. + The encoder selector. + The message encoder settings. + The cancellation token. + + A Task whose result is the response message. + + + + + Sends the messages. + + The messages. + The message encoder settings. + The cancellation token. + + + + Sends the messages. + + The messages. + The message encoder settings. + The cancellation token. + A Task. + + + + Gets the connection settings. + + + + + Represents a connection factory. + + + + + Creates the connection. + + The server identifier. + The end point. + A connection. + + + + Represents a handle to a connection. + + + + + A new handle to the underlying connection. + + A connection handle. + + + + Represents the result of an isMaster command. + + + + + Initializes a new instance of the class. + + The wrapped result document. + + + + Gets the election identifier. + + + + Indicates whether the current object is equal to another object of the same type. + An object to compare with this object. + true if the current object is equal to the parameter; otherwise, false. + + + Determines whether the specified object is equal to the current object. + The object to compare with the current object. + true if the specified object is equal to the current object; otherwise, false. + + + Serves as the default hash function. + A hash code for the current object. + + + + Gets the replica set configuration. + + The replica set configuration. + + + + Gets a value indicating whether this instance is an arbiter. + + + + + Gets a value indicating whether this instance is a replica set member. + + + + + Gets the last write timestamp. + + + + + Gets the maximum number of documents in a batch. + + + + + Gets the maximum size of a document. + + + + + Gets the maximum size of a message. + + + + + Gets the maximum wire version. + + + + + Gets the endpoint the server is claiming it is known as. + + + + + Gets the minimum wire version. + + + + + Gets the type of the server. + + + + + Gets the replica set tags. + + + + + Gets the wrapped result document. + + + + + Represents a stream factory. + + + + + Creates a stream. + + The end point. + The cancellation token. + A Stream. + + + + Creates a stream. + + The end point. + The cancellation token. + A Task whose result is the Stream. + + + + Occurs after a server is added to the cluster. + + + + + Initializes a new instance of the struct. + + The server identifier. + The duration of time it took to add the server. + + + + Gets the cluster identifier. + + + + + Gets the duration of time it took to add a server, + + + + + Gets the server identifier. + + + + + Occurs before a server is added to the cluster. + + + + + Initializes a new instance of the struct. + + The cluster identifier. + The end point. + + + + Gets the cluster identifier. + + + + + Gets the end point. + + + + + Occurs after a cluster is closed. + + + + + Initializes a new instance of the struct. + + The cluster identifier. + The duration of time it took to close the cluster. + + + + Gets the cluster identifier. + + + + + Gets the duration of time it took to close the cluster. + + + + + Occurs before a cluster is closed. + + + + + Initializes a new instance of the struct. + + The cluster identifier. + + + + Gets the cluster identifier. + + + + + Occurs when a cluster has changed. + + + + + Initializes a new instance of the struct. + + The old description. + The new description. + + + + Gets the cluster identifier. + + + + + Gets the new description. + + + + + Gets the old description. + + + + + Occurs after a cluster is opened. + + + + + Initializes a new instance of the struct. + + The cluster identifier. + The cluster settings. + The duration of time it took to open the cluster. + + + + Gets the cluster identifier. + + + + + Gets the cluster settings. + + + + + Gets the duration of time it took to open the cluster. + + + + + Occurs before a cluster is opened. + + + + + Initializes a new instance of the struct. + + The cluster identifier. + The cluster settings. + + + + Gets the cluster identifier. + + + + + Gets the cluster settings. + + + + + Occurs after a server has been removed from the cluster. + + + + + Initializes a new instance of the struct. + + The server identifier. + The reason. + The duration of time it took to remove the server. + + + + Gets the cluster identifier. + + + + + Gets the duration of time it took to remove the server. + + + + + Gets the reason the server was removed. + + + + + Gets the server identifier. + + + + + Occurs before a server is removed from the cluster. + + + + + Initializes a new instance of the struct. + + The server identifier. + The reason the server is being removed. + + + + Gets the cluster identifier. + + + + + Gets the reason the server is being removed. + + + + + Gets the server identifier. + + + + + Occurs after a server is selected. + + + + + Initializes a new instance of the struct. + + The cluster description. + The server selector. + The selected server. + The duration of time it took to select the server. + The operation identifier. + + + + Gets the cluster description. + + + + + Gets the cluster identifier. + + + + + Gets the duration of time it took to select the server. + + + + + Gets the operation identifier. + + + + + Gets the selected server. + + + + + Gets the server selector. + + + + + Occurs before a server is selected. + + + + + Initializes a new instance of the struct. + + The cluster description. + The server selector. + The operation identifier. + + + + Gets the cluster description. + + + + + Gets the cluster identifier. + + + + + Gets the operation identifier. + + + + + Gets the server selector. + + + + + Occurs when selecting a server fails. + + + + + Initializes a new instance of the struct. + + The cluster description. + The server selector. + The exception. + The operation identifier. + + + + Gets the cluster description. + + + + + Gets the cluster identifier. + + + + + Gets the exception. + + + + + Gets the operation identifier. + + + + + Gets the server selector. + + + + + Occurs when a command has failed. + + + + + Initializes a new instance of the struct. + + Name of the command. + The exception. + The operation identifier. + The request identifier. + The connection identifier. + The duration. + + + + Gets the name of the command. + + + + + Gets the connection identifier. + + + + + Gets the duration. + + + + + Gets the exception. + + + + + Gets the operation identifier. + + + + + Gets the request identifier. + + + + + Occurs when a command has started. + + + + + Initializes a new instance of the class. + + Name of the command. + The command. + The database namespace. + The operation identifier. + The request identifier. + The connection identifier. + + + + Gets the command. + + + + + Gets the name of the command. + + + + + Gets the connection identifier. + + + + + Gets the database namespace. + + + + + Gets the operation identifier. + + + + + Gets the request identifier. + + + + + Occurs when a command has succeeded. + + + + + Initializes a new instance of the struct. + + Name of the command. + The reply. + The operation identifier. + The request identifier. + The connection identifier. + The duration. + + + + Gets the name of the command. + + + + + Gets the connection identifier. + + + + + Gets the duration. + + + + + Gets the operation identifier. + + + + + Gets the reply. + + + + + Gets the request identifier. + + + + + Occurs after a connection is closed. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The duration of time it took to close the connection. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the duration of time it took to close the connection. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + Occurs before a connection is closed. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + Occurs when a connection fails. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The exception. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the exception. + + + + + Gets the server identifier. + + + + + Occurs after a connection is opened. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The connection settings. + The duration of time it took to open the connection. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the connection settings. + + + + + Gets the duration of time it took to open the connection. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + Occurs before a connection is opened. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The connection settings. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the connection settings. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + Occurs when a connection fails to open. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The connection settings. + The exception. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the connection settings. + + + + + Gets the exception. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + Occurs after a connection is added to the pool. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The duration of time it took to add the connection to the pool. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the duration of time it took to add the server to the pool. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + Occurs before a connection is added to the pool. + + + + + Initializes a new instance of the struct. + + The server identifier. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + Occurs after a connection is checked in to the pool. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The duration of time it took to check in the connection. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the duration of time it took to check in the connection. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + Occurs after a connection is checked out of the pool. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The duration of time it took to check out the connection. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the duration of time it took to check out the connection. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + Occurs before a connection is checked in to the pool. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + Occurs before a connection is checking out of the pool. + + + + + Initializes a new instance of the struct. + + The server identifier. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + Occurs when a connection could not be checked out of the pool. + + + + + Initializes a new instance of the struct. + + The server identifier. + The exception. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the exception. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + Occurs after the pool is closed. + + + + + Initializes a new instance of the struct. + + The server identifier. + + + + Gets the cluster identifier. + + + + + Gets the server identifier. + + + + + Occurs before the pool is closed. + + + + + Initializes a new instance of the struct. + + The server identifier. + + + + Gets the cluster identifier. + + + + + Gets the server identifier. + + + + + Occurs after the pool is opened. + + + + + Initializes a new instance of the struct. + + The server identifier. + The connection pool settings. + + + + Gets the cluster identifier. + + + + + Gets the connection pool settings. + + + + + Gets the server identifier. + + + + + Occurs before the pool is opened. + + + + + Initializes a new instance of the struct. + + The server identifier. + The connection pool settings. + + + + Gets the cluster identifier. + + + + + Gets the connection pool settings. + + + + + Gets the server identifier. + + + + + Occurs after a connection is removed from the pool. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The duration of time it took to remove the connection from the pool. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the duration of time it took to remove the connection from the pool. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + Occurs before a connection is removed from the pool. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + Occurs after a message is received. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The id of the message we received a response to. + The length of the received message. + The duration of network time it took to receive the message. + The duration of deserialization time it took to receive the message. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the duration of deserialization time it took to receive the message. + + + + + Gets the duration of time it took to receive the message. + + + + + Gets the length of the received message. + + + + + Gets the duration of network time it took to receive the message. + + + + + Gets the operation identifier. + + + + + Gets the id of the message we received a response to. + + + + + Gets the server identifier. + + + + + Occurs before a message is received. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The id of the message we are receiving a response to. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the operation identifier. + + + + + Gets the id of the message we are receiving a response to. + + + + + Gets the server identifier. + + + + + Occurs when a message was unable to be received. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The id of the message we were receiving a response to. + The exception. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the exception. + + + + + Gets the operation identifier. + + + + + Gets id of the message we were receiving a response to. + + + + + Gets the server identifier. + + + + + Occurs before a message is sent. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The request ids. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the operation identifier. + + + + + Gets the request ids. + + + + + Gets the server identifier. + + + + + Occurs when a message could not be sent. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The request ids. + The exception. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the exception. + + + + + Gets the operation identifier. + + + + + Gets the request ids. + + + + + Gets the server identifier. + + + + + Occurs after a message has been sent. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The request ids. + The length. + The duration of time spent on the network. + The duration of time spent serializing the messages. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the duration of time it took to send the message. + + + + + Gets the combined length of the messages. + + + + + Gets the duration of time spent on the network. + + + + + Gets the operation identifier. + + + + + Gets the request ids. + + + + + Gets the duration of time spent serializing the messages. + + + + + Gets the server identifier. + + + + + A subscriber to events. + + + + + Tries to get an event handler for an event of type . + + The handler. + The type of the event. + + true if this subscriber has provided an event handler; otherwise false. + + + + Subscribes methods with a single argument to events + of that single argument's type. + + + + + Initializes a new instance of the class. + + The instance. + Name of the method to match against. + The binding flags. + + + + Tries to get an event handler for an event of type . + + The handler. + The type of the event. + + true if this subscriber has provided an event handler; otherwise false. + + + + Occurs after a server is closed. + + + + + Initializes a new instance of the struct. + + The server identifier. + The duration of time it took to close the server. + + + + Gets the cluster identifier. + + + + + Gets the duration of time it took to close the server. + + + + + Gets the server identifier. + + + + + Occurs before a server is closed. + + + + + Initializes a new instance of the struct. + + The server identifier. + + + + Gets the cluster identifier. + + + + + Gets the server identifier. + + + + + Occurs after a server's description has changed. + + + + + Initializes a new instance of the struct. + + The old description. + The new description. + + + + Gets the cluster identifier. + + + + + Gets the new description. + + + + + Gets the old description. + + + + + Gets the server identifier. + + + + + Occurs when a heartbeat failed. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The exception. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the exception. + + + + + Gets the server identifier. + + + + + Occurs when a heartbeat succeeded. + + + + + Initializes a new instance of the struct. + + The connection identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the server identifier. + + + + + Occurs before heartbeat is issued. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The duration of time it took to complete the heartbeat. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the duration of time it took to complete the heartbeat. + + + + + Gets the server identifier. + + + + + Occurs after a server is opened. + + + + + Initializes a new instance of the struct. + + The server identifier. + The server settings. + The duration of time it took to open the server. + + + + Gets the cluster identifier. + + + + + Gets the duration of time it took to open the server. + + + + + Gets the server identifier. + + + + + Gets the server settings. + + + + + Occurs before a server is opened. + + + + + Initializes a new instance of the struct. + + The server identifier. + The server settings. + + + + Gets the cluster identifier. + + + + + Gets the server identifier. + + + + + Gets the server settings. + + + + + Subscriber for a single type of event. + + The type of the single event. + + + + Initializes a new instance of the class. + + The handler. + + + + Tries to get an event handler for an event of type . + + The handler. + The type of the event. + + true if this subscriber has provided an event handler; otherwise false. + + + + Represents an event subscriber that records certain events to Windows performance counters. + + + + + Initializes a new instance of the class. + + The name of the application. + + + + Installs the performance counters. + + + + + Tries to get an event handler for an event of type . + + The handler. + The type of the event. + + true if this subscriber has provided an event handler; otherwise false. + + + + An event subscriber that writes command events to a trace source. + + + + + Initializes a new instance of the class. + + The trace source. + + + + Tries to get an event handler for an event of type . + + The handler. + The type of the event. + + true if this subscriber has provided an event handler; otherwise false. + + + + An event subscriber that writes to a trace source. + + + + + Initializes a new instance of the class. + + The trace source. + + + + Tries to get an event handler for an event of type . + + The handler. + The type of the event. + + true if this subscriber has provided an event handler; otherwise false. + + + + Represents a source of items that can be broken into batches. + + The type of the items. + + + + Initializes a new instance of the class. + + The single batch. + + + + Initializes a new instance of the class. + + The enumerator that will provide the items for the batch. + + + + Gets the most recent batch. + + + + + Clears the most recent batch. + + + + + Gets the current item. + + + + + Called when the last batch is complete. + + The batch. + + + + Called when an intermediate batch is complete. + + The batch. + The overflow item. + + + + Gets all the remaining items that haven't been previously consumed. + + The remaining items. + + + + Gets a value indicating whether there are more items. + + + + + Moves to the next item in the source. + + True if there are more items. + + + + Starts a new batch. + + The overflow item of the previous batch if there is one; otherwise, null. + + + + Represents an overflow item that did not fit in the most recent batch and will be become the first item in the next batch. + + + + + + + MongoDB.Driver.Core.Misc.BatchableSource`1.Overflow + + + + + + + The item. + + + + + The state information, if any, that the consumer wishes to associate with the overflow item. + + + + + Represents the collation feature. + + + + + Initializes a new instance of the class. + + The name of the feature. + The first server version that supports the feature. + + + + Throws if collation value is not null and collations are not supported. + + The server version. + The value. + + + + Represents the commands that write accept write concern concern feature. + + + + + Initializes a new instance of the class. + + The name of the feature. + The first server version that supports the feature. + + + + Returns true if the write concern value supplied is one that should be sent to the server and the server version supports the commands that write accept write concern feature. + + The server version. + The write concern value. + Whether the write concern should be sent to the server. + + + + Represents helper methods for EndPoints. + + + + + Determines whether a list of end points contains a specific end point. + + The list of end points. + The specific end point to search for. + True if the list of end points contains the specific end point. + + + + Gets an end point equality comparer. + + + + + Compares two end points. + + The first end point. + The second end point. + True if both end points are equal, or if both are null. + + + + Creates an end point from object data saved during serialization. + + The object data. + An end point. + + + + Gets the object data required to serialize an end point. + + The end point. + The object data. + + + + Parses the string representation of an end point. + + The value to parse. + An end point. + + + + Compares two sequences of end points. + + The first sequence of end points. + The second sequence of end points. + True if both sequences contain the same end points in the same order, or if both sequences are null. + + + + Returns a that represents the end point. + + The end point. + + A that represents the end point. + + + + + Tries to parse the string representation of an end point. + + The value to parse. + The result. + True if the string representation was parsed successfully. + + + + Represents methods that can be used to ensure that parameter values meet expected conditions. + + + + + Ensures that the value of a parameter is between a minimum and a maximum value. + + The value of the parameter. + The minimum value. + The maximum value. + The name of the parameter. + Type type of the value. + The value of the parameter. + + + + Ensures that the value of a parameter is equal to a comparand. + + The value of the parameter. + The comparand. + The name of the parameter. + Type type of the value. + The value of the parameter. + + + + Ensures that the value of a parameter is greater than or equal to a comparand. + + The value of the parameter. + The comparand. + The name of the parameter. + Type type of the value. + The value of the parameter. + + + + Ensures that the value of a parameter is greater than or equal to zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is greater than or equal to zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is greater than or equal to zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is greater than zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is greater than zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is greater than zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is infinite or greater than or equal to zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is infinite or greater than zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is not null. + + The value of the parameter. + The name of the parameter. + Type type of the value. + The value of the parameter. + + + + Ensures that the value of a parameter is not null or empty. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is null. + + The value of the parameter. + The name of the parameter. + Type type of the value. + The value of the parameter. + + + + Ensures that the value of a parameter is null or greater than or equal to zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is null or greater than or equal to zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is null or greater than zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is null or greater than zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is null or greater than zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is null, or infinite, or greater than or equal to zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is null or not empty. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is null or a valid timeout. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is a valid timeout. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that an assertion is true. + + The assertion. + The message to use with the exception that is thrown if the assertion is false. + + + + Ensures that an assertion is true. + + The assertion. + The message to use with the exception that is thrown if the assertion is false. + The parameter name. + + + + Ensures that the value of a parameter meets an assertion. + + The value of the parameter. + The assertion. + The name of the parameter. + The message to use with the exception that is thrown if the assertion is false. + Type type of the value. + The value of the parameter. + + + + Represents a feature that is not supported by all versions of the server. + + + + + Initializes a new instance of the class. + + The name of the feature. + The first server version that supports the feature. + + + + Gets the aggregate feature. + + + + + Gets the aggregate allow disk use feature. + + + + + Gets the aggregate bucket stage feature. + + + + + Gets the aggregate count stage feature. + + + + + Gets the aggregate cursor result feature. + + + + + Gets the aggregate explain feature. + + + + + Gets the aggregate $facet stage feature. + + + + + Gets the aggregate $graphLookup stage feature. + + + + + Gets the aggregate out feature. + + + + + Gets the bypass document validation feature. + + + + + Gets the collation feature. + + + + + Gets the commands that write accept write concern feature. + + + + + Gets the create indexes command feature. + + + + + Gets the current op command feature. + + + + + Gets the document validation feature. + + + + + Gets the explain command feature. + + + + + Gets the fail points feature. + + + + + Gets the find and modify write concern feature. + + + + + Gets the find command feature. + + + + + Gets the first server version that supports the feature. + + + + + Gets the index options defaults feature. + + + + + Determines whether a feature is supported by a version of the server. + + The server version. + Whether a feature is supported by a version of the server. + + + + Gets the last server version that does not support the feature. + + + + + Gets the list collections command feature. + + + + + Gets the list indexes command feature. + + + + + Gets the maximum staleness feature. + + + + + Gets the maximum time feature. + + + + + Gets the name of the feature. + + + + + Gets the partial indexes feature. + + + + + Gets the read concern feature. + + + + + Gets the scram sha1 authentication feature. + + + + + Gets the server extracts username from X509 certificate feature. + + + + + Returns a version of the server where the feature is or is not supported. + + Whether the feature is supported or not. + A version of the server where the feature is or is not supported. + + + + Throws if the feature is not supported by a version of the server. + + The server version. + + + + Gets the user management commands feature. + + + + + Gets the views feature. + + + + + Gets the write commands feature. + + + + + Represents a range between a minimum and a maximum value. + + The type of the value. + + + + Initializes a new instance of the class. + + The minimum value. + The maximum value. + + + Indicates whether the current object is equal to another object of the same type. + An object to compare with this object. + true if the current object is equal to the parameter; otherwise, false. + + + Determines whether the specified object is equal to the current object. + The object to compare with the current object. + true if the specified object is equal to the current object; otherwise, false. + + + Serves as the default hash function. + A hash code for the current object. + + + + Gets the maximum value. + + + + + Gets the minimum value. + + + + + Determines whether this range overlaps with another range. + + The other range. + True if this range overlaps with the other + + + Returns a string that represents the current object. + A string that represents the current object. + + + + Represents the read concern feature. + + + + + Initializes a new instance of the class. + + The name of the feature. + The first server version that supports the feature. + + + + Throws if the read concern value is not the server default and read concern is not supported. + + The server version. + The value. + + + + Represents a semantic version number. + + + + + Initializes a new instance of the class. + + The major version. + The minor version. + The patch version. + + + + Initializes a new instance of the class. + + The major version. + The minor version. + The patch version. + The pre release version. + + + Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. + An object to compare with this instance. + A value that indicates the relative order of the objects being compared. The return value has these meanings: Value Meaning Less than zero This instance precedes in the sort order. Zero This instance occurs in the same position in the sort order as . Greater than zero This instance follows in the sort order. + + + Indicates whether the current object is equal to another object of the same type. + An object to compare with this object. + true if the current object is equal to the parameter; otherwise, false. + + + Determines whether the specified object is equal to the current object. + The object to compare with the current object. + true if the specified object is equal to the current object; otherwise, false. + + + Serves as the default hash function. + A hash code for the current object. + + + + Gets the major version. + + + + + Gets the minor version. + + + + + Determines whether two specified semantic versions have the same value. + + The first semantic version to compare, or null. + The second semantic version to compare, or null. + + True if the value of a is the same as the value of b; otherwise false. + + + + + Determines whether the first specified SemanticVersion is greater than the second specified SemanticVersion. + + The first semantic version to compare, or null. + The second semantic version to compare, or null. + + True if the value of a is greater than b; otherwise false. + + + + + Determines whether the first specified SemanticVersion is greater than or equal to the second specified SemanticVersion. + + The first semantic version to compare, or null. + The second semantic version to compare, or null. + + True if the value of a is greater than or equal to b; otherwise false. + + + + + Determines whether two specified semantic versions have different values. + + The first semantic version to compare, or null. + The second semantic version to compare, or null. + + True if the value of a is different from the value of b; otherwise false. + + + + + Determines whether the first specified SemanticVersion is less than the second specified SemanticVersion. + + The first semantic version to compare, or null. + The second semantic version to compare, or null. + + True if the value of a is less than b; otherwise false. + + + + + Determines whether the first specified SemanticVersion is less than or equal to the second specified SemanticVersion. + + The first semantic version to compare, or null. + The second semantic version to compare, or null. + + True if the value of a is less than or equal to b; otherwise false. + + + + + Parses a string representation of a semantic version. + + The string value to parse. + A semantic version. + + + + Gets the patch version. + + + + + Gets the pre release version. + + + + Returns a string that represents the current object. + A string that represents the current object. + + + + Tries to parse a string representation of a semantic version. + + The string value to parse. + The result. + True if the string representation was parsed successfully; otherwise false. + + + + Represents a tentative request to acquire a SemaphoreSlim. + + + + + Initializes a new instance of the class. + + The semaphore. + The cancellation token. + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + Gets the semaphore wait task. + + + + + Represents an aggregate explain operations. + + + + + Initializes a new instance of the class. + + The collection namespace. + The pipeline. + The message encoder settings. + + + + Gets or sets a value indicating whether the server is allowed to use the disk. + + + + + Gets or sets the collation. + + + + + Gets the collection namespace. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets or sets the maximum time the server should spend on this operation. + + + + + Gets the message encoder settings. + + + + + Gets the pipeline. + + + + + Represents an aggregate operation. + + The type of the result values. + + + + Initializes a new instance of the class. + + The collection namespace. + The pipeline. + The result value serializer. + The message encoder settings. + + + + Gets or sets a value indicating whether the server is allowed to use the disk. + + + + + Gets or sets the size of a batch. + + + + + Gets or sets the collation. + + + + + Gets the collection namespace. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets or sets the maximum time the server should spend on this operation. + + + + + Gets the message encoder settings. + + + + + Gets the pipeline. + + + + + Gets or sets the read concern. + + + + + Gets the result value serializer. + + + + + Returns an AggregateExplainOperation for this AggregateOperation. + + The verbosity. + An AggregateExplainOperation. + + + + Gets or sets a value indicating whether the server should use a cursor to return the results. + + + + + Represents an aggregate operation that writes the results to an output collection. + + + + + Initializes a new instance of the class. + + The collection namespace. + The pipeline. + The message encoder settings. + + + + Gets or sets a value indicating whether the server is allowed to use the disk. + + + + + Gets or sets a value indicating whether to bypass document validation. + + + + + Gets or sets the collation. + + + + + Gets the collection namespace. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets or sets the maximum time the server should spend on this operation. + + + + + Gets the message encoder settings. + + + + + Gets the pipeline. + + + + + Gets or sets the write concern. + + + + + Represents an async cursor. + + The type of the documents. + + + + Initializes a new instance of the class. + + The channel source. + The collection namespace. + The query. + The first batch. + The cursor identifier. + The size of a batch. + The limit. + The serializer. + The message encoder settings. + The maxTime for each batch. + + + + Gets the current batch of documents. + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + Releases unmanaged and - optionally - managed resources. + + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Moves to the next batch of documents. + + The cancellation token. + Whether any more documents are available. + + + + Moves to the next batch of documents. + + The cancellation token. + A Task whose result indicates whether any more documents are available. + + + + Represents a mixed write bulk operation. + + + + + Initializes a new instance of the class. + + The collection namespace. + The requests. + The message encoder settings. + + + + Gets or sets a value indicating whether to bypass document validation. + + + + + Gets the collection namespace. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets or sets a value indicating whether the writes must be performed in order. + + + + + Gets or sets the maximum number of documents in a batch. + + + + + Gets or sets the maximum length of a batch. + + + + + Gets or sets the maximum size of a document. + + + + + Gets or sets the maximum size of a wire document. + + + + + Gets the message encoder settings. + + + + + Gets the requests. + + + + + Gets or sets the write concern. + + + + + Represents the details of a write concern error. + + + + + Initializes a new instance of the class. + + The code. + The message. + The details. + + + + Gets the error code. + + + + + Gets the error details. + + + + + Gets the error message. + + + + + Represents the details of a write error for a particular request. + + + + + Initializes a new instance of the class. + + The index. + The code. + The message. + The details. + + + + Gets the error category. + + + + + Gets the error code. + + + + + Gets the error details. + + + + + Gets the index of the request that had an error. + + + + + Gets the error message. + + + + + Represents the result of a bulk write operation. + + + + + Initializes a new instance of the class. + + The request count. + The processed requests. + + + + Gets the number of documents that were deleted. + + + + + Gets the number of documents that were inserted. + + + + + Gets a value indicating whether the bulk write operation was acknowledged. + + + + + Gets a value indicating whether the modified count is available. + + + + + Gets the number of documents that were matched. + + + + + Gets the number of documents that were actually modified during an update. + + + + + Gets the processed requests. + + + + + Gets the request count. + + + + + Gets a list with information about each request that resulted in an upsert. + + + + + Represents the result of an acknowledged bulk write operation. + + + + + Initializes a new instance of the class. + + The request count. + The matched count. + The deleted count. + The inserted count. + The modified count. + The processed requests. + The upserts. + + + + Gets the number of documents that were deleted. + + + + + Gets the number of documents that were inserted. + + + + + Gets a value indicating whether the bulk write operation was acknowledged. + + + + + Gets a value indicating whether the modified count is available. + + + + + Gets the number of documents that were matched. + + + + + Gets the number of documents that were actually modified during an update. + + + + + Gets a list with information about each request that resulted in an upsert. + + + + + Represents the result of an unacknowledged BulkWrite operation. + + + + + Initializes a new instance of the class. + + The request count. + The processed requests. + + + + Gets the number of documents that were deleted. + + + + + Gets the number of documents that were inserted. + + + + + Gets a value indicating whether the bulk write operation was acknowledged. + + + + + Gets a value indicating whether the modified count is available. + + + + + Gets the number of documents that were matched. + + + + + Gets the number of documents that were actually modified during an update. + + + + + Gets a list with information about each request that resulted in an upsert. + + + + + Represents the information about one Upsert. + + + + + Gets the identifier. + + + + + Gets the index. + + + + + Represents the base class for a command operation. + + The type of the command result. + + + + Initializes a new instance of the class. + + The database namespace. + The command. + The result serializer. + The message encoder settings. + + + + Gets or sets the additional options. + + + + + Gets the command. + + + + + Gets or sets the command validator. + + + + + Gets or sets the comment. + + + + + Gets the database namespace. + + + + + Executes the protocol. + + The channel source. + The read preference. + The cancellation token. + A Task whose result is the command result. + + + + Executes the protocol. + + The channel source. + The read preference. + The cancellation token. + A Task whose result is the command result. + + + + Gets the message encoder settings. + + + + + Gets the result serializer. + + + + + Represents a count operation. + + + + + Initializes a new instance of the class. + + The collection namespace. + The message encoder settings. + + + + Gets or sets the collation. + + + + + Gets the collection namespace. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets or sets the filter. + + + + + Gets or sets the index hint. + + + + + Gets or sets a limit on the number of matching documents to count. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + + + Gets the message encoder settings. + + + + + Gets or sets the read concern. + + + + + Gets or sets the number of documents to skip before counting the remaining matching documents. + + + + + Represents a create collection operation. + + + + + Initializes a new instance of the class. + + The collection namespace. + The message encoder settings. + + + + Gets or sets a value indicating whether an index on _id should be created automatically. + + + + + Gets or sets a value indicating whether the collection is a capped collection. + + + + + Gets or sets the collation. + + + + + Gets the collection namespace. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets or sets the index option defaults. + + + + + Gets or sets the maximum number of documents in a capped collection. + + + + + Gets or sets the maximum size of a capped collection. + + + + + Gets the message encoder settings. + + + + + Gets or sets whether padding should not be used. + + + + + Gets or sets the storage engine options. + + + + + Gets or sets a value indicating whether the collection should use power of 2 sizes. + + + + + Gets or sets the validation action. + + + + + Gets or sets the validation level. + + + + + Gets or sets the validator. + + + + + Gets or sets the write concern. + + + + + Represents a create indexes operation. + + + + + Initializes a new instance of the class. + + The collection namespace. + The requests. + The message encoder settings. + + + + Gets the collection namespace. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets the message encoder settings. + + + + + Gets the create index requests. + + + + + Gets or sets the write concern. + + + + + Represents a create indexes operation that uses the createIndexes command. + + + + + Initializes a new instance of the class. + + The collection namespace. + The requests. + The message encoder settings. + + + + Gets the collection namespace. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets the message encoder settings. + + + + + Gets the create index requests. + + + + + Gets or sets the write concern. + + + + + Represents a create indexes operation that inserts into the system.indexes collection (used with older server versions). + + + + + Initializes a new instance of the class. + + The collection namespace. + The requests. + The message encoder settings. + + + + Gets the collection namespace. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets the message encoder settings. + + + + + Gets the create index requests. + + + + + Represents a create index request. + + + + + Initializes a new instance of the class. + + The keys. + + + + Gets or sets the additional options. + + + + + Gets or sets a value indicating whether the index should be created in the background. + + + + + Gets or sets the bits of precision of the geohash values for 2d geo indexes. + + + + + Gets or sets the size of the bucket for geo haystack indexes. + + + + + Gets or sets the collation. + + + + + Gets or sets the default language for text indexes. + + + + + Gets or sets when documents in a TTL collection expire. + + + + + Gets the name of the index. + + The name of the index. + + + + Gets the keys. + + + + + Gets or sets the language override for text indexes. + + + + + Gets or sets the maximum coordinate value for 2d indexes. + + + + + Gets or sets the minimum coordinate value for 2d indexes. + + + + + Gets or sets the index name. + + + + + Gets or sets the partial filter expression. + + + + + Gets or sets a value indicating whether the index is a sparse index. + + + + + Gets or sets the 2dsphere index version. + + + + + Gets or sets the storage engine options. + + + + + Gets or sets the text index version. + + + + + Gets or sets a value indicating whether the index enforces the uniqueness of the key values. + + + + + Gets or sets the index version. + + + + + Gets or sets the weights for text indexes. + + + + + Represents a create view operation. + + + + + Initializes a new instance of the class. + + The name of the database. + The name of the view. + The name of the collection that the view is on. + The pipeline. + The message encoder settings. + + + + Gets or sets the collation. + + + + + Gets the namespace of the database. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets the message encoder settings. + + + + + Gets the pipeline. + + + + + Gets the name of the view. + + + + + Gets the name of the collection that the view is on. + + + + + Gets or sets the write concern. + + + + + The cursor type. + + + + + A non-tailable cursor. This is sufficient for most uses. + + + + + A tailable cursor. + + + + + A tailable cursor with a built-in server sleep. + + + + + Represents a database exists operation. + + + + + Initializes a new instance of the class. + + The database namespace. + The message encoder settings. + + + + Gets the database namespace. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets the message encoder settings. + + + + + Represents a delete operation using the delete opcode. + + + + + Initializes a new instance of the class. + + The collection namespace. + The request. + The message encoder settings. + + + + Gets the collection namespace. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets the message encoder settings. + + + + + Gets the request. + + + + + Gets or sets the write concern. + + + + + Represents a request to delete one or more documents. + + + + + Initializes a new instance of the class. + + The filter. + + + + Gets or sets the collation. + + + + + Gets or sets the filter. + + + + + Gets or sets a limit on the number of documents that should be deleted. + + + + + Represents a distinct operation. + + The type of the value. + + + + Initializes a new instance of the class. + + The collection namespace. + The value serializer. + The name of the field. + The message encoder settings. + + + + Gets or sets the collation. + + + + + Gets the collection namespace. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets the name of the field. + + + + + Gets or sets the filter. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + + + Gets the message encoder settings. + + + + + Gets or sets the read concern. + + + + + Gets the value serializer. + + + + + Represents a drop collection operation. + + + + + Initializes a new instance of the class. + + The collection namespace. + The message encoder settings. + + + + Gets the collection namespace. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets the message encoder settings. + + + + + Gets or sets the write concern. + + + + + Represents a drop database operation. + + + + + Initializes a new instance of the class. + + The database namespace. + The message encoder settings. + + + + Gets the database namespace. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets the message encoder settings. + + + + + Gets or sets the write concern. + + + + + Represents a drop index operation. + + + + + Initializes a new instance of the class. + + The collection namespace. + The keys. + The message encoder settings. + + + + Initializes a new instance of the class. + + The collection namespace. + The name of the index. + The message encoder settings. + + + + Gets the collection namespace. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets the name of the index. + + + + + Gets the message encoder settings. + + + + + Gets or sets the write concern. + + + + + Represents an eval operation. + + + + + Initializes a new instance of the class. + + The database namespace. + The JavaScript function. + The message encoder settings. + + + + Gets or sets the arguments to the JavaScript function. + + + + + Gets the database namespace. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets the JavaScript function. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + + + Gets the message encoder settings. + + + + + Gets or sets a value indicating whether the server should not take a global write lock before evaluating the JavaScript function. + + + + + Represents an explain operation. + + + + + Initializes a new instance of the class. + + The database namespace. + The command. + The message encoder settings. + + + + Gets the command to be explained. + + + + + Gets the database namespace. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets the message encoder settings. + + + + + Gets or sets the verbosity. + + + + + The verbosity of an explanation. + + + + + Runs the query planner and chooses the winning plan, but does not actually execute it. + + + + + Runs the query optimizer, and then runs the winning plan to completion. In addition to the + planner information, this makes execution stats available. + + + + + Runs the query optimizer and chooses the winning plan, but then runs all generated plans + to completion. This makes execution stats available for all of the query plans. + + + + + Represents a base class for find and modify operations. + + The type of the result. + + + + Initializes a new instance of the class. + + The collection namespace. + The result serializer. + The message encoder settings. + + + + Gets or sets the collation. + + + + + Gets the collection namespace. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets the command validator. + + An element name validator for the command. + + + + Gets the message encoder settings. + + + + + Gets the result serializer. + + + + + Gets or sets the write concern. + + + + + Represents a deserializer for find and modify result values. + + The type of the result. + + + + Initializes a new instance of the class. + + The value serializer. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Represents a Find command operation. + + The type of the document. + + + + Initializes a new instance of the class. + + The collection namespace. + The result serializer. + The message encoder settings. + + + + Gets or sets a value indicating whether the server is allowed to return partial results if any shards are unavailable. + + + + + Gets or sets the size of a batch. + + + + + Gets or sets the collation. + + + + + Gets the collection namespace. + + + + + Gets or sets the comment. + + + + + Gets or sets the type of the cursor. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets or sets the filter. + + + + + Gets or sets the size of the first batch. + + + + + Gets or sets the hint. + + + + + Gets or sets the limit. + + + + + Gets or sets the max key value. + + + + + Gets or sets the maximum await time for TailableAwait cursors. + + + + + Gets or sets the max scan. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + + + Gets the message encoder settings. + + + + + Gets or sets the min key value. + + + + + Gets or sets a value indicating whether the server will not timeout the cursor. + + + + + Gets or sets a value indicating whether the OplogReplay bit will be set. + + + + + Gets or sets the projection. + + + + + Gets or sets the read concern. + + + + + Gets the result serializer. + + + + + Gets or sets whether to only return the key values. + + + + + Gets or sets whether the record Id should be added to the result document. + + + + + Gets or sets whether to return only a single batch. + + + + + Gets or sets the number of documents skip. + + + + + Gets or sets whether to use snapshot behavior. + + + + + Gets or sets the sort specification. + + + + + Represents a find one and delete operation. + + The type of the result. + + + + Initializes a new instance of the class. + + The collection namespace. + The filter. + The result serializer. + The message encoder settings. + + + + Gets the filter. + + + + + Gets the command validator. + + An element name validator for the command. + + + + Gets or sets the maximum time the server should spend on this operation. + + + + + Gets or sets the projection. + + + + + Gets or sets the sort specification. + + + + + Represents a find one and replace operation. + + The type of the result. + + + + Initializes a new instance of the class. + + The collection namespace. + The filter. + The replacement. + The result serializer. + The message encoder settings. + + + + Gets or sets a value indicating whether to bypass document validation. + + + + + Gets the filter. + + + + + Gets the command validator. + + An element name validator for the command. + + + + Gets a value indicating whether a document should be inserted if no matching document is found. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + + + Gets or sets the projection. + + + + + Gets the replacement document. + + + + + Gets or sets which version of the modified document to return. + + + + + Gets or sets the sort specification. + + + + + Represents a find one and update operation. + + The type of the result. + + + + Initializes a new instance of the class. + + The collection namespace. + The filter. + The update. + The result serializer. + The message encoder settings. + + + + Gets or sets a value indicating whether to bypass document validation. + + + + + Gets the filter. + + + + + Gets the command validator. + + An element name validator for the command. + + + + Gets a value indicating whether a document should be inserted if no matching document is found. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + + + Gets or sets the projection. + + + + + Gets or sets which version of the modified document to return. + + + + + Gets or sets the sort specification. + + + + + Gets or sets the update specification. + + + + + Represents a Find opcode operation. + + The type of the returned documents. + + + + Initializes a new instance of the class. + + The collection namespace. + The result serializer. + The message encoder settings. + + + + Gets or sets a value indicating whether the server is allowed to return partial results if any shards are unavailable. + + + + + Gets or sets the size of a batch. + + + + + Gets the collection namespace. + + + + + Gets or sets the comment. + + + + + Gets or sets the type of the cursor. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets or sets the filter. + + + + + Gets or sets the size of the first batch. + + + + + Gets or sets the hint. + + + + + Gets or sets the limit. + + + + + Gets or sets the max key value. + + + + + Gets or sets the max scan. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + + + Gets the message encoder settings. + + + + + Gets or sets the min key value. + + + + + Gets or sets any additional query modifiers. + + + + + Gets or sets a value indicating whether the server will not timeout the cursor. + + + + + Gets or sets a value indicating whether the OplogReplay bit will be set. + + + + + Gets or sets the projection. + + + + + Gets the result serializer. + + + + + Gets or sets whether the record Id should be added to the result document. + + + + + Gets or sets the number of documents skip. + + + + + Gets or sets whether to use snapshot behavior. + + + + + Gets or sets the sort specification. + + + + + Returns an explain operation for this find operation. + + The verbosity. + An explain operation. + + + + Represents a Find operation. + + The type of the returned documents. + + + + Initializes a new instance of the class. + + The collection namespace. + The result serializer. + The message encoder settings. + + + + Gets or sets a value indicating whether the server is allowed to return partial results if any shards are unavailable. + + + + + Gets or sets the size of a batch. + + + + + Gets or sets the collation. + + + + + Gets the collection namespace. + + + + + Gets or sets the comment. + + + + + Gets or sets the type of the cursor. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets or sets the filter. + + + + + Gets or sets the size of the first batch. + + + + + Gets or sets the hint. + + + + + Gets or sets the limit. + + + + + Gets or sets the max key value. + + + + + Gets or sets the maximum await time for TailableAwait cursors. + + + + + Gets or sets the max scan. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + + + Gets the message encoder settings. + + + + + Gets or sets the min key value. + + + + + Gets or sets any additional query modifiers. + + + + + Gets or sets a value indicating whether the server will not timeout the cursor. + + + + + Gets or sets a value indicating whether the OplogReplay bit will be set. + + + + + Gets or sets the projection. + + + + + Gets or sets the read concern. + + + + + Gets the result serializer. + + + + + Gets or sets whether to only return the key values. + + + + + Gets or sets whether the record Id should be added to the result document. + + + + + Gets or sets whether to return only a single batch. + + + + + Gets or sets the number of documents skip. + + + + + Gets or sets whether to use snapshot behavior. + + + + + Gets or sets the sort specification. + + + + + Represents the geoNear command. + + The type of the result. + + + + Initializes a new instance of the class. + + The collection namespace. + The point for which to find the closest documents. + The result serializer. + The message encoder settings. + + + + Gets or sets the collation. + + + + + Gets the collection namespace. + + + + + Gets or sets the distance multiplier. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets or sets the filter. + + + + + Gets or sets whether to include the locations of the matching documents. + + + + + Gets or sets the limit. + + + + + Gets or sets the maximum distance. + + + + + Gets or sets the maximum time. + + + + + Gets the message encoder settings. + + + + + Gets the point for which to find the closest documents. + + + + + Gets or sets the read concern. + + + + + Gets the result serializer. + + + + + Gets or sets whether to use spherical geometry. + + + + + Gets or sets whether to return a document only once. + + + + + Represents the geoSearch command. + + The type of the result. + + + + Initializes a new instance of the class. + + The collection namespace. + The point for which to find the closest documents. + The result serializer. + The message encoder settings. + + + + Gets the collection namespace. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets or sets the limit. + + + + + Gets or sets the maximum distance. + + + + + Gets or sets the maximum time. + + + + + Gets the message encoder settings. + + + + + Gets the point for which to find the closest documents. + + + + + Gets or sets the read concern. + + + + + Gets the result serializer. + + + + + Gets or sets the search. + + + + + Represents a group operation. + + The type of the result. + + + + Initializes a new instance of the class. + + The collection namespace. + The key. + The initial aggregation result for each group. + The reduce function. + The filter. + The message encoder settings. + + + + Initializes a new instance of the class. + + The collection namespace. + The key function. + The initial aggregation result for each group. + The reduce function. + The filter. + The message encoder settings. + + + + Gets or sets the collation. + + + + + Gets the collection namespace. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets the filter. + + + + + Gets or sets the finalize function. + + + + + Gets the initial aggregation result for each group. + + + + + Gets the key. + + + + + Gets the key function. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + + + Gets the message encoder settings. + + + + + Gets the reduce function. + + + + + Gets or sets the result serializer. + + + + + Represents helper methods for index names. + + + + + Gets the name of the index derived from the keys specification. + + The keys specification. + The name of the index. + + + + Gets the name of the index derived from the key names. + + The key names. + The name of the index. + + + + Represents an insert operation using the insert opcode. + + The type of the document. + + + + Initializes a new instance of the class. + + The collection namespace. + The document source. + The serializer. + The message encoder settings. + + + + Gets or sets a value indicating whether to bypass document validation. + + + + + Gets the collection namespace. + + + + + Gets a value indicating whether the server should continue on error. + + + + + Gets the document source. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets or sets the maximum number of documents in a batch. + + + + + Gets or sets the maximum size of a document. + + + + + Gets or sets the maximum size of a message. + + + + + Gets the message encoder settings. + + + + + Gets the serializer. + + + + + Gets or sets the write concern. + + + + + Represents a request to insert a document. + + + + + Initializes a new instance of the class. + + The document. + + + + Gets or sets the document. + + + + + Represents a database read operation. + + The type of the result. + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Represents a database write operation. + + The type of the result. + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Represents a list collections operation. + + + + + Initializes a new instance of the class. + + The database namespace. + The message encoder settings. + + + + Gets the database namespace. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets or sets the filter. + + + + + Gets the message encoder settings. + + + + + Represents a list collections operation. + + + + + Initializes a new instance of the class. + + The database namespace. + The message encoder settings. + + + + Gets the database namespace. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets or sets the filter. + + + + + Gets the message encoder settings. + + + + + Represents a list collections operation. + + + + + Initializes a new instance of the class. + + The database namespace. + The message encoder settings. + + + + Gets the database namespace. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets or sets the filter. + + + + + Gets the message encoder settings. + + + + + Represents the listDatabases command. + + + + + Initializes a new instance of the class. + + The message encoder settings. + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets the message encoder settings. + + + + + Represents a list indexes operation. + + + + + Initializes a new instance of the class. + + The collection namespace. + The message encoder settings. + + + + Gets the collection namespace. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets the message encoder settings. + + + + + Represents a list indexes operation. + + + + + Initializes a new instance of the class. + + The collection namespace. + The message encoder settings. + + + + Gets the collection namespace. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets the message encoder settings. + + + + + Represents a list indexes operation. + + + + + Initializes a new instance of the class. + + The collection namespace. + The message encoder settings. + + + + Gets the collection namespace. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets the message encoder settings. + + + + + Represents a map-reduce operation. + + + + + Initializes a new instance of the class. + + The collection namespace. + The map function. + The reduce function. + The message encoder settings. + + + + Creates the command. + + The server version. + The command. + + + + Creates the output options. + + The output options. + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets or sets the read concern. + + + + + Represents a map-reduce operation. + + The type of the result. + + + + Initializes a new instance of the class. + + The collection namespace. + The map function. + The reduce function. + The result serializer. + The message encoder settings. + + + + Creates the command. + + The server version. + The command. + + + + Creates the output options. + + The output options. + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets or sets the read concern. + + + + + Gets the result serializer. + + + + + Represents a base class for map-reduce operations. + + + + + Initializes a new instance of the class. + + The collection namespace. + The map function. + The reduce function. + The message encoder settings. + + + + Gets or sets the collation. + + + + + Gets the collection namespace. + + + + + Creates the command. + + The server version. + The command. + + + + Creates the output options. + + The output options. + + + + Gets or sets the filter. + + + + + Gets or sets the finalize function. + + + + + Gets or sets a value indicating whether objects emitted by the map function remain as JavaScript objects. + + + + + Gets or sets the maximum number of documents to pass to the map function. + + + + + Gets the map function. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + + + Gets the message encoder settings. + + + + + Gets the reduce function. + + + + + Gets or sets the scope document. + + + + + Gets or sets the sort specification. + + + + + Gets or sets a value indicating whether to include extra information, such as timing, in the result. + + + + + Represents the map-reduce output mode. + + + + + The output of the map-reduce operation replaces the output collection. + + + + + The output of the map-reduce operation is merged with the output collection. + If an existing document has the same key as the new result, overwrite the existing document. + + + + + The output of the map-reduce operation is merged with the output collection. + If an existing document has the same key as the new result, apply the reduce function to both + the new and the existing documents and overwrite the existing document with the result. + + + + + Represents a map-reduce operation that outputs its results to a collection. + + + + + Initializes a new instance of the class. + + The collection namespace. + The output collection namespace. + The map function. + The reduce function. + The message encoder settings. + + + + Gets or sets a value indicating whether to bypass document validation. + + + + + Creates the command. + + The server version. + The command. + + + + Creates the output options. + + The output options. + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets or sets a value indicating whether the server should not lock the database for merge and reduce output modes. + + + + + Gets the output collection namespace. + + + + + Gets or sets the output mode. + + + + + Gets or sets a value indicating whether the output collection should be sharded. + + + + + Gets or sets the write concern. + + + + + Represents a bulk write operation exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The result. + The write errors. + The write concern error. + The unprocessed requests. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + When overridden in a derived class, sets the with information about the exception. + The that holds the serialized object data about the exception being thrown. + The that contains contextual information about the source or destination. + The parameter is a null reference (Nothing in Visual Basic). + The caller does not have the required permission. + + + + Gets the result of the bulk write operation. + + + + + Gets the unprocessed requests. + + + + + + Gets the write concern error. + + + + + Gets the write errors. + + + + + Represents extension methods for operations. + + + + + Executes a read operation using a channel source. + + The read operation. + The channel source. + The read preference. + The cancellation token. + The type of the result. + The result of the operation. + + + + Executes a write operation using a channel source. + + The write operation. + The channel source. + The cancellation token. + The type of the result. + The result of the operation. + + + + Executes a read operation using a channel source. + + The read operation. + The channel source. + The read preference. + The cancellation token. + The type of the result. + A Task whose result is the result of the operation. + + + + Executes a write operation using a channel source. + + The write operation. + The channel source. + The cancellation token. + The type of the result. + A Task whose result is the result of the operation. + + + + Represents a parallel scan operation. + + The type of the document. + + + + Initializes a new instance of the class. + + The collection namespace. + The number of cursors. + The serializer. + The message encoder settings. + + + + Gets or sets the size of a batch. + + + + + Gets the collection namespace. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets the message encoder settings. + + + + + Gets the number of cursors. + + + + + Gets or sets the read concern. + + + + + Gets the serializer. + + + + + Represents a ping operation. + + + + + Initializes a new instance of the class. + + The message encoder settings. + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets the message encoder settings. + + + + + Represents a read command operation. + + The type of the command result. + + + + Initializes a new instance of the class. + + The database namespace. + The command. + The result serializer. + The message encoder settings. + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Represents a reindex operation. + + + + + Initializes a new instance of the class. + + The collection namespace. + The message encoder settings. + + + + Gets the collection namespace. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets the message encoder settings. + + + + + Gets or sets the write concern (ignored and will eventually be deprecated and later removed). + + + + + Represents a rename collection operation. + + + + + Initializes a new instance of the class. + + The collection namespace. + The new collection namespace. + The message encoder settings. + + + + Gets the collection namespace. + + + + + Gets or sets a value indicating whether to drop the target collection first if it already exists. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets the message encoder settings. + + + + + Gets the new collection namespace. + + + + + Gets or sets the write concern. + + + + + The document to return when executing a FindAndModify command. + + + + + Returns the document before the modification. + + + + + Returns the document after the modification. + + + + + Represents an update operation using the update opcode. + + + + + Initializes a new instance of the class. + + The collection namespace. + The request. + The message encoder settings. + + + + Gets or sets a value indicating whether to bypass document validation. + + + + + Gets the collection namespace. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets or sets the maximum size of a document. + + + + + Gets the message encoder settings. + + + + + Gets the request. + + + + + Gets or sets the write concern. + + + + + Represents a request to update one or more documents. + + + + + Initializes a new instance of the class. + + The update type. + The filter. + The update. + + + + Gets or sets the collation. + + + + + Gets the filter. + + + + + Gets or sets a value indicating whether this update should affect all matching documents. + + + + + Gets or sets a value indicating whether a document should be inserted if no matching document is found. + + + + + Gets the update specification. + + + + + Gets the update type. + + + + + Represents the update type. + + + + + The update type is unknown. + + + + + This update uses an update specification to update an existing document. + + + + + This update completely replaces an existing document with a new one. + + + + + Represents a write command operation. + + The type of the command result. + + + + Initializes a new instance of the class. + + The database namespace. + The command. + The result serializer. + The message encoder settings. + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Represents a request to write something to the database. + + + + + Initializes a new instance of the class. + + The request type. + + + + Gets or sets the correlation identifier. + + + + + Gets the request type. + + + + + Represents the type of a write request. + + + + + A delete request. + + + + + An insert request. + + + + + An udpate request. + + + + + Represents an element name validator that checks that element names are valid for MongoDB collections. + + + + + + + MongoDB.Driver.Core.Operations.ElementNameValidators.CollectionElementNameValidator + + + + + + + Gets the validator to use for child content (a nested document or array). + + The name of the element. + The validator to use for child content. + + + + Gets a pre-created instance of a CollectionElementNameValidator. + + + + + Determines whether the element name is valid. + + The name of the element. + True if the element name is valid. + + + + Represents a factory for element name validators based on the update type. + + + + + Returns an element name validator for the update type. + + Type of the update. + An element name validator. + + + + Represents an element name validator for update operations. + + + + + + + MongoDB.Driver.Core.Operations.ElementNameValidators.UpdateElementNameValidator + + + + + + + Gets the validator to use for child content (a nested document or array). + + The name of the element. + The validator to use for child content. + + + + Gets a pre-created instance of an UpdateElementNameValidator. + + + + + Determines whether the element name is valid. + + The name of the element. + True if the element name is valid. + + + + Represents an element name validator that will validate element names for either an update or a replacement based on whether the first element name starts with a "$". + + + + + Initializes a new instance of the class. + + + + + Gets the validator to use for child content (a nested document or array). + + The name of the element. + The validator to use for child content. + + + + Determines whether the element name is valid. + + The name of the element. + True if the element name is valid. + + + + Represents a server that can be part of a cluster. + + + + + Initializes this instance. + + + + + Invalidates this instance (sets the server type to Unknown and clears the connection pool). + + + + + Gets a value indicating whether this instance is initialized. + + + + + Requests a heartbeat as soon as possible. + + + + + Represents a server factory. + + + + + Creates the server. + + The cluster identifier. + The end point. + A server. + + + + Represents a MongoDB server. + + + + + Gets the server description. + + + + + Occurs when the server description changes. + + + + + Gets the end point. + + + + + Gets a channel to the server. + + The cancellation token. + A channel. + + + + Gets a channel to the server. + + The cancellation token. + A Task whose result is a channel. + + + + Gets the server identifier. + + + + + Represents information about a server. + + + + + Initializes a new instance of the class. + + The server identifier. + The end point. + The average round trip time. + The canonical end point. + The election identifier. + The heartbeat exception. + The heartbeat interval. + The last update timestamp. + The last write timestamp. + The maximum batch count. + The maximum size of a document. + The maximum size of a message. + The maximum size of a wire document. + The replica set configuration. + The server state. + The replica set tags. + The server type. + The server version. + The wire version range. + + + + Gets the average round trip time. + + + + + Gets the canonical end point. This is the endpoint that the cluster knows this + server by. Currently, it only applies to a replica set config and will match + what is in the replica set configuration. + + + + + Gets the election identifier. + + + + + Gets the end point. + + + + Indicates whether the current object is equal to another object of the same type. + An object to compare with this object. + true if the current object is equal to the parameter; otherwise, false. + + + Determines whether the specified object is equal to the current object. + The object to compare with the current object. + true if the specified object is equal to the current object; otherwise, false. + + + Serves as the default hash function. + A hash code for the current object. + + + + Gets the most recent heartbeat exception. + + + + + Gets the heartbeat interval. + + + + + Gets the last update timestamp (when the ServerDescription itself was last updated). + + + + + Gets the last write timestamp (from the lastWrite field of the isMaster result). + + + + + Gets the maximum number of documents in a batch. + + + + + Gets the maximum size of a document. + + + + + Gets the maximum size of a message. + + + + + Gets the maximum size of a wire document. + + + + + Gets the replica set configuration. + + + + + Gets the server identifier. + + + + + Gets the server state. + + + + + Gets the replica set tags. + + + + Returns a string that represents the current object. + A string that represents the current object. + + + + Gets the server type. + + + + + Gets the server version. + + + + + Gets the wire version range. + + + + + Returns a new instance of ServerDescription with some values changed. + + The average round trip time. + The canonical end point. + The election identifier. + The heartbeat exception. + The heartbeat interval. + The last update timestamp. + The last write timestamp. + The maximum batch count. + The maximum size of a document. + The maximum size of a message. + The maximum size of a wire document. + The replica set configuration. + The server state. + The replica set tags. + The server type. + The server version. + The wire version range. + + A new instance of ServerDescription. + + + + + Represents the arguments to the event that occurs when the server description changes. + + + + + Initializes a new instance of the class. + + The old server description. + The new server description. + + + + Gets the new server description. + + + + + Gets the old server description. + + + + + Represents a server identifier. + + + + + Initializes a new instance of the class. + + The cluster identifier. + The end point. + + + + Gets the cluster identifier. + + + + + Gets the end point. + + + + Indicates whether the current object is equal to another object of the same type. + An object to compare with this object. + true if the current object is equal to the parameter; otherwise, false. + + + Determines whether the specified object is equal to the current object. + The object to compare with the current object. + true if the specified object is equal to the current object; otherwise, false. + + + Serves as the default hash function. + A hash code for the current object. + + + Returns a string that represents the current object. + A string that represents the current object. + + + + Represents the server state. + + + + + The server is disconnected. + + + + + The server is connected. + + + + + Represents the server type. + + + + + The server type is unknown. + + + + + The server is a standalone server. + + + + + The server is a shard router. + + + + + The server is a replica set primary. + + + + + The server is a replica set secondary. + + + + + Use ReplicaSetSecondary instead. + + + + + The server is a replica set arbiter. + + + + + The server is a replica set member of some other type. + + + + + The server is a replica set ghost member. + + + + + Represents extension methods on ServerType. + + + + + Determines whether this server type is a replica set member. + + The type of the server. + Whether this server type is a replica set member. + + + + Determines whether this server type is a writable server. + + The type of the server. + Whether this server type is a writable server. + + + + Infers the cluster type from the server type. + + The type of the server. + The cluster type. + + + + Instructions for handling the response from a command. + + + + + Return the response from the server. + + + + + Ignore the response from the server. + + + + + Represents one result batch (returned from either a Query or a GetMore message) + + The type of the document. + + + + Initializes a new instance of the struct. + + The cursor identifier. + The documents. + + + + Gets the cursor identifier. + + + + + Gets the documents. + + + + + Represents a Delete message. + + + + + Initializes a new instance of the class. + + The request identifier. + The collection namespace. + The query. + if set to true [is multi]. + + + + Gets the collection namespace. + + + + + Gets an encoder for the message from an encoder factory. + + The encoder factory. + A message encoder. + + + + Gets a value indicating whether to delete all matching documents. + + + + + Gets the type of the message. + + + + + Gets the query. + + + + + Represents a GetMore message. + + + + + Initializes a new instance of the class. + + The request identifier. + The collection namespace. + The cursor identifier. + The size of a batch. + + + + Gets the size of a batch. + + + + + Gets the collection namespace. + + + + + Gets the cursor identifier. + + + + + Gets an encoder for the message from an encoder factory. + + The encoder factory. + A message encoder. + + + + Gets the type of the message. + + + + + Represents an Insert message. + + The type of the document. + + + + Initializes a new instance of the class. + + The request identifier. + The collection namespace. + The serializer. + The document source. + The maximum batch count. + Maximum size of the message. + if set to true the server should continue on error. + + + + Gets the collection namespace. + + + + + Gets a value indicating whether the server should continue on error. + + + + + Gets the document source. + + + + + Gets an encoder for the message from an encoder factory. + + The encoder factory. + A message encoder. + + + + Gets the maximum number of documents in a batch. + + + + + Gets the maximum size of a message. + + + + + Gets the type of the message. + + + + + Gets the serializer. + + + + + Represents a KillCursors message. + + + + + Initializes a new instance of the class. + + The request identifier. + The cursor ids. + + + + Gets the cursor ids. + + + + + Gets an encoder for the message from an encoder factory. + + The encoder factory. + A message encoder. + + + + Gets the type of the message. + + + + + Represents a base class for messages. + + + + + + + MongoDB.Driver.Core.WireProtocol.Messages.MongoDBMessage + + + + + + + Gets an encoder for the message from an encoder factory. + + The encoder factory. + A message encoder. + + + + Gets the type of the message. + + + + + Represents the type of message. + + + + + OP_DELETE + + + + + OP_GETMORE + + + + + OP_INSERT + + + + + OP_KILLCURSORS + + + + + OP_QUERY + + + + + OP_REPLY + + + + + OP_UPDATE + + + + + Represents a Query message. + + + + + Initializes a new instance of the class. + + The request identifier. + The collection namespace. + The query. + The fields. + The query validator. + The number of documents to skip. + The size of a batch. + if set to true it is OK if the server is not the primary. + if set to true the server is allowed to return partial results if any shards are unavailable. + if set to true the server should not timeout the cursor. + if set to true the OplogReplay bit will be set. + if set to true the query should return a tailable cursor. + if set to true the server should await data (used with tailable cursors). + A delegate that determines whether this message should be sent. + + + + Gets a value indicating whether the server should await data (used with tailable cursors). + + + + + Gets the size of a batch. + + + + + Gets the collection namespace. + + + + + Gets the fields. + + + + + Gets an encoder for the message from an encoder factory. + + The encoder factory. + A message encoder. + + + + Gets the type of the message. + + + + + Gets a value indicating whether the server should not timeout the cursor. + + + + + Gets a value indicating whether the OplogReplay bit will be set. + + + + + Gets a value indicating whether the server is allowed to return partial results if any shards are unavailable. + + + + + Gets the query. + + + + + Gets the query validator. + + + + + Gets the number of documents to skip. + + + + + Gets a value indicating whether it is OK if the server is not the primary. + + + + + Gets a value indicating whether the query should return a tailable cursor. + + + + + Represents a Reply message. + + The type of the document. + + + + Initializes a new instance of the class. + + if set to true the server is await capable. + The cursor identifier. + if set to true the cursor was not found. + The documents. + The number of documents returned. + if set to true the query failed. + The query failure document. + The request identifier. + The identifier of the message this is a response to. + The serializer. + The position of the first document in this batch in the overall result. + + + + Gets a value indicating whether the server is await capable. + + + + + Gets the cursor identifier. + + + + + Gets a value indicating whether the cursor was not found. + + + + + Gets the documents. + + + + + Gets an encoder for the message from an encoder factory. + + The encoder factory. + A message encoder. + + + + Gets the type of the message. + + + + + Gets the number of documents returned. + + + + + Gets a value indicating whether the query failed. + + + + + Gets the query failure document. + + + + + Gets the serializer. + + + + + Gets the position of the first document in this batch in the overall result. + + + + + Represents a base class for request messages. + + + + + Initializes a new instance of the class. + + The request identifier. + A delegate that determines whether this message should be sent. + + + + Gets the current global request identifier. + + + + + Gets the next request identifier. + + The next request identifier. + + + + Gets the request identifier. + + + + + Gets a delegate that determines whether this message should be sent. + + + + + Gets or sets a value indicating whether this message was sent. + + + + + Represents a base class for response messages. + + + + + Initializes a new instance of the class. + + The request identifier. + The identifier of the message this is a response to. + + + + Gets the type of the message. + + + + + Gets the request identifier. + + + + + Gets the identifier of the message this is a response to. + + + + + Represents an Update message. + + + + + Initializes a new instance of the class. + + The request identifier. + The collection namespace. + The query. + The update. + The update validator. + if set to true all matching documents should be updated. + if set to true a document should be inserted if no matching document is found. + + + + Gets the collection namespace. + + + + + Gets an encoder for the message from an encoder factory. + + The encoder factory. + A message encoder. + + + + Gets a value indicating whether all matching documents should be updated. + + + + + Gets a value indicating whether a document should be inserted if no matching document is found. + + + + + Gets the type of the message. + + + + + Gets the query. + + + + + Gets the update. + + + + + Gets the update validator. + + + + + Represents an encodable message. + + + + + Gets an encoder for the message from an encoder factory. + + The encoder factory. + A message encoder. + + + + Represents a message encoder. + + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a message encoder factory. + + + + + Gets an encoder for a Delete message. + + An encoder. + + + + Gets an encoder for a GetMore message. + + An encoder. + + + + Gets an encoder for an Insert message. + + The serializer. + The type of the document. + An encoder. + + + + Gets an encoder for a KillCursors message. + + An encoder. + + + + Gets an encoder for a Query message. + + An encoder. + + + + Gets an encoder for a Reply message. + + The serializer. + The type of the document. + An encoder. + + + + Gets an encoder for an Update message. + + An encoder. + + + + Represents a message encoder selector that gets the appropriate encoder from an encoder factory. + + + + + Get the appropriate encoder from an encoder factory. + + The encoder factory. + A message encoder. + + + + Represents settings for message encoders. + + + + + + + MongoDB.Driver.Core.WireProtocol.Messages.Encoders.MessageEncoderSettings + + + + + + + Adds a setting. + + The name. + The value. + The type of the value. + The settings. + + + Returns an enumerator that iterates through the collection. + An enumerator that can be used to iterate through the collection. + + + + Gets a setting, or a default value if the setting does not exist. + + The name. + The default value. + The type of the value. + The value of the setting, or a default value if the setting does not exist. + + + + Represents the names of different encoder settings. + + + + + The name of the FixOldBinarySubTypeOnInput setting. + + + + + The name of the FixOldBinarySubTypeOnOutput setting. + + + + + The name of the FixOldDateTimeMaxValueOnInput setting. + + + + + The name of the GuidRepresentation setting. + + + + + The name of the Indent setting. + + + + + The name of the IndentChars setting. + + + + + The name of the MaxDocumentSize setting. + + + + + The name of the MaxSerializationDepth setting. + + + + + The name of the NewLineChars setting. + + + + + The name of the OutputMode setting. + + + + + The name of the ReadEncoding setting. + + + + + The name of the ShellVersion setting. + + + + + The name of the WriteEncoding setting. + + + + + Represents a message encoder selector for ReplyMessages. + + The type of the document. + + + + Initializes a new instance of the class. + + The document serializer. + + + + Get the appropriate encoder from an encoder factory. + + The encoder factory. + A message encoder. + + + + Represents a factory for binary message encoders. + + + + + Initializes a new instance of the class. + + The stream. + The encoder settings. + + + + Gets an encoder for a Delete message. + + An encoder. + + + + Gets an encoder for a GetMore message. + + An encoder. + + + + Gets an encoder for an Insert message. + + The serializer. + The type of the document. + An encoder. + + + + Gets an encoder for a KillCursors message. + + An encoder. + + + + Gets an encoder for a Query message. + + An encoder. + + + + Gets an encoder for a Reply message. + + The serializer. + The type of the document. + An encoder. + + + + Gets an encoder for an Update message. + + An encoder. + + + + Represents a binary encoder for a Delete message. + + + + + Initializes a new instance of the class. + + The stream. + The encoder settings. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a binary encoder for a GetMore message. + + + + + Initializes a new instance of the class. + + The stream. + The encoder settings. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a binary encoder for an Insert message. + + The type of the documents. + + + + Initializes a new instance of the class. + + The stream. + The encoder settings. + The serializer. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a binary encoder for a KillCursors message. + + + + + Initializes a new instance of the class. + + The stream. + The encoder settings. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a base class for binary message encoders. + + + + + Initializes a new instance of the class. + + The stream. + The encoder settings. + + + + Creates a binary reader for this encoder. + + A binary reader. + + + + Creates a binary writer for this encoder. + + A binary writer. + + + + Gets the encoding. + + + + + Represents a binary encoder for a Query message. + + + + + Initializes a new instance of the class. + + The stream. + The encoder settings. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a binary encoder for a Reply message. + + The type of the documents. + + + + Initializes a new instance of the class. + + The stream. + The encoder settings. + The serializer. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a binary encoder for an Update message. + + + + + Initializes a new instance of the class. + + The stream. + The encoder settings. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a JSON encoder for a Delete message. + + + + + Initializes a new instance of the class. + + The text reader. + The text writer. + The encoder settings. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a JSON encoder for a GetMore message. + + + + + Initializes a new instance of the class. + + The text reader. + The text writer. + The encoder settings. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a JSON encoder for an Insert message. + + The type of the documents. + + + + Initializes a new instance of the class. + + The text reader. + The text writer. + The encoder settings. + The serializer. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a factory for JSON message encoders. + + + + + Initializes a new instance of the class. + + The text reader. + The encoder settings. + + + + Initializes a new instance of the class. + + The text reader. + The text writer. + The encoder settings. + + + + Initializes a new instance of the class. + + The text writer. + The encoder settings. + + + + Gets an encoder for a Delete message. + + An encoder. + + + + Gets an encoder for a GetMore message. + + An encoder. + + + + Gets an encoder for an Insert message. + + The serializer. + The type of the document. + An encoder. + + + + Gets an encoder for a KillCursors message. + + An encoder. + + + + Gets an encoder for a Query message. + + An encoder. + + + + Gets an encoder for a Reply message. + + The serializer. + The type of the document. + An encoder. + + + + Gets an encoder for an Update message. + + An encoder. + + + + Represents a JSON encoder for a KillCursors message. + + + + + Initializes a new instance of the class. + + The text reader. + The text writer. + The encoder settings. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a base class for JSON message encoders. + + + + + Initializes a new instance of the class. + + The text reader. + The text writer. + The encoder settings. + + + + Creates a JsonReader for this encoder. + + A JsonReader. + + + + Creates a JsonWriter for this encoder. + + A JsonWriter. + + + + Represents a JSON encoder for a Query message. + + + + + Initializes a new instance of the class. + + The text reader. + The text writer. + The encoder settings. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a JSON encoder for a Reply message. + + The type of the documents. + + + + Initializes a new instance of the class. + + The text reader. + The text writer. + The encoder settings. + The serializer. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a JSON encoder for an Update message. + + + + + Initializes a new instance of the class. + + The text reader. + The text writer. + The encoder settings. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + \ No newline at end of file diff --git a/BuechermarktClient/bin/Debug/MongoDB.Driver.xml b/BuechermarktClient/bin/Debug/MongoDB.Driver.xml new file mode 100644 index 0000000..e003015 --- /dev/null +++ b/BuechermarktClient/bin/Debug/MongoDB.Driver.xml @@ -0,0 +1,17863 @@ + + + + MongoDB.Driver + + + + + Represents the granularity value for a $bucketAuto stage. + + + + + Initializes a new instance of the struct. + + The value. + + + + Gets the E12 granularity. + + + + + Gets the E192 granularity. + + + + + Gets the E24 granularity. + + + + + Gets the E48 granularity. + + + + + Gets the E6 granularity. + + + + + Gets the E96 granularity. + + + + + Gets the POWERSOF2 granularity. + + + + + Gets the R10 granularity. + + + + + Gets the R20 granularity. + + + + + Gets the R40 granularity. + + + + + Gets the R5 granularity. + + + + + Gets the R80 granularity. + + + + + Gets the 1-2-5 granularity. + + + + + Gets the value. + + + + + Represents options for the BucketAuto method. + + + + + + + MongoDB.Driver.AggregateBucketAutoOptions + + + + + + + Gets or sets the granularity. + + + + + Represents the result of the $bucketAuto stage. + + The type of the value. + + + + Initializes a new instance of the class. + + The inclusive lower boundary of the bucket. + The count. + + + + Initializes a new instance of the class. + + The minimum. + The maximum. + The count. + + + + Gets the count. + + + + + Gets the inclusive lower boundary of the bucket. + + + + + Gets the maximum. + + + + + Gets the minimum. + + + + + Represents the _id value in the result of a $bucketAuto stage. + + The type of the values. + + + + Initializes a new instance of the class. + + The minimum. + The maximum. + + + + Gets the max value. + + + + + Gets the min value. + + + + + Represents options for the Bucket method. + + The type of the value. + + + + + + MongoDB.Driver.AggregateBucketOptions`1 + + + + + + + Gets or sets the default bucket. + + + + + Represents the result of the $bucket stage. + + The type of the value. + + + + Initializes a new instance of the class. + + The inclusive lower boundary of the bucket. + The count. + + + + Gets the count. + + + + + Gets the inclusive lower boundary of the bucket. + + + + + Result type for the aggregate $count stage. + + + + + Initializes a new instance of the class. + + The count. + + + + Gets the count. + + + + + An aggregation expression. + + The type of the source. + The type of the result. + + + + + + MongoDB.Driver.AggregateExpressionDefinition`2 + + + + + + + Performs an implicit conversion from to . + + The expression. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The expression. + + The result of the conversion. + + + + + Renders the aggregation expression. + + The source serializer. + The serializer registry. + The rendered aggregation expression. + + + + Represents static methods for creating facets. + + + + + Creates a new instance of the class. + + The facet name. + The facet pipeline. + The type of the input documents. + The type of the output documents. + + A new instance of the class + + + + + Represents a facet to be passed to the Facet method. + + The type of the input documents. + + + + Initializes a new instance of the class. + + The facet name. + + + + Gets the facet name. + + + + + Gets the output serializer. + + + + + Gets the type of the output documents. + + + + + Renders the facet pipeline. + + The input serializer. + The serializer registry. + The rendered pipeline. + + + + Represents a facet to be passed to the Facet method. + + The type of the input documents. + The type of the otuput documents. + + + + Initializes a new instance of the class. + + The facet name. + The facet pipeline. + + + + Gets the output serializer. + + + + + Gets the type of the output documents. + + + + + Gets the facet pipeline. + + + + + Renders the facet pipeline. + + The input serializer. + The serializer registry. + The rendered pipeline. + + + + Options for the aggregate $facet stage. + + The type of the output documents. + + + + + + MongoDB.Driver.AggregateFacetOptions`1 + + + + + + + Gets or sets the output serializer. + + + + + Represents an abstract AggregateFacetResult with an arbitrary TOutput type. + + + + + Gets the name of the facet. + + + + + Gets the output of the facet. + + The type of the output documents. + The output of the facet. + + + + Represents the result of a single facet. + + The type of the output. + + + + Initializes a new instance of the class. + + The name. + The output. + + + + Gets or sets the output. + + + + + Represents the results of a $facet stage with an arbitrary number of facets. + + + + + Initializes a new instance of the class. + + The facets. + + + + Gets the facets. + + + + + Base class for implementors of . + + The type of the document. + + + + + + MongoDB.Driver.AggregateFluentBase`1 + + + + + + + Appends the stage to the pipeline. + + The stage. + The type of the result of the stage. + The fluent aggregate interface. + + + + Changes the result type of the pipeline. + + The new result serializer. + The type of the new result. + The fluent aggregate interface. + + + + Appends a $bucket stage to the pipeline. + + The expression providing the value to group by. + The bucket boundaries. + The options. + The type of the value. + The fluent aggregate interface. + + + + Appends a $bucket stage to the pipeline with a custom projection. + + The expression providing the value to group by. + The bucket boundaries. + The output projection. + The options. + The type of the value. + The type of the new result. + The fluent aggregate interface. + + + + Appends a $bucketAuto stage to the pipeline. + + The expression providing the value to group by. + The number of buckets. + The options (optional). + The type of the value. + The fluent aggregate interface. + + + + Appends a $bucketAuto stage to the pipeline with a custom projection. + + The expression providing the value to group by. + The number of buckets. + The output projection. + The options (optional). + The type of the value. + The type of the new result. + The fluent aggregate interface. + + + + Appends a count stage to the pipeline. + + The fluent aggregate interface. + + + + Gets the database. + + + + + Appends a $facet stage to the pipeline. + + The facets. + The options. + The type of the new result. + + The fluent aggregate interface. + + + + + Appends a $graphLookup stage to the pipeline. + + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The depth field. + The options. + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field elements. + The type of the as field. + The type of the new result (must be same as TResult with an additional as field). + The fluent aggregate interface. + + + + Appends a group stage to the pipeline. + + The group projection. + The type of the result of the stage. + The fluent aggregate interface. + + + + Appends a limit stage to the pipeline. + + The limit. + The fluent aggregate interface. + + + + Appends a lookup stage to the pipeline. + + Name of the other collection. + The local field. + The foreign field. + The field in to place the foreign results. + The options. + The type of the foreign document. + The type of the new result. + The fluent aggregate interface. + + + + Appends a match stage to the pipeline. + + The filter. + The fluent aggregate interface. + + + + Appends a match stage to the pipeline that matches derived documents and changes the result type to the derived type. + + The new result serializer. + The type of the derived documents. + The fluent aggregate interface. + + + + Gets the options. + + + + + Appends an out stage to the pipeline and executes it, and then returns a cursor to read the contents of the output collection. + + Name of the collection. + The cancellation token. + A cursor. + + + + Appends an out stage to the pipeline and executes it, and then returns a cursor to read the contents of the output collection. + + Name of the collection. + The cancellation token. + A Task whose result is a cursor. + + + + Appends a project stage to the pipeline. + + The projection. + The type of the result of the stage. + + The fluent aggregate interface. + + + + + Appends a $replaceRoot stage to the pipeline. + + The new root. + The type of the new result. + The fluent aggregate interface. + + + + Appends a skip stage to the pipeline. + + The number of documents to skip. + The fluent aggregate interface. + + + + Appends a sort stage to the pipeline. + + The sort specification. + The fluent aggregate interface. + + + + Appends a sortByCount stage to the pipeline. + + The identifier. + The type of the identifier. + The fluent aggregate interface. + + + + Gets the stages. + + + + + Combines the current sort definition with an additional sort definition. + + The new sort. + The fluent aggregate interface. + + + + Executes the operation and returns a cursor to the results. + + The cancellation token. + A cursor. + + + + Executes the operation and returns a cursor to the results. + + The cancellation token. + A Task whose result is a cursor. + + + + Appends an unwind stage to the pipeline. + + The field. + The new result serializer. + The type of the result of the stage. + + The fluent aggregate interface. + + + + + Appends an unwind stage to the pipeline. + + The field. + The options. + The type of the new result. + The fluent aggregate interface. + + + + Represents options for the GraphLookup method. + + The type of from documents. + The type of the as field elements. + The type of the output documents. + + + + + + MongoDB.Driver.AggregateGraphLookupOptions`3 + + + + + + + Gets or sets the TAsElement serialzier. + + + + + Gets or sets the TFrom serializer. + + + + + Gets or sets the maximum depth. + + + + + Gets or sets the output serializer. + + + + + Gets the filter to restrict the search with. + + + + + Options for the aggregate $lookup stage. + + The type of the foreign document. + The type of the result. + + + + + + MongoDB.Driver.AggregateLookupOptions`2 + + + + + + + Gets or sets the foreign document serializer. + + + + + Gets or sets the result serializer. + + + + + Options for an aggregate operation. + + + + + + + MongoDB.Driver.AggregateOptions + + + + + + + Gets or sets a value indicating whether to allow disk use. + + + + + Gets or sets the size of a batch. + + + + + Gets or sets a value indicating whether to bypass document validation. + + + + + Gets or sets the collation. + + + + + Gets or sets the maximum time. + + + + + Gets or sets the translation options. + + + + + Gets or sets a value indicating whether to use a cursor. + + + + + Result type for the aggregate $sortByCount stage. + + The type of the identifier. + + + + Initializes a new instance of the class. + + The identifier. + The count. + + + + Gets the count. + + + + + Gets the identifier. + + + + + Option for which expression to generate for certain string operations. + + + + + Translate to the byte variation. + + + + + Translate to the code points variation. This is only supported in >= MongoDB 3.4. + + + + + Options for the $unwind aggregation stage. + + The type of the result. + + + + + + MongoDB.Driver.AggregateUnwindOptions`1 + + + + + + + Gets or sets the field with which to include the array index. + + + + + Gets or sets whether to preserve null and empty arrays. + + + + + Gets or sets the result serializer. + + + + + Represents a pipeline consisting of an existing pipeline with one additional stage appended. + + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + + + + Initializes a new instance of the class. + + The pipeline. + The stage. + The output serializer. + + + + Gets the output serializer. + + + + + Renders the pipeline. + + The input serializer. + The serializer registry. + A + + + + Gets the stages. + + + + + A based command. + + The type of the result. + + + + Initializes a new instance of the class. + + The document. + The result serializer. + + + + Gets the document. + + + + + Renders the command to a . + + The serializer registry. + A . + + + + Gets the result serializer. + + + + + A based filter. + + The type of the document. + + + + Initializes a new instance of the class. + + The document. + + + + Gets the document. + + + + + Renders the filter to a . + + The document serializer. + The serializer registry. + A . + + + + A based index keys definition. + + The type of the document. + + + + Initializes a new instance of the class. + + The document. + + + + Gets the document. + + + + + Renders the index keys definition to a . + + The document serializer. + The serializer registry. + A . + + + + A based stage. + + The type of the input. + The type of the output. + + + + Initializes a new instance of the class. + + The document. + The output serializer. + + + + Gets the name of the pipeline operator. + + + + + Renders the specified document serializer. + + The input serializer. + The serializer registry. + A + + + + A based projection whose projection type is not yet known. + + The type of the source. + + + + Initializes a new instance of the class. + + The document. + + + + Gets the document. + + + + + Renders the projection to a . + + The source serializer. + The serializer registry. + A . + + + + A based projection. + + The type of the source. + The type of the projection. + + + + Initializes a new instance of the class. + + The document. + The projection serializer. + + + + Gets the document. + + + + + Gets the projection serializer. + + + + + Renders the projection to a . + + The source serializer. + The serializer registry. + A . + + + + A based sort. + + The type of the document. + + + + Initializes a new instance of the class. + + The document. + + + + Gets the document. + + + + + Renders the sort to a . + + The document serializer. + The serializer registry. + A . + + + + A pipeline composed of instances of . + + The type of the input. + The type of the output. + + + + Initializes a new instance of the class. + + The stages. + The output serializer. + + + + Gets the stages. + + + + + Gets the output serializer. + + + + + Renders the pipeline. + + The input serializer. + The serializer registry. + A + + + + Gets the stages. + + + + + A based update. + + The type of the document. + + + + Initializes a new instance of the class. + + The document. + + + + Gets the document. + + + + + Renders the update to a . + + The document serializer. + The serializer registry. + A . + + + + A based aggregate expression. + + The type of the source. + The type of the result. + + + + Initializes a new instance of the class. + + The expression. + + + + Renders the aggregation expression. + + The source serializer. + The serializer registry. + The rendered aggregation expression. + + + + A static helper class containing various builders. + + The type of the document. + + + + Gets a . + + + + + Gets an . + + + + + Gets a . + + + + + Gets a . + + + + + Gets an . + + + + + Represents the details of a write error for a particular request. + + + + + Gets the index of the request that had an error. + + + + + Options for a bulk write operation. + + + + + Initializes a new instance of the class. + + + + + Gets or sets a value indicating whether to bypass document validation. + + + + + Gets or sets a value indicating whether the requests are fulfilled in order. + + + + + Represents the result of a bulk write operation. + + + + + Initializes a new instance of the class. + + The request count. + + + + Gets the number of documents that were deleted. + + + + + Gets the number of documents that were inserted. + + + + + Gets a value indicating whether the bulk write operation was acknowledged. + + + + + Gets a value indicating whether the modified count is available. + + + + + Gets the number of documents that were matched. + + + + + Gets the number of documents that were actually modified during an update. + + + + + Gets the request count. + + + + + Gets a list with information about each request that resulted in an upsert. + + + + + Represents the result of a bulk write operation. + + The type of the document. + + + + Initializes a new instance of the class. + + The request count. + The processed requests. + + + + Gets the processed requests. + + + + + Result from an acknowledged write concern. + + + + + Initializes a new instance of the class. + + The request count. + The matched count. + The deleted count. + The inserted count. + The modified count. + The processed requests. + The upserts. + + + + Gets the number of documents that were deleted. + + + + + Gets the number of documents that were inserted. + + + + + Gets a value indicating whether the bulk write operation was acknowledged. + + + + + Gets a value indicating whether the modified count is available. + + + + + Gets the number of documents that were matched. + + + + + Gets the number of documents that were actually modified during an update. + + + + + Gets a list with information about each request that resulted in an upsert. + + + + + Result from an unacknowledged write concern. + + + + + Initializes a new instance of the class. + + The request count. + The processed requests. + + + + Gets the number of documents that were deleted. + + + + + Gets the number of documents that were inserted. + + + + + Gets a value indicating whether the bulk write operation was acknowledged. + + + + + Gets a value indicating whether the modified count is available. + + + + + Gets the number of documents that were matched. + + + + + Gets the number of documents that were actually modified during an update. + + + + + Gets a list with information about each request that resulted in an upsert. + + + + + Represents the information about one Upsert. + + + + + Gets the id. + + + + + Gets the index. + + + + + A client side only projection that is implemented solely by deserializing using a different serializer. + + The type of the source. + The type of the projection. + + + + Initializes a new instance of the class. + + The projection serializer. + + + + Renders the projection to a . + + The source serializer. + The serializer registry. + A . + + + + Gets the result serializer. + + + + + Represents a registry of already created clusters. + + + + + + + MongoDB.Driver.ClusterRegistry + + + + + + + Gets the default cluster registry. + + + + + Unregisters and disposes the cluster. + + The cluster. + + + + Base class for commands. + + The type of the result. + + + + + + MongoDB.Driver.Command`1 + + + + + + + Performs an implicit conversion from to . + + The document. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The JSON string. + + The result of the conversion. + + + + + Renders the command to a . + + The serializer registry. + A . + + + + Server connection mode. + + + + + Automatically determine how to connect. + + + + + Connect directly to a server. + + + + + Connect to a replica set. + + + + + Connect to one or more shard routers. + + + + + Connect to a standalone server. + + + + + Options for a count operation. + + + + + + + MongoDB.Driver.CountOptions + + + + + + + Gets or sets the collation. + + + + + Gets or sets the hint. + + + + + Gets or sets the limit. + + + + + Gets or sets the maximum time. + + + + + Gets or sets the skip. + + + + + Options for creating a collection. + + + + + + + MongoDB.Driver.CreateCollectionOptions + + + + + + + Gets or sets a value indicating whether to automatically create an index on the _id. + + + + + Gets or sets a value indicating whether the collection is capped. + + + + + Gets or sets the collation. + + + + + Gets or sets the index option defaults. + + + + + Gets or sets the maximum number of documents (used with capped collections). + + + + + Gets or sets the maximum size of the collection (used with capped collections). + + + + + Gets or sets whether padding should not be used. + + + + + Gets or sets the serializer registry. + + + + + Gets or sets the storage engine options. + + + + + Gets or sets a value indicating whether to use power of 2 sizes. + + + + + Gets or sets the validation action. + + + + + Gets or sets the validation level. + + + + + Options for creating a collection. + + The type of the document. + + + + + + MongoDB.Driver.CreateCollectionOptions`1 + + + + + + + Gets or sets the document serializer. + + + + + Gets or sets the validator. + + + + + Model for creating an index. + + The type of the document. + + + + Initializes a new instance of the class. + + The keys. + The options. + + + + Gets the keys. + + + + + Gets the options. + + + + + Options for creating an index. + + + + + + + MongoDB.Driver.CreateIndexOptions + + + + + + + Gets or sets a value indicating whether to create the index in the background. + + + + + Gets or sets the precision, in bits, used with geohash indexes. + + + + + Gets or sets the size of a geohash bucket. + + + + + Gets or sets the collation. + + + + + Gets or sets the default language. + + + + + Gets or sets when documents expire (used with TTL indexes). + + + + + Gets or sets the language override. + + + + + Gets or sets the max value for 2d indexes. + + + + + Gets or sets the min value for 2d indexes. + + + + + Gets or sets the index name. + + + + + Gets or sets a value indicating whether the index is a sparse index. + + + + + Gets or sets the index version for 2dsphere indexes. + + + + + Gets or sets the storage engine options. + + + + + Gets or sets the index version for text indexes. + + + + + Gets or sets a value indicating whether the index is a unique index. + + + + + Gets or sets the version of the index. + + + + + Gets or sets the weights for text indexes. + + + + + Options for creating an index. + + The type of the document. + + + + + + MongoDB.Driver.CreateIndexOptions`1 + + + + + + + Gets or sets the partial filter expression. + + + + + Options for creating a view. + + The type of the documents. + + + + + + MongoDB.Driver.CreateViewOptions`1 + + + + + + + Gets or sets the collation. + + + + + Gets or sets the document serializer. + + + + + Gets or sets the serializer registry. + + + + + The cursor type. + + + + + A non-tailable cursor. This is sufficient for a vast majority of uses. + + + + + A tailable cursor. + + + + + A tailable cursor with a built-in server sleep. + + + + + Model for deleting many documents. + + The type of the document. + + + + Initializes a new instance of the class. + + The filter. + + + + Gets or sets the collation. + + + + + Gets the filter. + + + + + Gets the type of the model. + + + + + Model for deleting a single document. + + The type of the document. + + + + Initializes a new instance of the class. + + The filter. + + + + Gets or sets the collation. + + + + + Gets the filter. + + + + + Gets the type of the model. + + + + + Options for the Delete methods. + + + + + + + MongoDB.Driver.DeleteOptions + + + + + + + Gets or sets the collation. + + + + + The result of a delete operation. + + + + + Initializes a new instance of the class. + + + + + Gets the deleted count. If IsAcknowledged is false, this will throw an exception. + + + + + Gets a value indicating whether the result is acknowleded. + + + + + The result of an acknowledged delete operation. + + + + + Initializes a new instance of the class. + + The deleted count. + + + + Gets the deleted count. If IsAcknowledged is false, this will throw an exception. + + + + + Gets a value indicating whether the result is acknowleded. + + + + + The result of an unacknowledged delete operation. + + + + + Gets the deleted count. If IsAcknowledged is false, this will throw an exception. + + + + + Gets the instance. + + + + + Gets a value indicating whether the result is acknowleded. + + + + + Options for the distinct command. + + + + + + + MongoDB.Driver.DistinctOptions + + + + + + + Gets or sets the collation. + + + + + Gets or sets the maximum time. + + + + + Represents an empty pipeline. + + The type of the input documents. + + + + Initializes a new instance of the class. + + The output serializer. + + + + Gets the output serializer. + + + + + Renders the pipeline. + + The input serializer. + The serializer registry. + A + + + + Gets the stages. + + + + + A based aggregate expression. + + The type of the source. + The type of the result. + + + + Initializes a new instance of the class. + + The expression. + The translation options. + + + + Renders the aggregation expression. + + The source serializer. + The serializer registry. + The rendered aggregation expression. + + + + An based field. + + The type of the document. + + + + Initializes a new instance of the class. + + The expression. + + + + Gets the expression. + + + + + Renders the field to a . + + The document serializer. + The serializer registry. + A . + + + + An based field. + + The type of the document. + The type of the field. + + + + Initializes a new instance of the class. + + The expression. + + + + Gets the expression. + + + + + Renders the field to a . + + The document serializer. + The serializer registry. + A . + + + + An based filter. + + The type of the document. + + + + Initializes a new instance of the class. + + The expression. + + + + Gets the expression. + + + + + Renders the filter to a . + + The document serializer. + The serializer registry. + A . + + + + Options for controlling translation from .NET expression trees into MongoDB expressions. + + + + + + + MongoDB.Driver.ExpressionTranslationOptions + + + + + + + Gets or sets the string translation mode. + + + + + Evidence of a MongoIdentity via an external mechanism. For example, on windows this may + be the current process' user or, on linux, via kinit. + + + + + Initializes a new instance of the class. + + + + + 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. + + + + + Base class for field names. + + The type of the document. + + + + + + MongoDB.Driver.FieldDefinition`1 + + + + + + + Performs an implicit conversion from to . + + Name of the field. + + The result of the conversion. + + + + + Renders the field to a . + + The document serializer. + The serializer registry. + A . + + + + Base class for field names. + + The type of the document. + The type of the field. + + + + + + MongoDB.Driver.FieldDefinition`2 + + + + + + + Performs an implicit conversion from to . + + The field. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + Name of the field. + + The result of the conversion. + + + + + Renders the field to a . + + The document serializer. + The serializer registry. + A . + + + + Base class for filters. + + The type of the document. + + + + + + MongoDB.Driver.FilterDefinition`1 + + + + + + + Gets an empty filter. An empty filter matches everything. + + + + + Implements the operator &. + + The LHS. + The RHS. + + The result of the operator. + + + + + Implements the operator |. + + The LHS. + The RHS. + + The result of the operator. + + + + + Performs an implicit conversion from to . + + The document. + + The result of the conversion. + + + + + Performs an implicit conversion from a predicate expression to . + + The predicate. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The JSON string. + + The result of the conversion. + + + + + Implements the operator !. + + The op. + + The result of the operator. + + + + + Renders the filter to a . + + The document serializer. + The serializer registry. + A . + + + + A builder for a . + + The type of the document. + + + + + + MongoDB.Driver.FilterDefinitionBuilder`1 + + + + + + + Creates an all filter for an array field. + + The field. + The values. + The type of the item. + An all filter. + + + + Creates an all filter for an array field. + + The field. + The values. + The type of the item. + An all filter. + + + + Creates an and filter. + + The filters. + A filter. + + + + Creates an and filter. + + The filters. + An and filter. + + + + Creates an equality filter for an array field. + + The field. + The value. + The type of the item. + An equality filter. + + + + Creates an equality filter for an array field. + + The field. + The value. + The type of the item. + An equality filter. + + + + Creates a greater than filter for an array field. + + The field. + The value. + The type of the item. + A greater than filter. + + + + Creates a greater than filter for an array field. + + The field. + The value. + The type of the item. + A greater than filter. + + + + Creates a greater than or equal filter for an array field. + + The field. + The value. + The type of the item. + A greater than or equal filter. + + + + Creates a greater than or equal filter for an array field. + + The field. + The value. + The type of the item. + A greater than or equal filter. + + + + Creates an in filter for an array field. + + The field. + The values. + The type of the item. + An in filter. + + + + Creates an in filter for an array field. + + The field. + The values. + The type of the item. + An in filter. + + + + Creates a less than filter for an array field. + + The field. + The value. + The type of the item. + A less than filter. + + + + Creates a less than filter for an array field. + + The field. + The value. + The type of the item. + A less than filter. + + + + Creates a less than or equal filter for an array field. + + The field. + The value. + The type of the item. + A less than or equal filter. + + + + Creates a less than or equal filter for an array field. + + The field. + The value. + The type of the item. + A less than or equal filter. + + + + Creates a not equal filter for an array field. + + The field. + The value. + The type of the item. + A not equal filter. + + + + Creates a not equal filter for an array field. + + The field. + The value. + The type of the item. + A not equal filter. + + + + Creates a not in filter for an array field. + + The field. + The values. + The type of the item. + A not in filter. + + + + Creates a not in filter for an array field. + + The field. + The values. + The type of the item. + A not in filter. + + + + Creates a bits all clear filter. + + The field. + The bitmask. + A bits all clear filter. + + + + Creates a bits all clear filter. + + The field. + The bitmask. + A bits all clear filter. + + + + Creates a bits all set filter. + + The field. + The bitmask. + A bits all set filter. + + + + Creates a bits all set filter. + + The field. + The bitmask. + A bits all set filter. + + + + Creates a bits any clear filter. + + The field. + The bitmask. + A bits any clear filter. + + + + Creates a bits any clear filter. + + The field. + The bitmask. + A bits any clear filter. + + + + Creates a bits any set filter. + + The field. + The bitmask. + A bits any set filter. + + + + Creates a bits any set filter. + + The field. + The bitmask. + A bits any set filter. + + + + Creates an element match filter for an array field. + + The field. + The filter. + The type of the item. + An element match filter. + + + + Creates an element match filter for an array field. + + The field. + The filter. + The type of the item. + An element match filter. + + + + Creates an element match filter for an array field. + + The field. + The filter. + The type of the item. + An element match filter. + + + + Gets an empty filter. An empty filter matches everything. + + + + + Creates an equality filter. + + The field. + The value. + The type of the field. + An equality filter. + + + + Creates an equality filter. + + The field. + The value. + The type of the field. + An equality filter. + + + + Creates an exists filter. + + The field. + if set to true [exists]. + An exists filter. + + + + Creates an exists filter. + + The field. + if set to true [exists]. + An exists filter. + + + + Creates a geo intersects filter. + + The field. + The geometry. + The type of the coordinates. + A geo intersects filter. + + + + Creates a geo intersects filter. + + The field. + The geometry. + The type of the coordinates. + A geo intersects filter. + + + + Creates a geo within filter. + + The field. + The geometry. + The type of the coordinates. + A geo within filter. + + + + Creates a geo within filter. + + The field. + The geometry. + The type of the coordinates. + A geo within filter. + + + + Creates a geo within box filter. + + The field. + The lower left x. + The lower left y. + The upper right x. + The upper right y. + A geo within box filter. + + + + Creates a geo within box filter. + + The field. + The lower left x. + The lower left y. + The upper right x. + The upper right y. + A geo within box filter. + + + + Creates a geo within center filter. + + The field. + The x. + The y. + The radius. + A geo within center filter. + + + + Creates a geo within center filter. + + The field. + The x. + The y. + The radius. + A geo within center filter. + + + + Creates a geo within center sphere filter. + + The field. + The x. + The y. + The radius. + A geo within center sphere filter. + + + + Creates a geo within center sphere filter. + + The field. + The x. + The y. + The radius. + A geo within center sphere filter. + + + + Creates a geo within polygon filter. + + The field. + The points. + A geo within polygon filter. + + + + Creates a geo within polygon filter. + + The field. + The points. + A geo within polygon filter. + + + + Creates a greater than filter for a UInt32 field. + + The field. + The value. + A greater than filter. + + + + Creates a greater than filter for a UInt64 field. + + The field. + The value. + A greater than filter. + + + + Creates a greater than filter. + + The field. + The value. + The type of the field. + A greater than filter. + + + + Creates a greater than filter for a UInt32 field. + + The field. + The value. + A greater than filter. + + + + Creates a greater than filter for a UInt64 field. + + The field. + The value. + A greater than filter. + + + + Creates a greater than filter. + + The field. + The value. + The type of the field. + A greater than filter. + + + + Creates a greater than or equal filter for a UInt32 field. + + The field. + The value. + A greater than or equal filter. + + + + Creates a greater than or equal filter for a UInt64 field. + + The field. + The value. + A greater than or equal filter. + + + + Creates a greater than or equal filter. + + The field. + The value. + The type of the field. + A greater than or equal filter. + + + + Creates a greater than or equal filter for a UInt32 field. + + The field. + The value. + A greater than or equal filter. + + + + Creates a greater than or equal filter for a UInt64 field. + + The field. + The value. + A greater than or equal filter. + + + + Creates a greater than or equal filter. + + The field. + The value. + The type of the field. + A greater than or equal filter. + + + + Creates an in filter. + + The field. + The values. + The type of the field. + An in filter. + + + + Creates an in filter. + + The field. + The values. + The type of the field. + An in filter. + + + + Creates a less than filter for a UInt32 field. + + The field. + The value. + A less than filter. + + + + Creates a less than filter for a UInt64 field. + + The field. + The value. + A less than filter. + + + + Creates a less than filter. + + The field. + The value. + The type of the field. + A less than filter. + + + + Creates a less than filter for a UInt32 field. + + The field. + The value. + A less than filter. + + + + Creates a less than filter for a UInt64 field. + + The field. + The value. + A less than filter. + + + + Creates a less than filter. + + The field. + The value. + The type of the field. + A less than filter. + + + + Creates a less than or equal filter for a UInt32 field. + + The field. + The value. + A less than or equal filter. + + + + Creates a less than or equal filter for a UInt64 field. + + The field. + The value. + A less than or equal filter. + + + + Creates a less than or equal filter. + + The field. + The value. + The type of the field. + A less than or equal filter. + + + + Creates a less than or equal filter for a UInt32 field. + + The field. + The value. + A less than or equal filter. + + + + Creates a less than or equal filter for a UInt64 field. + + The field. + The value. + A less than or equal filter. + + + + Creates a less than or equal filter. + + The field. + The value. + The type of the field. + A less than or equal filter. + + + + Creates a modulo filter. + + The field. + The modulus. + The remainder. + A modulo filter. + + + + Creates a modulo filter. + + The field. + The modulus. + The remainder. + A modulo filter. + + + + Creates a not equal filter. + + The field. + The value. + The type of the field. + A not equal filter. + + + + Creates a not equal filter. + + The field. + The value. + The type of the field. + A not equal filter. + + + + Creates a near filter. + + The field. + The geometry. + The maximum distance. + The minimum distance. + The type of the coordinates. + A near filter. + + + + Creates a near filter. + + The field. + The x. + The y. + The maximum distance. + The minimum distance. + A near filter. + + + + Creates a near filter. + + The field. + The geometry. + The maximum distance. + The minimum distance. + The type of the coordinates. + A near filter. + + + + Creates a near filter. + + The field. + The x. + The y. + The maximum distance. + The minimum distance. + A near filter. + + + + Creates a near sphere filter. + + The field. + The geometry. + The maximum distance. + The minimum distance. + The type of the coordinates. + A near sphere filter. + + + + Creates a near sphere filter. + + The field. + The x. + The y. + The maximum distance. + The minimum distance. + A near sphere filter. + + + + Creates a near sphere filter. + + The field. + The geometry. + The maximum distance. + The minimum distance. + The type of the coordinates. + A near sphere filter. + + + + Creates a near sphere filter. + + The field. + The x. + The y. + The maximum distance. + The minimum distance. + A near sphere filter. + + + + Creates a not in filter. + + The field. + The values. + The type of the field. + A not in filter. + + + + Creates a not in filter. + + The field. + The values. + The type of the field. + A not in filter. + + + + Creates a not filter. + + The filter. + A not filter. + + + + Creates an OfType filter that matches documents of a derived type. + + The type of the matching derived documents. + An OfType filter. + + + + Creates an OfType filter that matches documents with a field of a derived typer. + + The field. + The type of the field. + The type of the matching derived field value. + An OfType filter. + + + + Creates an OfType filter that matches documents with a field of a derived type and that also match a filter on the derived field. + + The field. + A filter on the derived field. + The type of the field. + The type of the matching derived field value. + An OfType filter. + + + + Creates an OfType filter that matches documents of a derived type and that also match a filter on the derived document. + + A filter on the derived document. + The type of the matching derived documents. + An OfType filter. + + + + Creates an OfType filter that matches documents of a derived type and that also match a filter on the derived document. + + A filter on the derived document. + The type of the matching derived documents. + An OfType filter. + + + + Creates an OfType filter that matches documents with a field of a derived type. + + The field. + The type of the field. + The type of the matching derived field value. + An OfType filter. + + + + Creates an OfType filter that matches documents with a field of a derived type and that also match a filter on the derived field. + + The field. + A filter on the derived field. + The type of the field. + The type of the matching derived field value. + An OfType filter. + + + + Creates an or filter. + + The filters. + An or filter. + + + + Creates an or filter. + + The filters. + An or filter. + + + + Creates a regular expression filter. + + The field. + The regex. + A regular expression filter. + + + + Creates a regular expression filter. + + The field. + The regex. + A regular expression filter. + + + + Creates a size filter. + + The field. + The size. + A size filter. + + + + Creates a size filter. + + The field. + The size. + A size filter. + + + + Creates a size greater than filter. + + The field. + The size. + A size greater than filter. + + + + Creates a size greater than filter. + + The field. + The size. + A size greater than filter. + + + + Creates a size greater than or equal filter. + + The field. + The size. + A size greater than or equal filter. + + + + Creates a size greater than or equal filter. + + The field. + The size. + A size greater than or equal filter. + + + + Creates a size less than filter. + + The field. + The size. + A size less than filter. + + + + Creates a size less than filter. + + The field. + The size. + A size less than filter. + + + + Creates a size less than or equal filter. + + The field. + The size. + A size less than or equal filter. + + + + Creates a size less than or equal filter. + + The field. + The size. + A size less than or equal filter. + + + + Creates a text filter. + + The search. + The text search options. + A text filter. + + + + Creates a text filter. + + The search. + The language. + A text filter. + + + + Creates a type filter. + + The field. + The type. + A type filter. + + + + Creates a type filter. + + The field. + The type. + A type filter. + + + + Creates a type filter. + + The field. + The type. + A type filter. + + + + Creates a type filter. + + The field. + The type. + A type filter. + + + + Creates a filter based on the expression. + + The expression. + An expression filter. + + + + A find based projection. + + The type of the source. + The type of the projection. + + + + Initializes a new instance of the class. + + The expression. + + + + Gets the expression. + + + + + Renders the projection to a . + + The source serializer. + The serializer registry. + A . + + + + Base class for implementors of . + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + + + + + + MongoDB.Driver.FindFluentBase`2 + + + + + + + A simplified type of projection that changes the result type by using a different serializer. + + The result serializer. + The type of the result. + The fluent find interface. + + + + Counts the number of documents. + + The cancellation token. + The count. + + + + Counts the number of documents. + + The cancellation token. + A Task whose result is the count. + + + + Gets or sets the filter. + + + + + Limits the number of documents. + + The limit. + The fluent find interface. + + + + Gets the options. + + + + + Projects the the result. + + The projection. + The type of the projection. + The fluent find interface. + + + + Skips the the specified number of documents. + + The skip. + The fluent find interface. + + + + Sorts the the documents. + + The sort. + The fluent find interface. + + + + Executes the operation and returns a cursor to the results. + + The cancellation token. + A cursor. + + + + Executes the operation and returns a cursor to the results. + + The cancellation token. + A Task whose result is a cursor. + + + + Options for a findAndModify command to delete an object. + + The type of the document and the result. + + + + + + MongoDB.Driver.FindOneAndDeleteOptions`1 + + + + + + + Options for a findAndModify command to delete an object. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + + + + + + MongoDB.Driver.FindOneAndDeleteOptions`2 + + + + + + + Gets or sets the collation. + + + + + Gets or sets the maximum time. + + + + + Gets or sets the projection. + + + + + Gets or sets the sort. + + + + + Options for a findAndModify command to replace an object. + + The type of the document and the result. + + + + + + MongoDB.Driver.FindOneAndReplaceOptions`1 + + + + + + + Options for a findAndModify command to replace an object. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + + + + Initializes a new instance of the class. + + + + + Gets or sets a value indicating whether to bypass document validation. + + + + + Gets or sets the collation. + + + + + Gets or sets a value indicating whether to insert the document if it doesn't already exist. + + + + + Gets or sets the maximum time. + + + + + Gets or sets the projection. + + + + + Gets or sets which version of the document to return. + + + + + Gets or sets the sort. + + + + + Options for a findAndModify command to update an object. + + The type of the document and the result. + + + + + + MongoDB.Driver.FindOneAndUpdateOptions`1 + + + + + + + Options for a findAndModify command to update an object. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + + + + Initializes a new instance of the class. + + + + + Gets or sets a value indicating whether to bypass document validation. + + + + + Gets or sets the collation. + + + + + Gets or sets a value indicating whether to insert the document if it doesn't already exist. + + + + + Gets or sets the maximum time. + + + + + Gets or sets the projection. + + + + + Gets or sets which version of the document to return. + + + + + Gets or sets the sort. + + + + + Options for finding documents. + + + + + + + MongoDB.Driver.FindOptions + + + + + + + Options for finding documents. + + The type of the document and the result. + + + + + + MongoDB.Driver.FindOptions`1 + + + + + + + Options for finding documents. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + + + + + + MongoDB.Driver.FindOptions`2 + + + + + + + Gets or sets how many documents to return. + + + + + Gets or sets the projection. + + + + + Gets or sets how many documents to skip before returning the rest. + + + + + Gets or sets the sort. + + + + + Options for a find operation. + + + + + Initializes a new instance of the class. + + + + + Gets or sets a value indicating whether to allow partial results when some shards are unavailable. + + + + + Gets or sets the size of a batch. + + + + + Gets or sets the collation. + + + + + Gets or sets the comment. + + + + + Gets or sets the type of the cursor. + + + + + Gets or sets the maximum await time for TailableAwait cursors. + + + + + Gets or sets the maximum time. + + + + + Gets or sets the modifiers. + + + + + Gets or sets whether a cursor will time out. + + + + + Gets or sets whether the OplogReplay bit will be set. + + + + + Fluent interface for aggregate. + + The type of the result of the pipeline. + + + + Appends the stage to the pipeline. + + The stage. + The type of the result of the stage. + The fluent aggregate interface. + + + + Changes the result type of the pipeline. + + The new result serializer. + The type of the new result. + The fluent aggregate interface. + + + + Appends a $bucket stage to the pipeline. + + The expression providing the value to group by. + The bucket boundaries. + The options. + The type of the value. + The fluent aggregate interface. + + + + Appends a $bucket stage to the pipeline with a custom projection. + + The expression providing the value to group by. + The bucket boundaries. + The output projection. + The options. + The type of the value. + The type of the new result. + The fluent aggregate interface. + + + + Appends a $bucketAuto stage to the pipeline. + + The expression providing the value to group by. + The number of buckets. + The options (optional). + The type of the value. + The fluent aggregate interface. + + + + Appends a $bucketAuto stage to the pipeline with a custom projection. + + The expression providing the value to group by. + The number of buckets. + The output projection. + The options (optional). + The type of the value. + The type of the new result. + The fluent aggregate interface. + + + + Appends a count stage to the pipeline. + + The fluent aggregate interface. + + + + Gets the database. + + + + + Appends a $facet stage to the pipeline. + + The facets. + The options. + The type of the new result. + + The fluent aggregate interface. + + + + + Appends a $graphLookup stage to the pipeline. + + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The depth field. + The options. + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field elements. + The type of the as field. + The type of the new result (must be same as TResult with an additional as field). + The fluent aggregate interface. + + + + Appends a group stage to the pipeline. + + The group projection. + The type of the result of the stage. + The fluent aggregate interface. + + + + Appends a limit stage to the pipeline. + + The limit. + The fluent aggregate interface. + + + + Appends a lookup stage to the pipeline. + + Name of the other collection. + The local field. + The foreign field. + The field in to place the foreign results. + The options. + The type of the foreign document. + The type of the new result. + The fluent aggregate interface. + + + + Appends a match stage to the pipeline. + + The filter. + The fluent aggregate interface. + + + + Appends a match stage to the pipeline that matches derived documents and changes the result type to the derived type. + + The new result serializer. + The type of the derived documents. + The fluent aggregate interface. + + + + Gets the options. + + + + + Appends an out stage to the pipeline and executes it, and then returns a cursor to read the contents of the output collection. + + Name of the collection. + The cancellation token. + A cursor. + + + + Appends an out stage to the pipeline and executes it, and then returns a cursor to read the contents of the output collection. + + Name of the collection. + The cancellation token. + A Task whose result is a cursor. + + + + Appends a project stage to the pipeline. + + The projection. + The type of the result of the stage. + + The fluent aggregate interface. + + + + + Appends a $replaceRoot stage to the pipeline. + + The new root. + The type of the new result. + The fluent aggregate interface. + + + + Appends a skip stage to the pipeline. + + The number of documents to skip. + The fluent aggregate interface. + + + + Appends a sort stage to the pipeline. + + The sort specification. + The fluent aggregate interface. + + + + Appends a sortByCount stage to the pipeline. + + The identifier. + The type of the identifier. + The fluent aggregate interface. + + + + Gets the stages. + + + + + Appends an unwind stage to the pipeline. + + The field. + The new result serializer. + The type of the result of the stage. + + The fluent aggregate interface. + + + + + Appends an unwind stage to the pipeline. + + The field. + The options. + The type of the new result. + The fluent aggregate interface. + + + + Extension methods for + + + + Appends a $bucket stage to the pipeline. + + The aggregate. + The expression providing the value to group by. + The bucket boundaries. + The options. + The type of the result. + The type of the value. + The fluent aggregate interface. + + + + Appends a $bucket stage to the pipeline. + + The aggregate. + The expression providing the value to group by. + The bucket boundaries. + The output projection. + The options. + The type of the result. + The type of the value. + The type of the new result. + The fluent aggregate interface. + + + + Appends a $bucketAuto stage to the pipeline. + + The aggregate. + The expression providing the value to group by. + The number of buckets. + The options (optional). + The type of the result. + The type of the value. + The fluent aggregate interface. + + + + Appends a $bucketAuto stage to the pipeline. + + The aggregate. + The expression providing the value to group by. + The number of buckets. + The output projection. + The options (optional). + The type of the result. + The type of the value. + The type of the new result. + The fluent aggregate interface. + + + + Appends a $facet stage to the pipeline. + + The aggregate. + The facets. + The type of the result. + The fluent aggregate interface. + + + + Appends a $facet stage to the pipeline. + + The aggregate. + The facets. + The type of the result. + The type of the new result. + + The fluent aggregate interface. + + + + + Appends a $facet stage to the pipeline. + + The aggregate. + The facets. + The type of the result. + The fluent aggregate interface. + + + + Returns the first document of the aggregate result. + + The aggregate. + The cancellation token. + The type of the result. + + The fluent aggregate interface. + + + + + Returns the first document of the aggregate result. + + The aggregate. + The cancellation token. + The type of the result. + + The fluent aggregate interface. + + + + + Returns the first document of the aggregate result, or the default value if the result set is empty. + + The aggregate. + The cancellation token. + The type of the result. + + The fluent aggregate interface. + + + + + Returns the first document of the aggregate result, or the default value if the result set is empty. + + The aggregate. + The cancellation token. + The type of the result. + + The fluent aggregate interface. + + + + + Appends a $graphLookup stage to the pipeline. + + The aggregate. + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The depth field. + The type of the result. + The type of the from documents. + The fluent aggregate interface. + + + + Appends a $graphLookup stage to the pipeline. + + The aggregate. + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The options. + The type of the result. + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field. + The type of the new result (must be same as TResult with an additional as field). + The fluent aggregate interface. + + + + Appends a $graphLookup stage to the pipeline. + + The aggregate. + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The options. + The type of the result. + The type of the new result (must be same as TResult with an additional as field). + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field. + The fluent aggregate interface. + + + + Appends a $graphLookup stage to the pipeline. + + The aggregate. + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The depth field. + The options. + The type of the result. + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field elements. + The type of the as field. + The type of the new result (must be same as TResult with an additional as field). + The fluent aggregate interface. + + + + Appends a group stage to the pipeline. + + The aggregate. + The group projection. + The type of the result. + + The fluent aggregate interface. + + + + + Appends a group stage to the pipeline. + + The aggregate. + The id. + The group projection. + The type of the result. + The type of the key. + The type of the new result. + + The fluent aggregate interface. + + + + + Appends a lookup stage to the pipeline. + + The aggregate. + The foreign collection. + The local field. + The foreign field. + The field in the result to place the foreign matches. + The options. + The type of the result. + The type of the foreign collection. + The type of the new result. + The fluent aggregate interface. + + + + Appends a lookup stage to the pipeline. + + The aggregate. + Name of the foreign collection. + The local field. + The foreign field. + The field in the result to place the foreign matches. + The type of the result. + The fluent aggregate interface. + + + + Appends a match stage to the pipeline. + + The aggregate. + The filter. + The type of the result. + + The fluent aggregate interface. + + + + + Appends a project stage to the pipeline. + + The aggregate. + The projection. + The type of the result. + + The fluent aggregate interface. + + + + + Appends a project stage to the pipeline. + + The aggregate. + The projection. + The type of the result. + The type of the new result. + + The fluent aggregate interface. + + + + + Appends a $replaceRoot stage to the pipeline. + + The aggregate. + The new root. + The type of the result. + The type of the new result. + + The fluent aggregate interface. + + + + + Returns the only document of the aggregate result. Throws an exception if the result set does not contain exactly one document. + + The aggregate. + The cancellation token. + The type of the result. + + The fluent aggregate interface. + + + + + Returns the only document of the aggregate result. Throws an exception if the result set does not contain exactly one document. + + The aggregate. + The cancellation token. + The type of the result. + + The fluent aggregate interface. + + + + + Returns the only document of the aggregate result, or the default value if the result set is empty. Throws an exception if the result set contains more than one document. + + The aggregate. + The cancellation token. + The type of the result. + + The fluent aggregate interface. + + + + + Returns the only document of the aggregate result, or the default value if the result set is empty. Throws an exception if the result set contains more than one document. + + The aggregate. + The cancellation token. + The type of the result. + + The fluent aggregate interface. + + + + + Appends an ascending sort stage to the pipeline. + + The aggregate. + The field to sort by. + The type of the result. + + The fluent aggregate interface. + + + + + Appends a sortByCount stage to the pipeline. + + The aggregate. + The id. + The type of the result. + The type of the key. + + The fluent aggregate interface. + + + + + Appends a descending sort stage to the pipeline. + + The aggregate. + The field to sort by. + The type of the result. + + The fluent aggregate interface. + + + + + Modifies the current sort stage by appending an ascending field specification to it. + + The aggregate. + The field to sort by. + The type of the result. + + The fluent aggregate interface. + + + + + Modifies the current sort stage by appending a descending field specification to it. + + The aggregate. + The field to sort by. + The type of the result. + + The fluent aggregate interface. + + + + + Appends an unwind stage to the pipeline. + + The aggregate. + The field to unwind. + The type of the result. + + The fluent aggregate interface. + + + + + Appends an unwind stage to the pipeline. + + The aggregate. + The field to unwind. + The type of the result. + + The fluent aggregate interface. + + + + + Appends an unwind stage to the pipeline. + + The aggregate. + The field to unwind. + The new result serializer. + The type of the result. + The type of the new result. + + The fluent aggregate interface. + + + + + Appends an unwind stage to the pipeline. + + The aggregate. + The field to unwind. + The options. + The type of the result. + The type of the new result. + + The fluent aggregate interface. + + + + + A filtered mongo collection. The filter will be and'ed with all filters. + + The type of the document. + + + + Gets the filter. + + + + + Fluent interface for find. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + + + + A simplified type of projection that changes the result type by using a different serializer. + + The result serializer. + The type of the result. + The fluent find interface. + + + + Counts the number of documents. + + The cancellation token. + The count. + + + + Counts the number of documents. + + The cancellation token. + A Task whose result is the count. + + + + Gets or sets the filter. + + + + + Limits the number of documents. + + The limit. + The fluent find interface. + + + + Gets the options. + + + + + Projects the the result. + + The projection. + The type of the projection. + The fluent find interface. + + + + Skips the the specified number of documents. + + The skip. + The fluent find interface. + + + + Sorts the the documents. + + The sort. + The fluent find interface. + + + + Extension methods for + + + + Get the first result. + + The fluent find. + The cancellation token. + The type of the document. + The type of the projection (same as TDocument if there is no projection). + A Task whose result is the first result. + + + + Get the first result. + + The fluent find. + The cancellation token. + The type of the document. + The type of the projection (same as TDocument if there is no projection). + A Task whose result is the first result. + + + + Get the first result or null. + + The fluent find. + The cancellation token. + The type of the document. + The type of the projection (same as TDocument if there is no projection). + A Task whose result is the first result or null. + + + + Get the first result or null. + + The fluent find. + The cancellation token. + The type of the document. + The type of the projection (same as TDocument if there is no projection). + A Task whose result is the first result or null. + + + + Projects the result. + + The fluent find. + The projection. + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The fluent find interface. + + + + Projects the result. + + The fluent find. + The projection. + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The type of the new projection. + The fluent find interface. + + + + Gets a single result. + + The fluent find. + The cancellation token. + The type of the document. + The type of the projection (same as TDocument if there is no projection). + A Task whose result is the single result. + + + + Gets a single result. + + The fluent find. + The cancellation token. + The type of the document. + The type of the projection (same as TDocument if there is no projection). + A Task whose result is the single result. + + + + Gets a single result or null. + + The fluent find. + The cancellation token. + The type of the document. + The type of the projection (same as TDocument if there is no projection). + A Task whose result is the single result or null. + + + + Gets a single result or null. + + The fluent find. + The cancellation token. + The type of the document. + The type of the projection (same as TDocument if there is no projection). + A Task whose result is the single result or null. + + + + Sorts the results by an ascending field. + + The fluent find. + The field. + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The fluent find interface. + + + + Sorts the results by a descending field. + + The fluent find. + The field. + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The fluent find interface. + + + + Adds an ascending field to the existing sort. + + The fluent find. + The field. + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The fluent find interface. + + + + Adds a descending field to the existing sort. + + The fluent find. + The field. + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The fluent find interface. + + + + The client interface to MongoDB. + + + + + Gets the cluster. + + + + + Drops the database with the specified name. + + The name of the database to drop. + The cancellation token. + + + + Drops the database with the specified name. + + The name of the database to drop. + The cancellation token. + A task. + + + + Gets a database. + + The name of the database. + The database settings. + An implementation of a database. + + + + Lists the databases on the server. + + The cancellation token. + A cursor. + + + + Lists the databases on the server. + + The cancellation token. + A Task whose result is a cursor. + + + + Gets the settings. + + + + + Returns a new IMongoClient instance with a different read concern setting. + + The read concern. + A new IMongoClient instance with a different read concern setting. + + + + Returns a new IMongoClient instance with a different read preference setting. + + The read preference. + A new IMongoClient instance with a different read preference setting. + + + + Returns a new IMongoClient instance with a different write concern setting. + + The write concern. + A new IMongoClient instance with a different write concern setting. + + + + Represents a typed collection in MongoDB. + + The type of the documents stored in the collection. + + + + Runs an aggregation pipeline. + + The pipeline. + The options. + The cancellation token. + The type of the result. + A cursor. + + + + Runs an aggregation pipeline. + + The pipeline. + The options. + The cancellation token. + The type of the result. + A Task whose result is a cursor. + + + + Performs multiple write operations. + + The requests. + The options. + The cancellation token. + The result of writing. + + + + Performs multiple write operations. + + The requests. + The options. + The cancellation token. + The result of writing. + + + + Gets the namespace of the collection. + + + + + Counts the number of documents in the collection. + + The filter. + The options. + The cancellation token. + + The number of documents in the collection. + + + + + Counts the number of documents in the collection. + + The filter. + The options. + The cancellation token. + + The number of documents in the collection. + + + + + Gets the database. + + + + + Deletes multiple documents. + + The filter. + The options. + The cancellation token. + + The result of the delete operation. + + + + + Deletes multiple documents. + + The filter. + The cancellation token. + + The result of the delete operation. + + + + + Deletes multiple documents. + + The filter. + The options. + The cancellation token. + + The result of the delete operation. + + + + + Deletes multiple documents. + + The filter. + The cancellation token. + + The result of the delete operation. + + + + + Deletes a single document. + + The filter. + The options. + The cancellation token. + + The result of the delete operation. + + + + + Deletes a single document. + + The filter. + The cancellation token. + + The result of the delete operation. + + + + + Deletes a single document. + + The filter. + The options. + The cancellation token. + + The result of the delete operation. + + + + + Deletes a single document. + + The filter. + The cancellation token. + + The result of the delete operation. + + + + + Gets the distinct values for a specified field. + + The field. + The filter. + The options. + The cancellation token. + The type of the result. + A cursor. + + + + Gets the distinct values for a specified field. + + The field. + The filter. + The options. + The cancellation token. + The type of the result. + A Task whose result is a cursor. + + + + Gets the document serializer. + + + + + Finds the documents matching the filter. + + The filter. + The options. + The cancellation token. + The type of the projection (same as TDocument if there is no projection). + A Task whose result is a cursor. + + + + Finds a single document and deletes it atomically. + + The filter. + The options. + The cancellation token. + The type of the projection (same as TDocument if there is no projection). + + The returned document. + + + + + Finds a single document and deletes it atomically. + + The filter. + The options. + The cancellation token. + The type of the projection (same as TDocument if there is no projection). + + The returned document. + + + + + Finds a single document and replaces it atomically. + + The filter. + The replacement. + The options. + The cancellation token. + The type of the projection (same as TDocument if there is no projection). + + The returned document. + + + + + Finds a single document and replaces it atomically. + + The filter. + The replacement. + The options. + The cancellation token. + The type of the projection (same as TDocument if there is no projection). + + The returned document. + + + + + Finds a single document and updates it atomically. + + The filter. + The update. + The options. + The cancellation token. + The type of the projection (same as TDocument if there is no projection). + + The returned document. + + + + + Finds a single document and updates it atomically. + + The filter. + The update. + The options. + The cancellation token. + The type of the projection (same as TDocument if there is no projection). + + The returned document. + + + + + Finds the documents matching the filter. + + The filter. + The options. + The cancellation token. + The type of the projection (same as TDocument if there is no projection). + A cursor. + + + + Gets the index manager. + + + + + Inserts many documents. + + The documents. + The options. + The cancellation token. + + + + Inserts many documents. + + The documents. + The options. + The cancellation token. + + The result of the insert operation. + + + + + Inserts a single document. + + The document. + The options. + The cancellation token. + + + + Inserts a single document. + + The document. + The options. + The cancellation token. + + The result of the insert operation. + + + + + Inserts a single document. + + The document. + The cancellation token. + + The result of the insert operation. + + + + + Executes a map-reduce command. + + The map function. + The reduce function. + The options. + The cancellation token. + The type of the result. + A cursor. + + + + Executes a map-reduce command. + + The map function. + The reduce function. + The options. + The cancellation token. + The type of the result. + A Task whose result is a cursor. + + + + Returns a filtered collection that appears to contain only documents of the derived type. + All operations using this filtered collection will automatically use discriminators as necessary. + + The type of the derived document. + A filtered collection. + + + + Replaces a single document. + + The filter. + The replacement. + The options. + The cancellation token. + + The result of the replacement. + + + + + Replaces a single document. + + The filter. + The replacement. + The options. + The cancellation token. + + The result of the replacement. + + + + + Gets the settings. + + + + + Updates many documents. + + The filter. + The update. + The options. + The cancellation token. + + The result of the update operation. + + + + + Updates many documents. + + The filter. + The update. + The options. + The cancellation token. + + The result of the update operation. + + + + + Updates a single document. + + The filter. + The update. + The options. + The cancellation token. + + The result of the update operation. + + + + + Updates a single document. + + The filter. + The update. + The options. + The cancellation token. + + The result of the update operation. + + + + + Returns a new IMongoCollection instance with a different read concern setting. + + The read concern. + A new IMongoCollection instance with a different read concern setting. + + + + Returns a new IMongoCollection instance with a different read preference setting. + + The read preference. + A new IMongoCollection instance with a different read preference setting. + + + + Returns a new IMongoCollection instance with a different write concern setting. + + The write concern. + A new IMongoCollection instance with a different write concern setting. + + + + Extension methods for . + + + + + Begins a fluent aggregation interface. + + The collection. + The options. + The type of the document. + + A fluent aggregate interface. + + + + + Creates a queryable source of documents. + + The collection. + The aggregate options + The type of the document. + A queryable source of documents. + + + + Counts the number of documents in the collection. + + The collection. + The filter. + The options. + The cancellation token. + The type of the document. + + The number of documents in the collection. + + + + + Counts the number of documents in the collection. + + The collection. + The filter. + The options. + The cancellation token. + The type of the document. + + The number of documents in the collection. + + + + + Deletes multiple documents. + + The collection. + The filter. + The options. + The cancellation token. + The type of the document. + + The result of the delete operation. + + + + + Deletes multiple documents. + + The collection. + The filter. + The cancellation token. + The type of the document. + + The result of the delete operation. + + + + + Deletes multiple documents. + + The collection. + The filter. + The options. + The cancellation token. + The type of the document. + + The result of the delete operation. + + + + + Deletes multiple documents. + + The collection. + The filter. + The cancellation token. + The type of the document. + + The result of the delete operation. + + + + + Deletes a single document. + + The collection. + The filter. + The options. + The cancellation token. + The type of the document. + + The result of the delete operation. + + + + + Deletes a single document. + + The collection. + The filter. + The cancellation token. + The type of the document. + + The result of the delete operation. + + + + + Deletes a single document. + + The collection. + The filter. + The options. + The cancellation token. + The type of the document. + + The result of the delete operation. + + + + + Deletes a single document. + + The collection. + The filter. + The cancellation token. + The type of the document. + + The result of the delete operation. + + + + + Gets the distinct values for a specified field. + + The collection. + The field. + The filter. + The options. + The cancellation token. + The type of the document. + The type of the result. + + The distinct values for the specified field. + + + + + Gets the distinct values for a specified field. + + The collection. + The field. + The filter. + The options. + The cancellation token. + The type of the document. + The type of the result. + + The distinct values for the specified field. + + + + + Gets the distinct values for a specified field. + + The collection. + The field. + The filter. + The options. + The cancellation token. + The type of the document. + The type of the result. + + The distinct values for the specified field. + + + + + Gets the distinct values for a specified field. + + The collection. + The field. + The filter. + The options. + The cancellation token. + The type of the document. + The type of the result. + + The distinct values for the specified field. + + + + + Gets the distinct values for a specified field. + + The collection. + The field. + The filter. + The options. + The cancellation token. + The type of the document. + The type of the result. + + The distinct values for the specified field. + + + + + Gets the distinct values for a specified field. + + The collection. + The field. + The filter. + The options. + The cancellation token. + The type of the document. + The type of the result. + + The distinct values for the specified field. + + + + + Begins a fluent find interface. + + The collection. + The filter. + The options. + The type of the document. + + A fluent find interface. + + + + + Begins a fluent find interface. + + The collection. + The filter. + The options. + The type of the document. + + A fluent interface. + + + + + Finds the documents matching the filter. + + The collection. + The filter. + The options. + The cancellation token. + The type of the document. + A Task whose result is a cursor. + + + + Finds the documents matching the filter. + + The collection. + The filter. + The options. + The cancellation token. + The type of the document. + A Task whose result is a cursor. + + + + Finds a single document and deletes it atomically. + + The collection. + The filter. + The options. + The cancellation token. + The type of the document. + + The deleted document if one was deleted. + + + + + Finds a single document and deletes it atomically. + + The collection. + The filter. + The options. + The cancellation token. + The type of the document. + + The deleted document if one was deleted. + + + + + Finds a single document and deletes it atomically. + + The collection. + The filter. + The options. + The cancellation token. + The type of the document. + The type of the projection (same as TDocument if there is no projection). + + The returned document. + + + + + Finds a single document and deletes it atomically. + + The collection. + The filter. + The options. + The cancellation token. + The type of the document. + + The deleted document if one was deleted. + + + + + Finds a single document and deletes it atomically. + + The collection. + The filter. + The options. + The cancellation token. + The type of the document. + + The deleted document if one was deleted. + + + + + Finds a single document and deletes it atomically. + + The collection. + The filter. + The options. + The cancellation token. + The type of the document. + The type of the projection (same as TDocument if there is no projection). + + The returned document. + + + + + Finds a single document and replaces it atomically. + + The collection. + The filter. + The replacement. + The options. + The cancellation token. + The type of the document. + + The returned document. + + + + + Finds a single document and replaces it atomically. + + The collection. + The filter. + The replacement. + The options. + The cancellation token. + The type of the document. + + The returned document. + + + + + Finds a single document and replaces it atomically. + + The collection. + The filter. + The replacement. + The options. + The cancellation token. + The type of the document. + The type of the projection (same as TDocument if there is no projection). + + The returned document. + + + + + Finds a single document and replaces it atomically. + + The collection. + The filter. + The replacement. + The options. + The cancellation token. + The type of the document. + + The returned document. + + + + + Finds a single document and replaces it atomically. + + The collection. + The filter. + The replacement. + The options. + The cancellation token. + The type of the document. + + The returned document. + + + + + Finds a single document and replaces it atomically. + + The collection. + The filter. + The replacement. + The options. + The cancellation token. + The type of the document. + The type of the projection (same as TDocument if there is no projection). + + The returned document. + + + + + Finds a single document and updates it atomically. + + The collection. + The filter. + The update. + The options. + The cancellation token. + The type of the document. + + The returned document. + + + + + Finds a single document and updates it atomically. + + The collection. + The filter. + The update. + The options. + The cancellation token. + The type of the document. + + The returned document. + + + + + Finds a single document and updates it atomically. + + The collection. + The filter. + The update. + The options. + The cancellation token. + The type of the document. + The type of the projection (same as TDocument if there is no projection). + + The returned document. + + + + + Finds a single document and updates it atomically. + + The collection. + The filter. + The update. + The options. + The cancellation token. + The type of the document. + + The returned document. + + + + + Finds a single document and updates it atomically. + + The collection. + The filter. + The update. + The options. + The cancellation token. + The type of the document. + + The returned document. + + + + + Finds a single document and updates it atomically. + + The collection. + The filter. + The update. + The options. + The cancellation token. + The type of the document. + The type of the projection (same as TDocument if there is no projection). + + The returned document. + + + + + Finds the documents matching the filter. + + The collection. + The filter. + The options. + The cancellation token. + The type of the document. + A Task whose result is a cursor. + + + + Finds the documents matching the filter. + + The collection. + The filter. + The options. + The cancellation token. + The type of the document. + A Task whose result is a cursor. + + + + Replaces a single document. + + The collection. + The filter. + The replacement. + The options. + The cancellation token. + The type of the document. + + The result of the replacement. + + + + + Replaces a single document. + + The collection. + The filter. + The replacement. + The options. + The cancellation token. + The type of the document. + + The result of the replacement. + + + + + Updates many documents. + + The collection. + The filter. + The update. + The options. + The cancellation token. + The type of the document. + + The result of the update operation. + + + + + Updates many documents. + + The collection. + The filter. + The update. + The options. + The cancellation token. + The type of the document. + + The result of the update operation. + + + + + Updates a single document. + + The collection. + The filter. + The update. + The options. + The cancellation token. + The type of the document. + + The result of the update operation. + + + + + Updates a single document. + + The collection. + The filter. + The update. + The options. + The cancellation token. + The type of the document. + + The result of the update operation. + + + + + Representats a database in MongoDB. + + + + + Gets the client. + + + + + Creates the collection with the specified name. + + The name. + The options. + The cancellation token. + + + + Creates the collection with the specified name. + + The name. + The options. + The cancellation token. + A task. + + + + Creates a view. + + The name of the view. + The name of the collection that the view is on. + The pipeline. + The options. + The cancellation token. + The type of the input documents. + The type of the pipeline result documents. + + + + Creates a view. + + The name of the view. + The name of the collection that the view is on. + The pipeline. + The options. + The cancellation token. + The type of the input documents. + The type of the pipeline result documents. + A task. + + + + Gets the namespace of the database. + + + + + Drops the collection with the specified name. + + The name of the collection to drop. + The cancellation token. + + + + Drops the collection with the specified name. + + The name of the collection to drop. + The cancellation token. + A task. + + + + Gets a collection. + + The name of the collection. + The settings. + The document type. + An implementation of a collection. + + + + Lists all the collections on the server. + + The options. + The cancellation token. + A cursor. + + + + Lists all the collections on the server. + + The options. + The cancellation token. + A Task whose result is a cursor. + + + + Renames the collection. + + The old name. + The new name. + The options. + The cancellation token. + + + + Renames the collection. + + The old name. + The new name. + The options. + The cancellation token. + A task. + + + + Runs a command. + + The command. + The read preference. + The cancellation token. + The result type of the command. + + The result of the command. + + + + + Runs a command. + + The command. + The read preference. + The cancellation token. + The result type of the command. + + The result of the command. + + + + + Gets the settings. + + + + + Returns a new IMongoDatabase instance with a different read concern setting. + + The read concern. + A new IMongoDatabase instance with a different read concern setting. + + + + Returns a new IMongoDatabase instance with a different read preference setting. + + The read preference. + A new IMongoDatabase instance with a different read preference setting. + + + + Returns a new IMongoDatabase instance with a different write concern setting. + + The write concern. + A new IMongoDatabase instance with a different write concern setting. + + + + An interface representing methods used to create, delete and modify indexes. + + The type of the document. + + + + Gets the namespace of the collection. + + + + + Creates multiple indexes. + + The models defining each of the indexes. + The cancellation token. + + An of the names of the indexes that were created. + + + + + Creates multiple indexes. + + The models defining each of the indexes. + The cancellation token. + + A task whose result is an of the names of the indexes that were created. + + + + + Creates an index. + + The keys. + The options. + The cancellation token. + + The name of the index that was created. + + + + + Creates an index. + + The keys. + The options. + The cancellation token. + + A task whose result is the name of the index that was created. + + + + + Gets the document serializer. + + + + + Drops all the indexes. + + The cancellation token. + + + + Drops all the indexes. + + The cancellation token. + A task. + + + + Drops an index by its name. + + The name. + The cancellation token. + + + + Drops an index by its name. + + The name. + The cancellation token. + A task. + + + + Lists the indexes. + + The cancellation token. + A cursor. + + + + Lists the indexes. + + The cancellation token. + A Task whose result is a cursor. + + + + Gets the collection settings. + + + + + Base class for an index keys definition. + + The type of the document. + + + + + + MongoDB.Driver.IndexKeysDefinition`1 + + + + + + + Performs an implicit conversion from to . + + The document. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The JSON string. + + The result of the conversion. + + + + + Renders the index keys definition to a . + + The document serializer. + The serializer registry. + A . + + + + A builder for an . + + The type of the document. + + + + + + MongoDB.Driver.IndexKeysDefinitionBuilder`1 + + + + + + + Creates an ascending index key definition. + + The field. + An ascending index key definition. + + + + Creates an ascending index key definition. + + The field. + An ascending index key definition. + + + + Creates a combined index keys definition. + + The keys. + A combined index keys definition. + + + + Creates a combined index keys definition. + + The keys. + A combined index keys definition. + + + + Creates a descending index key definition. + + The field. + A descending index key definition. + + + + Creates a descending index key definition. + + The field. + A descending index key definition. + + + + Creates a 2d index key definition. + + The field. + A 2d index key definition. + + + + Creates a 2d index key definition. + + The field. + A 2d index key definition. + + + + Creates a 2dsphere index key definition. + + The field. + A 2dsphere index key definition. + + + + Creates a 2dsphere index key definition. + + The field. + A 2dsphere index key definition. + + + + Creates a geo haystack index key definition. + + The field. + Name of the additional field. + + A geo haystack index key definition. + + + + + Creates a geo haystack index key definition. + + The field. + Name of the additional field. + + A geo haystack index key definition. + + + + + Creates a hashed index key definition. + + The field. + A hashed index key definition. + + + + Creates a hashed index key definition. + + The field. + A hashed index key definition. + + + + Creates a text index key definition. + + The field. + A text index key definition. + + + + Creates a text index key definition. + + The field. + A text index key definition. + + + + Extension methods for an index keys definition. + + + + + Combines an existing index keys definition with an ascending index key definition. + + The keys. + The field. + The type of the document. + + A combined index keys definition. + + + + + Combines an existing index keys definition with an ascending index key definition. + + The keys. + The field. + The type of the document. + + A combined index keys definition. + + + + + Combines an existing index keys definition with a descending index key definition. + + The keys. + The field. + The type of the document. + + A combined index keys definition. + + + + + Combines an existing index keys definition with a descending index key definition. + + The keys. + The field. + The type of the document. + + A combined index keys definition. + + + + + Combines an existing index keys definition with a 2d index key definition. + + The keys. + The field. + The type of the document. + + A combined index keys definition. + + + + + Combines an existing index keys definition with a 2d index key definition. + + The keys. + The field. + The type of the document. + + A combined index keys definition. + + + + + Combines an existing index keys definition with a 2dsphere index key definition. + + The keys. + The field. + The type of the document. + + A combined index keys definition. + + + + + Combines an existing index keys definition with a 2dsphere index key definition. + + The keys. + The field. + The type of the document. + + A combined index keys definition. + + + + + Combines an existing index keys definition with a geo haystack index key definition. + + The keys. + The field. + Name of the additional field. + The type of the document. + + A combined index keys definition. + + + + + Combines an existing index keys definition with a geo haystack index key definition. + + The keys. + The field. + Name of the additional field. + The type of the document. + + A combined index keys definition. + + + + + Combines an existing index keys definition with a hashed index key definition. + + The keys. + The field. + The type of the document. + + A combined index keys definition. + + + + + Combines an existing index keys definition with a hashed index key definition. + + The keys. + The field. + The type of the document. + + A combined index keys definition. + + + + + Combines an existing index keys definition with a text index key definition. + + The keys. + The field. + The type of the document. + + A combined index keys definition. + + + + + Combines an existing index keys definition with a text index key definition. + + The keys. + The field. + The type of the document. + + A combined index keys definition. + + + + + Represents index option defaults. + + + + + + + MongoDB.Driver.IndexOptionDefaults + + + + + + + Gets or sets the storage engine options. + + + + + Options for inserting many documents. + + + + + Initializes a new instance of the class. + + + + + Gets or sets a value indicating whether to bypass document validation. + + + + + Gets or sets a value indicating whether the requests are fulfilled in order. + + + + + Model for inserting a single document. + + The type of the document. + + + + Initializes a new instance of the class. + + The document. + + + + Gets the document. + + + + + Gets the type of the model. + + + + + Options for inserting one document. + + + + + + + MongoDB.Driver.InsertOneOptions + + + + + + + Gets or sets a value indicating whether to bypass document validation. + + + + + Fluent interface for aggregate. + + The type of the result. + + + + Combines the current sort definition with an additional sort definition. + + The new sort. + The fluent aggregate interface. + + + + Fluent interface for find. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + + + + A pipeline stage. + + + + + Gets the type of the input. + + + + + Gets the name of the pipeline operator. + + + + + Gets the type of the output. + + + + + Renders the specified document serializer. + + The input serializer. + The serializer registry. + An + + + + Returns a that represents this instance. + + The input serializer. + The serializer registry. + + A that represents this instance. + + + + + A rendered pipeline stage. + + + + + Gets the document. + + + + + Gets the name of the pipeline operator. + + + + + Gets the output serializer. + + + + + A JSON based command. + + The type of the result. + + + + Initializes a new instance of the class. + + The json. + The result serializer. + + + + Gets the json. + + + + + Renders the command to a . + + The serializer registry. + A . + + + + Gets the result serializer. + + + + + A JSON based filter. + + The type of the document. + + + + Initializes a new instance of the class. + + The json. + + + + Gets the json. + + + + + Renders the filter to a . + + The document serializer. + The serializer registry. + A . + + + + A JSON based index keys definition. + + The type of the document. + + + + Initializes a new instance of the class. + + The json. + + + + Gets the json. + + + + + Renders the index keys definition to a . + + The document serializer. + The serializer registry. + A . + + + + A JSON based pipeline stage. + + The type of the input. + The type of the output. + + + + Initializes a new instance of the class. + + The json. + The output serializer. + + + + Gets the json. + + + + + Gets the name of the pipeline operator. + + + + + Gets the output serializer. + + + + + Renders the specified document serializer. + + The input serializer. + The serializer registry. + A + + + + A JSON based projection whose projection type is not yet known. + + The type of the source. + + + + Initializes a new instance of the class. + + The json. + + + + Gets the json. + + + + + Renders the projection to a . + + The source serializer. + The serializer registry. + A . + + + + A JSON based projection. + + The type of the source. + The type of the projection. + + + + Initializes a new instance of the class. + + The json. + The projection serializer. + + + + Gets the json. + + + + + Gets the projection serializer. + + + + + Renders the projection to a . + + The source serializer. + The serializer registry. + A . + + + + A JSON based sort. + + The type of the document. + + + + Initializes a new instance of the class. + + The json. + + + + Gets the json. + + + + + Renders the sort to a . + + The document serializer. + The serializer registry. + A . + + + + A JSON based update. + + The type of the document. + + + + Initializes a new instance of the class. + + The json. + + + + Gets the json. + + + + + Renders the update to a . + + The document serializer. + The serializer registry. + A . + + + + Options for a list collections operation. + + + + + + + MongoDB.Driver.ListCollectionsOptions + + + + + + + Gets or sets the filter. + + + + + Represents the options for a map-reduce operation. + + The type of the document. + The type of the result. + + + + + + MongoDB.Driver.MapReduceOptions`2 + + + + + + + Gets or sets a value indicating whether to bypass document validation. + + + + + Gets or sets the collation. + + + + + Gets or sets the filter. + + + + + Gets or sets the finalize function. + + + + + Gets or sets the java script mode. + + + + + Gets or sets the limit. + + + + + Gets or sets the maximum time. + + + + + Gets or sets the output options. + + + + + Gets or sets the result serializer. + + + + + Gets or sets the scope. + + + + + Gets or sets the sort. + + + + + Gets or sets whether to include timing information. + + + + + Represents the output options for a map-reduce operation. + + + + + An inline map-reduce output options. + + + + + A merge map-reduce output options. + + The name of the collection. + The name of the database. + Whether the output collection should be sharded. + Whether the server should not lock the database for the duration of the merge. + A merge map-reduce output options. + + + + A reduce map-reduce output options. + + The name of the collection. + The name of the database. + Whether the output collection should be sharded. + Whether the server should not lock the database for the duration of the reduce. + A reduce map-reduce output options. + + + + A replace map-reduce output options. + + The name of the collection. + Name of the database. + Whether the output collection should be sharded. + A replace map-reduce output options. + + + + Represents a bulk write exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The write errors. + The write concern error. + + + + Initializes a new instance of the MongoQueryException class (this overload supports deserialization). + + The SerializationInfo. + The StreamingContext. + + + + Gets the object data. + + The information. + The context. + + + + Gets the write concern error. + + + + + Gets the write errors. + + + + + Represents a bulk write exception. + + The type of the document. + + + + Initializes a new instance of the class. + + The connection identifier. + The result. + The write errors. + The write concern error. + The unprocessed requests. + + + + Initializes a new instance of the MongoQueryException class (this overload supports deserialization). + + The SerializationInfo. + The StreamingContext. + + + + Gets the object data. + + The information. + The context. + + + + Gets the result of the bulk write operation. + + + + + Gets the unprocessed requests. + + + + + Base class for implementors of . + + + + + Initializes a new instance of the MongoClient class. + + + + + Initializes a new instance of the MongoClient class. + + The settings. + + + + Initializes a new instance of the MongoClient class. + + The URL. + + + + Initializes a new instance of the MongoClient class. + + The connection string. + + + + Gets the cluster. + + + + + Drops the database with the specified name. + + The name of the database to drop. + The cancellation token. + + + + Drops the database with the specified name. + + The name of the database to drop. + The cancellation token. + A task. + + + + Gets a database. + + The name of the database. + The database settings. + An implementation of a database. + + + + Lists the databases on the server. + + The cancellation token. + A cursor. + + + + Lists the databases on the server. + + The cancellation token. + A Task whose result is a cursor. + + + + Gets the settings. + + + + + Returns a new IMongoClient instance with a different read concern setting. + + The read concern. + A new IMongoClient instance with a different read concern setting. + + + + Returns a new IMongoClient instance with a different read preference setting. + + The read preference. + A new IMongoClient instance with a different read preference setting. + + + + Returns a new IMongoClient instance with a different write concern setting. + + The write concern. + A new IMongoClient instance with a different write concern setting. + + + + Base class for implementors of . + + + + + + + MongoDB.Driver.MongoClientBase + + + + + + + Gets the cluster. + + + + + Drops the database with the specified name. + + The name of the database to drop. + The cancellation token. + + + + Drops the database with the specified name. + + The name of the database to drop. + The cancellation token. + A task. + + + + Gets a database. + + The name of the database. + The database settings. + An implementation of a database. + + + + Lists the databases on the server. + + The cancellation token. + A cursor. + + + + Lists the databases on the server. + + The cancellation token. + A Task whose result is a cursor. + + + + Gets the settings. + + + + + Returns a new IMongoClient instance with a different read concern setting. + + The read concern. + A new IMongoClient instance with a different read concern setting. + + + + Returns a new IMongoClient instance with a different read preference setting. + + The read preference. + A new IMongoClient instance with a different read preference setting. + + + + Returns a new IMongoClient instance with a different write concern setting. + + The write concern. + A new IMongoClient instance with a different write concern setting. + + + + The settings for a MongoDB client. + + + + + Creates a new instance of MongoClientSettings. Usually you would use a connection string instead. + + + + + Gets or sets the application name. + + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Gets or sets the cluster configurator. + + + + + Gets or sets the connection mode. + + + + + Gets or sets the connect timeout. + + + + + Gets or sets the credentials. + + + + + 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. + + + + + Freezes the settings. + + The frozen settings. + + + + Gets a MongoClientSettings object intialized with values from a MongoURL. + + The MongoURL. + A MongoClientSettings. + + + + Returns a frozen copy of the settings. + + A frozen copy of the settings. + + + + Gets the hash code. + + The hash code. + + + + Gets or sets the representation to use for Guids. + + + + + Gets or sets the heartbeat interval. + + + + + Gets or sets the heartbeat timeout. + + + + + Gets or sets a value indicating whether to use IPv6. + + + + + Gets a value indicating whether the settings have been frozen to prevent further changes. + + + + + Gets or sets the local threshold. + + + + + Gets or sets the max connection idle time. + + + + + Gets or sets the max connection life time. + + + + + Gets or sets the max connection pool size. + + + + + Gets or sets the min connection pool size. + + + + + Determines whether two instances are equal. + + The LHS. + The RHS. + + true if the left hand side is equal to the right hand side; otherwise, false. + + + + + Determines whether two instances are not equal. + + The LHS. + The RHS. + + true if the left hand side is not equal to the right hand side; otherwise, false. + + + + + Gets or sets the read concern. + + + + + Gets or sets the Read Encoding. + + + + + Gets or sets the read preferences. + + + + + Gets or sets the name of the replica set. + + + + + Gets or sets the address of the server (see also Servers if using more than one address). + + + + + Gets or sets the list of server addresses (see also Server if using only one address). + + + + + Gets or sets the server selection timeout. + + + + + Gets or sets the socket timeout. + + + + + Gets or sets the SSL settings. + + + + + Returns a string representation of the settings. + + A string representation of the settings. + + + + Gets or sets a value indicating whether to use SSL. + + + + + Gets or sets a value indicating whether to verify an SSL certificate. + + + + + Gets or sets the wait queue size. + + + + + Gets or sets the wait queue timeout. + + + + + Gets or sets the WriteConcern to use. + + + + + Gets or sets the Write Encoding. + + + + + Base class for implementors of . + + The type of the document. + + + + + + MongoDB.Driver.MongoCollectionBase`1 + + + + + + + Runs an aggregation pipeline. + + The pipeline. + The options. + The cancellation token. + The type of the result. + A cursor. + + + + Runs an aggregation pipeline. + + The pipeline. + The options. + The cancellation token. + The type of the result. + A Task whose result is a cursor. + + + + Performs multiple write operations. + + The requests. + The options. + The cancellation token. + The result of writing. + + + + Performs multiple write operations. + + The requests. + The options. + The cancellation token. + The result of writing. + + + + Gets the namespace of the collection. + + + + + Counts the number of documents in the collection. + + The filter. + The options. + The cancellation token. + + The number of documents in the collection. + + + + + Counts the number of documents in the collection. + + The filter. + The options. + The cancellation token. + + The number of documents in the collection. + + + + + Gets the database. + + + + + Deletes multiple documents. + + The filter. + The options. + The cancellation token. + + The result of the delete operation. + + + + + Deletes multiple documents. + + The filter. + The cancellation token. + + The result of the delete operation. + + + + + Deletes multiple documents. + + The filter. + The options. + The cancellation token. + + The result of the delete operation. + + + + + Deletes multiple documents. + + The filter. + The cancellation token. + + The result of the delete operation. + + + + + Deletes a single document. + + The filter. + The options. + The cancellation token. + + The result of the delete operation. + + + + + Deletes a single document. + + The filter. + The cancellation token. + + The result of the delete operation. + + + + + Deletes a single document. + + The filter. + The options. + The cancellation token. + + The result of the delete operation. + + + + + Deletes a single document. + + The filter. + The cancellation token. + + The result of the delete operation. + + + + + Gets the distinct values for a specified field. + + The field. + The filter. + The options. + The cancellation token. + The type of the result. + A cursor. + + + + Gets the distinct values for a specified field. + + The field. + The filter. + The options. + The cancellation token. + The type of the result. + A Task whose result is a cursor. + + + + Gets the document serializer. + + + + + Finds the documents matching the filter. + + The filter. + The options. + The cancellation token. + The type of the projection (same as TDocument if there is no projection). + A Task whose result is a cursor. + + + + Finds a single document and deletes it atomically. + + The filter. + The options. + The cancellation token. + The type of the projection (same as TDocument if there is no projection). + + The returned document. + + + + + Finds a single document and deletes it atomically. + + The filter. + The options. + The cancellation token. + The type of the projection (same as TDocument if there is no projection). + + The returned document. + + + + + Finds a single document and replaces it atomically. + + The filter. + The replacement. + The options. + The cancellation token. + The type of the projection (same as TDocument if there is no projection). + + The returned document. + + + + + Finds a single document and replaces it atomically. + + The filter. + The replacement. + The options. + The cancellation token. + The type of the projection (same as TDocument if there is no projection). + + The returned document. + + + + + Finds a single document and updates it atomically. + + The filter. + The update. + The options. + The cancellation token. + The type of the projection (same as TDocument if there is no projection). + + The returned document. + + + + + Finds a single document and updates it atomically. + + The filter. + The update. + The options. + The cancellation token. + The type of the projection (same as TDocument if there is no projection). + + The returned document. + + + + + Finds the documents matching the filter. + + The filter. + The options. + The cancellation token. + The type of the projection (same as TDocument if there is no projection). + A cursor. + + + + Gets the index manager. + + + + + Inserts many documents. + + The documents. + The options. + The cancellation token. + + + + Inserts many documents. + + The documents. + The options. + The cancellation token. + + The result of the insert operation. + + + + + Inserts a single document. + + The document. + The options. + The cancellation token. + + + + Inserts a single document. + + The document. + The options. + The cancellation token. + + The result of the insert operation. + + + + + Inserts a single document. + + The document. + The cancellation token. + + The result of the insert operation. + + + + + Executes a map-reduce command. + + The map function. + The reduce function. + The options. + The cancellation token. + The type of the result. + A cursor. + + + + Executes a map-reduce command. + + The map function. + The reduce function. + The options. + The cancellation token. + The type of the result. + A Task whose result is a cursor. + + + + Returns a filtered collection that appears to contain only documents of the derived type. + All operations using this filtered collection will automatically use discriminators as necessary. + + The type of the derived document. + A filtered collection. + + + + Replaces a single document. + + The filter. + The replacement. + The options. + The cancellation token. + + The result of the replacement. + + + + + Replaces a single document. + + The filter. + The replacement. + The options. + The cancellation token. + + The result of the replacement. + + + + + Gets the settings. + + + + + Updates many documents. + + The filter. + The update. + The options. + The cancellation token. + + The result of the update operation. + + + + + Updates many documents. + + The filter. + The update. + The options. + The cancellation token. + + The result of the update operation. + + + + + Updates a single document. + + The filter. + The update. + The options. + The cancellation token. + + The result of the update operation. + + + + + Updates a single document. + + The filter. + The update. + The options. + The cancellation token. + + The result of the update operation. + + + + + Returns a new IMongoCollection instance with a different read concern setting. + + The read concern. + A new IMongoCollection instance with a different read concern setting. + + + + Returns a new IMongoCollection instance with a different read preference setting. + + The read preference. + A new IMongoCollection instance with a different read preference setting. + + + + Returns a new IMongoCollection instance with a different write concern setting. + + The write concern. + A new IMongoCollection instance with a different write concern setting. + + + + The settings used to access a collection. + + + + + Initializes a new instance of the MongoCollectionSettings class. + + + + + Gets or sets a value indicating whether the driver should assign Id values when missing. + + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Compares two MongoCollectionSettings instances. + + The other instance. + True if the two instances are equal. + + + + Freezes the settings. + + The frozen settings. + + + + Returns a frozen copy of the settings. + + A frozen copy of the settings. + + + + Gets the hash code. + + The hash code. + + + + Gets or sets the representation used for Guids. + + + + + Gets a value indicating whether the settings have been frozen to prevent further changes. + + + + + Gets or sets the read concern. + + + + + Gets or sets the Read Encoding. + + + + + Gets or sets the read preference to use. + + + + + Gets the serializer registry. + + + + + Returns a string representation of the settings. + + A string representation of the settings. + + + + Gets or sets the WriteConcern to use. + + + + + Gets or sets the Write Encoding. + + + + + Credential to access a MongoDB database. + + + + + Initializes a new instance of the class. + + Mechanism to authenticate with. + The identity. + The evidence. + + + + Creates a default credential. + + Name of the database. + The username. + The password. + A default credential. + + + + Creates a default credential. + + Name of the database. + The username. + The password. + A default credential. + + + + Creates a GSSAPI credential. + + The username. + A credential for GSSAPI. + + + + Creates a GSSAPI credential. + + The username. + The password. + A credential for GSSAPI. + + + + Creates a GSSAPI credential. + + The username. + The password. + A credential for GSSAPI. + + + + Creates a credential used with MONGODB-CR. + + Name of the database. + The username. + The password. + A credential for MONGODB-CR. + + + + Creates a credential used with MONGODB-CR. + + Name of the database. + The username. + The password. + A credential for MONGODB-CR. + + + + Creates a credential used with MONGODB-CR. + + The username. + A credential for MONGODB-X509. + + + + Creates a PLAIN credential. + + Name of the database. + The username. + The password. + A credential for PLAIN. + + + + Creates a PLAIN credential. + + Name of the database. + The username. + The password. + A credential for PLAIN. + + + + Compares this MongoCredential to another MongoCredential. + + The other credential. + True if the two credentials are equal. + + + + Compares this MongoCredential to another MongoCredential. + + The other credential. + True if the two credentials are equal. + + + + Gets the evidence. + + + + + Gets the hashcode for the credential. + + The hashcode. + + + + Gets the mechanism property. + + The key. + The default value. + The type of the mechanism property. + The mechanism property if one was set; otherwise the default value. + + + + Gets the identity. + + + + + Gets the mechanism to authenticate with. + + + + + Compares two MongoCredentials. + + The first MongoCredential. + The other MongoCredential. + True if the two MongoCredentials are equal (or both null). + + + + Compares two MongoCredentials. + + The first MongoCredential. + The other MongoCredential. + True if the two MongoCredentials are not equal (or one is null and the other is not). + + + + Gets the password. + + + + + Gets the source. + + + + + Returns a string representation of the credential. + + A string representation of the credential. + + + + Gets the username. + + + + + Creates a new MongoCredential with the specified mechanism property. + + The key. + The value. + A new MongoCredential with the specified mechanism property. + + + + Base class for implementors of . + + + + + + + MongoDB.Driver.MongoDatabaseBase + + + + + + + Gets the client. + + + + + Creates the collection with the specified name. + + The name. + The options. + The cancellation token. + + + + Creates the collection with the specified name. + + The name. + The options. + The cancellation token. + A task. + + + + Creates a view. + + The name of the view. + The name of the collection that the view is on. + The pipeline. + The options. + The cancellation token. + The type of the input documents. + The type of the pipeline result documents. + + + + Creates a view. + + The name of the view. + The name of the collection that the view is on. + The pipeline. + The options. + The cancellation token. + The type of the input documents. + The type of the pipeline result documents. + A task. + + + + Gets the namespace of the database. + + + + + Drops the collection with the specified name. + + The name of the collection to drop. + The cancellation token. + + + + Drops the collection with the specified name. + + The name of the collection to drop. + The cancellation token. + A task. + + + + Gets a collection. + + The name of the collection. + The settings. + The document type. + An implementation of a collection. + + + + Lists all the collections on the server. + + The options. + The cancellation token. + A cursor. + + + + Lists all the collections on the server. + + The options. + The cancellation token. + A Task whose result is a cursor. + + + + Renames the collection. + + The old name. + The new name. + The options. + The cancellation token. + + + + Renames the collection. + + The old name. + The new name. + The options. + The cancellation token. + A task. + + + + Runs a command. + + The command. + The read preference. + The cancellation token. + The result type of the command. + + The result of the command. + + + + + Runs a command. + + The command. + The read preference. + The cancellation token. + The result type of the command. + + The result of the command. + + + + + Gets the settings. + + + + + Returns a new IMongoDatabase instance with a different read concern setting. + + The read concern. + A new IMongoDatabase instance with a different read concern setting. + + + + Returns a new IMongoDatabase instance with a different read preference setting. + + The read preference. + A new IMongoDatabase instance with a different read preference setting. + + + + Returns a new IMongoDatabase instance with a different write concern setting. + + The write concern. + A new IMongoDatabase instance with a different write concern setting. + + + + The settings used to access a database. + + + + + Creates a new instance of MongoDatabaseSettings. + + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Compares two MongoDatabaseSettings instances. + + The other instance. + True if the two instances are equal. + + + + Freezes the settings. + + The frozen settings. + + + + Returns a frozen copy of the settings. + + A frozen copy of the settings. + + + + Gets the hash code. + + The hash code. + + + + Gets or sets the representation to use for Guids. + + + + + Gets a value indicating whether the settings have been frozen to prevent further changes. + + + + + Gets or sets the read concern. + + + + + Gets or sets the Read Encoding. + + + + + Gets or sets the read preference. + + + + + Gets the serializer registry. + + + + + Returns a string representation of the settings. + + A string representation of the settings. + + + + Gets or sets the WriteConcern to use. + + + + + Gets or sets the Write Encoding. + + + + + Represents a DBRef (a convenient way to refer to a document). + + + + + Creates a MongoDBRef. + + The name of the collection that contains the document. + The Id of the document. + + + + Creates a MongoDBRef. + + The name of the database that contains the document. + The name of the collection that contains the document. + The Id of the document. + + + + Gets the name of the collection that contains the document. + + + + + Gets the name of the database that contains the document. + + + + + Determines whether this instance and another specified MongoDBRef object have the same value. + + The MongoDBRef object to compare to this instance. + True if the value of the rhs parameter is the same as this instance; otherwise, false. + + + + Determines whether two specified MongoDBRef objects have the same value. + + The first value to compare, or null. + The second value to compare, or null. + True if the value of lhs is the same as the value of rhs; otherwise, false. + + + + Determines whether this instance and a specified object, which must also be a MongoDBRef object, have the same value. + + The MongoDBRef object to compare to this instance. + True if obj is a MongoDBRef object and its value is the same as this instance; otherwise, false. + + + + Returns the hash code for this MongoDBRef object. + + A 32-bit signed integer hash code. + + + + Gets the Id of the document. + + + + + Determines whether two specified MongoDBRef objects have the same value. + + The first value to compare, or null. + The second value to compare, or null. + True if the value of lhs is the same as the value of rhs; otherwise, false. + + + + Determines whether two specified MongoDBRef objects have different values. + + The first value to compare, or null. + The second value to compare, or null. + True if the value of lhs is different from the value of rhs; otherwise, false. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Represents a serializer for MongoDBRefs. + + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Tries to get the serialization info for a member. + + Name of the member. + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Default values for various Mongo settings. + + + + + Gets or sets whether the driver should assign a value to empty Ids on Insert. + + + + + Gets or sets the default authentication mechanism. + + + + + Gets the actual wait queue size (either WaitQueueSize or WaitQueueMultiple x MaxConnectionPoolSize). + + + + + Gets or sets the connect timeout. + + + + + Gets or sets the representation to use for Guids (this is an alias for BsonDefaults.GuidRepresentation). + + + + + Gets or sets the default local threshold. + + + + + Gets or sets the maximum batch count. + + + + + Gets or sets the max connection idle time. + + + + + Gets or sets the max connection life time. + + + + + Gets or sets the max connection pool size. + + + + + Gets or sets the max document size + + + + + Gets or sets the max message length. + + + + + Gets or sets the min connection pool size. + + + + + Gets or sets the operation timeout. + + + + + Gets or sets the Read Encoding. + + + + + Gets or sets the server selection timeout. + + + + + Gets or sets the socket timeout. + + + + + Gets or sets the TCP receive buffer size. + + + + + Gets or sets the TCP send buffer size. + + + + + Gets or sets the wait queue multiple (the actual wait queue size will be WaitQueueMultiple x MaxConnectionPoolSize, see also WaitQueueSize). + + + + + Gets or sets the wait queue size (see also WaitQueueMultiple). + + + + + Gets or sets the wait queue timeout. + + + + + Gets or sets the Write Encoding. + + + + + Represents an identity defined outside of mongodb. + + + + + Initializes a new instance of the class. + + The username. + + + + Initializes a new instance of the class. + + The source. + The username. + + + + Represents an identity in MongoDB. + + + + + Determines whether the specified instance is equal to this instance. + + The right-hand side. + + true if the specified instance 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. + + + + + Compares two MongoIdentity values. + + The first MongoIdentity. + The other MongoIdentity. + True if the two MongoIdentity values are equal (or both null). + + + + Compares two MongoIdentity values. + + The first MongoIdentity. + The other MongoIdentity. + True if the two MongoIdentity values are not equal (or one is null and the other is not). + + + + Gets the source. + + + + + Gets the username. + + + + + Evidence used as proof of a MongoIdentity. + + + + + 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. + + + + + Compares two MongoIdentityEvidences. + + The first MongoIdentityEvidence. + The other MongoIdentityEvidence. + True if the two MongoIdentityEvidences are equal (or both null). + + + + Compares two MongoIdentityEvidences. + + The first MongoIdentityEvidence. + The other MongoIdentityEvidence. + True if the two MongoIdentityEvidences are not equal (or one is null and the other is not). + + + + Base class for implementors of . + + The type of the document. + + + + + + MongoDB.Driver.MongoIndexManagerBase`1 + + + + + + + Gets the namespace of the collection. + + + + + Creates multiple indexes. + + The models defining each of the indexes. + The cancellation token. + + An of the names of the indexes that were created. + + + + + Creates multiple indexes. + + The models defining each of the indexes. + The cancellation token. + + A task whose result is an of the names of the indexes that were created. + + + + + Creates an index. + + The keys. + The options. + The cancellation token. + + The name of the index that was created. + + + + + Creates an index. + + The keys. + The options. + The cancellation token. + + A task whose result is the name of the index that was created. + + + + + Gets the document serializer. + + + + + Drops all the indexes. + + The cancellation token. + + + + Drops all the indexes. + + The cancellation token. + A task. + + + + Drops an index by its name. + + The name. + The cancellation token. + + + + Drops an index by its name. + + The name. + The cancellation token. + A task. + + + + Lists the indexes. + + The cancellation token. + A cursor. + + + + Lists the indexes. + + The cancellation token. + A Task whose result is a cursor. + + + + Gets the collection settings. + + + + + Represents an identity defined inside mongodb. + + + + + Initializes a new instance of the class. + + Name of the database. + The username. + + + + The address of a MongoDB server. + + + + + Initializes a new instance of MongoServerAddress. + + The server's host name. + + + + Initializes a new instance of MongoServerAddress. + + The server's host name. + The server's port number. + + + + Compares two server addresses. + + The other server address. + True if the two server addresses are equal. + + + + Compares two server addresses. + + The other server address. + True if the two server addresses are equal. + + + + Gets the hash code for this object. + + The hash code. + + + + Gets the server's host name. + + + + + Compares two server addresses. + + The first address. + The other address. + True if the two addresses are equal (or both are null). + + + + Compares two server addresses. + + The first address. + The other address. + True if the two addresses are not equal (or one is null and the other is not). + + + + Parses a string representation of a server address. + + The string representation of a server address. + A new instance of MongoServerAddress initialized with values parsed from the string. + + + + Gets the server's port number. + + + + + Returns a string representation of the server address. + + A string representation of the server address. + + + + Tries to parse a string representation of a server address. + + The string representation of a server address. + The server address (set to null if TryParse fails). + True if the string is parsed succesfully. + + + + Represents an immutable URL style connection string. See also MongoUrlBuilder. + + + + + Creates a new instance of MongoUrl. + + The URL containing the settings. + + + + Gets the application name. + + + + + Gets the authentication mechanism. + + + + + Gets the authentication mechanism properties. + + + + + Gets the authentication source. + + + + + Clears the URL cache. When a URL is parsed it is stored in the cache so that it doesn't have to be + parsed again. There is rarely a need to call this method. + + + + + Gets the actual wait queue size (either WaitQueueSize or WaitQueueMultiple x MaxConnectionPoolSize). + + + + + Gets the connection mode. + + + + + Gets the connect timeout. + + + + + Creates an instance of MongoUrl (might be an existing existence if the same URL has been used before). + + The URL containing the settings. + An instance of MongoUrl. + + + + Gets the optional database name. + + + + + Compares two MongoUrls. + + The other URL. + True if the two URLs are equal. + + + + Compares two MongoUrls. + + The other URL. + True if the two URLs are equal. + + + + Gets the FSync component of the write concern. + + + + + Gets the credential. + + The credential (or null if the URL has not authentication settings). + + + + Gets the hash code. + + The hash code. + + + + Returns a WriteConcern value based on this instance's settings and a default enabled value. + + The default enabled value. + A WriteConcern. + + + + Gets the representation to use for Guids. + + + + + Gets a value indicating whether this instance has authentication settings. + + + + + Gets the heartbeat interval. + + + + + Gets the heartbeat timeout. + + + + + Gets a value indicating whether to use IPv6. + + + + + Gets the Journal component of the write concern. + + + + + Gets the local threshold. + + + + + Gets the max connection idle time. + + + + + Gets the max connection life time. + + + + + Gets the max connection pool size. + + + + + Gets the min connection pool size. + + + + + Compares two MongoUrls. + + The first URL. + The other URL. + True if the two URLs are equal (or both null). + + + + Compares two MongoUrls. + + The first URL. + The other URL. + True if the two URLs are not equal (or one is null and the other is not). + + + + Gets the password. + + + + + Gets the read concern level. + + + + + Gets the read preference. + + + + + Gets the name of the replica set. + + + + + Gets the address of the server (see also Servers if using more than one address). + + + + + Gets the list of server addresses (see also Server if using only one address). + + + + + Gets the server selection timeout. + + + + + Gets the socket timeout. + + + + + Returns the canonical URL based on the settings in this MongoUrlBuilder. + + The canonical URL. + + + + Gets the URL (in canonical form). + + + + + Gets the username. + + + + + Gets a value indicating whether to use SSL. + + + + + Gets a value indicating whether to verify an SSL certificate. + + + + + Gets the W component of the write concern. + + + + + Gets the wait queue multiple (the actual wait queue size will be WaitQueueMultiple x MaxConnectionPoolSize). + + + + + Gets the wait queue size. + + + + + Gets the wait queue timeout. + + + + + Gets the WTimeout component of the write concern. + + + + + Represents URL style connection strings. This is the recommended connection string style, but see also + MongoConnectionStringBuilder if you wish to use .NET style connection strings. + + + + + Creates a new instance of MongoUrlBuilder. + + + + + Creates a new instance of MongoUrlBuilder. + + The initial settings. + + + + Gets or sets the application name. + + + + + Gets or sets the authentication mechanism. + + + + + Gets or sets the authentication mechanism properties. + + + + + Gets or sets the authentication source. + + + + + Gets the actual wait queue size (either WaitQueueSize or WaitQueueMultiple x MaxConnectionPoolSize). + + + + + Gets or sets the connection mode. + + + + + Gets or sets the connect timeout. + + + + + Gets or sets the optional database name. + + + + + Gets or sets the FSync component of the write concern. + + + + + Returns a WriteConcern value based on this instance's settings and a default enabled value. + + The default enabled value. + A WriteConcern. + + + + Gets or sets the representation to use for Guids. + + + + + Gets or sets the heartbeat interval. + + + + + Gets or sets the heartbeat timeout. + + + + + Gets or sets a value indicating whether to use IPv6. + + + + + Gets or sets the Journal component of the write concern. + + + + + Gets or sets the local threshold. + + + + + Gets or sets the max connection idle time. + + + + + Gets or sets the max connection life time. + + + + + Gets or sets the max connection pool size. + + + + + Gets or sets the min connection pool size. + + + + + Parses a URL and sets all settings to match the URL. + + The URL. + + + + Gets or sets the password. + + + + + Gets or sets the read concern level. + + + + + Gets or sets the read preference. + + + + + Gets or sets the name of the replica set. + + + + + Gets or sets the address of the server (see also Servers if using more than one address). + + + + + Gets or sets the list of server addresses (see also Server if using only one address). + + + + + Gets or sets the server selection timeout. + + + + + Gets or sets the socket timeout. + + + + + Creates a new instance of MongoUrl based on the settings in this MongoUrlBuilder. + + A new instance of MongoUrl. + + + + Returns the canonical URL based on the settings in this MongoUrlBuilder. + + The canonical URL. + + + + Gets or sets the username. + + + + + Gets or sets a value indicating whether to use SSL. + + + + + Gets or sets a value indicating whether to verify an SSL certificate. + + + + + Gets or sets the W component of the write concern. + + + + + Gets or sets the wait queue multiple (the actual wait queue size will be WaitQueueMultiple x MaxConnectionPoolSize). + + + + + Gets or sets the wait queue size. + + + + + Gets or sets the wait queue timeout. + + + + + Gets or sets the WTimeout component of the write concern. + + + + + Various static utility methods. + + + + + Gets the MD5 hash of a string. + + The string to get the MD5 hash of. + The MD5 hash. + + + + Creates a TimeSpan from microseconds. + + The microseconds. + The TimeSpan. + + + + Converts a string to camel case by lower casing the first letter (only the first letter is modified). + + The string to camel case. + The camel cased string. + + + + Represents a write exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The write error. + The write concern error. + The inner exception. + + + + Initializes a new instance of the MongoQueryException class (this overload supports deserialization). + + The SerializationInfo. + The StreamingContext. + + + + Gets the object data. + + The information. + The context. + + + + Gets the write concern error. + + + + + Gets the write error. + + + + + Represents an identity defined by an X509 certificate. + + + + + Initializes a new instance of the class. + + The username. + + + + An based command. + + The type of the result. + + + + Initializes a new instance of the class. + + The object. + The result serializer. + + + + Gets the object. + + + + + Renders the command to a . + + The serializer registry. + A . + + + + Gets the result serializer. + + + + + An based filter. + + The type of the document. + + + + Initializes a new instance of the class. + + The object. + + + + Gets the object. + + + + + Renders the filter to a . + + The document serializer. + The serializer registry. + A . + + + + An based projection whose projection type is not yet known. + + The type of the source. + + + + Initializes a new instance of the class. + + The object. + + + + Gets the object. + + + + + Renders the projection to a . + + The source serializer. + The serializer registry. + A . + + + + An based projection. + + The type of the source. + The type of the projection. + + + + Initializes a new instance of the class. + + The object. + The projection serializer. + + + + Gets the object. + + + + + Gets the projection serializer. + + + + + Renders the projection to a . + + The source serializer. + The serializer registry. + A . + + + + An based sort. + + The type of the document. + + + + Initializes a new instance of the class. + + The object. + + + + Gets the object. + + + + + Renders the sort to a . + + The document serializer. + The serializer registry. + A . + + + + An based update. + + The type of the document. + + + + Initializes a new instance of the class. + + The object. + + + + Gets the object. + + + + + Renders the update to a . + + The document serializer. + The serializer registry. + A . + + + + Evidence of a MongoIdentity via a shared secret. + + + + + Initializes a new instance of the class. + + The password. + + + + Initializes a new instance of the class. + + The password. + + + + Determines whether the specified is equal to this instance. + + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + + + + + Returns a hash code for this instance. + + + A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. + + + + + Gets the password. + + + + + Base class for a pipeline. + + The type of the input. + The type of the output. + + + + + + MongoDB.Driver.PipelineDefinition`2 + + + + + + + Creates a pipeline. + + The stages. + A . + + + + Creates a pipeline. + + The stages. + The output serializer. + A . + + + + Creates a pipeline. + + The stages. + The output serializer. + A . + + + + Creates a pipeline. + + The stages. + The output serializer. + A . + + + + Creates a pipeline. + + The stages. + A . + + + + Performs an implicit conversion from [] to . + + The stages. + + The result of the conversion. + + + + + Performs an implicit conversion from [] to . + + The stages. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The stages. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The stages. + + The result of the conversion. + + + + + Gets the output serializer. + + + + + Renders the pipeline. + + The input serializer. + The serializer registry. + A + + + + Gets the stages. + + + + Returns a string that represents the current object. + A string that represents the current object. + + + + Returns a that represents this instance. + + The input serializer. + The serializer registry. + + A that represents this instance. + + + + + Extension methods for adding stages to a pipeline. + + + + + Appends a stage to the pipeline. + + The pipeline. + The stage. + The output serializer. + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + A new pipeline with an additional stage. + + + + Changes the output type of the pipeline. + + The pipeline. + The output serializer. + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + + A new pipeline with an additional stage. + + + + + Appends a $bucket stage to the pipeline. + + The pipeline. + The group by expression. + The boundaries. + The options. + The type of the input documents. + The type of the intermediate documents. + The type of the values. + + A new pipeline with an additional stage. + + + + + Appends a $bucket stage to the pipeline. + + The pipeline. + The group by expression. + The boundaries. + The output projection. + The options. + The type of the input documents. + The type of the intermediate documents. + The type of the values. + The type of the output documents. + + A new pipeline with an additional stage. + + + + + Appends a $bucket stage to the pipeline. + + The pipeline. + The group by expression. + The boundaries. + The options. + The translation options. + The type of the input documents. + The type of the intermediate documents. + The type of the values. + + The fluent aggregate interface. + + + + + Appends a $bucket stage to the pipeline. + + The pipeline. + The group by expression. + The boundaries. + The output projection. + The options. + The translation options. + The type of the input documents. + The type of the intermediate documents. + The type of the values. + The type of the output documents. + + The fluent aggregate interface. + + + + + Appends a $bucketAuto stage to the pipeline. + + The pipeline. + The group by expression. + The number of buckets. + The options. + The type of the input documents. + The type of the intermediate documents. + The type of the values. + + A new pipeline with an additional stage. + + + + + Appends a $bucketAuto stage to the pipeline. + + The pipeline. + The group by expression. + The number of buckets. + The output projection. + The options. + The type of the input documents. + The type of the intermediate documents. + The type of the values. + The type of the output documents. + + A new pipeline with an additional stage. + + + + + Appends a $bucketAuto stage to the pipeline. + + The pipeline. + The group by expression. + The number of buckets. + The options (optional). + The translation options. + The type of the input documents. + The type of the intermediate documents. + The type of the value. + + The fluent aggregate interface. + + + + + Appends a $bucketAuto stage to the pipeline. + + The pipeline. + The group by expression. + The number of buckets. + The output projection. + The options (optional). + The translation options. + The type of the input documents. + The type of the intermediate documents. + The type of the value. + The type of the output documents. + + The fluent aggregate interface. + + + + + Appends a $count stage to the pipeline. + + The pipeline. + The type of the input documents. + The type of the intermediate documents. + + A new pipeline with an additional stage. + + + + + Appends a $facet stage to the pipeline. + + The pipeline. + The facets. + The type of the input documents. + The type of the intermediate documents. + + The fluent aggregate interface. + + + + + Appends a $facet stage to the pipeline. + + The pipeline. + The facets. + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + + The fluent aggregate interface. + + + + + Appends a $facet stage to the pipeline. + + The pipeline. + The facets. + The type of the input documents. + The type of the intermediate documents. + + The fluent aggregate interface. + + + + + Appends a $facet stage to the pipeline. + + The pipeline. + The facets. + The options. + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + + A new pipeline with an additional stage. + + + + + Used to start creating a pipeline for {TInput} documents. + + The inputSerializer serializer. + The type of the output. + + The fluent aggregate interface. + + + + + Appends a $graphLookup stage to the pipeline. + + The pipeline. + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The depth field. + The type of the input documents. + The type of the intermediate documents. + The type of the from documents. + The fluent aggregate interface. + + + + Appends a $graphLookup stage to the pipeline. + + The pipeline. + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The options. + The type of the input documents. + The type of the intermediate documents. + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field. + The type of the output documents. + The stage. + + + + Appends a $graphLookup stage to the pipeline. + + The pipeline. + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The depth field. + The options. + The type of the input documents. + The type of the intermediate documents. + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field elements. + The type of the as field. + The type of the output documents. + The fluent aggregate interface. + + + + Appends a $graphLookup stage to the pipeline. + + The pipeline. + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The options. + The translation options. + The type of the input documents. + The type of the intermediate documents. + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field. + The type of the output documents. + The stage. + + + + Appends a $graphLookup stage to the pipeline. + + The pipeline. + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The depth field. + The options. + The translation options. + The type of the input documents. + The type of the intermediate documents. + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field elements. + The type of the as field. + The type of the output documents. + The stage. + + + + Appends a group stage to the pipeline. + + The pipeline. + The group projection. + The type of the input documents. + The type of the intermediate documents. + + The fluent aggregate interface. + + + + + Appends a $group stage to the pipeline. + + The pipeline. + The group projection. + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + + A new pipeline with an additional stage. + + + + + Appends a group stage to the pipeline. + + The pipeline. + The id. + The group projection. + The translation options. + The type of the input documents. + The type of the intermediate documents. + The type of the key. + The type of the output documents. + + The fluent aggregate interface. + + + + + Appends a $limit stage to the pipeline. + + The pipeline. + The limit. + The type of the input documents. + The type of the output documents. + + A new pipeline with an additional stage. + + + + + Appends a $lookup stage to the pipeline. + + The pipeline. + The foreign collection. + The local field. + The foreign field. + The "as" field. + The options. + The type of the input documents. + The type of the intermediate documents. + The type of the foreign collection documents. + The type of the output documents. + + A new pipeline with an additional stage. + + + + + Appends a lookup stage to the pipeline. + + The pipeline. + The foreign collection. + The local field. + The foreign field. + The "as" field. + The options. + The type of the input documents. + The type of the intermediate documents. + The type of the foreign collection documents. + The type of the output documents. + + The fluent aggregate interface. + + + + + Appends a $match stage to the pipeline. + + The pipeline. + The filter. + The type of the input documents. + The type of the output documents. + + A new pipeline with an additional stage. + + + + + Appends a match stage to the pipeline. + + The pipeline. + The filter. + The type of the input documents. + The type of the output documents. + + The fluent aggregate interface. + + + + + Appends a $match stage to the pipeline to select documents of a certain type. + + The pipeline. + The output serializer. + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + + A new pipeline with an additional stage. + + + + + + Appends a $out stage to the pipeline. + + The pipeline. + The output collection. + The type of the input documents. + The type of the output documents. + + A new pipeline with an additional stage. + + + + + + Appends a project stage to the pipeline. + + The pipeline. + The projection. + The type of the input documents. + The type of the intermediate documents. + + The fluent aggregate interface. + + + + + Appends a $project stage to the pipeline. + + The pipeline. + The projection. + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + + A new pipeline with an additional stage. + + + + + + Appends a project stage to the pipeline. + + The pipeline. + The projection. + The translation options. + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + + The fluent aggregate interface. + + + + + Appends a $replaceRoot stage to the pipeline. + + The pipeline. + The new root. + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + + A new pipeline with an additional stage. + + + + + Appends a $replaceRoot stage to the pipeline. + + The pipeline. + The new root. + The translation options. + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + + The fluent aggregate interface. + + + + + Appends a $skip stage to the pipeline. + + The pipeline. + The number of documents to skip. + The type of the input documents. + The type of the output documents. + + A new pipeline with an additional stage. + + + + + Appends a $sort stage to the pipeline. + + The pipeline. + The sort definition. + The type of the input documents. + The type of the output documents. + + A new pipeline with an additional stage. + + + + + Appends a $sortByCount stage to the pipeline. + + The pipeline. + The value expression. + The type of the input documents. + The type of the intermediate documents. + The type of the values. + + A new pipeline with an additional stage. + + + + + Appends a sortByCount stage to the pipeline. + + The pipeline. + The value expression. + The translation options. + The type of the input documents. + The type of the intermediate documents. + The type of the values. + + The fluent aggregate interface. + + + + + Appends an unwind stage to the pipeline. + + The pipeline. + The field to unwind. + The options. + The type of the input documents. + The type of the intermediate documents. + + The fluent aggregate interface. + + + + + Appends an $unwind stage to the pipeline. + + The pipeline. + The field. + The options. + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + + A new pipeline with an additional stage. + + + + + Appends an unwind stage to the pipeline. + + The pipeline. + The field to unwind. + The options. + The type of the input documents. + The type of the intermediate documents. + + The fluent aggregate interface. + + + + + Appends an unwind stage to the pipeline. + + The pipeline. + The field to unwind. + The options. + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + + The fluent aggregate interface. + + + + + Base class for pipeline stages. + + The type of the input. + The type of the output. + + + + + + MongoDB.Driver.PipelineStageDefinition`2 + + + + + + + Gets the type of the input. + + + + + Performs an implicit conversion from to . + + The document. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The JSON string. + + The result of the conversion. + + + + + Gets the name of the pipeline operator. + + + + + Gets the type of the output. + + + + + Renders the specified document serializer. + + The input serializer. + The serializer registry. + A + + + Returns a string that represents the current object. + A string that represents the current object. + + + + Returns a that represents this instance. + + The input serializer. + The serializer registry. + + A that represents this instance. + + + + + Methods for building pipeline stages. + + + + + Creates a $bucket stage. + + The group by expression. + The boundaries. + The options. + The type of the input documents. + The type of the values. + The stage. + + + + Creates a $bucket stage. + + The group by expression. + The boundaries. + The output projection. + The options. + The type of the input documents. + The type of the values. + The type of the output documents. + The stage. + + + + Creates a $bucket stage. + + The group by expression. + The boundaries. + The options. + The translation options. + The type of the input documents. + The type of the values. + The stage. + + + + Creates a $bucket stage. + + The group by expression. + The boundaries. + The output projection. + The options. + The translation options. + The type of the input documents. + The type of the values. + The type of the output documents. + The stage. + + + + Creates a $bucketAuto stage. + + The group by expression. + The number of buckets. + The options. + The type of the input documents. + The type of the values. + The stage. + + + + Creates a $bucketAuto stage. + + The group by expression. + The number of buckets. + The output projection. + The options. + The type of the input documents. + The type of the values. + The type of the output documents. + The stage. + + + + Creates a $bucketAuto stage. + + The group by expression. + The number of buckets. + The options (optional). + The translation options. + The type of the input documents. + The type of the value. + The stage. + + + + Creates a $bucketAuto stage. + + The group by expression. + The number of buckets. + The output projection. + The options (optional). + The translation options. + The type of the input documents. + The type of the output documents. + The type of the output documents. + The stage. + + + + Creates a $count stage. + + The type of the input documents. + The stage. + + + + Creates a $facet stage. + + The facets. + The type of the input documents. + The stage. + + + + Creates a $facet stage. + + The facets. + The type of the input documents. + The type of the output documents. + The stage. + + + + Creates a $facet stage. + + The facets. + The type of the input documents. + The stage. + + + + Creates a $facet stage. + + The facets. + The options. + The type of the input documents. + The type of the output documents. + The stage. + + + + Creates a $graphLookup stage. + + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The depth field. + The type of the input documents. + The type of the from documents. + The fluent aggregate interface. + + + + Creates a $graphLookup stage. + + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The options. + The type of the input documents. + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field. + The type of the output documents. + The stage. + + + + Creates a $graphLookup stage. + + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The depth field. + The options. + The type of the input documents. + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field elements. + The type of the as field. + The type of the output documents. + The stage. + + + + Creates a $graphLookup stage. + + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The options. + The translation options. + The type of the input documents. + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field. + The type of the output documents. + The stage. + + + + Creates a $graphLookup stage. + + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The depth field. + The options. + The translation options. + The type of the input documents. + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field elements. + The type of the as field. + The type of the output documents. + The stage. + + + + Creates a $group stage. + + The group projection. + The type of the input documents. + The stage. + + + + Creates a $group stage. + + The group projection. + The type of the input documents. + The type of the output documents. + The stage. + + + + Creates a $group stage. + + The value field. + The group projection. + The translation options. + The type of the input documents. + The type of the values. + The type of the output documents. + The stage. + + + + Creates a $limit stage. + + The limit. + The type of the input documents. + The stage. + + + + Creates a $lookup stage. + + The foreign collection. + The local field. + The foreign field. + The "as" field. + The options. + The type of the input documents. + The type of the foreign collection documents. + The type of the output documents. + The stage. + + + + Creates a $lookup stage. + + The foreign collection. + The local field. + The foreign field. + The "as" field. + The options. + The type of the input documents. + The type of the foreign collection documents. + The type of the output documents. + The stage. + + + + Creates a $match stage. + + The filter. + The type of the input documents. + The stage. + + + + Creates a $match stage. + + The filter. + The type of the input documents. + The stage. + + + + Create a $match stage that select documents of a sub type. + + The output serializer. + The type of the input documents. + The type of the output documents. + The stage. + + + + Creates a $out stage. + + The output collection. + The type of the input documents. + The stage. + + + + Creates a $project stage. + + The projection. + The type of the input documents. + The stage. + + + + Creates a $project stage. + + The projection. + The type of the input documents. + The type of the output documents. + The stage. + + + + Creates a $project stage. + + The projection. + The translation options. + The type of the input documents. + The type of the output documents. + The stage. + + + + Creates a $replaceRoot stage. + + The new root. + The type of the input documents. + The type of the output documents. + The stage. + + + + Creates a $replaceRoot stage. + + The new root. + The translation options. + The type of the input documents. + The type of the output documents. + The stage. + + + + Creates a $skip stage. + + The skip. + The type of the input documents. + The stage. + + + + Creates a $sort stage. + + The sort. + The type of the input documents. + The stage. + + + + Creates a $sortByCount stage. + + The value expression. + The type of the input documents. + The type of the values. + The stage. + + + + Creates a $sortByCount stage. + + The value. + The translation options. + The type of the input documents. + The type of the values. + The stage. + + + + Creates an $unwind stage. + + The field to unwind. + The options. + The type of the input documents. + The stage. + + + + Creates an $unwind stage. + + The field. + The options. + The type of the input documents. + The type of the output documents. + The stage. + + + + Creates an $unwind stage. + + The field to unwind. + The options. + The type of the input documents. + The stage. + + + + Creates an $unwind stage. + + The field to unwind. + The options. + The type of the input documents. + The type of the output documents. + The stage. + + + + A pipeline composed of instances of . + + The type of the input. + The type of the output. + + + + Initializes a new instance of the class. + + The stages. + The output serializer. + + + + Gets the output serializer. + + + + + Renders the pipeline. + + The input serializer. + The serializer registry. + A + + + + Gets the serializer. + + + + + Gets the stages. + + + + + Represents a pipeline consisting of an existing pipeline with one additional stage prepended. + + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + + + + Initializes a new instance of the class. + + The stage. + The pipeline. + The output serializer. + + + + Gets the output serializer. + + + + + Renders the pipeline. + + The input serializer. + The serializer registry. + A + + + + Gets the stages. + + + + + Base class for projections whose projection type is not yet known. + + The type of the source. + + + + + + MongoDB.Driver.ProjectionDefinition`1 + + + + + + + Performs an implicit conversion from to . + + The document. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The JSON string. + + The result of the conversion. + + + + + Renders the projection to a . + + The source serializer. + The serializer registry. + A . + + + + Base class for projections. + + The type of the source. + The type of the projection. + + + + + + MongoDB.Driver.ProjectionDefinition`2 + + + + + + + Performs an implicit conversion from to . + + The document. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The projection. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The JSON string. + + The result of the conversion. + + + + + Renders the projection to a . + + The source serializer. + The serializer registry. + A . + + + + A builder for a projection. + + The type of the source. + + + + + + MongoDB.Driver.ProjectionDefinitionBuilder`1 + + + + + + + Creates a client side projection that is implemented solely by using a different serializer. + + The projection serializer. + The type of the projection. + A client side deserialization projection. + + + + Combines the specified projections. + + The projections. + + A combined projection. + + + + + Combines the specified projections. + + The projections. + + A combined projection. + + + + + Creates a projection that filters the contents of an array. + + The field. + The filter. + The type of the item. + + An array filtering projection. + + + + + Creates a projection that filters the contents of an array. + + The field. + The filter. + The type of the item. + + An array filtering projection. + + + + + Creates a projection that filters the contents of an array. + + The field. + The filter. + The type of the item. + + An array filtering projection. + + + + + Creates a projection that excludes a field. + + The field. + + An exclusion projection. + + + + + Creates a projection that excludes a field. + + The field. + + An exclusion projection. + + + + + Creates a projection based on the expression. + + The expression. + The type of the result. + + An expression projection. + + + + + Creates a projection that includes a field. + + The field. + + An inclusion projection. + + + + + Creates a projection that includes a field. + + The field. + + An inclusion projection. + + + + + Creates a text score projection. + + The field. + + A text score projection. + + + + + Creates an array slice projection. + + The field. + The skip. + The limit. + + An array slice projection. + + + + + Creates an array slice projection. + + The field. + The skip. + The limit. + + An array slice projection. + + + + + Extension methods for projections. + + + + + Combines an existing projection with a projection that filters the contents of an array. + + The projection. + The field. + The filter. + The type of the document. + The type of the item. + + A combined projection. + + + + + Combines an existing projection with a projection that filters the contents of an array. + + The projection. + The field. + The filter. + The type of the document. + The type of the item. + + A combined projection. + + + + + Combines an existing projection with a projection that filters the contents of an array. + + The projection. + The field. + The filter. + The type of the document. + The type of the item. + + A combined projection. + + + + + Combines an existing projection with a projection that excludes a field. + + The projection. + The field. + The type of the document. + + A combined projection. + + + + + Combines an existing projection with a projection that excludes a field. + + The projection. + The field. + The type of the document. + + A combined projection. + + + + + Combines an existing projection with a projection that includes a field. + + The projection. + The field. + The type of the document. + + A combined projection. + + + + + Combines an existing projection with a projection that includes a field. + + The projection. + The field. + The type of the document. + + A combined projection. + + + + + Combines an existing projection with a text score projection. + + The projection. + The field. + The type of the document. + + A combined projection. + + + + + Combines an existing projection with an array slice projection. + + The projection. + The field. + The skip. + The limit. + The type of the document. + + A combined projection. + + + + + Combines an existing projection with an array slice projection. + + The projection. + The field. + The skip. + The limit. + The type of the document. + + A combined projection. + + + + + Options for renaming a collection. + + + + + + + MongoDB.Driver.RenameCollectionOptions + + + + + + + Gets or sets a value indicating whether to drop the target collection first if it already exists. + + + + + A rendered command. + + The type of the result. + + + + Initializes a new instance of the class. + + The document. + The result serializer. + + + + Gets the document. + + + + + Gets the result serializer. + + + + + A rendered field. + + + + + Initializes a new instance of the class. + + The field name. + The field serializer. + + + + Gets the field name. + + + + + Gets the field serializer. + + + + + A rendered field. + + The type of the field. + + + + Initializes a new instance of the class. + + The field name. + The field serializer. + + + + Initializes a new instance of the class. + + The field name. + The field serializer. + The value serializer. + The underlying serializer. + + + + Gets the field name. + + + + + Gets the field serializer. + + + + + Gets the underlying serializer. + + + + + Gets the value serializer. + + + + + A rendered pipeline. + + The type of the output. + + + + Initializes a new instance of the class. + + The pipeline. + The output serializer. + + + + Gets the documents. + + + + + Gets the serializer. + + + + + A rendered pipeline stage. + + The type of the output. + + + + Initializes a new instance of the class. + + Name of the pipeline operator. + The document. + The output serializer. + + + + Gets the document. + + + + + Gets the name of the pipeline operator. + + + + + Gets the output serializer. + + + + + A rendered projection. + + The type of the projection. + + + + Initializes a new instance of the class. + + The document. + The projection serializer. + + + + Gets the document. + + + + + Gets the serializer. + + + + + Model for replacing a single document. + + The type of the document. + + + + Initializes a new instance of the class. + + The filter. + The replacement. + + + + Gets or sets the collation. + + + + + Gets the filter. + + + + + Gets or sets a value indicating whether to insert the document if it doesn't already exist. + + + + + Gets the type of the model. + + + + + Gets the replacement. + + + + + The result of an update operation. + + + + + Initializes a new instance of the class. + + + + + Gets a value indicating whether the result is acknowleded. + + + + + Gets a value indicating whether the modified count is available. + + + + + Gets the matched count. If IsAcknowledged is false, this will throw an exception. + + + + + Gets the modified count. If IsAcknowledged is false, this will throw an exception. + + + + + Gets the upserted id, if one exists. If IsAcknowledged is false, this will throw an exception. + + + + + The result of an acknowledged update operation. + + + + + Initializes a new instance of the class. + + The matched count. + The modified count. + The upserted id. + + + + Gets a value indicating whether the result is acknowleded. + + + + + Gets a value indicating whether the modified count is available. + + + + + Gets the matched count. If IsAcknowledged is false, this will throw an exception. + + + + + Gets the modified count. If IsAcknowledged is false, this will throw an exception. + + + + + Gets the upserted id, if one exists. If IsAcknowledged is false, this will throw an exception. + + + + + The result of an unacknowledged update operation. + + + + + Gets the instance. + + + + + Gets a value indicating whether the result is acknowleded. + + + + + Gets a value indicating whether the modified count is available. + + + + + Gets the matched count. If IsAcknowledged is false, this will throw an exception. + + + + + Gets the modified count. If IsAcknowledged is false, this will throw an exception. + + + + + Gets the upserted id, if one exists. If IsAcknowledged is false, this will throw an exception. + + + + + Represents a pipeline with the output serializer replaced. + + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + + + + Initializes a new instance of the class. + + The pipeline. + The output serializer. + + + + Gets the output serializer. + + + + + Renders the pipeline. + + The input serializer. + The serializer registry. + A + + + + Gets the stages. + + + + + Which version of the document to return when executing a FindAndModify command. + + + + + Return the document before the modification. + + + + + Return the document after the modification. + + + + + Represents a setting that may or may not have been set. + + The type of the value. + + + + Gets a value indicating whether the setting has been set. + + + + + Resets the setting to the unset state. + + + + + Gets a canonical string representation for this setting. + + A canonical string representation for this setting. + + + + Gets the value of the setting. + + + + + Base class for sorts. + + The type of the document. + + + + + + MongoDB.Driver.SortDefinition`1 + + + + + + + Performs an implicit conversion from to . + + The document. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The JSON string. + + The result of the conversion. + + + + + Renders the sort to a . + + The document serializer. + The serializer registry. + A . + + + + A builder for a . + + The type of the document. + + + + + + MongoDB.Driver.SortDefinitionBuilder`1 + + + + + + + Creates an ascending sort. + + The field. + An ascending sort. + + + + Creates an ascending sort. + + The field. + An ascending sort. + + + + Creates a combined sort. + + The sorts. + A combined sort. + + + + Creates a combined sort. + + The sorts. + A combined sort. + + + + Creates a descending sort. + + The field. + A descending sort. + + + + Creates a descending sort. + + The field. + A descending sort. + + + + Creates a descending sort on the computed relevance score of a text search. + The name of the key should be the name of the projected relevence score field. + + The field. + A meta text score sort. + + + + Extension methods for SortDefinition. + + + + + Combines an existing sort with an ascending field. + + The sort. + The field. + The type of the document. + + A combined sort. + + + + + Combines an existing sort with an ascending field. + + The sort. + The field. + The type of the document. + + A combined sort. + + + + + Combines an existing sort with an descending field. + + The sort. + The field. + The type of the document. + + A combined sort. + + + + + Combines an existing sort with an descending field. + + The sort. + The field. + The type of the document. + + A combined sort. + + + + + Combines an existing sort with a descending sort on the computed relevance score of a text search. + The field name should be the name of the projected relevance score field. + + The sort. + The field. + The type of the document. + + A combined sort. + + + + + The direction of the sort. + + + + + Ascending. + + + + + Descending. + + + + + Represents the settings for using SSL. + + + + + + + MongoDB.Driver.SslSettings + + + + + + + Gets or sets a value indicating whether to check for certificate revocation. + + + + + Gets or sets the client certificates. + + + + + Gets or sets the client certificate selection callback. + + + + + Clones an SslSettings. + + The cloned SslSettings. + + + + Gets or sets the enabled SSL protocols. + + + + + 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. + + + + + Freezes the settings. + + The frozen settings. + + + + 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. + + + + + Determines whether two instances are equal. + + The LHS. + The RHS. + + true if the left hand side is equal to the right hand side; otherwise, false. + + + + + Determines whether two instances are not equal. + + The LHS. + The RHS. + + true if the left hand side is not equal to the right hand side; otherwise, false. + + + + + Gets or sets the server certificate validation callback. + + + + + Returns a string representation of the settings. + + A string representation of the settings. + + + + A based field name. + + The type of the document. + + + + Initializes a new instance of the class. + + Name of the field. + + + + Renders the field to a . + + The document serializer. + The serializer registry. + A . + + + + A based field name. + + The type of the document. + The type of the field. + + + + Initializes a new instance of the class. + + Name of the field. + The field serializer. + + + + Renders the field to a . + + The document serializer. + The serializer registry. + A . + + + + Represents text search options. + + + + + + + MongoDB.Driver.TextSearchOptions + + + + + + + Gets or sets whether a text search should be case sensitive. + + + + + Gets or sets whether a text search should be diacritic sensitive. + + + + + Gets or sets the language for a text search. + + + + + Base class for updates. + + The type of the document. + + + + + + MongoDB.Driver.UpdateDefinition`1 + + + + + + + Performs an implicit conversion from to . + + The document. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The JSON string. + + The result of the conversion. + + + + + Renders the update to a . + + The document serializer. + The serializer registry. + A . + + + + A builder for an . + + The type of the document. + + + + + + MongoDB.Driver.UpdateDefinitionBuilder`1 + + + + + + + Creates an add to set operator. + + The field. + The value. + The type of the item. + An add to set operator. + + + + Creates an add to set operator. + + The field. + The value. + The type of the item. + An add to set operator. + + + + Creates an add to set operator. + + The field. + The values. + The type of the item. + An add to set operator. + + + + Creates an add to set operator. + + The field. + The values. + The type of the item. + An add to set operator. + + + + Creates a bitwise and operator. + + The field. + The value. + The type of the field. + A bitwise and operator. + + + + Creates a bitwise and operator. + + The field. + The value. + The type of the field. + A bitwise and operator. + + + + Creates a bitwise or operator. + + The field. + The value. + The type of the field. + A bitwise or operator. + + + + Creates a bitwise or operator. + + The field. + The value. + The type of the field. + A bitwise or operator. + + + + Creates a bitwise xor operator. + + The field. + The value. + The type of the field. + A bitwise xor operator. + + + + Creates a bitwise xor operator. + + The field. + The value. + The type of the field. + A bitwise xor operator. + + + + Creates a combined update. + + The updates. + A combined update. + + + + Creates a combined update. + + The updates. + A combined update. + + + + Creates a current date operator. + + The field. + The type. + A current date operator. + + + + Creates a current date operator. + + The field. + The type. + A current date operator. + + + + Creates an increment operator. + + The field. + The value. + The type of the field. + An increment operator. + + + + Creates an increment operator. + + The field. + The value. + The type of the field. + An increment operator. + + + + Creates a max operator. + + The field. + The value. + The type of the field. + A max operator. + + + + Creates a max operator. + + The field. + The value. + The type of the field. + A max operator. + + + + Creates a min operator. + + The field. + The value. + The type of the field. + A min operator. + + + + Creates a min operator. + + The field. + The value. + The type of the field. + A min operator. + + + + Creates a multiply operator. + + The field. + The value. + The type of the field. + A multiply operator. + + + + Creates a multiply operator. + + The field. + The value. + The type of the field. + A multiply operator. + + + + Creates a pop operator. + + The field. + A pop operator. + + + + Creates a pop first operator. + + The field. + A pop first operator. + + + + Creates a pop operator. + + The field. + A pop operator. + + + + Creates a pop first operator. + + The field. + A pop first operator. + + + + Creates a pull operator. + + The field. + The value. + The type of the item. + A pull operator. + + + + Creates a pull operator. + + The field. + The value. + The type of the item. + A pull operator. + + + + Creates a pull operator. + + The field. + The values. + The type of the item. + A pull operator. + + + + Creates a pull operator. + + The field. + The values. + The type of the item. + A pull operator. + + + + Creates a pull operator. + + The field. + The filter. + The type of the item. + A pull operator. + + + + Creates a pull operator. + + The field. + The filter. + The type of the item. + A pull operator. + + + + Creates a pull operator. + + The field. + The filter. + The type of the item. + A pull operator. + + + + Creates a push operator. + + The field. + The value. + The type of the item. + A push operator. + + + + Creates a push operator. + + The field. + The value. + The type of the item. + A push operator. + + + + Creates a push operator. + + The field. + The values. + The slice. + The position. + The sort. + The type of the item. + A push operator. + + + + Creates a push operator. + + The field. + The values. + The slice. + The position. + The sort. + The type of the item. + A push operator. + + + + Creates a field renaming operator. + + The field. + The new name. + A field rename operator. + + + + Creates a field renaming operator. + + The field. + The new name. + A field rename operator. + + + + Creates a set operator. + + The field. + The value. + The type of the field. + A set operator. + + + + Creates a set operator. + + The field. + The value. + The type of the field. + A set operator. + + + + Creates a set on insert operator. + + The field. + The value. + The type of the field. + A set on insert operator. + + + + Creates a set on insert operator. + + The field. + The value. + The type of the field. + A set on insert operator. + + + + Creates an unset operator. + + The field. + An unset operator. + + + + Creates an unset operator. + + The field. + An unset operator. + + + + The type to use for a $currentDate operator. + + + + + A date. + + + + + A timestamp. + + + + + Extension methods for UpdateDefinition. + + + + + Combines an existing update with an add to set operator. + + The update. + The field. + The value. + The type of the document. + The type of the item. + + A combined update. + + + + + Combines an existing update with an add to set operator. + + The update. + The field. + The value. + The type of the document. + The type of the item. + + A combined update. + + + + + Combines an existing update with an add to set operator. + + The update. + The field. + The values. + The type of the document. + The type of the item. + + A combined update. + + + + + Combines an existing update with an add to set operator. + + The update. + The field. + The values. + The type of the document. + The type of the item. + + A combined update. + + + + + Combines an existing update with a bitwise and operator. + + The update. + The field. + The value. + The type of the document. + The type of the field. + + A combined update. + + + + + Combines an existing update with a bitwise and operator. + + The update. + The field. + The value. + The type of the document. + The type of the field. + + A combined update. + + + + + Combines an existing update with a bitwise or operator. + + The update. + The field. + The value. + The type of the document. + The type of the field. + + A combined update. + + + + + Combines an existing update with a bitwise or operator. + + The update. + The field. + The value. + The type of the document. + The type of the field. + + A combined update. + + + + + Combines an existing update with a bitwise xor operator. + + The update. + The field. + The value. + The type of the document. + The type of the field. + + A combined update. + + + + + Combines an existing update with a bitwise xor operator. + + The update. + The field. + The value. + The type of the document. + The type of the field. + + A combined update. + + + + + Combines an existing update with a current date operator. + + The update. + The field. + The type. + The type of the document. + + A combined update. + + + + + Combines an existing update with a current date operator. + + The update. + The field. + The type. + The type of the document. + + A combined update. + + + + + Combines an existing update with an increment operator. + + The update. + The field. + The value. + The type of the document. + The type of the field. + + A combined update. + + + + + Combines an existing update with an increment operator. + + The update. + The field. + The value. + The type of the document. + The type of the field. + + A combined update. + + + + + Combines an existing update with a max operator. + + The update. + The field. + The value. + The type of the document. + The type of the field. + + A combined update. + + + + + Combines an existing update with a max operator. + + The update. + The field. + The value. + The type of the document. + The type of the field. + + A combined update. + + + + + Combines an existing update with a min operator. + + The update. + The field. + The value. + The type of the document. + The type of the field. + + A combined update. + + + + + Combines an existing update with a min operator. + + The update. + The field. + The value. + The type of the document. + The type of the field. + + A combined update. + + + + + Combines an existing update with a multiply operator. + + The update. + The field. + The value. + The type of the document. + The type of the field. + + A combined update. + + + + + Combines an existing update with a multiply operator. + + The update. + The field. + The value. + The type of the document. + The type of the field. + + A combined update. + + + + + Combines an existing update with a pop operator. + + The update. + The field. + The type of the document. + + A combined update. + + + + + Combines an existing update with a pop operator. + + The update. + The field. + The type of the document. + + A combined update. + + + + + Combines an existing update with a pop operator. + + The update. + The field. + The type of the document. + + A combined update. + + + + + Combines an existing update with a pop operator. + + The update. + The field. + The type of the document. + + A combined update. + + + + + Combines an existing update with a pull operator. + + The update. + The field. + The value. + The type of the document. + The type of the item. + + A combined update. + + + + + Combines an existing update with a pull operator. + + The update. + The field. + The value. + The type of the document. + The type of the item. + + A combined update. + + + + + Combines an existing update with a pull operator. + + The update. + The field. + The values. + The type of the document. + The type of the item. + + A combined update. + + + + + Combines an existing update with a pull operator. + + The update. + The field. + The values. + The type of the document. + The type of the item. + + A combined update. + + + + + Combines an existing update with a pull operator. + + The update. + The field. + The filter. + The type of the document. + The type of the item. + + A combined update. + + + + + Combines an existing update with a pull operator. + + The update. + The field. + The filter. + The type of the document. + The type of the item. + + A combined update. + + + + + Combines an existing update with a pull operator. + + The update. + The field. + The filter. + The type of the document. + The type of the item. + + A combined update. + + + + + Combines an existing update with a push operator. + + The update. + The field. + The value. + The type of the document. + The type of the item. + + A combined update. + + + + + Combines an existing update with a push operator. + + The update. + The field. + The value. + The type of the document. + The type of the item. + + A combined update. + + + + + Combines an existing update with a push operator. + + The update. + The field. + The values. + The slice. + The position. + The sort. + The type of the document. + The type of the item. + + A combined update. + + + + + Combines an existing update with a push operator. + + The update. + The field. + The values. + The slice. + The position. + The sort. + The type of the document. + The type of the item. + + A combined update. + + + + + Combines an existing update with a field renaming operator. + + The update. + The field. + The new name. + The type of the document. + + A combined update. + + + + + Combines an existing update with a field renaming operator. + + The update. + The field. + The new name. + The type of the document. + + A combined update. + + + + + Combines an existing update with a set operator. + + The update. + The field. + The value. + The type of the document. + The type of the field. + + A combined update. + + + + + Combines an existing update with a set operator. + + The update. + The field. + The value. + The type of the document. + The type of the field. + + A combined update. + + + + + Combines an existing update with a set on insert operator. + + The update. + The field. + The value. + The type of the document. + The type of the field. + + A combined update. + + + + + Combines an existing update with a set on insert operator. + + The update. + The field. + The value. + The type of the document. + The type of the field. + + A combined update. + + + + + Combines an existing update with an unset operator. + + The update. + The field. + The type of the document. + + A combined update. + + + + + Combines an existing update with an unset operator. + + The update. + The field. + The type of the document. + + A combined update. + + + + + Model for updating many documents. + + The type of the document. + + + + Initializes a new instance of the class. + + The filter. + The update. + + + + Gets or sets the collation. + + + + + Gets the filter. + + + + + Gets or sets a value indicating whether to insert the document if it doesn't already exist. + + + + + Gets the type of the model. + + + + + Gets the update. + + + + + Model for updating a single document. + + The type of the document. + + + + Initializes a new instance of the class. + + The filter. + The update. + + + + Gets or sets the collation. + + + + + Gets the filter. + + + + + Gets or sets a value indicating whether to insert the document if it doesn't already exist. + + + + + Gets the type of the model. + + + + + Gets the update. + + + + + Options for updating a single document. + + + + + + + MongoDB.Driver.UpdateOptions + + + + + + + Gets or sets a value indicating whether to bypass document validation. + + + + + Gets or sets the collation. + + + + + Gets or sets a value indicating whether to insert the document if it doesn't already exist. + + + + + The result of an update operation. + + + + + Initializes a new instance of the class. + + + + + Gets a value indicating whether the result is acknowleded. + + + + + Gets a value indicating whether the modified count is available. + + + + + Gets the matched count. If IsAcknowledged is false, this will throw an exception. + + + + + Gets the modified count. If IsAcknowledged is false, this will throw an exception. + + + + + Gets the upserted id, if one exists. If IsAcknowledged is false, this will throw an exception. + + + + + The result of an acknowledgede update operation. + + + + + Initializes a new instance of the class. + + The matched count. + The modified count. + The upserted id. + + + + Gets a value indicating whether the result is acknowleded. + + + + + Gets a value indicating whether the modified count is available. + + + + + Gets the matched count. If IsAcknowledged is false, this will throw an exception. + + + + + Gets the modified count. If IsAcknowledged is false, this will throw an exception. + + + + + Gets the upserted id, if one exists. If IsAcknowledged is false, this will throw an exception. + + + + + The result of an acknowledgede update operation. + + + + + Gets the instance. + + + + + Gets a value indicating whether the result is acknowleded. + + + + + Gets a value indicating whether the modified count is available. + + + + + Gets the matched count. If IsAcknowledged is false, this will throw an exception. + + + + + Gets the modified count. If IsAcknowledged is false, this will throw an exception. + + + + + Gets the upserted id, if one exists. If IsAcknowledged is false, this will throw an exception. + + + + + Represents the details of a write concern error. + + + + + Gets the error code. + + + + + Gets the error information. + + + + + Gets the error message. + + + + + Represents the details of a write error. + + + + + Gets the category. + + + + + Gets the error code. + + + + + Gets the error details. + + + + + Gets the error message. + + + + + Base class for a write model. + + The type of the document. + + + + Gets the type of the model. + + + + + The type of a write model. + + + + + A model to insert a single document. + + + + + A model to delete a single document. + + + + + A model to delete multiple documents. + + + + + A model to replace a single document. + + + + + A model to update a single document. + + + + + A model to update many documents. + + + + + A static class containing helper methods to create GeoJson objects. + + + + + Creates a GeoJson bounding box. + + The min. + The max. + The type of the coordinates. + A GeoJson bounding box. + + + + Creates a GeoJson Feature object. + + The additional args. + The geometry. + The type of the coordinates. + A GeoJson Feature object. + + + + Creates a GeoJson Feature object. + + The geometry. + The type of the coordinates. + A GeoJson Feature object. + + + + Creates a GeoJson FeatureCollection object. + + The features. + The type of the coordinates. + A GeoJson FeatureCollection object. + + + + Creates a GeoJson FeatureCollection object. + + The additional args. + The features. + The type of the coordinates. + A GeoJson FeatureCollection object. + + + + Creates a GeoJson 2D geographic position (longitude, latitude). + + The longitude. + The latitude. + A GeoJson 2D geographic position. + + + + Creates a GeoJson 3D geographic position (longitude, latitude, altitude). + + The longitude. + The latitude. + The altitude. + A GeoJson 3D geographic position. + + + + Creates a GeoJson GeometryCollection object. + + The geometries. + The type of the coordinates. + A GeoJson GeometryCollection object. + + + + Creates a GeoJson GeometryCollection object. + + The additional args. + The geometries. + The type of the coordinates. + A GeoJson GeometryCollection object. + + + + Creates the coordinates of a GeoJson linear ring. + + The positions. + The type of the coordinates. + The coordinates of a GeoJson linear ring. + + + + Creates a GeoJson LineString object. + + The additional args. + The positions. + The type of the coordinates. + A GeoJson LineString object. + + + + Creates a GeoJson LineString object. + + The positions. + The type of the coordinates. + A GeoJson LineString object. + + + + Creates the coordinates of a GeoJson LineString. + + The positions. + The type of the coordinates. + The coordinates of a GeoJson LineString. + + + + Creates a GeoJson MultiLineString object. + + The line strings. + The type of the coordinates. + A GeoJson MultiLineString object. + + + + Creates a GeoJson MultiLineString object. + + The additional args. + The line strings. + The type of the coordinates. + A GeoJson MultiLineString object. + + + + Creates a GeoJson MultiPoint object. + + The additional args. + The positions. + The type of the coordinates. + A GeoJson MultiPoint object. + + + + Creates a GeoJson MultiPoint object. + + The positions. + The type of the coordinates. + A GeoJson MultiPoint object. + + + + Creates a GeoJson MultiPolygon object. + + The additional args. + The polygons. + The type of the coordinates. + A GeoJson MultiPolygon object. + + + + Creates a GeoJson MultiPolygon object. + + The polygons. + The type of the coordinates. + A GeoJson MultiPolygon object. + + + + Creates a GeoJson Point object. + + The additional args. + The coordinates. + The type of the coordinates. + A GeoJson Point object. + + + + Creates a GeoJson Point object. + + The coordinates. + The type of the coordinates. + A GeoJson Point object. + + + + Creates a GeoJson Polygon object. + + The additional args. + The coordinates. + The type of the coordinates. + A GeoJson Polygon object. + + + + Creates a GeoJson Polygon object. + + The additional args. + The positions. + The type of the coordinates. + A GeoJson Polygon object. + + + + Creates a GeoJson Polygon object. + + The coordinates. + The type of the coordinates. + A GeoJson Polygon object. + + + + Creates a GeoJson Polygon object. + + The positions. + The type of the coordinates. + A GeoJson Polygon object. + + + + Creates the coordinates of a GeoJson Polygon object. + + The exterior. + The holes. + The type of the coordinates. + The coordinates of a GeoJson Polygon object. + + + + Creates the coordinates of a GeoJson Polygon object. + + The positions. + The type of the coordinates. + The coordinates of a GeoJson Polygon object. + + + + Creates a GeoJson 2D position (x, y). + + The x. + The y. + A GeoJson 2D position. + + + + Creates a GeoJson 3D position (x, y, z). + + The x. + The y. + The z. + A GeoJson 3D position. + + + + Creates a GeoJson 2D projected position (easting, northing). + + The easting. + The northing. + A GeoJson 2D projected position. + + + + Creates a GeoJson 3D projected position (easting, northing, altitude). + + The easting. + The northing. + The altitude. + A GeoJson 3D projected position. + + + + Represents a GeoJson 2D position (x, y). + + + + + Initializes a new instance of the class. + + The x coordinate. + The y coordinate. + + + + Gets the coordinate values. + + + + + Gets the X coordinate. + + + + + Gets the Y coordinate. + + + + + Represents a GeoJson 2D geographic position (longitude, latitude). + + + + + Initializes a new instance of the class. + + The longitude. + The latitude. + + + + Gets the latitude. + + + + + Gets the longitude. + + + + + Gets the coordinate values. + + + + + Represents a GeoJson 2D projected position (easting, northing). + + + + + Initializes a new instance of the class. + + The easting. + The northing. + + + + Gets the easting. + + + + + Gets the northing. + + + + + Gets the coordinate values. + + + + + Represents a GeoJson 3D position (x, y, z). + + + + + Initializes a new instance of the class. + + The x coordinate. + The y coordinate. + The z coordinate. + + + + Gets the coordinate values. + + + + + Gets the X coordinate. + + + + + Gets the Y coordinate. + + + + + Gets the Z coordinate. + + + + + Represents a GeoJson 3D geographic position (longitude, latitude, altitude). + + + + + Initializes a new instance of the class. + + The longitude. + The latitude. + The altitude. + + + + Gets the altitude. + + + + + Gets the latitude. + + + + + Gets the longitude. + + + + + Gets the coordinate values. + + + + + Represents a GeoJson 3D projected position (easting, northing, altitude). + + + + + Initializes a new instance of the class. + + The easting. + The northing. + The altitude. + + + + Gets the altitude. + + + + + Gets the easting. + + + + + Gets the northing. + + + + + Gets the coordinate values. + + + + + Represents a GeoJson bounding box. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The min. + The max. + + + + Gets the max. + + + + + Gets the min. + + + + + Represents a GeoJson coordinate reference system (see subclasses). + + + + + + + MongoDB.Driver.GeoJsonObjectModel.GeoJsonCoordinateReferenceSystem + + + + + + + Gets the type of the GeoJson coordinate reference system. + + + + + Represents a GeoJson position in some coordinate system (see subclasses). + + + + + + + MongoDB.Driver.GeoJsonObjectModel.GeoJsonCoordinates + + + + + + + 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. + + + + + Determines whether two instances are equal. + + The LHS. + The RHS. + + true if the left hand side is equal to the right hand side; otherwise, false. + + + + + Determines whether two instances are not equal. + + The LHS. + The RHS. + + true if the left hand side is not equal to the right hand side; otherwise, false. + + + + + Gets the coordinate values. + + + + + Represents a GeoJson Feature object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The additional args. + The geometry. + + + + Initializes a new instance of the class. + + The geometry. + + + + Gets the geometry. + + + + + Gets the id. + + + + + Gets the properties. + + + + + Gets the type of the GeoJson object. + + + + + Represents additional arguments for a GeoJson Feature object. + + The type of the coordinates. + + + + + + MongoDB.Driver.GeoJsonObjectModel.GeoJsonFeatureArgs`1 + + + + + + + Gets or sets the id. + + + + + Gets or sets the properties. + + + + + Represents a GeoJson FeatureCollection. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The additional args. + The features. + + + + Initializes a new instance of the class. + + The features. + + + + Gets the features. + + + + + Gets the type of the GeoJson object. + + + + + Represents a GeoJson Geometry object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The additional args. + + + + Represents a GeoJson GeometryCollection object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The additional args. + The geometries. + + + + Initializes a new instance of the class. + + The geometries. + + + + Gets the geometries. + + + + + Gets the type of the GeoJson object. + + + + + Represents the coordinates of a GeoJson linear ring. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The positions. + + + + Represents a GeoJson LineString object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The coordinates. + + + + Initializes a new instance of the class. + + The additional args. + The coordinates. + + + + Gets the coordinates. + + + + + Gets the type of the GeoJson object. + + + + + Represents the coordinates of a GeoJson LineString object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The positions. + + + + Gets the positions. + + + + + Represents a GeoJson linked coordinate reference system. + + + + + Initializes a new instance of the class. + + The href. + + + + Initializes a new instance of the class. + + The href. + Type of the href. + + + + Gets the href. + + + + + Gets the type of the href. + + + + + Gets the type of the GeoJson coordinate reference system. + + + + + Represents a GeoJson MultiLineString object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The coordinates. + + + + Initializes a new instance of the class. + + The additional args. + The coordinates. + + + + Gets the coordinates. + + + + + Gets the type of the GeoJson object. + + + + + Represents the coordinates of a GeoJson MultiLineString object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The line strings. + + + + Gets the LineStrings. + + + + + Represents a GeoJson MultiPoint object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The coordinates. + + + + Initializes a new instance of the class. + + The additional args. + The coordinates. + + + + Gets the coordinates. + + + + + Gets the type of the GeoJson object. + + + + + Represents the coordinates of a GeoJson MultiPoint object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The positions. + + + + Gets the positions. + + + + + Represents a GeoJson MultiPolygon object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The coordinates. + + + + Initializes a new instance of the class. + + The additional args. + The coordinates. + + + + Gets the coordinates. + + + + + Gets the type of the GeoJson object. + + + + + Represents the coordinates of a GeoJson MultiPolygon object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The polygons. + + + + Gets the Polygons. + + + + + Represents a GeoJson named coordinate reference system. + + + + + Initializes a new instance of the class. + + The name. + + + + Gets the name. + + + + + Gets the type of the GeoJson coordinate reference system. + + + + + Represents a GeoJson object (see subclasses). + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The additional args. + + + + Gets the bounding box. + + + + + Gets the coordinate reference system. + + + + + Gets the extra members. + + + + + Gets the type of the GeoJson object. + + + + + Represents additional args provided when creating a GeoJson object. + + The type of the coordinates. + + + + + + MongoDB.Driver.GeoJsonObjectModel.GeoJsonObjectArgs`1 + + + + + + + Gets or sets the bounding box. + + + + + Gets or sets the coordinate reference system. + + + + + Gets or sets the extra members. + + + + + Represents the type of a GeoJson object. + + + + + A Feature. + + + + + A FeatureCollection. + + + + + A GeometryCollection. + + + + + A LineString. + + + + + A MultiLineString. + + + + + A MultiPoint. + + + + + A MultiPolygon. + + + + + A Point. + + + + + A Polygon. + + + + + Represents a GeoJson Point object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The additional args. + The coordinates. + + + + Initializes a new instance of the class. + + The coordinates. + + + + Gets the coordinates. + + + + + Gets the type of the GeoJson object. + + + + + Represents a GeoJson Polygon object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The additional args. + The coordinates. + + + + Initializes a new instance of the class. + + The coordinates. + + + + Gets the coordinates. + + + + + Gets the type of the GeoJson object. + + + + + Represents the coordinates of a GeoJson Polygon object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The exterior. + + + + Initializes a new instance of the class. + + The exterior. + The holes. + + + + Gets the exterior. + + + + + Gets the holes. + + + + + Represents a serializer for a GeoJson2DCoordinates value. + + + + + + + MongoDB.Driver.GeoJsonObjectModel.Serializers.GeoJson2DCoordinatesSerializer + + + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJson2DGeographicCoordinates value. + + + + + + + MongoDB.Driver.GeoJsonObjectModel.Serializers.GeoJson2DGeographicCoordinatesSerializer + + + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJson2DProjectedCoordinates value. + + + + + + + MongoDB.Driver.GeoJsonObjectModel.Serializers.GeoJson2DProjectedCoordinatesSerializer + + + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJson3DCoordinates value. + + + + + + + MongoDB.Driver.GeoJsonObjectModel.Serializers.GeoJson3DCoordinatesSerializer + + + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJson3DGeographicCoordinates value. + + + + + + + MongoDB.Driver.GeoJsonObjectModel.Serializers.GeoJson3DGeographicCoordinatesSerializer + + + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJson3DProjectedCoordinates value. + + + + + + + MongoDB.Driver.GeoJsonObjectModel.Serializers.GeoJson3DProjectedCoordinatesSerializer + + + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonBoundingBox value. + + The type of the coordinates. + + + + + + MongoDB.Driver.GeoJsonObjectModel.Serializers.GeoJsonBoundingBoxSerializer`1 + + + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonCoordinateReferenceSystem value. + + + + + + + MongoDB.Driver.GeoJsonObjectModel.Serializers.GeoJsonCoordinateReferenceSystemSerializer + + + + + + + Gets the actual type. + + The context. + The actual type. + + + + Represents a serializer for a GeoJsonCoordinates value. + + + + + + + MongoDB.Driver.GeoJsonObjectModel.Serializers.GeoJsonCoordinatesSerializer + + + + + + + Gets the actual type. + + The context. + The actual type. + + + + Represents a serializer for a GeoJsonFeatureCollection value. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonFeature value. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonGeometryCollection value. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonGeometry value. + + The type of the coordinates. + + + + + + MongoDB.Driver.GeoJsonObjectModel.Serializers.GeoJsonGeometrySerializer`1 + + + + + + + Gets the actual type. + + The context. + The actual type. + + + + Represents a serializer for a GeoJsonLinearRingCoordinates value. + + The type of the coordinates. + + + + + + MongoDB.Driver.GeoJsonObjectModel.Serializers.GeoJsonLinearRingCoordinatesSerializer`1 + + + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonLineStringCoordinates value. + + The type of the coordinates. + + + + + + MongoDB.Driver.GeoJsonObjectModel.Serializers.GeoJsonLineStringCoordinatesSerializer`1 + + + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonLineString value. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonLinkedCoordinateReferenceSystem value. + + + + + Initializes a new instance of the class. + + + + + Deserializes a class. + + The deserialization context. + The deserialization args. + An object. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonMultiLineStringCoordinates value. + + The type of the coordinates. + + + + + + MongoDB.Driver.GeoJsonObjectModel.Serializers.GeoJsonMultiLineStringCoordinatesSerializer`1 + + + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonMultiLineString value. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonMultiPointCoordinates value. + + The type of the coordinates. + + + + + + MongoDB.Driver.GeoJsonObjectModel.Serializers.GeoJsonMultiPointCoordinatesSerializer`1 + + + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonMultiPoint value. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonMultiPolygonCoordinates value. + + The type of the coordinates. + + + + + + MongoDB.Driver.GeoJsonObjectModel.Serializers.GeoJsonMultiPolygonCoordinatesSerializer`1 + + + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonMultiPolygon value. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonNamedCoordinateReferenceSystem value. + + + + + Initializes a new instance of the class. + + + + + Deserializes a class. + + The deserialization context. + The deserialization args. + An object. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJson object. + + The type of the coordinates. + + + + + + MongoDB.Driver.GeoJsonObjectModel.Serializers.GeoJsonObjectSerializer`1 + + + + + + + Gets the actual type. + + The context. + The actual type. + + + + Represents a serializer helper for GeoJsonObjects. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The type. + The derived members. + + + + Deserializes a base member. + + The context. + The element name. + The flag. + The arguments. + + + + Serializes the members. + + The context. + The value. + The delegate to serialize the derived members. + The type of the value. + + + + Represents a serializer for a GeoJsonPoint value. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonPolygonCoordinates value. + + The type of the coordinates. + + + + + + MongoDB.Driver.GeoJsonObjectModel.Serializers.GeoJsonPolygonCoordinatesSerializer`1 + + + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonPolygon value. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + A model for a queryable to be executed using the aggregation framework. + + The type of the output. + + + + Gets the output serializer. + + + + + Gets the type of the output. + + + + + Gets the stages. + + + + + Returns a that represents this instance. + + + A that represents this instance. + + + + + Provides functionality to evaluate queries against MongoDB. + + + + + Gets the execution model. + + + The execution model. + + + + + Provides functionality to evaluate queries against MongoDB + wherein the type of the data is known. + + + The type of the data in the data source. + This type parameter is covariant. + That is, you can use either the type you specified or any type that is more + derived. For more information about covariance and contravariance, see Covariance + and Contravariance in Generics. + + + + + Represents the result of a sorting operation. + + + The type of the data in the data source. + This type parameter is covariant. + That is, you can use either the type you specified or any type that is more + derived. For more information about covariance and contravariance, see Covariance + and Contravariance in Generics. + + + + + This static class holds methods that can be used to express MongoDB specific operations in LINQ queries. + + + + + Injects a low level FilterDefinition{TDocument} into a LINQ where clause. Can only be used in LINQ queries. + + The filter. + The type of the document. + + Throws an InvalidOperationException if called. + + + + + Enumerable Extensions for MongoDB. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Extension for . + + + + + Determines whether any element of a sequence satisfies a condition. + + A sequence whose elements to test for a condition. + A function to test each element for a condition. + The cancellation token. + The type of the elements of . + + true if any elements in the source sequence pass the test in the specified predicate; otherwise, false. + + + + + Determines whether a sequence contains any elements. + + A sequence to check for being empty. + The cancellation token. + The type of the elements of . + + true if the source sequence contains any elements; otherwise, false. + + + + + Computes the average of a sequence of values. + + A sequence of values to calculate the average of. + The cancellation token. + The average of the values in the sequence. + + + + Computes the average of a sequence of values. + + A sequence of values to calculate the average of. + The cancellation token. + The average of the values in the sequence. + + + + Computes the average of a sequence of values. + + A sequence of values to calculate the average of. + The cancellation token. + The average of the values in the sequence. + + + + Computes the average of a sequence of values. + + A sequence of values to calculate the average of. + The cancellation token. + The average of the values in the sequence. + + + + Computes the average of a sequence of values. + + A sequence of values to calculate the average of. + The cancellation token. + The average of the values in the sequence. + + + + Computes the average of a sequence of values. + + A sequence of values to calculate the average of. + The cancellation token. + The average of the values in the sequence. + + + + Computes the average of a sequence of values. + + A sequence of values to calculate the average of. + The cancellation token. + The average of the values in the sequence. + + + + Computes the average of a sequence of values. + + A sequence of values to calculate the average of. + The cancellation token. + The average of the values in the sequence. + + + + Computes the average of a sequence of values. + + A sequence of values to calculate the average of. + The cancellation token. + The average of the values in the sequence. + + + + Computes the average of a sequence of values. + + A sequence of values to calculate the average of. + The cancellation token. + The average of the values in the sequence. + + + + Computes the average of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + A sequence of values. + A projection function to apply to each element. + The cancellation token. + The type of the elements of . + + The average of the projected values. + + + + + Computes the average of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + A sequence of values. + A projection function to apply to each element. + The cancellation token. + The type of the elements of . + + The average of the projected values. + + + + + Computes the average of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + A sequence of values. + A projection function to apply to each element. + The cancellation token. + The type of the elements of . + + The average of the projected values. + + + + + Computes the average of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + A sequence of values. + A projection function to apply to each element. + The cancellation token. + The type of the elements of . + + The average of the projected values. + + + + + Computes the average of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + A sequence of values. + A projection function to apply to each element. + The cancellation token. + The type of the elements of . + + The average of the projected values. + + + + + Computes the average of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + A sequence of values. + A projection function to apply to each element. + The cancellation token. + The type of the elements of . + + The average of the projected values. + + + + + Computes the average of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + A sequence of values. + A projection function to apply to each element. + The cancellation token. + The type of the elements of . + + The average of the projected values. + + + + + Computes the average of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + A sequence of values. + A projection function to apply to each element. + The cancellation token. + The type of the elements of . + + The average of the projected values. + + + + + Computes the average of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + A sequence of values. + A projection function to apply to each element. + The cancellation token. + The type of the elements of . + + The average of the projected values. + + + + + Computes the average of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + A sequence of values. + A projection function to apply to each element. + The cancellation token. + The type of the elements of . + + The average of the projected values. + + + + + Returns the number of elements in the specified sequence that satisfies a condition. + + An that contains the elements to be counted. + A function to test each element for a condition. + The cancellation token. + The type of the elements of . + + The number of elements in the sequence that satisfies the condition in the predicate function. + + + + + Returns the number of elements in a sequence. + + The that contains the elements to be counted. + The cancellation token. + The type of the elements of . + + The number of elements in the input sequence. + + + + + Returns distinct elements from a sequence by using the default equality comparer to compare values. + + The to remove duplicates from. + The type of the elements of . + + An that contains distinct elements from . + + + + + Returns the first element of a sequence that satisfies a specified condition. + + An to return an element from. + A function to test each element for a condition. + The cancellation token. + The type of the elements of . + + The first element in that passes the test in . + + + + + Returns the first element of a sequence. + + The to return the first element of. + The cancellation token. + The type of the elements of . + + The first element in . + + + + + Returns the first element of a sequence that satisfies a specified condition or a default value if no such element is found. + + An to return an element from. + A function to test each element for a condition. + The cancellation token. + The type of the elements of . + + default() if is empty or if no element passes the test specified by ; otherwise, the first element in that passes the test specified by . + + + + + Returns the first element of a sequence, or a default value if the sequence contains no elements. + + The to return the first element of. + The cancellation token. + The type of the elements of . + + default() if is empty; otherwise, the first element in . + + + + + Groups the elements of a sequence according to a specified key selector function. + + An whose elements to group. + A function to extract the key for each element. + The type of the elements of . + The type of the key returned by the function represented in keySelector. + + An that has a type argument of + and where each object contains a sequence of objects + and a key. + + + + + Groups the elements of a sequence according to a specified key selector function + and creates a result value from each group and its key. + + An whose elements to group. + A function to extract the key for each element. + A function to create a result value from each group. + The type of the elements of . + The type of the key returned by the function represented in keySelector. + The type of the result value returned by resultSelector. + + An that has a type argument of TResult and where + each element represents a projection over a group and its key. + + + + + Correlates the elements of two sequences based on key equality and groups the results. + + The first sequence to join. + The collection to join to the first sequence. + A function to extract the join key from each element of the first sequence. + A function to extract the join key from each element of the second sequence. + A function to create a result element from an element from the first sequence and a collection of matching elements from the second sequence. + The type of the elements of the first sequence. + The type of the elements of the second sequence. + The type of the keys returned by the key selector functions. + The type of the result elements. + + An that contains elements of type obtained by performing a grouped join on two sequences. + + + + + Correlates the elements of two sequences based on key equality and groups the results. + + The first sequence to join. + The sequence to join to the first sequence. + A function to extract the join key from each element of the first sequence. + A function to extract the join key from each element of the second sequence. + A function to create a result element from an element from the first sequence and a collection of matching elements from the second sequence. + The type of the elements of the first sequence. + The type of the elements of the second sequence. + The type of the keys returned by the key selector functions. + The type of the result elements. + + An that contains elements of type obtained by performing a grouped join on two sequences. + + + + + Correlates the elements of two sequences based on matching keys. + + The first sequence to join. + The sequence to join to the first sequence. + A function to extract the join key from each element of the first sequence. + A function to extract the join key from each element of the second sequence. + A function to create a result element from two matching elements. + The type of the elements of the first sequence. + The type of the elements of the second sequence. + The type of the keys returned by the key selector functions. + The type of the result elements. + + An that has elements of type obtained by performing an inner join on two sequences. + + + + + Correlates the elements of two sequences based on matching keys. + + The first sequence to join. + The sequence to join to the first sequence. + A function to extract the join key from each element of the first sequence. + A function to extract the join key from each element of the second sequence. + A function to create a result element from two matching elements. + The type of the elements of the first sequence. + The type of the elements of the second sequence. + The type of the keys returned by the key selector functions. + The type of the result elements. + + An that has elements of type obtained by performing an inner join on two sequences. + + + + + Returns the number of elements in the specified sequence that satisfies a condition. + + An that contains the elements to be counted. + A function to test each element for a condition. + The cancellation token. + The type of the elements of . + + The number of elements in the sequence that satisfies the condition in the predicate function. + + + + + Returns the number of elements in a sequence. + + The that contains the elements to be counted. + The cancellation token. + The type of the elements of . + + The number of elements in the input sequence. + + + + + Invokes a projection function on each element of a generic and returns the maximum resulting value. + + A sequence of values to determine the maximum of. + A projection function to apply to each element. + The cancellation token. + The type of the elements of . + The type of the value returned by the function represented by . + + The maximum value in the sequence. + + + + + Returns the maximum value in a generic . + + A sequence of values to determine the maximum of. + The cancellation token. + The type of the elements of . + + The maximum value in the sequence. + + + + + Invokes a projection function on each element of a generic and returns the minimum resulting value. + + A sequence of values to determine the minimum of. + A projection function to apply to each element. + The cancellation token. + The type of the elements of . + The type of the value returned by the function represented by . + + The minimum value in the sequence. + + + + + Returns the minimum value in a generic . + + A sequence of values to determine the minimum of. + The cancellation token. + The type of the elements of . + + The minimum value in the sequence. + + + + + Filters the elements of an based on a specified type. + + An whose elements to filter. + The type to filter the elements of the sequence on. + + A collection that contains the elements from that have type . + + + + + Sorts the elements of a sequence in ascending order according to a key. + + A sequence of values to order. + A function to extract a key from an element. + The type of the elements of . + The type of the key returned by the function that is represented by keySelector. + + An whose elements are sorted according to a key. + + + + + Sorts the elements of a sequence in descending order according to a key. + + A sequence of values to order. + A function to extract a key from an element. + The type of the elements of . + The type of the key returned by the function that is represented by keySelector. + + An whose elements are sorted in descending order according to a key. + + + + + Returns a sample of the elements in the . + + An to return a sample of. + The number of elements in the sample. + The type of the elements of . + + A sample of the elements in the . + + + + + Projects each element of a sequence into a new form by incorporating the + element's index. + + A sequence of values to project. + A projection function to apply to each element. + The type of the elements of . + The type of the value returned by the function represented by selector. + + An whose elements are the result of invoking a + projection function on each element of source. + + + + + Projects each element of a sequence to an and + invokes a result selector function on each element therein. The resulting values from + each intermediate sequence are combined into a single, one-dimensional sequence and returned. + + A sequence of values to project. + A projection function to apply to each element of the input sequence. + A projection function to apply to each element of each intermediate sequence. + The type of the elements of . + The type of the intermediate elements collected by the function represented by . + The type of the elements of the resulting sequence. + + An whose elements are the result of invoking the one-to-many projection function on each element of and then mapping each of those sequence elements and their corresponding element to a result element. + + + + + Projects each element of a sequence to an and combines the resulting sequences into one sequence. + + A sequence of values to project. + A projection function to apply to each element. + The type of the elements of . + The type of the elements of the sequence returned by the function represented by . + + An whose elements are the result of invoking a one-to-many projection function on each element of the input sequence. + + + + + Returns the only element of a sequence that satisfies a specified condition, and throws an exception if more than one such element exists. + + An to return a single element from. + A function to test an element for a condition. + The cancellation token. + The type of the elements of . + + The single element of the input sequence that satisfies the condition in . + + + + + Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence. + + An to return the single element of. + The cancellation token. + The type of the elements of . + + The single element of the input 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. + + An to return a single element from. + A function to test an element for a condition. + The cancellation token. + The type of the elements of . + + The single element of the input sequence that satisfies the condition in , or default() if no such element is found. + + + + + 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. + + An to return the single element of. + The cancellation token. + The type of the elements of . + + The single element of the input sequence, or default() if the sequence contains no elements. + + + + + Bypasses a specified number of elements in a sequence and then returns the + remaining elements. + + An to return elements from. + The number of elements to skip before returning the remaining elements. + The type of the elements of source + + An that contains elements that occur after the + specified index in the input sequence. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The cancellation token. + The sum of the values in the sequence. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The cancellation token. + The sum of the values in the sequence. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The cancellation token. + The sum of the values in the sequence. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The cancellation token. + The sum of the values in the sequence. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The cancellation token. + The sum of the values in the sequence. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The cancellation token. + The sum of the values in the sequence. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The cancellation token. + The sum of the values in the sequence. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The cancellation token. + The sum of the values in the sequence. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The cancellation token. + The sum of the values in the sequence. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The cancellation token. + The sum of the values in the sequence. + + + + Computes the sum of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + A sequence of values. + A projection function to apply to each element. + The cancellation token. + The type of the elements of . + + The sum of the projected values. + + + + + Computes the sum of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + A sequence of values. + A projection function to apply to each element. + The cancellation token. + The type of the elements of . + + The sum of the projected values. + + + + + Computes the sum of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + A sequence of values. + A projection function to apply to each element. + The cancellation token. + The type of the elements of . + + The sum of the projected values. + + + + + Computes the sum of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + A sequence of values. + A projection function to apply to each element. + The cancellation token. + The type of the elements of . + + The sum of the projected values. + + + + + Computes the sum of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + A sequence of values. + A projection function to apply to each element. + The cancellation token. + The type of the elements of . + + The sum of the projected values. + + + + + Computes the sum of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + A sequence of values. + A projection function to apply to each element. + The cancellation token. + The type of the elements of . + + The sum of the projected values. + + + + + Computes the sum of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + A sequence of values. + A projection function to apply to each element. + The cancellation token. + The type of the elements of . + + The sum of the projected values. + + + + + Computes the sum of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + A sequence of values. + A projection function to apply to each element. + The cancellation token. + The type of the elements of . + + The sum of the projected values. + + + + + Computes the sum of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + A sequence of values. + A projection function to apply to each element. + The cancellation token. + The type of the elements of . + + The sum of the projected values. + + + + + Computes the sum of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + A sequence of values. + A projection function to apply to each element. + The cancellation token. + The type of the elements of . + + The sum of the projected values. + + + + + Returns a specified number of contiguous elements from the start of a sequence. + + The sequence to return elements from. + The number of elements to return. + The type of the elements of . + + An that contains the specified number of elements + from the start of source. + + + + + Performs a subsequent ordering of the elements in a sequence in ascending + order according to a key. + + A sequence of values to order. + A function to extract a key from an element. + The type of the elements of . + The type of the key returned by the function that is represented by keySelector. + + An whose elements are sorted according to a key. + + + + + Performs a subsequent ordering of the elements in a sequence in descending + order according to a key. + + A sequence of values to order. + A function to extract a key from an element. + The type of the elements of . + The type of the key returned by the function that is represented by keySelector. + + An whose elements are sorted in descending order according to a key. + + + + + Filters a sequence of values based on a predicate. + + An to return elements from. + A function to test each element for a condition. + The type of the elements of . + + An that contains elements from the input sequence + that satisfy the condition specified by predicate. + + + + + An execution model. + + + + + Gets the type of the output. + + + + \ No newline at end of file diff --git a/BuechermarktClient/bin/Debug/Newtonsoft.Json.xml b/BuechermarktClient/bin/Debug/Newtonsoft.Json.xml new file mode 100644 index 0000000..de78eb0 --- /dev/null +++ b/BuechermarktClient/bin/Debug/Newtonsoft.Json.xml @@ -0,0 +1,10760 @@ + + + + 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. + + true if the written enum text will be camel case; otherwise, false. + + + + Gets or sets a value indicating whether integer values are allowed when deserializing. + + true if integers are allowed when deserializing; otherwise, false. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + true if the written enum text will be camel case; otherwise, false. + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts a to and from a string (e.g. "1.2.3.4"). + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing property value of the JSON that is being converted. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts XML to and from JSON. + + + + + Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produced multiple root elements. + + The name of the deserialized root element. + + + + Gets or sets a flag to indicate whether to write the Json.NET array attribute. + This attribute helps preserve arrays when converting the written XML back to JSON. + + true if the array attribute is written to the XML; otherwise, false. + + + + Gets or sets a value indicating whether to write the root JSON object. + + true if the JSON root object is omitted; otherwise, false. + + + + Writes the JSON representation of the object. + + The to write to. + The calling serializer. + The value. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Checks if the is a namespace attribute. + + Attribute name to test. + The attribute name prefix if it has one, otherwise an empty string. + true if attribute name is for a namespace attribute, otherwise false. + + + + Determines whether this instance can convert the specified value type. + + Type of the value. + + true if this instance can convert the specified value type; otherwise, false. + + + + + Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + + + + + Floating point numbers are parsed to . + + + + + Floating point numbers are parsed to . + + + + + Specifies how dates are formatted when writing JSON text. + + + + + Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". + + + + + Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". + + + + + Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. + + + + + Date formatted strings are not parsed to a date type and are read as strings. + + + + + Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . + + + + + Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . + + + + + Specifies how to treat the time value when converting between string and . + + + + + Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time. + + + + + Treat as a UTC. If the object represents a local time, it is converted to a UTC. + + + + + Treat as a local time if a is being converted to a string. + If a string is being converted to , convert to a local time if a time zone is specified. + + + + + Time zone information should be preserved when converting. + + + + + Specifies default value handling options for the . + + + + + + + + + Include members where the member value is the same as the member's default value when serializing objects. + Included members are written to JSON. Has no effect when deserializing. + + + + + Ignore members where the member value is the same as the member's default value when serializing objects + so that it is not written to JSON. + This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, + decimals and floating point numbers; and false for booleans). The default value ignored can be changed by + placing the on the property. + + + + + Members with a default value but no JSON will be set to their default value when deserializing. + + + + + Ignore members where the member value is the same as the member's default value when serializing objects + and set members to their default value when deserializing. + + + + + Specifies float format handling options when writing special floating point numbers, e.g. , + and with . + + + + + Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". + + + + + Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. + Note that this will produce non-valid JSON. + + + + + Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a of property. + + + + + Specifies formatting options for the . + + + + + No special formatting is applied. This is the default. + + + + + Causes child objects to be indented according to the and settings. + + + + + Provides an interface for using pooled arrays. + + The array type content. + + + + Rent an array from the pool. This array must be returned when it is no longer needed. + + The minimum required length of the array. The returned array may be longer. + The rented array from the pool. This array must be returned when it is no longer needed. + + + + Return an array to the pool. + + The array that is being returned. + + + + Provides an interface to enable a class to return line and position information. + + + + + Gets a value indicating whether the class can return line information. + + + true if and can be provided; otherwise, false. + + + + + Gets the current line number. + + The current line number or 0 if no line information is available (for example, when returns false). + + + + Gets the current line position. + + The current line position or 0 if no line information is available (for example, when returns false). + + + + Instructs the how to serialize the collection. + + + + + Gets or sets a value indicating whether null items are allowed in the collection. + + true if null items are allowed in the collection; otherwise, false. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with a flag indicating whether the array can contain null items. + + A flag indicating whether the array can contain null items. + + + + Initializes a new instance of the class with the specified container Id. + + The container Id. + + + + Instructs the to use the specified constructor when deserializing that object. + + + + + Instructs the how to serialize the object. + + + + + Gets or sets the id. + + The id. + + + + Gets or sets the title. + + The title. + + + + Gets or sets the description. + + The description. + + + + Gets or sets the collection's items converter. + + The collection's items converter. + + + + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, + order, and type of these parameters. + + + + [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] + + + + + + Gets or sets the of the . + + The of the . + + + + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, + order, and type of these parameters. + + + + [JsonContainer(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] + + + + + + Gets or sets a value that indicates whether to preserve object references. + + + true to keep object reference; otherwise, false. The default is false. + + + + + Gets or sets a value that indicates whether to preserve collection's items references. + + + true to keep collection's items object references; otherwise, false. The default is false. + + + + + Gets or sets the reference loop handling used when serializing the collection's items. + + The reference loop handling. + + + + Gets or sets the type name handling used when serializing the collection's items. + + The type name handling. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with the specified container Id. + + The container Id. + + + + Provides methods for converting between .NET types and JSON types. + + + + + + + + Gets or sets a function that creates default . + Default settings are automatically used by serialization methods on , + and and on . + To serialize without using any default settings create a with + . + + + + + Represents JavaScript's boolean value true as a string. This field is read-only. + + + + + Represents JavaScript's boolean value false as a string. This field is read-only. + + + + + Represents JavaScript's null as a string. This field is read-only. + + + + + Represents JavaScript's undefined as a string. This field is read-only. + + + + + Represents JavaScript's positive infinity as a string. This field is read-only. + + + + + Represents JavaScript's negative infinity as a string. This field is read-only. + + + + + Represents JavaScript's NaN as a string. This field is read-only. + + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation using the specified. + + The value to convert. + The format the date will be converted to. + The time zone handling when the date is converted to a string. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation using the specified. + + The value to convert. + The format the date will be converted to. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + The string delimiter character. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + The string delimiter character. + The string escape handling. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Serializes the specified object to a JSON string. + + The object to serialize. + A JSON string representation of the object. + + + + Serializes the specified object to a JSON string using formatting. + + The object to serialize. + Indicates how the output should be formatted. + + A JSON string representation of the object. + + + + + Serializes the specified object to a JSON string using a collection of . + + The object to serialize. + A collection of converters used while serializing. + A JSON string representation of the object. + + + + Serializes the specified object to a JSON string using formatting and a collection of . + + The object to serialize. + Indicates how the output should be formatted. + A collection of converters used while serializing. + A JSON string representation of the object. + + + + Serializes the specified object to a JSON string using . + + The object to serialize. + The used to serialize the object. + If this is null, default serialization settings will be used. + + A JSON string representation of the object. + + + + + Serializes the specified object to a JSON string using a type, formatting and . + + The object to serialize. + The used to serialize the object. + If this is null, default serialization settings will be used. + + The type of the value being serialized. + This parameter is used when is to write out the type name if the type of the value does not match. + Specifying the type is optional. + + + A JSON string representation of the object. + + + + + Serializes the specified object to a JSON string using formatting and . + + The object to serialize. + Indicates how the output should be formatted. + The used to serialize the object. + If this is null, default serialization settings will be used. + + A JSON string representation of the object. + + + + + Serializes the specified object to a JSON string using a type, formatting and . + + The object to serialize. + Indicates how the output should be formatted. + The used to serialize the object. + If this is null, default serialization settings will be used. + + The type of the value being serialized. + This parameter is used when is to write out the type name if the type of the value does not match. + Specifying the type is optional. + + + A JSON string representation of the object. + + + + + Deserializes the JSON to a .NET object. + + The JSON to deserialize. + The deserialized object from the JSON string. + + + + Deserializes the JSON to a .NET object using . + + The JSON to deserialize. + + The used to deserialize the object. + If this is null, default serialization settings will be used. + + The deserialized object from the JSON string. + + + + Deserializes the JSON to the specified .NET type. + + The JSON to deserialize. + The of object being deserialized. + The deserialized object from the JSON string. + + + + Deserializes the JSON to the specified .NET type. + + The type of the object to deserialize to. + The JSON to deserialize. + The deserialized object from the JSON string. + + + + Deserializes the JSON to the given anonymous type. + + + The anonymous type to deserialize to. This can't be specified + traditionally and must be inferred from the anonymous type passed + as a parameter. + + The JSON to deserialize. + The anonymous type object. + The deserialized anonymous type from the JSON string. + + + + Deserializes the JSON to the given anonymous type using . + + + The anonymous type to deserialize to. This can't be specified + traditionally and must be inferred from the anonymous type passed + as a parameter. + + The JSON to deserialize. + The anonymous type object. + + The used to deserialize the object. + If this is null, default serialization settings will be used. + + The deserialized anonymous type from the JSON string. + + + + Deserializes the JSON to the specified .NET type using a collection of . + + The type of the object to deserialize to. + The JSON to deserialize. + Converters to use while deserializing. + The deserialized object from the JSON string. + + + + Deserializes the JSON to the specified .NET type using . + + The type of the object to deserialize to. + The object to deserialize. + + The used to deserialize the object. + If this is null, default serialization settings will be used. + + The deserialized object from the JSON string. + + + + Deserializes the JSON to the specified .NET type using a collection of . + + The JSON to deserialize. + The type of the object to deserialize. + Converters to use while deserializing. + The deserialized object from the JSON string. + + + + Deserializes the JSON to the specified .NET type using . + + The JSON to deserialize. + The type of the object to deserialize to. + + The used to deserialize the object. + If this is null, default serialization settings will be used. + + The deserialized object from the JSON string. + + + + Populates the object with values from the JSON string. + + The JSON to populate values from. + The target object to populate values onto. + + + + Populates the object with values from the JSON string using . + + The JSON to populate values from. + The target object to populate values onto. + + The used to deserialize the object. + If this is null, default serialization settings will be used. + + + + + Serializes the to a JSON string. + + The node to serialize. + A JSON string of the . + + + + Serializes the to a JSON string using formatting. + + The node to serialize. + Indicates how the output should be formatted. + A JSON string of the . + + + + Serializes the to a JSON string using formatting and omits the root object if is true. + + The node to serialize. + Indicates how the output should be formatted. + Omits writing the root object. + A JSON string of the . + + + + Deserializes the from a JSON string. + + The JSON string. + The deserialized . + + + + Deserializes the from a JSON string nested in a root element specified by . + + The JSON string. + The name of the root element to append when deserializing. + The deserialized . + + + + Deserializes the from a JSON string nested in a root element specified by + and writes a Json.NET array attribute for collections. + + The JSON string. + The name of the root element to append when deserializing. + + A flag to indicate whether to write the Json.NET array attribute. + This attribute helps preserve arrays when converting the written XML back to JSON. + + The deserialized . + + + + Serializes the to a JSON string. + + The node to convert to JSON. + A JSON string of the . + + + + Serializes the to a JSON string using formatting. + + The node to convert to JSON. + Indicates how the output should be formatted. + A JSON string of the . + + + + Serializes the to a JSON string using formatting and omits the root object if is true. + + The node to serialize. + Indicates how the output should be formatted. + Omits writing the root object. + A JSON string of the . + + + + Deserializes the from a JSON string. + + The JSON string. + The deserialized . + + + + Deserializes the from a JSON string nested in a root element specified by . + + The JSON string. + The name of the root element to append when deserializing. + The deserialized . + + + + Deserializes the from a JSON string nested in a root element specified by + and writes a Json.NET array attribute for collections. + + The JSON string. + The name of the root element to append when deserializing. + + A flag to indicate whether to write the Json.NET array attribute. + This attribute helps preserve arrays when converting the written XML back to JSON. + + The deserialized . + + + + Converts an object to and from JSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Gets a value indicating whether this can read JSON. + + true if this can read JSON; otherwise, false. + + + + Gets a value indicating whether this can write JSON. + + true if this can write JSON; otherwise, false. + + + + Instructs the to use the specified when serializing the member or class. + + + + + Gets the of the . + + The of the . + + + + The parameter list to use when constructing the described by . + If null, the default constructor is used. + + + + + Initializes a new instance of the class. + + Type of the . + + + + Initializes a new instance of the class. + + Type of the . + Parameter list to use when constructing the . Can be null. + + + + Represents a collection of . + + + + + Instructs the how to serialize the collection. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with the specified container Id. + + The container Id. + + + + The exception thrown when an error occurs during JSON serialization or deserialization. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class + with a specified error message. + + The error message that explains the reason for the exception. + + + + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Initializes a new instance of the class. + + The that holds the serialized object data about the exception being thrown. + The that contains contextual information about the source or destination. + The parameter is null. + The class name is null or is zero (0). + + + + Instructs the to deserialize properties with no matching class member into the specified collection + and write values during serialization. + + + + + Gets or sets a value that indicates whether to write extension data when serializing the object. + + + true to write extension data when serializing the object; otherwise, false. The default is true. + + + + + Gets or sets a value that indicates whether to read extension data when deserializing the object. + + + true to read extension data when deserializing the object; otherwise, false. The default is true. + + + + + Initializes a new instance of the class. + + + + + Instructs the not to serialize the public field or public read/write property value. + + + + + Instructs the how to serialize the object. + + + + + Gets or sets the member serialization. + + The member serialization. + + + + Gets or sets a value that indicates whether the object's properties are required. + + + A value indicating whether the object's properties are required. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with the specified member serialization. + + The member serialization. + + + + Initializes a new instance of the class with the specified container Id. + + The container Id. + + + + Instructs the to always serialize the member with the specified name. + + + + + Gets or sets the used when serializing the property's collection items. + + The collection's items . + + + + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, + order, and type of these parameters. + + + + [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] + + + + + + Gets or sets the of the . + + The of the . + + + + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, + order, and type of these parameters. + + + + [JsonProperty(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] + + + + + + Gets or sets the null value handling used when serializing this property. + + The null value handling. + + + + Gets or sets the default value handling used when serializing this property. + + The default value handling. + + + + Gets or sets the reference loop handling used when serializing this property. + + The reference loop handling. + + + + Gets or sets the object creation handling used when deserializing this property. + + The object creation handling. + + + + Gets or sets the type name handling used when serializing this property. + + The type name handling. + + + + Gets or sets whether this property's value is serialized as a reference. + + Whether this property's value is serialized as a reference. + + + + Gets or sets the order of serialization of a member. + + The numeric order of serialization. + + + + Gets or sets a value indicating whether this property is required. + + + A value indicating whether this property is required. + + + + + Gets or sets the name of the property. + + The name of the property. + + + + Gets or sets the reference loop handling used when serializing the property's collection items. + + The collection's items reference loop handling. + + + + Gets or sets the type name handling used when serializing the property's collection items. + + The collection's items type name handling. + + + + Gets or sets whether this property's collection items are serialized as a reference. + + Whether this property's collection items are serialized as a reference. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with the specified name. + + Name of the property. + + + + Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. + + + + + Asynchronously reads the next JSON token from the source. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns true if the next token was read successfully; false if there are no more tokens to read. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously skips the children of the current token. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a []. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the []. This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Specifies the state of the reader. + + + + + A read method has not been called. + + + + + The end of the file has been reached successfully. + + + + + Reader is at a property. + + + + + Reader is at the start of an object. + + + + + Reader is in an object. + + + + + Reader is at the start of an array. + + + + + Reader is in an array. + + + + + The method has been called. + + + + + Reader has just read a value. + + + + + Reader is at the start of a constructor. + + + + + Reader is in a constructor. + + + + + An error occurred that prevents the read operation from continuing. + + + + + The end of the file has been reached successfully. + + + + + Gets the current reader state. + + The current reader state. + + + + Gets or sets a value indicating whether the source should be closed when this reader is closed. + + + true to close the source when this reader is closed; otherwise false. The default is true. + + + + + Gets or sets a value indicating whether multiple pieces of JSON content can + be read from a continuous stream without erroring. + + + true to support reading multiple pieces of JSON content; otherwise false. + The default is false. + + + + + Gets the quotation mark character used to enclose the value of a string. + + + + + Gets or sets how time zones are handled when reading JSON. + + + + + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + + + + + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + + + + + Gets or sets how custom date formatted strings are parsed when reading JSON. + + + + + Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + + + + + Gets the type of the current JSON token. + + + + + Gets the text value of the current JSON token. + + + + + Gets the .NET type for the current JSON token. + + + + + Gets the depth of the current token in the JSON document. + + The depth of the current token in the JSON document. + + + + Gets the path of the current JSON token. + + + + + Gets or sets the culture used when reading JSON. Defaults to . + + + + + Initializes a new instance of the class. + + + + + Reads the next JSON token from the source. + + true if the next token was read successfully; false if there are no more tokens to read. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a . + + A . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a []. + + A [] or null if the next JSON token is null. This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Skips the children of the current token. + + + + + Sets the current token. + + The new token. + + + + Sets the current token and value. + + The new token. + The value. + + + + Sets the current token and value. + + The new token. + The value. + A flag indicating whether the position index inside an array should be updated. + + + + Sets the state based on current token type. + + + + + Releases unmanaged and - optionally - managed resources. + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Changes the reader's state to . + If is set to true, the source is also closed. + + + + + The exception thrown when an error occurs while reading JSON text. + + + + + Gets the line number indicating where the error occurred. + + The line number indicating where the error occurred. + + + + Gets the line position indicating where the error occurred. + + The line position indicating where the error occurred. + + + + Gets the path to the JSON where the error occurred. + + The path to the JSON where the error occurred. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class + with a specified error message. + + The error message that explains the reason for the exception. + + + + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Initializes a new instance of the class. + + The that holds the serialized object data about the exception being thrown. + The that contains contextual information about the source or destination. + The parameter is null. + The class name is null or is zero (0). + + + + Initializes a new instance of the class + with a specified error message, JSON path, line number, line position, and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The path to the JSON where the error occurred. + The line number indicating where the error occurred. + The line position indicating where the error occurred. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Instructs the to always serialize the member, and to require that the member has a value. + + + + + 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). + + + + Serializes and deserializes objects into and from the JSON format. + The enables you to control how objects are encoded into JSON. + + + + + Occurs when the errors during serialization and deserialization. + + + + + Gets or sets the used by the serializer when resolving references. + + + + + Gets or sets the used by the serializer when resolving type names. + + + + + Gets or sets the used by the serializer when resolving type names. + + + + + Gets or sets the used by the serializer when writing trace messages. + + The trace writer. + + + + Gets or sets the equality comparer used by the serializer when comparing references. + + The equality comparer. + + + + Gets or sets how type name writing and reading is handled by the serializer. + + + should be used with caution when your application deserializes JSON from an external source. + Incoming types should be validated with a custom + when deserializing with a value other than . + + + + + Gets or sets how a type name assembly is written and resolved by the serializer. + + The type name assembly format. + + + + Gets or sets how a type name assembly is written and resolved by the serializer. + + The type name assembly format. + + + + Gets or sets how object references are preserved by the serializer. + + + + + Gets or sets how reference loops (e.g. a class referencing itself) is handled. + + + + + Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. + + + + + Gets or sets how null values are handled during serialization and deserialization. + + + + + Gets or sets how default values are handled during serialization and deserialization. + + + + + Gets or sets how objects are created during deserialization. + + The object creation handling. + + + + Gets or sets how constructors are used during deserialization. + + The constructor handling. + + + + Gets or sets how metadata properties are used during deserialization. + + The metadata properties handling. + + + + Gets a collection that will be used during serialization. + + Collection that will be used during serialization. + + + + Gets or sets the contract resolver used by the serializer when + serializing .NET objects to JSON and vice versa. + + + + + Gets or sets the used by the serializer when invoking serialization callback methods. + + The context. + + + + Indicates how JSON text output is formatted. + + + + + Gets or sets how dates are written to JSON text. + + + + + Gets or sets how time zones are handled during serialization and deserialization. + + + + + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + + + + + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + + + + + Gets or sets how special floating point numbers, e.g. , + and , + are written as JSON text. + + + + + Gets or sets how strings are escaped when writing JSON text. + + + + + Gets or sets how and values are formatted when writing JSON text, + and the expected date format when reading JSON text. + + + + + Gets or sets the culture used when reading JSON. Defaults to . + + + + + Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + + + + + Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. + + + true if there will be a check for additional JSON content after deserializing an object; otherwise, false. + + + + + Initializes a new instance of the class. + + + + + Creates a new instance. + The will not use default settings + from . + + + A new instance. + The will not use default settings + from . + + + + + Creates a new instance using the specified . + The will not use default settings + from . + + The settings to be applied to the . + + A new instance using the specified . + The will not use default settings + from . + + + + + Creates a new instance. + The will use default settings + from . + + + A new instance. + The will use default settings + from . + + + + + Creates a new instance using the specified . + The will use default settings + from as well as the specified . + + The settings to be applied to the . + + A new instance using the specified . + The will use default settings + from as well as the specified . + + + + + Populates the JSON values onto the target object. + + The that contains the JSON structure to reader values from. + The target object to populate values onto. + + + + Populates the JSON values onto the target object. + + The that contains the JSON structure to reader values from. + The target object to populate values onto. + + + + Deserializes the JSON structure contained by the specified . + + The that contains the JSON structure to deserialize. + The being deserialized. + + + + Deserializes the JSON structure contained by the specified + into an instance of the specified type. + + The containing the object. + The of object being deserialized. + The instance of being deserialized. + + + + Deserializes the JSON structure contained by the specified + into an instance of the specified type. + + The containing the object. + The type of the object to deserialize. + The instance of being deserialized. + + + + Deserializes the JSON structure contained by the specified + into an instance of the specified type. + + The containing the object. + The of object being deserialized. + The instance of being deserialized. + + + + Serializes the specified and writes the JSON structure + using the specified . + + The used to write the JSON structure. + The to serialize. + + + + Serializes the specified and writes the JSON structure + using the specified . + + The used to write the JSON structure. + The to serialize. + + The type of the value being serialized. + This parameter is used when is to write out the type name if the type of the value does not match. + Specifying the type is optional. + + + + + Serializes the specified and writes the JSON structure + using the specified . + + The used to write the JSON structure. + The to serialize. + + The type of the value being serialized. + This parameter is used when is Auto to write out the type name if the type of the value does not match. + Specifying the type is optional. + + + + + Serializes the specified and writes the JSON structure + using the specified . + + The used to write the JSON structure. + The to serialize. + + + + Specifies the settings on a object. + + + + + Gets or sets how reference loops (e.g. a class referencing itself) are handled. + + Reference loop handling. + + + + Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. + + Missing member handling. + + + + Gets or sets how objects are created during deserialization. + + The object creation handling. + + + + Gets or sets how null values are handled during serialization and deserialization. + + Null value handling. + + + + Gets or sets how default values are handled during serialization and deserialization. + + The default value handling. + + + + Gets or sets a collection that will be used during serialization. + + The converters. + + + + Gets or sets how object references are preserved by the serializer. + + The preserve references handling. + + + + Gets or sets how type name writing and reading is handled by the serializer. + + + should be used with caution when your application deserializes JSON from an external source. + Incoming types should be validated with a custom + when deserializing with a value other than . + + The type name handling. + + + + Gets or sets how metadata properties are used during deserialization. + + The metadata properties handling. + + + + Gets or sets how a type name assembly is written and resolved by the serializer. + + The type name assembly format. + + + + Gets or sets how a type name assembly is written and resolved by the serializer. + + The type name assembly format. + + + + Gets or sets how constructors are used during deserialization. + + The constructor handling. + + + + Gets or sets the contract resolver used by the serializer when + serializing .NET objects to JSON and vice versa. + + The contract resolver. + + + + Gets or sets the equality comparer used by the serializer when comparing references. + + The equality comparer. + + + + Gets or sets the used by the serializer when resolving references. + + The reference resolver. + + + + Gets or sets a function that creates the used by the serializer when resolving references. + + A function that creates the used by the serializer when resolving references. + + + + Gets or sets the used by the serializer when writing trace messages. + + The trace writer. + + + + Gets or sets the used by the serializer when resolving type names. + + The binder. + + + + Gets or sets the used by the serializer when resolving type names. + + The binder. + + + + Gets or sets the error handler called during serialization and deserialization. + + The error handler called during serialization and deserialization. + + + + Gets or sets the used by the serializer when invoking serialization callback methods. + + The context. + + + + Gets or sets how and values are formatted when writing JSON text, + and the expected date format when reading JSON text. + + + + + Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + + + + + Indicates how JSON text output is formatted. + + + + + Gets or sets how dates are written to JSON text. + + + + + Gets or sets how time zones are handled during serialization and deserialization. + + + + + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + + + + + Gets or sets how special floating point numbers, e.g. , + and , + are written as JSON. + + + + + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + + + + + Gets or sets how strings are escaped when writing JSON text. + + + + + Gets or sets the culture used when reading JSON. Defaults to . + + + + + Gets a value indicating whether there will be a check for additional content after deserializing an object. + + + true if there will be a check for additional content after deserializing an object; otherwise, false. + + + + + Initializes a new instance of the class. + + + + + Represents a reader that provides fast, non-cached, forward-only access to JSON text data. + + + + + Asynchronously reads the next JSON token from the source. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns true if the next token was read successfully; false if there are no more tokens to read. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a []. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the []. This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Initializes a new instance of the class with the specified . + + The containing the JSON data to read. + + + + Gets or sets the reader's character buffer pool. + + + + + Reads the next JSON token from the underlying . + + + true if the next token was read successfully; false if there are no more tokens to read. + + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a . + + A . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a []. + + A [] or null if the next JSON token is null. This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Changes the reader's state to . + If is set to true, the underlying is also closed. + + + + + Gets a value indicating whether the class can return line information. + + + true if and can be provided; otherwise, false. + + + + + Gets the current line number. + + + The current line number or 0 if no line information is available (for example, returns false). + + + + + Gets the current line position. + + + The current line position or 0 if no line information is available (for example, returns false). + + + + + Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. + + + + + Asynchronously flushes whatever is in the buffer to the destination and also flushes the destination. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the JSON value delimiter. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the specified end token. + + The end token to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously closes this writer. + If is set to true, the destination is also closed. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the end of the current JSON object or array. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes indent characters. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes an indent space. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes raw JSON without changing the writer's state. + + The raw JSON to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a null value. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the property name of a name/value pair of a JSON object. + + The name of the property. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the property name of a name/value pair of a JSON object. + + The name of the property. + A flag to indicate whether the text should be escaped when it is written as a JSON property name. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the beginning of a JSON array. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the beginning of a JSON object. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the start of a constructor with the given name. + + The name of the constructor. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes an undefined value. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the given white space. + + The string of white space characters. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a [] value. + + The [] value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a comment /*...*/ containing the specified text. + + Text to place inside the comment. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the end of an array. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the end of a constructor. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the end of a JSON object. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes raw JSON where a value is expected and updates the writer's state. + + The raw JSON to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Gets or sets the writer's character array pool. + + + + + Gets or sets how many s to write for each level in the hierarchy when is set to . + + + + + Gets or sets which character to use to quote attribute values. + + + + + Gets or sets which character to use for indenting when is set to . + + + + + Gets or sets a value indicating whether object names will be surrounded with quotes. + + + + + Initializes a new instance of the class using the specified . + + The to write to. + + + + Flushes whatever is in the buffer to the underlying and also flushes the underlying . + + + + + Closes this writer. + If is set to true, the underlying is also closed. + If is set to true, the JSON is auto-completed. + + + + + Writes the beginning of a JSON object. + + + + + Writes the beginning of a JSON array. + + + + + Writes the start of a constructor with the given name. + + The name of the constructor. + + + + Writes the specified end token. + + The end token to write. + + + + Writes the property name of a name/value pair on a JSON object. + + The name of the property. + + + + Writes the property name of a name/value pair on a JSON object. + + The name of the property. + A flag to indicate whether the text should be escaped when it is written as a JSON property name. + + + + Writes indent characters. + + + + + Writes the JSON value delimiter. + + + + + Writes an indent space. + + + + + Writes a value. + An error will raised if the value cannot be written as a single JSON token. + + The value to write. + + + + Writes a null value. + + + + + Writes an undefined value. + + + + + Writes raw JSON. + + The raw JSON to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a value. + + The value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a [] value. + + The [] value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a comment /*...*/ containing the specified text. + + Text to place inside the comment. + + + + Writes the given white space. + + The string of white space characters. + + + + Specifies the type of JSON token. + + + + + This is returned by the if a read method has not been called. + + + + + An object start token. + + + + + An array start token. + + + + + A constructor start token. + + + + + An object property name. + + + + + A comment. + + + + + Raw JSON. + + + + + An integer. + + + + + A float. + + + + + A string. + + + + + A boolean. + + + + + A null token. + + + + + An undefined token. + + + + + An object end token. + + + + + An array end token. + + + + + A constructor end token. + + + + + A Date. + + + + + Byte data. + + + + + + Represents a reader that provides validation. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Sets an event handler for receiving schema validation errors. + + + + + Gets the text value of the current JSON token. + + + + + + Gets the depth of the current token in the JSON document. + + The depth of the current token in the JSON document. + + + + Gets the path of the current JSON token. + + + + + Gets the quotation mark character used to enclose the value of a string. + + + + + + Gets the type of the current JSON token. + + + + + + Gets the .NET type for the current JSON token. + + + + + + Initializes a new instance of the class that + validates the content returned from the given . + + The to read from while validating. + + + + Gets or sets the schema. + + The schema. + + + + Gets the used to construct this . + + The specified in the constructor. + + + + Changes the reader's state to . + If is set to true, the underlying is also closed. + + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying as a []. + + + A [] or null if the next JSON token is null. + + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying as a . + + A . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying . + + + true if the next token was read successfully; false if there are no more tokens to read. + + + + + Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. + + + + + Asynchronously closes this writer. + If is set to true, the destination is also closed. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously flushes whatever is in the buffer to the destination and also flushes the destination. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the specified end token. + + The end token to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes indent characters. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the JSON value delimiter. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes an indent space. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes raw JSON without changing the writer's state. + + The raw JSON to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the end of the current JSON object or array. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the end of an array. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the end of a constructor. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the end of a JSON object. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a null value. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the property name of a name/value pair of a JSON object. + + The name of the property. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the property name of a name/value pair of a JSON object. + + The name of the property. + A flag to indicate whether the text should be escaped when it is written as a JSON property name. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the beginning of a JSON array. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a comment /*...*/ containing the specified text. + + Text to place inside the comment. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes raw JSON where a value is expected and updates the writer's state. + + The raw JSON to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the start of a constructor with the given name. + + The name of the constructor. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the beginning of a JSON object. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the current token. + + The to read the token from. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the current token. + + The to read the token from. + A flag indicating whether the current token's children should be written. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the token and its value. + + The to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the token and its value. + + The to write. + + The value to write. + A value is only required for tokens that have an associated value, e.g. the property name for . + null can be passed to the method for tokens that don't have a value, e.g. . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a [] value. + + The [] value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes an undefined value. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the given white space. + + The string of white space characters. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously ets the state of the . + + The being written. + The value being written. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Gets or sets a value indicating whether the destination should be closed when this writer is closed. + + + true to close the destination when this writer is closed; otherwise false. The default is true. + + + + + Gets or sets a value indicating whether the JSON should be auto-completed when this writer is closed. + + + true to auto-complete the JSON when this writer is closed; otherwise false. The default is true. + + + + + Gets the top. + + The top. + + + + Gets the state of the writer. + + + + + Gets the path of the writer. + + + + + Gets or sets a value indicating how JSON text output should be formatted. + + + + + Gets or sets how dates are written to JSON text. + + + + + Gets or sets how time zones are handled when writing JSON text. + + + + + Gets or sets how strings are escaped when writing JSON text. + + + + + Gets or sets how special floating point numbers, e.g. , + and , + are written to JSON text. + + + + + Gets or sets how and values are formatted when writing JSON text. + + + + + Gets or sets the culture used when writing JSON. Defaults to . + + + + + Initializes a new instance of the class. + + + + + Flushes whatever is in the buffer to the destination and also flushes the destination. + + + + + Closes this writer. + If is set to true, the destination is also closed. + If is set to true, the JSON is auto-completed. + + + + + Writes the beginning of a JSON object. + + + + + Writes the end of a JSON object. + + + + + Writes the beginning of a JSON array. + + + + + Writes the end of an array. + + + + + Writes the start of a constructor with the given name. + + The name of the constructor. + + + + Writes the end constructor. + + + + + Writes the property name of a name/value pair of a JSON object. + + The name of the property. + + + + Writes the property name of a name/value pair of a JSON object. + + The name of the property. + A flag to indicate whether the text should be escaped when it is written as a JSON property name. + + + + Writes the end of the current JSON object or array. + + + + + Writes the current token and its children. + + The to read the token from. + + + + Writes the current token. + + The to read the token from. + A flag indicating whether the current token's children should be written. + + + + Writes the token and its value. + + The to write. + + The value to write. + A value is only required for tokens that have an associated value, e.g. the property name for . + null can be passed to the method for tokens that don't have a value, e.g. . + + + + + Writes the token. + + The to write. + + + + Writes the specified end token. + + The end token to write. + + + + Writes indent characters. + + + + + Writes the JSON value delimiter. + + + + + Writes an indent space. + + + + + Writes a null value. + + + + + Writes an undefined value. + + + + + Writes raw JSON without changing the writer's state. + + The raw JSON to write. + + + + Writes raw JSON where a value is expected and updates the writer's state. + + The raw JSON to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a [] value. + + The [] value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + An error will raised if the value cannot be written as a single JSON token. + + The value to write. + + + + Writes a comment /*...*/ containing the specified text. + + Text to place inside the comment. + + + + Writes the given white space. + + The string of white space characters. + + + + Releases unmanaged and - optionally - managed resources. + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Sets the state of the . + + The being written. + The value being written. + + + + The exception thrown when an error occurs while writing JSON text. + + + + + Gets the path to the JSON where the error occurred. + + The path to the JSON where the error occurred. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class + with a specified error message. + + The error message that explains the reason for the exception. + + + + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Initializes a new instance of the class. + + The that holds the serialized object data about the exception being thrown. + The that contains contextual information about the source or destination. + The parameter is null. + The class name is null or is zero (0). + + + + Initializes a new instance of the class + with a specified error message, JSON path and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The path to the JSON where the error occurred. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Specifies how JSON comments are handled when loading JSON. + + + + + Ignore comments. + + + + + Load comments as a with type . + + + + + Specifies how line information is handled when loading JSON. + + + + + Ignore line information. + + + + + Load line information. + + + + + Contains the LINQ to JSON extension methods. + + + + + Returns a collection of tokens that contains the ancestors of every token in the source collection. + + The type of the objects in source, constrained to . + An of that contains the source collection. + An of that contains the ancestors of every token in the source collection. + + + + Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. + + The type of the objects in source, constrained to . + An of that contains the source collection. + An of that contains every token in the source collection, the ancestors of every token in the source collection. + + + + Returns a collection of tokens that contains the descendants of every token in the source collection. + + The type of the objects in source, constrained to . + An of that contains the source collection. + An of that contains the descendants of every token in the source collection. + + + + Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. + + The type of the objects in source, constrained to . + An of that contains the source collection. + An of that contains every token in the source collection, and the descendants of every token in the source collection. + + + + Returns a collection of child properties of every object in the source collection. + + An of that contains the source collection. + An of that contains the properties of every object in the source collection. + + + + Returns a collection of child values of every object in the source collection with the given key. + + An of that contains the source collection. + The token key. + An of that contains the values of every token in the source collection with the given key. + + + + Returns a collection of child values of every object in the source collection. + + An of that contains the source collection. + An of that contains the values of every token in the source collection. + + + + Returns a collection of converted child values of every object in the source collection with the given key. + + The type to convert the values to. + An of that contains the source collection. + The token key. + An that contains the converted values of every token in the source collection with the given key. + + + + Returns a collection of converted child values of every object in the source collection. + + The type to convert the values to. + An of that contains the source collection. + An that contains the converted values of every token in the source collection. + + + + Converts the value. + + The type to convert the value to. + A cast as a of . + A converted value. + + + + Converts the value. + + The source collection type. + The type to convert the value to. + A cast as a of . + A converted value. + + + + Returns a collection of child tokens of every array in the source collection. + + The source collection type. + An of that contains the source collection. + An of that contains the values of every token in the source collection. + + + + Returns a collection of converted child tokens of every array in the source collection. + + An of that contains the source collection. + The type to convert the values to. + The source collection type. + An that contains the converted values of every token in the source collection. + + + + Returns the input typed as . + + An of that contains the source collection. + The input typed as . + + + + Returns the input typed as . + + The source collection type. + An of that contains the source collection. + The input typed as . + + + + Represents a collection of objects. + + The type of token. + + + + Gets the of with the specified key. + + + + + + Represents a JSON array. + + + + + + + + Writes this token to a asynchronously. + + A into which this method will write. + The token to monitor for cancellation requests. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + A representing the asynchronous load. The property contains the JSON that was read from the specified . + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + A representing the asynchronous load. The property contains the JSON that was read from the specified . + + + + Gets the container's children tokens. + + The container's children tokens. + + + + Gets the node type for this . + + The type. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Initializes a new instance of the class with the specified content. + + The contents of the array. + + + + Initializes a new instance of the class with the specified content. + + The contents of the array. + + + + Loads an from a . + + A that will be read for the content of the . + A that contains the JSON that was read from the specified . + + + + Loads an from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + A that contains the JSON that was read from the specified . + + + + Load a from a string that contains JSON. + + A that contains JSON. + A populated from the string that contains JSON. + + + + + + + Load a from a string that contains JSON. + + A that contains JSON. + The used to load the JSON. + If this is null, default load settings will be used. + A populated from the string that contains JSON. + + + + + + + Creates a from an object. + + The object that will be used to create . + A with the values of the specified object. + + + + Creates a from an object. + + The object that will be used to create . + The that will be used to read the object. + A with the values of the specified object. + + + + Writes this token to a . + + A into which this method will write. + A collection of which will be used when writing the token. + + + + Gets the with the specified key. + + The with the specified key. + + + + Gets or sets the at the specified index. + + + + + + Determines the index of a specific item in the . + + The object to locate in the . + + The index of if found in the list; otherwise, -1. + + + + + Inserts an item to the at the specified index. + + The zero-based index at which should be inserted. + The object to insert into the . + + is not a valid index in the . + + + + + Removes the item at the specified index. + + The zero-based index of the item to remove. + + is not a valid index in the . + + + + + Returns an enumerator that iterates through the collection. + + + A of that can be used to iterate through the collection. + + + + + Adds an item to the . + + The object to add to the . + + + + Removes all items from the . + + + + + Determines whether the contains a specific value. + + The object to locate in the . + + true if is found in the ; otherwise, false. + + + + + Copies the elements of the to an array, starting at a particular array index. + + The array. + Index of the array. + + + + Gets a value indicating whether the is read-only. + + true if the is read-only; otherwise, false. + + + + Removes the first occurrence of a specific object from the . + + The object to remove from the . + + true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . + + + + + Represents a JSON constructor. + + + + + Writes this token to a asynchronously. + + A into which this method will write. + The token to monitor for cancellation requests. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous load. The + property returns a that contains the JSON that was read from the specified . + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous load. The + property returns a that contains the JSON that was read from the specified . + + + + Gets the container's children tokens. + + The container's children tokens. + + + + Gets or sets the name of this constructor. + + The constructor name. + + + + Gets the node type for this . + + The type. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Initializes a new instance of the class with the specified name and content. + + The constructor name. + The contents of the constructor. + + + + Initializes a new instance of the class with the specified name and content. + + The constructor name. + The contents of the constructor. + + + + Initializes a new instance of the class with the specified name. + + The constructor name. + + + + Writes this token to a . + + A into which this method will write. + A collection of which will be used when writing the token. + + + + Gets the with the specified key. + + The with the specified key. + + + + Loads a from a . + + A that will be read for the content of the . + A that contains the JSON that was read from the specified . + + + + Loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + A that contains the JSON that was read from the specified . + + + + Represents a token that can contain other tokens. + + + + + Occurs when the list changes or an item in the list changes. + + + + + Occurs before an item is added to the collection. + + + + + Occurs when the items list of the collection has changed, or the collection is reset. + + + + + Gets the container's children tokens. + + The container's children tokens. + + + + Raises the event. + + The instance containing the event data. + + + + Raises the event. + + The instance containing the event data. + + + + Raises the event. + + The instance containing the event data. + + + + Gets a value indicating whether this token has child tokens. + + + true if this token has child values; otherwise, false. + + + + + Get the first child token of this token. + + + A containing the first child token of the . + + + + + Get the last child token of this token. + + + A containing the last child token of the . + + + + + Returns a collection of the child tokens of this token, in document order. + + + An of containing the child tokens of this , in document order. + + + + + Returns a collection of the child values of this token, in document order. + + The type to convert the values to. + + A containing the child values of this , in document order. + + + + + Returns a collection of the descendant tokens for this token in document order. + + An of containing the descendant tokens of the . + + + + Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. + + An of containing this token, and all the descendant tokens of the . + + + + Adds the specified content as children of this . + + The content to be added. + + + + Adds the specified content as the first children of this . + + The content to be added. + + + + Creates a that can be used to add tokens to the . + + A that is ready to have content written to it. + + + + Replaces the child nodes of this token with the specified content. + + The content. + + + + Removes the child nodes from this token. + + + + + Merge the specified content into this . + + The content to be merged. + + + + Merge the specified content into this using . + + The content to be merged. + The used to merge the content. + + + + Gets the count of child JSON tokens. + + The count of child JSON tokens. + + + + Represents a collection of objects. + + The type of token. + + + + An empty collection of objects. + + + + + Initializes a new instance of the struct. + + The enumerable. + + + + Returns an enumerator that can be used to iterate through the collection. + + + A that can be used to iterate through the collection. + + + + + Gets the of with the specified key. + + + + + + Determines whether the specified is equal to this instance. + + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + + + + + Determines whether the specified is equal to this instance. + + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + + + + + Returns a hash code for this instance. + + + A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. + + + + + Represents a JSON object. + + + + + + + + Writes this token to a asynchronously. + + A into which this method will write. + The token to monitor for cancellation requests. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous load. The + property returns a that contains the JSON that was read from the specified . + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous load. The + property returns a that contains the JSON that was read from the specified . + + + + Gets the container's children tokens. + + The container's children tokens. + + + + Occurs when a property value changes. + + + + + Occurs when a property value is changing. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Initializes a new instance of the class with the specified content. + + The contents of the object. + + + + Initializes a new instance of the class with the specified content. + + The contents of the object. + + + + Gets the node type for this . + + The type. + + + + Gets an of of this object's properties. + + An of of this object's properties. + + + + Gets a the specified name. + + The property name. + A with the specified name or null. + + + + Gets a of of this object's property values. + + A of of this object's property values. + + + + Gets the with the specified key. + + The with the specified key. + + + + Gets or sets the with the specified property name. + + + + + + Loads a from a . + + A that will be read for the content of the . + A that contains the JSON that was read from the specified . + + is not valid JSON. + + + + + Loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + A that contains the JSON that was read from the specified . + + is not valid JSON. + + + + + Load a from a string that contains JSON. + + A that contains JSON. + A populated from the string that contains JSON. + + is not valid JSON. + + + + + + + + Load a from a string that contains JSON. + + A that contains JSON. + The used to load the JSON. + If this is null, default load settings will be used. + A populated from the string that contains JSON. + + is not valid JSON. + + + + + + + + Creates a from an object. + + The object that will be used to create . + A with the values of the specified object. + + + + Creates a from an object. + + The object that will be used to create . + The that will be used to read the object. + A with the values of the specified object. + + + + Writes this token to a . + + A into which this method will write. + A collection of which will be used when writing the token. + + + + Gets the with the specified property name. + + Name of the property. + The with the specified property name. + + + + Gets the with the specified property name. + The exact property name will be searched for first and if no matching property is found then + the will be used to match a property. + + Name of the property. + One of the enumeration values that specifies how the strings will be compared. + The with the specified property name. + + + + Tries to get the with the specified property name. + The exact property name will be searched for first and if no matching property is found then + the will be used to match a property. + + Name of the property. + The value. + One of the enumeration values that specifies how the strings will be compared. + true if a value was successfully retrieved; otherwise, false. + + + + Adds the specified property name. + + Name of the property. + The value. + + + + Removes the property with the specified name. + + Name of the property. + true if item was successfully removed; otherwise, false. + + + + Tries to get the with the specified property name. + + Name of the property. + The value. + true if a value was successfully retrieved; otherwise, false. + + + + Returns an enumerator that can be used to iterate through the collection. + + + A that can be used to iterate through the collection. + + + + + Raises the event with the provided arguments. + + Name of the property. + + + + Raises the event with the provided arguments. + + Name of the property. + + + + Returns the responsible for binding operations performed on this object. + + The expression tree representation of the runtime value. + + The to bind this object. + + + + + Represents a JSON property. + + + + + Writes this token to a asynchronously. + + A into which this method will write. + The token to monitor for cancellation requests. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The token to monitor for cancellation requests. The default value is . + A representing the asynchronous creation. The + property returns a that contains the JSON that was read from the specified . + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + A representing the asynchronous creation. The + property returns a that contains the JSON that was read from the specified . + + + + Gets the container's children tokens. + + The container's children tokens. + + + + Gets the property name. + + The property name. + + + + Gets or sets the property value. + + The property value. + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Gets the node type for this . + + The type. + + + + Initializes a new instance of the class. + + The property name. + The property content. + + + + Initializes a new instance of the class. + + The property name. + The property content. + + + + Writes this token to a . + + A into which this method will write. + A collection of which will be used when writing the token. + + + + Loads a from a . + + A that will be read for the content of the . + A that contains the JSON that was read from the specified . + + + + Loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + A that contains the JSON that was read from the specified . + + + + Represents a raw JSON string. + + + + + Asynchronously creates an instance of with the content of the reader's current token. + + The reader. + The token to monitor for cancellation requests. The default value is . + A representing the asynchronous creation. The + property returns an instance of with the content of the reader's current token. + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Initializes a new instance of the class. + + The raw json. + + + + Creates an instance of with the content of the reader's current token. + + The reader. + An instance of with the content of the reader's current token. + + + + Specifies the settings used when merging JSON. + + + + + Gets or sets the method used when merging JSON arrays. + + The method used when merging JSON arrays. + + + + Gets or sets how null value properties are merged. + + How null value properties are merged. + + + + Represents a view of a . + + + + + Initializes a new instance of the class. + + The name. + + + + When overridden in a derived class, returns whether resetting an object changes its value. + + + true if resetting the component changes its value; otherwise, false. + + The component to test for reset capability. + + + + When overridden in a derived class, gets the current value of the property on a component. + + + The value of a property for a given component. + + The component with the property for which to retrieve the value. + + + + When overridden in a derived class, resets the value for this property of the component to the default value. + + The component with the property value that is to be reset to the default value. + + + + When overridden in a derived class, sets the value of the component to a different value. + + The component with the property value that is to be set. + The new value. + + + + When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted. + + + true if the property should be persisted; otherwise, false. + + The component with the property to be examined for persistence. + + + + When overridden in a derived class, gets the type of the component this property is bound to. + + + A that represents the type of component this property is bound to. + When the or + + methods are invoked, the object specified might be an instance of this type. + + + + + When overridden in a derived class, gets a value indicating whether this property is read-only. + + + true if the property is read-only; otherwise, false. + + + + + When overridden in a derived class, gets the type of the property. + + + A that represents the type of the property. + + + + + Gets the hash code for the name of the member. + + + + The hash code for the name of the member. + + + + + Represents an abstract JSON token. + + + + + Writes this token to a asynchronously. + + A into which this method will write. + The token to monitor for cancellation requests. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Writes this token to a asynchronously. + + A into which this method will write. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Asynchronously creates a from a . + + An positioned at the token to read into this . + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous creation. The + property returns a that contains + the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Asynchronously creates a from a . + + An positioned at the token to read into this . + The used to load the JSON. + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous creation. The + property returns a that contains + the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Asynchronously creates a from a . + + A positioned at the token to read into this . + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous creation. The + property returns a that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Asynchronously creates a from a . + + A positioned at the token to read into this . + The used to load the JSON. + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous creation. The + property returns a that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Gets a comparer that can compare two tokens for value equality. + + A that can compare two nodes for value equality. + + + + Gets or sets the parent. + + The parent. + + + + Gets the root of this . + + The root of this . + + + + Gets the node type for this . + + The type. + + + + Gets a value indicating whether this token has child tokens. + + + true if this token has child values; otherwise, false. + + + + + Compares the values of two tokens, including the values of all descendant tokens. + + The first to compare. + The second to compare. + true if the tokens are equal; otherwise false. + + + + Gets the next sibling token of this node. + + The that contains the next sibling token. + + + + Gets the previous sibling token of this node. + + The that contains the previous sibling token. + + + + Gets the path of the JSON token. + + + + + Adds the specified content immediately after this token. + + A content object that contains simple content or a collection of content objects to be added after this token. + + + + Adds the specified content immediately before this token. + + A content object that contains simple content or a collection of content objects to be added before this token. + + + + Returns a collection of the ancestor tokens of this token. + + A collection of the ancestor tokens of this token. + + + + Returns a collection of tokens that contain this token, and the ancestors of this token. + + A collection of tokens that contain this token, and the ancestors of this token. + + + + Returns a collection of the sibling tokens after this token, in document order. + + A collection of the sibling tokens after this tokens, in document order. + + + + Returns a collection of the sibling tokens before this token, in document order. + + A collection of the sibling tokens before this token, in document order. + + + + Gets the with the specified key. + + The with the specified key. + + + + Gets the with the specified key converted to the specified type. + + The type to convert the token to. + The token key. + The converted token value. + + + + Get the first child token of this token. + + A containing the first child token of the . + + + + Get the last child token of this token. + + A containing the last child token of the . + + + + Returns a collection of the child tokens of this token, in document order. + + An of containing the child tokens of this , in document order. + + + + Returns a collection of the child tokens of this token, in document order, filtered by the specified type. + + The type to filter the child tokens on. + A containing the child tokens of this , in document order. + + + + Returns a collection of the child values of this token, in document order. + + The type to convert the values to. + A containing the child values of this , in document order. + + + + Removes this token from its parent. + + + + + Replaces this token with the specified token. + + The value. + + + + Writes this token to a . + + A into which this method will write. + A collection of which will be used when writing the token. + + + + Returns the indented JSON for this token. + + + The indented JSON for this token. + + + + + Returns the JSON for this token using the given formatting and converters. + + Indicates how the output should be formatted. + A collection of s which will be used when writing the token. + The JSON for this token using the given formatting and converters. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to []. + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from [] to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Creates a for this token. + + A that can be used to read this token and its descendants. + + + + Creates a from an object. + + The object that will be used to create . + A with the value of the specified object. + + + + Creates a from an object using the specified . + + The object that will be used to create . + The that will be used when reading the object. + A with the value of the specified object. + + + + Creates an instance of the specified .NET type from the . + + The object type that the token will be deserialized to. + The new object created from the JSON value. + + + + Creates an instance of the specified .NET type from the . + + The object type that the token will be deserialized to. + The new object created from the JSON value. + + + + Creates an instance of the specified .NET type from the using the specified . + + The object type that the token will be deserialized to. + The that will be used when creating the object. + The new object created from the JSON value. + + + + Creates an instance of the specified .NET type from the using the specified . + + The object type that the token will be deserialized to. + The that will be used when creating the object. + The new object created from the JSON value. + + + + Creates a from a . + + A positioned at the token to read into this . + + A that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Creates a from a . + + An positioned at the token to read into this . + The used to load the JSON. + If this is null, default load settings will be used. + + A that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Load a from a string that contains JSON. + + A that contains JSON. + A populated from the string that contains JSON. + + + + Load a from a string that contains JSON. + + A that contains JSON. + The used to load the JSON. + If this is null, default load settings will be used. + A populated from the string that contains JSON. + + + + Creates a from a . + + A positioned at the token to read into this . + The used to load the JSON. + If this is null, default load settings will be used. + + A that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Creates a from a . + + A positioned at the token to read into this . + + A that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Selects a using a JPath expression. Selects the token that matches the object path. + + + A that contains a JPath expression. + + A , or null. + + + + Selects a using a JPath expression. Selects the token that matches the object path. + + + A that contains a JPath expression. + + A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. + A . + + + + Selects a collection of elements using a JPath expression. + + + A that contains a JPath expression. + + An of that contains the selected elements. + + + + Selects a collection of elements using a JPath expression. + + + A that contains a JPath expression. + + A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. + An of that contains the selected elements. + + + + Returns the responsible for binding operations performed on this object. + + The expression tree representation of the runtime value. + + The to bind this object. + + + + + Returns the responsible for binding operations performed on this object. + + The expression tree representation of the runtime value. + + The to bind this object. + + + + + Creates a new instance of the . All child tokens are recursively cloned. + + A new instance of the . + + + + Adds an object to the annotation list of this . + + The annotation to add. + + + + Get the first annotation object of the specified type from this . + + The type of the annotation to retrieve. + The first annotation object that matches the specified type, or null if no annotation is of the specified type. + + + + Gets the first annotation object of the specified type from this . + + The of the annotation to retrieve. + The first annotation object that matches the specified type, or null if no annotation is of the specified type. + + + + Gets a collection of annotations of the specified type for this . + + The type of the annotations to retrieve. + An that contains the annotations for this . + + + + Gets a collection of annotations of the specified type for this . + + The of the annotations to retrieve. + An of that contains the annotations that match the specified type for this . + + + + Removes the annotations of the specified type from this . + + The type of annotations to remove. + + + + Removes the annotations of the specified type from this . + + The of annotations to remove. + + + + Compares tokens to determine whether they are equal. + + + + + Determines whether the specified objects are equal. + + The first object of type to compare. + The second object of type to compare. + + true if the specified objects are equal; otherwise, false. + + + + + Returns a hash code for the specified object. + + The for which a hash code is to be returned. + A hash code for the specified object. + The type of is a reference type and is null. + + + + Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. + + + + + Gets the at the reader's current position. + + + + + Initializes a new instance of the class. + + The token to read from. + + + + Reads the next JSON token from the underlying . + + + true if the next token was read successfully; false if there are no more tokens to read. + + + + + Gets the path of the current JSON token. + + + + + Specifies the type of token. + + + + + No token type has been set. + + + + + A JSON object. + + + + + A JSON array. + + + + + A JSON constructor. + + + + + A JSON object property. + + + + + A comment. + + + + + An integer value. + + + + + A float value. + + + + + A string value. + + + + + A boolean value. + + + + + A null value. + + + + + An undefined value. + + + + + A date value. + + + + + A raw JSON value. + + + + + A collection of bytes value. + + + + + A Guid value. + + + + + A Uri value. + + + + + A TimeSpan value. + + + + + Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. + + + + + Gets the at the writer's current position. + + + + + Gets the token being written. + + The token being written. + + + + Initializes a new instance of the class writing to the given . + + The container being written to. + + + + Initializes a new instance of the class. + + + + + Flushes whatever is in the buffer to the underlying . + + + + + Closes this writer. + If is set to true, the JSON is auto-completed. + + + Setting to true has no additional effect, since the underlying is a type that cannot be closed. + + + + + Writes the beginning of a JSON object. + + + + + Writes the beginning of a JSON array. + + + + + Writes the start of a constructor with the given name. + + The name of the constructor. + + + + Writes the end. + + The token. + + + + Writes the property name of a name/value pair on a JSON object. + + The name of the property. + + + + Writes a value. + An error will be raised if the value cannot be written as a single JSON token. + + The value to write. + + + + Writes a null value. + + + + + Writes an undefined value. + + + + + Writes raw JSON. + + The raw JSON to write. + + + + Writes a comment /*...*/ containing the specified text. + + Text to place inside the comment. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a [] value. + + The [] value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Represents a value in JSON (string, integer, date, etc). + + + + + Writes this token to a asynchronously. + + A into which this method will write. + The token to monitor for cancellation requests. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Gets a value indicating whether this token has child tokens. + + + true if this token has child values; otherwise, false. + + + + + Creates a comment with the given value. + + The value. + A comment with the given value. + + + + Creates a string with the given value. + + The value. + A string with the given value. + + + + Creates a null value. + + A null value. + + + + Creates a undefined value. + + A undefined value. + + + + Gets the node type for this . + + The type. + + + + Gets or sets the underlying token value. + + The underlying token value. + + + + Writes this token to a . + + A into which this method will write. + A collection of s which will be used when writing the token. + + + + Indicates whether the current object is equal to another object of the same type. + + + true if the current object is equal to the parameter; otherwise, false. + + An object to compare with this object. + + + + Determines whether the specified is equal to the current . + + The to compare with the current . + + true if the specified is equal to the current ; otherwise, false. + + + + + Serves as a hash function for a particular type. + + + A hash code for the current . + + + + + Returns a that represents this instance. + + + A that represents this instance. + + + + + Returns a that represents this instance. + + The format. + + A that represents this instance. + + + + + Returns a that represents this instance. + + The format provider. + + A that represents this instance. + + + + + Returns a that represents this instance. + + The format. + The format provider. + + A that represents this instance. + + + + + Returns the responsible for binding operations performed on this object. + + The expression tree representation of the runtime value. + + The to bind this object. + + + + + Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. + + An object to compare with this instance. + + A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: + Value + Meaning + Less than zero + This instance is less than . + Zero + This instance is equal to . + Greater than zero + This instance is greater than . + + + is not of the same type as this instance. + + + + + Specifies the settings used when loading JSON. + + + + + Initializes a new instance of the class. + + + + + Gets or sets how JSON comments are handled when loading JSON. + + The JSON comment handling. + + + + Gets or sets how JSON line info is handled when loading JSON. + + The JSON line info handling. + + + + Specifies how JSON arrays are merged together. + + + + Concatenate arrays. + + + Union arrays, skipping items that already exist. + + + Replace all array items. + + + Merge array items together, matched by index. + + + + Specifies how null value properties are merged. + + + + + The content's null value properties will be ignored during merging. + + + + + The content's null value properties will be merged. + + + + + Specifies the member serialization options for the . + + + + + All public members are serialized by default. Members can be excluded using or . + This is the default member serialization mode. + + + + + Only members marked with or are serialized. + This member serialization mode can also be set by marking the class with . + + + + + All public and private fields are serialized. Members can be excluded using or . + This member serialization mode can also be set by marking the class with + and setting IgnoreSerializableAttribute on to false. + + + + + Specifies metadata property handling options for the . + + + + + Read metadata properties located at the start of a JSON object. + + + + + Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. + + + + + Do not try to read metadata properties. + + + + + Specifies missing member handling options for the . + + + + + Ignore a missing member and do not attempt to deserialize it. + + + + + Throw a when a missing member is encountered during deserialization. + + + + + Specifies null value handling options for the . + + + + + + + + + Include null values when serializing and deserializing objects. + + + + + Ignore null values when serializing and deserializing objects. + + + + + Specifies how object creation is handled by the . + + + + + Reuse existing objects, create new objects when needed. + + + + + Only reuse existing objects. + + + + + Always create new objects. + + + + + Specifies reference handling options for the . + Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement . + + + + + + + + Do not preserve references when serializing types. + + + + + Preserve references when serializing into a JSON object structure. + + + + + Preserve references when serializing into a JSON array structure. + + + + + Preserve references when serializing. + + + + + Specifies reference loop handling options for the . + + + + + Throw a when a loop is encountered. + + + + + Ignore loop references and do not serialize. + + + + + Serialize loop references. + + + + + Indicating whether a property is required. + + + + + The property is not required. The default state. + + + + + The property must be defined in JSON but can be a null value. + + + + + The property must be defined in JSON and cannot be a null value. + + + + + The property is not required but it cannot be a null value. + + + + + + Contains the JSON schema extension methods. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + + Determines whether the is valid. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + The source to test. + The schema to test with. + + true if the specified is valid; otherwise, false. + + + + + + Determines whether the is valid. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + The source to test. + The schema to test with. + When this method returns, contains any error messages generated while validating. + + true if the specified is valid; otherwise, false. + + + + + + Validates the specified . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + The source to test. + The schema to test with. + + + + + Validates the specified . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + The source to test. + The schema to test with. + The validation event handler. + + + + + An in-memory representation of a JSON Schema. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets or sets the id. + + + + + Gets or sets the title. + + + + + Gets or sets whether the object is required. + + + + + Gets or sets whether the object is read-only. + + + + + Gets or sets whether the object is visible to users. + + + + + Gets or sets whether the object is transient. + + + + + Gets or sets the description of the object. + + + + + Gets or sets the types of values allowed by the object. + + The type. + + + + Gets or sets the pattern. + + The pattern. + + + + Gets or sets the minimum length. + + The minimum length. + + + + Gets or sets the maximum length. + + The maximum length. + + + + Gets or sets a number that the value should be divisible by. + + A number that the value should be divisible by. + + + + Gets or sets the minimum. + + The minimum. + + + + Gets or sets the maximum. + + The maximum. + + + + Gets or sets a flag indicating whether the value can not equal the number defined by the minimum attribute (). + + A flag indicating whether the value can not equal the number defined by the minimum attribute (). + + + + Gets or sets a flag indicating whether the value can not equal the number defined by the maximum attribute (). + + A flag indicating whether the value can not equal the number defined by the maximum attribute (). + + + + Gets or sets the minimum number of items. + + The minimum number of items. + + + + Gets or sets the maximum number of items. + + The maximum number of items. + + + + Gets or sets the of items. + + The of items. + + + + Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . + + + true if items are validated using their array position; otherwise, false. + + + + + Gets or sets the of additional items. + + The of additional items. + + + + Gets or sets a value indicating whether additional items are allowed. + + + true if additional items are allowed; otherwise, false. + + + + + Gets or sets whether the array items must be unique. + + + + + Gets or sets the of properties. + + The of properties. + + + + Gets or sets the of additional properties. + + The of additional properties. + + + + Gets or sets the pattern properties. + + The pattern properties. + + + + Gets or sets a value indicating whether additional properties are allowed. + + + true if additional properties are allowed; otherwise, false. + + + + + Gets or sets the required property if this property is present. + + The required property if this property is present. + + + + Gets or sets the a collection of valid enum values allowed. + + A collection of valid enum values allowed. + + + + Gets or sets disallowed types. + + The disallowed types. + + + + Gets or sets the default value. + + The default value. + + + + Gets or sets the collection of that this schema extends. + + The collection of that this schema extends. + + + + Gets or sets the format. + + The format. + + + + Initializes a new instance of the class. + + + + + Reads a from the specified . + + The containing the JSON Schema to read. + The object representing the JSON Schema. + + + + Reads a from the specified . + + The containing the JSON Schema to read. + The to use when resolving schema references. + The object representing the JSON Schema. + + + + Load a from a string that contains JSON Schema. + + A that contains JSON Schema. + A populated from the string that contains JSON Schema. + + + + Load a from a string that contains JSON Schema using the specified . + + A that contains JSON Schema. + The resolver. + A populated from the string that contains JSON Schema. + + + + Writes this schema to a . + + A into which this method will write. + + + + Writes this schema to a using the specified . + + A into which this method will write. + The resolver used. + + + + Returns a that represents the current . + + + A that represents the current . + + + + + + Returns detailed information about the schema exception. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets the line number indicating where the error occurred. + + The line number indicating where the error occurred. + + + + Gets the line position indicating where the error occurred. + + The line position indicating where the error occurred. + + + + Gets the path to the JSON where the error occurred. + + The path to the JSON where the error occurred. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class + with a specified error message. + + The error message that explains the reason for the exception. + + + + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Initializes a new instance of the class. + + The that holds the serialized object data about the exception being thrown. + The that contains contextual information about the source or destination. + The parameter is null. + The class name is null or is zero (0). + + + + + Generates a from a specified . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets or sets how undefined schemas are handled by the serializer. + + + + + Gets or sets the contract resolver. + + The contract resolver. + + + + Generate a from the specified type. + + The type to generate a from. + A generated from the specified type. + + + + Generate a from the specified type. + + The type to generate a from. + The used to resolve schema references. + A generated from the specified type. + + + + Generate a from the specified type. + + The type to generate a from. + Specify whether the generated root will be nullable. + A generated from the specified type. + + + + Generate a from the specified type. + + The type to generate a from. + The used to resolve schema references. + Specify whether the generated root will be nullable. + A generated from the specified type. + + + + + Resolves from an id. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets or sets the loaded schemas. + + The loaded schemas. + + + + Initializes a new instance of the class. + + + + + Gets a for the specified reference. + + The id. + A for the specified reference. + + + + + The value types allowed by the . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + No type specified. + + + + + String type. + + + + + Float type. + + + + + Integer type. + + + + + Boolean type. + + + + + Object type. + + + + + Array type. + + + + + Null type. + + + + + Any type. + + + + + + Specifies undefined schema Id handling options for the . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Do not infer a schema Id. + + + + + Use the .NET type name as the schema Id. + + + + + Use the assembly qualified .NET type name as the schema Id. + + + + + + Returns detailed information related to the . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets the associated with the validation error. + + The JsonSchemaException associated with the validation error. + + + + Gets the path of the JSON location where the validation error occurred. + + The path of the JSON location where the validation error occurred. + + + + Gets the text description corresponding to the validation error. + + The text description. + + + + + Represents the callback method that will handle JSON schema validation events and the . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Allows users to control class loading and mandate what class to load. + + + + + When implemented, controls the binding of a serialized object to a type. + + Specifies the name of the serialized object. + Specifies the name of the serialized object + The type of the object the formatter creates a new instance of. + + + + When implemented, controls the binding of a serialized object to a type. + + The type of the object the formatter creates a new instance of. + Specifies the name of the serialized object. + Specifies the name of the serialized object. + + + + A snake case naming strategy. + + + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + A flag indicating whether extension data names should be processed. + + + + + Initializes a new instance of the class. + + + + + Resolves the specified property name. + + The property name to resolve. + The resolved property name. + + + + A camel case naming strategy. + + + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + A flag indicating whether extension data names should be processed. + + + + + Initializes a new instance of the class. + + + + + Resolves the specified property name. + + The property name to resolve. + The resolved property name. + + + + Resolves member mappings for a type, camel casing property names. + + + + + Initializes a new instance of the class. + + + + + Resolves the contract for a given type. + + The type to resolve a contract for. + The contract for a given type. + + + + Used by to resolve a for a given . + + + + + Gets a value indicating whether members are being get and set using dynamic code generation. + This value is determined by the runtime permissions available. + + + true if using dynamic code generation; otherwise, false. + + + + + Gets or sets the default members search flags. + + The default members search flags. + + + + Gets or sets a value indicating whether compiler generated members should be serialized. + + + true if serialized compiler generated members; otherwise, false. + + + + + Gets or sets a value indicating whether to ignore the interface when serializing and deserializing types. + + + true if the interface will be ignored when serializing and deserializing types; otherwise, false. + + + + + Gets or sets a value indicating whether to ignore the attribute when serializing and deserializing types. + + + true if the attribute will be ignored when serializing and deserializing types; otherwise, false. + + + + + Gets or sets the naming strategy used to resolve how property names and dictionary keys are serialized. + + The naming strategy used to resolve how property names and dictionary keys are serialized. + + + + Initializes a new instance of the class. + + + + + Resolves the contract for a given type. + + The type to resolve a contract for. + The contract for a given type. + + + + Gets the serializable members for the type. + + The type to get serializable members for. + The serializable members for the type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates the constructor parameters. + + The constructor to create properties for. + The type's member properties. + Properties for the given . + + + + Creates a for the given . + + The matching member property. + The constructor parameter. + A created for the given . + + + + Resolves the default for the contract. + + Type of the object. + The contract's default . + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Determines which contract type is created for the given type. + + Type of the object. + A for the given type. + + + + Creates properties for the given . + + The type to create properties for. + /// The member serialization mode for the type. + Properties for the given . + + + + Creates the used by the serializer to get and set values from a member. + + The member. + The used by the serializer to get and set values from a member. + + + + Creates a for the given . + + The member's parent . + The member to create a for. + A created for the given . + + + + Resolves the name of the property. + + Name of the property. + Resolved name of the property. + + + + Resolves the name of the extension data. By default no changes are made to extension data names. + + Name of the extension data. + Resolved name of the extension data. + + + + Resolves the key of the dictionary. By default is used to resolve dictionary keys. + + Key of the dictionary. + Resolved key of the dictionary. + + + + Gets the resolved name of the property. + + Name of the property. + Name of the property. + + + + The default naming strategy. Property names and dictionary keys are unchanged. + + + + + Resolves the specified property name. + + The property name to resolve. + The resolved property name. + + + + The default serialization binder used when resolving and loading classes from type names. + + + + + Initializes a new instance of the class. + + + + + When overridden in a derived class, controls the binding of a serialized object to a type. + + Specifies the name of the serialized object. + Specifies the name of the serialized object. + + The type of the object the formatter creates a new instance of. + + + + + When overridden in a derived class, controls the binding of a serialized object to a type. + + The type of the object the formatter creates a new instance of. + Specifies the name of the serialized object. + Specifies the name of the serialized object. + + + + Represents a trace writer that writes to the application's instances. + + + + + Gets the that will be used to filter the trace messages passed to the writer. + For example a filter level of will exclude messages and include , + and messages. + + + The that will be used to filter the trace messages passed to the writer. + + + + + Writes the specified trace level, message and optional exception. + + The at which to write this trace. + The trace message. + The trace exception. This parameter is optional. + + + + Get and set values for a using dynamic methods. + + + + + Initializes a new instance of the class. + + The member info. + + + + Sets the value. + + The target to set the value on. + The value to set on the target. + + + + Gets the value. + + The target to get the value from. + The value. + + + + Provides information surrounding an error. + + + + + Gets the error. + + The error. + + + + Gets the original object that caused the error. + + The original object that caused the error. + + + + Gets the member that caused the error. + + The member that caused the error. + + + + Gets the path of the JSON location where the error occurred. + + The path of the JSON location where the error occurred. + + + + Gets or sets a value indicating whether this is handled. + + true if handled; otherwise, false. + + + + Provides data for the Error event. + + + + + Gets the current object the error event is being raised against. + + The current object the error event is being raised against. + + + + Gets the error context. + + The error context. + + + + Initializes a new instance of the class. + + The current object. + The error context. + + + + Get and set values for a using dynamic methods. + + + + + Initializes a new instance of the class. + + The member info. + + + + Sets the value. + + The target to set the value on. + The value to set on the target. + + + + Gets the value. + + The target to get the value from. + The value. + + + + Provides methods to get attributes. + + + + + Returns a collection of all of the attributes, or an empty collection if there are no attributes. + + When true, look up the hierarchy chain for the inherited custom attribute. + A collection of s, or an empty collection. + + + + Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. + + The type of the attributes. + When true, look up the hierarchy chain for the inherited custom attribute. + A collection of s, or an empty collection. + + + + Used by to resolve a for a given . + + + + + + + + + Resolves the contract for a given type. + + The type to resolve a contract for. + The contract for a given type. + + + + A base class for resolving how property names and dictionary keys are serialized. + + + + + A flag indicating whether dictionary keys should be processed. + Defaults to false. + + + + + A flag indicating whether extension data names should be processed. + Defaults to false. + + + + + A flag indicating whether explicitly specified property names, + e.g. a property name customized with a , should be processed. + Defaults to false. + + + + + Gets the serialized name for a given property name. + + The initial property name. + A flag indicating whether the property has had a name explicitly specified. + The serialized property name. + + + + Gets the serialized name for a given extension data name. + + The initial extension data name. + The serialized extension data name. + + + + Gets the serialized key for a given dictionary key. + + The initial dictionary key. + The serialized dictionary key. + + + + Resolves the specified property name. + + The property name to resolve. + The resolved property name. + + + + Used to resolve references when serializing and deserializing JSON by the . + + + + + Resolves a reference to its object. + + The serialization context. + The reference to resolve. + The object that was resolved from the reference. + + + + Gets the reference for the specified object. + + The serialization context. + The object to get a reference for. + The reference to the object. + + + + Determines whether the specified object is referenced. + + The serialization context. + The object to test for a reference. + + true if the specified object is referenced; otherwise, false. + + + + + Adds a reference to the specified object. + + The serialization context. + The reference. + The object to reference. + + + + Represents a trace writer. + + + + + Gets the that will be used to filter the trace messages passed to the writer. + For example a filter level of will exclude messages and include , + and messages. + + The that will be used to filter the trace messages passed to the writer. + + + + Writes the specified trace level, message and optional exception. + + The at which to write this trace. + The trace message. + The trace exception. This parameter is optional. + + + + Provides methods to get and set values. + + + + + Sets the value. + + The target to set the value on. + The value to set on the target. + + + + Gets the value. + + The target to get the value from. + The value. + + + + Contract details for a used by the . + + + + + Gets the of the collection items. + + The of the collection items. + + + + Gets a value indicating whether the collection type is a multidimensional array. + + true if the collection type is a multidimensional array; otherwise, false. + + + + Gets or sets the function used to create the object. When set this function will override . + + The function used to create the object. + + + + Gets a value indicating whether the creator has a parameter with the collection values. + + true if the creator has a parameter with the collection values; otherwise, false. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Contract details for a used by the . + + + + + Gets or sets the default collection items . + + The converter. + + + + Gets or sets a value indicating whether the collection items preserve object references. + + true if collection items preserve object references; otherwise, false. + + + + Gets or sets the collection item reference loop handling. + + The reference loop handling. + + + + Gets or sets the collection item type name handling. + + The type name handling. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Handles serialization callback events. + + The object that raised the callback event. + The streaming context. + + + + Handles serialization error callback events. + + The object that raised the callback event. + The streaming context. + The error context. + + + + Sets extension data for an object during deserialization. + + The object to set extension data on. + The extension data key. + The extension data value. + + + + Gets extension data for an object during serialization. + + The object to set extension data on. + + + + Contract details for a used by the . + + + + + Gets the underlying type for the contract. + + The underlying type for the contract. + + + + Gets or sets the type created during deserialization. + + The type created during deserialization. + + + + Gets or sets whether this type contract is serialized as a reference. + + Whether this type contract is serialized as a reference. + + + + Gets or sets the default for this contract. + + The converter. + + + + Gets or sets all methods called immediately after deserialization of the object. + + The methods called immediately after deserialization of the object. + + + + Gets or sets all methods called during deserialization of the object. + + The methods called during deserialization of the object. + + + + Gets or sets all methods called after serialization of the object graph. + + The methods called after serialization of the object graph. + + + + Gets or sets all methods called before serialization of the object. + + The methods called before serialization of the object. + + + + Gets or sets all method called when an error is thrown during the serialization of the object. + + The methods called when an error is thrown during the serialization of the object. + + + + Gets or sets the default creator method used to create the object. + + The default creator method used to create the object. + + + + Gets or sets a value indicating whether the default creator is non-public. + + true if the default object creator is non-public; otherwise, false. + + + + Contract details for a used by the . + + + + + Gets or sets the dictionary key resolver. + + The dictionary key resolver. + + + + Gets the of the dictionary keys. + + The of the dictionary keys. + + + + Gets the of the dictionary values. + + The of the dictionary values. + + + + Gets or sets the function used to create the object. When set this function will override . + + The function used to create the object. + + + + Gets a value indicating whether the creator has a parameter with the dictionary values. + + true if the creator has a parameter with the dictionary values; otherwise, false. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Contract details for a used by the . + + + + + Gets the object's properties. + + The object's properties. + + + + Gets or sets the property name resolver. + + The property name resolver. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Contract details for a used by the . + + + + + Gets or sets the object constructor. + + The object constructor. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Contract details for a used by the . + + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Contract details for a used by the . + + + + + Gets or sets the object member serialization. + + The member object serialization. + + + + Gets or sets a value that indicates whether the object's properties are required. + + + A value indicating whether the object's properties are required. + + + + + Gets the object's properties. + + The object's properties. + + + + Gets a collection of instances that define the parameters used with . + + + + + Gets or sets the function used to create the object. When set this function will override . + This function is called with a collection of arguments which are defined by the collection. + + The function used to create the object. + + + + Gets or sets the extension data setter. + + + + + Gets or sets the extension data getter. + + + + + Gets or sets the extension data value type. + + + + + Gets or sets the extension data name resolver. + + The extension data name resolver. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Contract details for a used by the . + + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Maps a JSON property to a .NET member or constructor parameter. + + + + + Gets or sets the name of the property. + + The name of the property. + + + + Gets or sets the type that declared this property. + + The type that declared this property. + + + + Gets or sets the order of serialization of a member. + + The numeric order of serialization. + + + + Gets or sets the name of the underlying member or parameter. + + The name of the underlying member or parameter. + + + + Gets the that will get and set the during serialization. + + The that will get and set the during serialization. + + + + Gets or sets the for this property. + + The for this property. + + + + Gets or sets the type of the property. + + The type of the property. + + + + Gets or sets the for the property. + If set this converter takes precedence over the contract converter for the property type. + + The converter. + + + + Gets or sets the member converter. + + The member converter. + + + + Gets or sets a value indicating whether this is ignored. + + true if ignored; otherwise, false. + + + + Gets or sets a value indicating whether this is readable. + + true if readable; otherwise, false. + + + + Gets or sets a value indicating whether this is writable. + + true if writable; otherwise, false. + + + + Gets or sets a value indicating whether this has a member attribute. + + true if has a member attribute; otherwise, false. + + + + Gets the default value. + + The default value. + + + + Gets or sets a value indicating whether this is required. + + A value indicating whether this is required. + + + + Gets or sets a value indicating whether this property preserves object references. + + + true if this instance is reference; otherwise, false. + + + + + Gets or sets the property null value handling. + + The null value handling. + + + + Gets or sets the property default value handling. + + The default value handling. + + + + Gets or sets the property reference loop handling. + + The reference loop handling. + + + + Gets or sets the property object creation handling. + + The object creation handling. + + + + Gets or sets or sets the type name handling. + + The type name handling. + + + + Gets or sets a predicate used to determine whether the property should be serialized. + + A predicate used to determine whether the property should be serialized. + + + + Gets or sets a predicate used to determine whether the property should be deserialized. + + A predicate used to determine whether the property should be deserialized. + + + + Gets or sets a predicate used to determine whether the property should be serialized. + + A predicate used to determine whether the property should be serialized. + + + + Gets or sets an action used to set whether the property has been deserialized. + + An action used to set whether the property has been deserialized. + + + + Returns a that represents this instance. + + + A that represents this instance. + + + + + Gets or sets the converter used when serializing the property's collection items. + + The collection's items converter. + + + + Gets or sets whether this property's collection items are serialized as a reference. + + Whether this property's collection items are serialized as a reference. + + + + Gets or sets the type name handling used when serializing the property's collection items. + + The collection's items type name handling. + + + + Gets or sets the reference loop handling used when serializing the property's collection items. + + The collection's items reference loop handling. + + + + A collection of objects. + + + + + Initializes a new instance of the class. + + The type. + + + + When implemented in a derived class, extracts the key from the specified element. + + The element from which to extract the key. + The key for the specified element. + + + + Adds a object. + + The property to add to the collection. + + + + Gets the closest matching object. + First attempts to get an exact case match of and then + a case insensitive match. + + Name of the property. + A matching property if found. + + + + Gets a property by property name. + + The name of the property to get. + Type property name string comparison. + A matching property if found. + + + + Contract details for a used by the . + + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Lookup and create an instance of the type described by the argument. + + The type to create. + Optional arguments to pass to an initializing constructor of the JsonConverter. + If null, the default constructor is used. + + + + Represents a trace writer that writes to memory. When the trace message limit is + reached then old trace messages will be removed as new messages are added. + + + + + Gets the that will be used to filter the trace messages passed to the writer. + For example a filter level of will exclude messages and include , + and messages. + + + The that will be used to filter the trace messages passed to the writer. + + + + + Initializes a new instance of the class. + + + + + Writes the specified trace level, message and optional exception. + + The at which to write this trace. + The trace message. + The trace exception. This parameter is optional. + + + + Returns an enumeration of the most recent trace messages. + + An enumeration of the most recent trace messages. + + + + Returns a of the most recent trace messages. + + + A of the most recent trace messages. + + + + + Represents a method that constructs an object. + + The object type to create. + + + + When applied to a method, specifies that the method is called when an error occurs serializing an object. + + + + + Provides methods to get attributes from a , , or . + + + + + Initializes a new instance of the class. + + The instance to get attributes for. This parameter should be a , , or . + + + + Returns a collection of all of the attributes, or an empty collection if there are no attributes. + + When true, look up the hierarchy chain for the inherited custom attribute. + A collection of s, or an empty collection. + + + + Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. + + The type of the attributes. + When true, look up the hierarchy chain for the inherited custom attribute. + A collection of s, or an empty collection. + + + + Get and set values for a using reflection. + + + + + Initializes a new instance of the class. + + The member info. + + + + Sets the value. + + The target to set the value on. + The value to set on the target. + + + + Gets the value. + + The target to get the value from. + The value. + + + + Indicates the method that will be used during deserialization for locating and loading assemblies. + + + + + In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the LoadWithPartialName method of the class is used to load the assembly. + + + + + In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The Load method of the class is used to load the assembly. + + + + + Specifies how strings are escaped when writing JSON text. + + + + + Only control characters (e.g. newline) are escaped. + + + + + All non-ASCII and control characters (e.g. newline) are escaped. + + + + + HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. + + + + + Specifies type name handling options for the . + + + should be used with caution when your application deserializes JSON from an external source. + Incoming types should be validated with a custom + when deserializing with a value other than . + + + + + Do not include the .NET type name when serializing types. + + + + + Include the .NET type name when serializing into a JSON object structure. + + + + + Include the .NET type name when serializing into a JSON array structure. + + + + + Always include the .NET type name when serializing. + + + + + Include the .NET type name when the type of the object being serialized is not the same as its declared type. + Note that this doesn't include the root serialized object by default. To include the root object's type name in JSON + you must specify a root type object with + or . + + + + + Determines whether the collection is null or empty. + + The collection. + + true if the collection is null or empty; otherwise, false. + + + + + Adds the elements of the specified collection to the specified generic . + + The list to add to. + The collection of elements to add. + + + + Converts the value to the specified type. If the value is unable to be converted, the + value is checked whether it assignable to the specified type. + + The value to convert. + The culture to use when converting. + The type to convert or cast the value to. + + The converted type. If conversion was unsuccessful, the initial value + is returned if assignable to the target type. + + + + + Helper method for generating a MetaObject which calls a + specific method on Dynamic that returns a result + + + + + Helper method for generating a MetaObject which calls a + specific method on Dynamic, but uses one of the arguments for + the result. + + + + + Helper method for generating a MetaObject which calls a + specific method on Dynamic, but uses one of the arguments for + the result. + + + + + Returns a Restrictions object which includes our current restrictions merged + with a restriction limiting our type + + + + + Gets a dictionary of the names and values of an type. + + + + + + Gets a dictionary of the names and values of an Enum type. + + The enum type to get names and values for. + + + + + Gets the type of the typed collection's items. + + The type. + The type of the typed collection's items. + + + + Gets the member's underlying type. + + The member. + The underlying type of the member. + + + + Determines whether the member is an indexed property. + + The member. + + true if the member is an indexed property; otherwise, false. + + + + + Determines whether the property is an indexed property. + + The property. + + true if the property is an indexed property; otherwise, false. + + + + + Gets the member's value on the object. + + The member. + The target object. + The member's value on the object. + + + + Sets the member's value on the target object. + + The member. + The target. + The value. + + + + Determines whether the specified MemberInfo can be read. + + The MemberInfo to determine whether can be read. + /// if set to true then allow the member to be gotten non-publicly. + + true if the specified MemberInfo can be read; otherwise, false. + + + + + Determines whether the specified MemberInfo can be set. + + The MemberInfo to determine whether can be set. + if set to true then allow the member to be set non-publicly. + if set to true then allow the member to be set if read-only. + + true if the specified MemberInfo can be set; otherwise, false. + + + + + Builds a string. Unlike this class lets you reuse its internal buffer. + + + + + Determines whether the string is all white space. Empty string will return false. + + The string to test whether it is all white space. + + true if the string is all white space; otherwise, false. + + + + + Specifies the state of the . + + + + + 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/BuechermarktClient/bin/Debug/RestSharp.xml b/BuechermarktClient/bin/Debug/RestSharp.xml new file mode 100644 index 0000000..16ca278 --- /dev/null +++ b/BuechermarktClient/bin/Debug/RestSharp.xml @@ -0,0 +1,3095 @@ + + + + RestSharp + + + + + JSON WEB TOKEN (JWT) Authenticator class. + https://tools.ietf.org/html/draft-ietf-oauth-json-web-token + + + + + Tries to Authenticate with the credentials of the currently logged in user, or impersonate a user + + + + + Authenticate with the credentials of the currently logged in user + + + + + Authenticate by impersonation + + + + + + + Authenticate by impersonation, using an existing ICredentials instance + + + + + + + + + Base class for OAuth 2 Authenticators. + + + Since there are many ways to authenticate in OAuth2, + this is used as a base class to differentiate between + other authenticators. + + Any other OAuth2 authenticators must derive from this + abstract class. + + + + + Access token to be used when authenticating. + + + + + Initializes a new instance of the class. + + + The access token. + + + + + Gets the access token. + + + + + The OAuth 2 authenticator using URI query parameter. + + + Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2 + + + + + Initializes a new instance of the class. + + + The access token. + + + + + The OAuth 2 authenticator using the authorization request header field. + + + Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1 + + + + + Stores the Authorization header value as "[tokenType] accessToken". used for performance. + + + + + Initializes a new instance of the class. + + + The access token. + + + + + Initializes a new instance of the class. + + + The access token. + + + The token type. + + + + + All text parameters are UTF-8 encoded (per section 5.1). + + + + + + Generates a random 16-byte lowercase alphanumeric string. + + + + + + + Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT" + + + + + + + Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT" + + + A specified point in time. + + + + + The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986. + + + + + + URL encodes a string based on section 5.1 of the OAuth spec. + Namely, percent encoding with [RFC3986], avoiding unreserved characters, + upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. + + The value to escape. + The escaped value. + + The method is supposed to take on + RFC 3986 behavior if certain elements are present in a .config file. Even if this + actually worked (which in my experiments it doesn't), we can't rely on every + host actually having this configuration element present. + + + + + + + URL encodes a string based on section 5.1 of the OAuth spec. + Namely, percent encoding with [RFC3986], avoiding unreserved characters, + upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. + + + + + + + Sorts a collection of key-value pairs by name, and then value if equal, + concatenating them into a single string. This string should be encoded + prior to, or after normalization is run. + + + + + + + + Sorts a by name, and then value if equal. + + A collection of parameters to sort + A sorted parameter collection + + + + Creates a request URL suitable for making OAuth requests. + Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively. + Resulting URLs must be lower case. + + + The original request URL + + + + + Creates a request elements concatentation value to send with a request. + This is also known as the signature base. + + + + The request's HTTP method type + The request URL + The request's parameters + A signature base string + + + + Creates a signature value given a signature base and the consumer secret. + This method is used when the token secret is currently unknown. + + + The hashing method + The signature base + The consumer key + + + + + Creates a signature value given a signature base and the consumer secret. + This method is used when the token secret is currently unknown. + + + The hashing method + The treatment to use on a signature value + The signature base + The consumer key + + + + + Creates a signature value given a signature base and the consumer secret and a known token secret. + + + The hashing method + The signature base + The consumer secret + The token secret + + + + + Creates a signature value given a signature base and the consumer secret and a known token secret. + + + The hashing method + The treatment to use on a signature value + The signature base + The consumer secret + The token secret + + + + + A class to encapsulate OAuth authentication flow. + + + + + + Generates a instance to pass to an + for the purpose of requesting an + unauthorized request token. + + The HTTP method for the intended request + + + + + + Generates a instance to pass to an + for the purpose of requesting an + unauthorized request token. + + The HTTP method for the intended request + Any existing, non-OAuth query parameters desired in the request + + + + + + Generates a instance to pass to an + for the purpose of exchanging a request token + for an access token authorized by the user at the Service Provider site. + + The HTTP method for the intended request + + + + + Generates a instance to pass to an + for the purpose of exchanging a request token + for an access token authorized by the user at the Service Provider site. + + The HTTP method for the intended request + + Any existing, non-OAuth query parameters desired in the request + + + + Generates a instance to pass to an + for the purpose of exchanging user credentials + for an access token authorized by the user at the Service Provider site. + + The HTTP method for the intended request + + Any existing, non-OAuth query parameters desired in the request + + + + + + + + + + + + + Allows control how class and property names and values are deserialized by XmlAttributeDeserializer + + + + + The name to use for the serialized element + + + + + Sets if the property to Deserialize is an Attribute or Element (Default: false) + + + + + Wrapper for System.Xml.Serialization.XmlSerializer. + + + + + Types of parameters that can be added to requests + + + + + Data formats + + + + + HTTP method to use when making requests + + + + + Format strings for commonly-used date formats + + + + + .NET format string for ISO 8601 date format + + + + + .NET format string for roundtrip date format + + + + + Status for responses (surprised?) + + + + + Extension method overload! + + + + + Save a byte array to a file + + Bytes to save + Full path to save file to + + + + Read a stream into a byte array + + Stream to read + byte[] + + + + Copies bytes from one stream to another + + The input stream. + The output stream. + + + + Converts a byte array to a string, using its byte order mark to convert it to the right encoding. + http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx + + An array of bytes to convert + The byte as a string. + + + + Decodes an HTML-encoded string and returns the decoded string. + + The HTML string to decode. + The decoded text. + + + + Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream. + + The HTML string to decode + The TextWriter output stream containing the decoded string. + + + + HTML-encodes a string and sends the resulting output to a TextWriter output stream. + + The string to encode. + The TextWriter output stream containing the encoded string. + + + + Reflection extensions + + + + + Retrieve an attribute from a member (property) + + Type of attribute to retrieve + Member to retrieve attribute from + + + + + Retrieve an attribute from a type + + Type of attribute to retrieve + Type to retrieve attribute from + + + + + Checks a type to see if it derives from a raw generic (e.g. List[[]]) + + + + + + + + Find a value from a System.Enum by trying several possible variants + of the string value of the enum. + + Type of enum + Value for which to search + The culture used to calculate the name variants + + + + + Convert a to a instance. + + The response status. + + responseStatus + + + + Uses Uri.EscapeDataString() based on recommendations on MSDN + http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx + + + + + Check that a string is not null or empty + + String to check + bool + + + + Remove underscores from a string + + String to process + string + + + + Parses most common JSON date formats + + JSON value to parse + + DateTime + + + + Remove leading and trailing " from a string + + String to parse + String + + + + Checks a string to see if it matches a regex + + String to check + Pattern to match + bool + + + + Converts a string to pascal case + + String to convert + + string + + + + Converts a string to pascal case with the option to remove underscores + + String to convert + Option to remove underscores + + + + + + Converts a string to camel case + + String to convert + + String + + + + Convert the first letter of a string to lower case + + String to convert + string + + + + Checks to see if a string is all uppper case + + String to check + bool + + + + Add underscores to a pascal-cased string + + String to convert + string + + + + Add dashes to a pascal-cased string + + String to convert + string + + + + Add an undescore prefix to a pascasl-cased string + + + + + + + Add spaces to a pascal-cased string + + String to convert + string + + + + Return possible variants of a name for name matching. + + String to convert + The culture to use for conversion + IEnumerable<string> + + + + XML Extension Methods + + + + + Returns the name of an element with the namespace if specified + + Element name + XML Namespace + + + + + Container for files to be uploaded with requests + + + + + Creates a file parameter from an array of bytes. + + The parameter name to use in the request. + The data to use as the file's contents. + The filename to use in the request. + The content type to use in the request. + The + + + + Creates a file parameter from an array of bytes. + + The parameter name to use in the request. + The data to use as the file's contents. + The filename to use in the request. + The using the default content type. + + + + The length of data to be sent + + + + + Provides raw data for file + + + + + Name of the file to use when uploading + + + + + MIME content type of file + + + + + Name of the parameter + + + + + HttpWebRequest wrapper (async methods) + + + HttpWebRequest wrapper + + + HttpWebRequest wrapper (sync methods) + + + + + Always send a multipart/form-data request - even when no Files are present. + + + + + An alternative to RequestBody, for when the caller already has the byte array. + + + + + Execute an async POST-style request with the specified HTTP Method. + + + The HTTP method to execute. + + + + + Execute an async GET-style request with the specified HTTP Method. + + + The HTTP method to execute. + + + + + Creates an IHttp + + + + + + Default constructor + + + + + Execute a POST request + + + + + Execute a PUT request + + + + + Execute a GET request + + + + + Execute a HEAD request + + + + + Execute an OPTIONS request + + + + + Execute a DELETE request + + + + + Execute a PATCH request + + + + + Execute a MERGE request + + + + + Execute a GET-style request with the specified HTTP Method. + + The HTTP method to execute. + + + + + Execute a POST-style request with the specified HTTP Method. + + The HTTP method to execute. + + + + + True if this HTTP request has any HTTP parameters + + + + + True if this HTTP request has any HTTP cookies + + + + + True if a request body has been specified + + + + + True if files have been set to be uploaded + + + + + Always send a multipart/form-data request - even when no Files are present. + + + + + UserAgent to be sent with request + + + + + Timeout in milliseconds to be used for the request + + + + + The number of milliseconds before the writing or reading times out. + + + + + System.Net.ICredentials to be sent with request + + + + + The System.Net.CookieContainer to be used for the request + + + + + The method to use to write the response instead of reading into RawBytes + + + + + Collection of files to be sent with request + + + + + Whether or not HTTP 3xx response redirects should be automatically followed + + + + + X509CertificateCollection to be sent with request + + + + + Maximum number of automatic redirects to follow if FollowRedirects is true + + + + + Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) + will be sent along to the server. + + + + + HTTP headers to be sent with request + + + + + HTTP parameters (QueryString or Form values) to be sent with request + + + + + HTTP cookies to be sent with request + + + + + Request body to be sent with request + + + + + Content type of the request body. + + + + + An alternative to RequestBody, for when the caller already has the byte array. + + + + + URL to call for this request + + + + + Flag to send authorisation header with the HttpWebRequest + + + + + Proxy info to be sent with request + + + + + Caching policy for requests created with this wrapper. + + + + + Representation of an HTTP cookie + + + + + Comment of the cookie + + + + + Comment of the cookie + + + + + Indicates whether the cookie should be discarded at the end of the session + + + + + Domain of the cookie + + + + + Indicates whether the cookie is expired + + + + + Date and time that the cookie expires + + + + + Indicates that this cookie should only be accessed by the server + + + + + Name of the cookie + + + + + Path of the cookie + + + + + Port of the cookie + + + + + Indicates that the cookie should only be sent over secure channels + + + + + Date and time the cookie was created + + + + + Value of the cookie + + + + + Version of the cookie + + + + + Container for HTTP file + + + + + The length of data to be sent + + + + + Provides raw data for file + + + + + Name of the file to use when uploading + + + + + MIME content type of file + + + + + Name of the parameter + + + + + Representation of an HTTP header + + + + + Name of the header + + + + + Value of the header + + + + + Representation of an HTTP parameter (QueryString or Form value) + + + + + Name of the parameter + + + + + Value of the parameter + + + + + Content-Type of the parameter + + + + + HTTP response data + + + + + HTTP response data + + + + + MIME content type of response + + + + + Length in bytes of the response content + + + + + Encoding of the response content + + + + + String representation of response content + + + + + HTTP response status code + + + + + Description of HTTP status returned + + + + + Response content + + + + + The URL that actually responded to the content (different from request if redirected) + + + + + HttpWebResponse.Server + + + + + Headers returned by server with the response + + + + + Cookies returned by server with the response + + + + + Status of the request. Will return Error for transport errors. + HTTP errors will still return ResponseStatus.Completed, check StatusCode instead + + + + + Transport or other non-HTTP error generated while attempting request + + + + + Exception thrown when error is encountered. + + + + + Default constructor + + + + + MIME content type of response + + + + + Length in bytes of the response content + + + + + Encoding of the response content + + + + + Lazy-loaded string representation of response content + + + + + HTTP response status code + + + + + Description of HTTP status returned + + + + + Response content + + + + + The URL that actually responded to the content (different from request if redirected) + + + + + HttpWebResponse.Server + + + + + Headers returned by server with the response + + + + + Cookies returned by server with the response + + + + + Status of the request. Will return Error for transport errors. + HTTP errors will still return ResponseStatus.Completed, check StatusCode instead + + + + + Transport or other non-HTTP error generated while attempting request + + + + + Exception thrown when error is encountered. + + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + The HTTP method to execute + + + + Executes a POST-style request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + The HTTP method to execute + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + The HTTP method to execute + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + The HTTP method to execute + + + + Executes the request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes the request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes a GET-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes a GET-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes a POST-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes a POST-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes the request and callback asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Executes the request asynchronously, authenticating if needed + + Request to be executed + + + + Executes a GET-style asynchronously, authenticating if needed + + Request to be executed + + + + Executes a GET-style asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Executes a POST-style asynchronously, authenticating if needed + + Request to be executed + + + + Executes a POST-style asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + X509CertificateCollection to be sent with request + + + + + Adds a file to the Files collection to be included with a POST or PUT request + (other methods do not support file uploads). + + The parameter name to use in the request + Full path to file to upload + The MIME type of the file to upload + This request + + + + Adds the bytes to the Files collection with the specified file name and content type + + The parameter name to use in the request + The file data + The file name to use for the uploaded file + The MIME type of the file to upload + This request + + + + Adds the bytes to the Files collection with the specified file name and content type + + The parameter name to use in the request + A function that writes directly to the stream. Should NOT close the stream. + The file name to use for the uploaded file + The MIME type of the file to upload + This request + + + + Add bytes to the Files collection as if it was a file of specific type + + A form parameter name + The file data + The file name to use for the uploaded file + Specific content type. Es: application/x-gzip + + + + + Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer + The default format is XML. Change RequestFormat if you wish to use a different serialization format. + + The object to serialize + The XML namespace to use when serializing + This request + + + + Serializes obj to data format specified by RequestFormat and adds it to the request body. + The default format is XML. Change RequestFormat if you wish to use a different serialization format. + + The object to serialize + This request + + + + Serializes obj to JSON format and adds it to the request body. + + The object to serialize + This request + + + + Serializes obj to XML format and adds it to the request body. + + The object to serialize + This request + + + + Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer + Serializes obj to XML format and passes xmlNamespace then adds it to the request body. + + The object to serialize + The XML namespace to use when serializing + This request + + + + Calls AddParameter() for all public, readable properties specified in the includedProperties list + + + request.AddObject(product, "ProductId", "Price", ...); + + The object with properties to add as parameters + The names of the properties to include + This request + + + + Calls AddParameter() for all public, readable properties of obj + + The object with properties to add as parameters + This request + + + + Add the parameter to the request + + Parameter to add + + + + + Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) + + Name of the parameter + Value of the parameter + This request + + + + Adds a parameter to the request. There are five types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - Cookie: Adds the name/value pair to the HTTP request's Cookies collection + - RequestBody: Used by AddBody() (not recommended to use directly) + + Name of the parameter + Value of the parameter + The type of parameter to add + This request + + + + Adds a parameter to the request. There are five types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - Cookie: Adds the name/value pair to the HTTP request's Cookies collection + - RequestBody: Used by AddBody() (not recommended to use directly) + + Name of the parameter + Value of the parameter + Content-Type of the parameter + The type of parameter to add + This request + + + + Shortcut to AddParameter(name, value, HttpHeader) overload + + Name of the header to add + Value of the header to add + + + + + Shortcut to AddParameter(name, value, Cookie) overload + + Name of the cookie to add + Value of the cookie to add + + + + + Shortcut to AddParameter(name, value, UrlSegment) overload + + Name of the segment to add + Value of the segment to add + + + + + Shortcut to AddParameter(name, value, QueryString) overload + + Name of the parameter to add + Value of the parameter to add + + + + + Always send a multipart/form-data request - even when no Files are present. + + + + + Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. + By default the included JsonSerializer is used (currently using JSON.NET default serialization). + + + + + Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. + By default the included XmlSerializer is used. + + + + + Set this to write response to Stream rather than reading into memory. + + + + + Container of all HTTP parameters to be passed with the request. + See AddParameter() for explanation of the types of parameters that can be passed + + + + + Container of all the files to be uploaded with the request. + + + + + Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS + Default is GET + + + + + The Resource URL to make the request against. + Tokens are substituted with UrlSegment parameters and match by name. + Should not include the scheme or domain. Do not include leading slash. + Combined with RestClient.BaseUrl to assemble final URL: + {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) + + + // example for url token replacement + request.Resource = "Products/{ProductId}"; + request.AddParameter("ProductId", 123, ParameterType.UrlSegment); + + + + + Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. + By default XmlSerializer is used. + + + + + Used by the default deserializers to determine where to start deserializing from. + Can be used to skip container or root elements that do not have corresponding deserialzation targets. + + + + + Used by the default deserializers to explicitly set which date format string to use when parsing dates. + + + + + Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. + + + + + In general you would not need to set this directly. Used by the NtlmAuthenticator. + + + + + Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. + + + + + The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. + + + + + How many attempts were made to send this Request? + + + This Number is incremented each time the RestClient sends the request. + Useful when using Asynchronous Execution with Callbacks + + + + + Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) + will be sent along to the server. The default is false. + + + + + Container for data sent back from API + + + + + The RestRequest that was made to get this RestResponse + + + Mainly for debugging if ResponseStatus is not OK + + + + + MIME content type of response + + + + + Length in bytes of the response content + + + + + Encoding of the response content + + + + + String representation of response content + + + + + HTTP response status code + + + + + Description of HTTP status returned + + + + + Response content + + + + + The URL that actually responded to the content (different from request if redirected) + + + + + HttpWebResponse.Server + + + + + Cookies returned by server with the response + + + + + Headers returned by server with the response + + + + + Status of the request. Will return Error for transport errors. + HTTP errors will still return ResponseStatus.Completed, check StatusCode instead + + + + + Transport or other non-HTTP error generated while attempting request + + + + + Exceptions thrown during the request, if any. + + Will contain only network transport or framework exceptions thrown during the request. + HTTP protocol errors are handled by RestSharp and will not appear here. + + + + Container for data sent back from API including deserialized data + + Type of data to deserialize to + + + + Deserialized entity data + + + + + Parameter container for REST requests + + + + + Return a human-readable representation of this parameter + + String + + + + Name of the parameter + + + + + Value of the parameter + + + + + Type of the parameter + + + + + MIME content type of the parameter + + + + + Client to translate RestRequests into Http requests and process response result + + + + + Executes the request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + The HTTP method to execute + + + + Executes a POST-style request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + The HTTP method to execute + + + + Executes the request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + The HTTP method to execute + + + + Executes a POST-style request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + The HTTP method to execute + + + + Executes a GET-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes a GET-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes a POST-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes a POST-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes the request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes the request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes the request asynchronously, authenticating if needed + + Request to be executed + + + + Executes a GET-style asynchronously, authenticating if needed + + Request to be executed + + + + Executes a GET-style asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Executes a POST-style asynchronously, authenticating if needed + + Request to be executed + + + + Executes a POST-style asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Executes the request asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Default constructor that registers default content handlers + + + + + Sets the BaseUrl property for requests made by this client instance + + + + + + Sets the BaseUrl property for requests made by this client instance + + + + + + Registers a content handler to process response content + + MIME content type of the response content + Deserializer to use to process content + + + + Remove a content handler for the specified MIME content type + + MIME content type to remove + + + + Remove all content handlers + + + + + Retrieve the handler for the specified MIME content type + + MIME content type to retrieve + IDeserializer instance + + + + Assembles URL to call based on parameters, method and resource + + RestRequest to execute + Assembled System.Uri + + + + Executes the specified request and downloads the response data + + Request to execute + Response data + + + + Executes the request and returns a response, authenticating if needed + + Request to be executed + RestResponse + + + + Executes the specified request and deserializes the response content using the appropriate content handler + + Target deserialization type + Request to execute + RestResponse[[T]] with deserialized data in Data property + + + + Maximum number of redirects to follow if FollowRedirects is true + + + + + X509CertificateCollection to be sent with request + + + + + Proxy to use for requests made by this client instance. + Passed on to underlying WebRequest if set. + + + + + The cache policy to use for requests initiated by this client instance. + + + + + Default is true. Determine whether or not requests that result in + HTTP status codes of 3xx should follow returned redirect + + + + + The CookieContainer used for requests made by this client instance + + + + + UserAgent to use for requests made by this client instance + + + + + Timeout in milliseconds to use for requests made by this client instance + + + + + The number of milliseconds before the writing or reading times out. + + + + + Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked + + + + + Authenticator to use for requests made by this client instance + + + + + Combined with Request.Resource to construct URL for request + Should include scheme and domain without trailing slash. + + + client.BaseUrl = new Uri("http://example.com"); + + + + + Parameters included with every request made with this instance of RestClient + If specified in both client and request, the request wins + + + + + Executes the request and callback asynchronously, authenticating if needed + + The IRestClient this method extends + Request to be executed + Callback function to be executed upon completion + + + + Executes the request and callback asynchronously, authenticating if needed + + The IRestClient this method extends + Target deserialization type + Request to be executed + Callback function to be executed upon completion providing access to the async handle + + + + Add a parameter to use on every request made with this client instance + + The IRestClient instance + Parameter to add + + + + + Removes a parameter from the default parameters that are used on every request made with this client instance + + The IRestClient instance + The name of the parameter that needs to be removed + + + + + Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) + Used on every request made by this client instance + + The IRestClient instance + Name of the parameter + Value of the parameter + This request + + + + Adds a parameter to the request. There are four types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - RequestBody: Used by AddBody() (not recommended to use directly) + + The IRestClient instance + Name of the parameter + Value of the parameter + The type of parameter to add + This request + + + + Shortcut to AddDefaultParameter(name, value, HttpHeader) overload + + The IRestClient instance + Name of the header to add + Value of the header to add + + + + + Shortcut to AddDefaultParameter(name, value, UrlSegment) overload + + The IRestClient instance + Name of the segment to add + Value of the segment to add + + + + + Container for data used to make requests + + + + + Default constructor + + + + + Sets Method property to value of method + + Method to use for this request + + + + Sets Resource property + + Resource to use for this request + + + + Sets Resource and Method properties + + Resource to use for this request + Method to use for this request + + + + Sets Resource property + + Resource to use for this request + + + + Sets Resource and Method properties + + Resource to use for this request + Method to use for this request + + + + Adds a file to the Files collection to be included with a POST or PUT request + (other methods do not support file uploads). + + The parameter name to use in the request + Full path to file to upload + The MIME type of the file to upload + This request + + + + Adds the bytes to the Files collection with the specified file name + + The parameter name to use in the request + The file data + The file name to use for the uploaded file + The MIME type of the file to upload + This request + + + + Adds the bytes to the Files collection with the specified file name and content type + + The parameter name to use in the request + A function that writes directly to the stream. Should NOT close the stream. + The file name to use for the uploaded file + The MIME type of the file to upload + This request + + + + Add bytes to the Files collection as if it was a file of specific type + + A form parameter name + The file data + The file name to use for the uploaded file + Specific content type. Es: application/x-gzip + + + + + Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer + The default format is XML. Change RequestFormat if you wish to use a different serialization format. + + The object to serialize + The XML namespace to use when serializing + This request + + + + Serializes obj to data format specified by RequestFormat and adds it to the request body. + The default format is XML. Change RequestFormat if you wish to use a different serialization format. + + The object to serialize + This request + + + + Serializes obj to JSON format and adds it to the request body. + + The object to serialize + This request + + + + Serializes obj to XML format and adds it to the request body. + + The object to serialize + This request + + + + Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer + Serializes obj to XML format and passes xmlNamespace then adds it to the request body. + + The object to serialize + The XML namespace to use when serializing + This request + + + + Calls AddParameter() for all public, readable properties specified in the includedProperties list + + + request.AddObject(product, "ProductId", "Price", ...); + + The object with properties to add as parameters + The names of the properties to include + This request + + + + Calls AddParameter() for all public, readable properties of obj + + The object with properties to add as parameters + This request + + + + Add the parameter to the request + + Parameter to add + + + + + Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) + + Name of the parameter + Value of the parameter + This request + + + + Adds a parameter to the request. There are four types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - RequestBody: Used by AddBody() (not recommended to use directly) + + Name of the parameter + Value of the parameter + The type of parameter to add + This request + + + + Adds a parameter to the request. There are four types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - RequestBody: Used by AddBody() (not recommended to use directly) + + Name of the parameter + Value of the parameter + Content-Type of the parameter + The type of parameter to add + This request + + + + Shortcut to AddParameter(name, value, HttpHeader) overload + + Name of the header to add + Value of the header to add + + + + + Shortcut to AddParameter(name, value, Cookie) overload + + Name of the cookie to add + Value of the cookie to add + + + + + Shortcut to AddParameter(name, value, UrlSegment) overload + + Name of the segment to add + Value of the segment to add + + + + + Shortcut to AddParameter(name, value, QueryString) overload + + Name of the parameter to add + Value of the parameter to add + + + + + Internal Method so that RestClient can increase the number of attempts + + + + + Always send a multipart/form-data request - even when no Files are present. + + + + + Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. + By default the included JsonSerializer is used (currently using JSON.NET default serialization). + + + + + Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. + By default the included XmlSerializer is used. + + + + + Set this to write response to Stream rather than reading into memory. + + + + + Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) + will be sent along to the server. The default is false. + + + + + Container of all HTTP parameters to be passed with the request. + See AddParameter() for explanation of the types of parameters that can be passed + + + + + Container of all the files to be uploaded with the request. + + + + + Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS + Default is GET + + + + + The Resource URL to make the request against. + Tokens are substituted with UrlSegment parameters and match by name. + Should not include the scheme or domain. Do not include leading slash. + Combined with RestClient.BaseUrl to assemble final URL: + {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) + + + // example for url token replacement + request.Resource = "Products/{ProductId}"; + request.AddParameter("ProductId", 123, ParameterType.UrlSegment); + + + + + Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. + By default XmlSerializer is used. + + + + + Used by the default deserializers to determine where to start deserializing from. + Can be used to skip container or root elements that do not have corresponding deserialzation targets. + + + + + A function to run prior to deserializing starting (e.g. change settings if error encountered) + + + + + Used by the default deserializers to explicitly set which date format string to use when parsing dates. + + + + + Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. + + + + + In general you would not need to set this directly. Used by the NtlmAuthenticator. + + + + + Gets or sets a user-defined state object that contains information about a request and which can be later + retrieved when the request completes. + + + + + Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. + + + + + The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. + + + + + How many attempts were made to send this Request? + + + This Number is incremented each time the RestClient sends the request. + Useful when using Asynchronous Execution with Callbacks + + + + + Base class for common properties shared by RestResponse and RestResponse[[T]] + + + + + Default constructor + + + + + Assists with debugging responses by displaying in the debugger output + + + + + + The RestRequest that was made to get this RestResponse + + + Mainly for debugging if ResponseStatus is not OK + + + + + MIME content type of response + + + + + Length in bytes of the response content + + + + + Encoding of the response content + + + + + String representation of response content + + + + + HTTP response status code + + + + + Description of HTTP status returned + + + + + Response content + + + + + The URL that actually responded to the content (different from request if redirected) + + + + + HttpWebResponse.Server + + + + + Cookies returned by server with the response + + + + + Headers returned by server with the response + + + + + Status of the request. Will return Error for transport errors. + HTTP errors will still return ResponseStatus.Completed, check StatusCode instead + + + + + Transport or other non-HTTP error generated while attempting request + + + + + The exception thrown during the request, if any + + + + + Container for data sent back from API including deserialized data + + Type of data to deserialize to + + + + Deserialized entity data + + + + + Container for data sent back from API + + + + + Comment of the cookie + + + + + Comment of the cookie + + + + + Indicates whether the cookie should be discarded at the end of the session + + + + + Domain of the cookie + + + + + Indicates whether the cookie is expired + + + + + Date and time that the cookie expires + + + + + Indicates that this cookie should only be accessed by the server + + + + + Name of the cookie + + + + + Path of the cookie + + + + + Port of the cookie + + + + + Indicates that the cookie should only be sent over secure channels + + + + + Date and time the cookie was created + + + + + Value of the cookie + + + + + Version of the cookie + + + + + Wrapper for System.Xml.Serialization.XmlSerializer. + + + + + Default constructor, does not specify namespace + + + + + Specify the namespaced to be used when serializing + + XML namespace + + + + Serialize the object as XML + + Object to serialize + XML as string + + + + Name of the root element to use when serializing + + + + + XML namespace to use when serializing + + + + + Format string to use when serializing dates + + + + + Content type for serialized content + + + + + Encoding for serialized content + + + + + Need to subclass StringWriter in order to override Encoding + + + + + Default JSON serializer for request bodies + Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes + + + + + Default serializer + + + + + Serialize the object as JSON + + Object to serialize + JSON as String + + + + Unused for JSON Serialization + + + + + Unused for JSON Serialization + + + + + Unused for JSON Serialization + + + + + Content type for serialized content + + + + + Allows control how class and property names and values are serialized by XmlSerializer + Currently not supported with the JsonSerializer + When specified at the property level the class-level specification is overridden + + + + + Called by the attribute when NameStyle is speficied + + The string to transform + String + + + + The name to use for the serialized element + + + + + Sets the value to be serialized as an Attribute instead of an Element + + + + + The culture to use when serializing + + + + + Transforms the casing of the name based on the selected value. + + + + + The order to serialize the element. Default is int.MaxValue. + + + + + Options for transforming casing of element names + + + + + Default XML Serializer + + + + + Default constructor, does not specify namespace + + + + + Specify the namespaced to be used when serializing + + XML namespace + + + + Serialize the object as XML + + Object to serialize + XML as string + + + + Determines if a given object is numeric in any way + (can be integer, double, null, etc). + + + + + Name of the root element to use when serializing + + + + + XML namespace to use when serializing + + + + + Format string to use when serializing dates + + + + + Content type for serialized content + + + + + Helper methods for validating required values + + + + + Require a parameter to not be null + + Name of the parameter + Value of the parameter + + + + Represents the json array. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The capacity of the json array. + + + + The json representation of the array. + + The json representation of the array. + + + + Represents the json object. + + + + + The internal member dictionary. + + + + + Initializes a new instance of . + + + + + Initializes a new instance of . + + The implementation to use when comparing keys, or null to use the default for the type of the key. + + + + Adds the specified key. + + The key. + The value. + + + + Determines whether the specified key contains key. + + The key. + + true if the specified key contains key; otherwise, false. + + + + + Removes the specified key. + + The key. + + + + + Tries the get value. + + The key. + The value. + + + + + Adds the specified item. + + The item. + + + + Clears this instance. + + + + + Determines whether [contains] [the specified item]. + + The item. + + true if [contains] [the specified item]; otherwise, false. + + + + + Copies to. + + The array. + Index of the array. + + + + Removes the specified item. + + The item. + + + + + Gets the enumerator. + + + + + + Returns an enumerator that iterates through a collection. + + + An object that can be used to iterate through the collection. + + + + + Returns a json that represents the current . + + + A json that represents the current . + + + + + Provides implementation for type conversion operations. Classes derived from the class can override this method to specify dynamic behavior for operations that convert an object from one type to another. + + Provides information about the conversion operation. The binder.Type property provides the type to which the object must be converted. For example, for the statement (String)sampleObject in C# (CType(sampleObject, Type) in Visual Basic), where sampleObject is an instance of the class derived from the class, binder.Type returns the type. The binder.Explicit property provides information about the kind of conversion that occurs. It returns true for explicit conversion and false for implicit conversion. + The result of the type conversion operation. + + Alwasy returns true. + + + + + Provides the implementation for operations that delete an object member. This method is not intended for use in C# or Visual Basic. + + Provides information about the deletion. + + Alwasy returns true. + + + + + Provides the implementation for operations that get a value by index. Classes derived from the class can override this method to specify dynamic behavior for indexing operations. + + Provides information about the operation. + The indexes that are used in the operation. For example, for the sampleObject[3] operation in C# (sampleObject(3) in Visual Basic), where sampleObject is derived from the DynamicObject class, is equal to 3. + The result of the index operation. + + Alwasy returns true. + + + + + Provides the implementation for operations that get member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as getting a value for a property. + + Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member on which the dynamic operation is performed. For example, for the Console.WriteLine(sampleObject.SampleProperty) statement, where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive. + The result of the get operation. For example, if the method is called for a property, you can assign the property value to . + + Alwasy returns true. + + + + + Provides the implementation for operations that set a value by index. Classes derived from the class can override this method to specify dynamic behavior for operations that access objects by a specified index. + + Provides information about the operation. + The indexes that are used in the operation. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 3. + The value to set to the object that has the specified index. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 10. + + true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown. + + + + + Provides the implementation for operations that set member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as setting a value for a property. + + Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member to which the value is being assigned. For example, for the statement sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive. + The value to set to the member. For example, for sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, the is "Test". + + true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown.) + + + + + Returns the enumeration of all dynamic member names. + + + A sequence that contains dynamic member names. + + + + + Gets the at the specified index. + + + + + + Gets the keys. + + The keys. + + + + Gets the values. + + The values. + + + + Gets or sets the with the specified key. + + + + + + Gets the count. + + The count. + + + + Gets a value indicating whether this instance is read only. + + + true if this instance is read only; otherwise, false. + + + + + This class encodes and decodes JSON strings. + Spec. details, see http://www.json.org/ + + JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>). + All numbers are parsed to doubles. + + + + + Parses the string json into a value + + A JSON string. + An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false + + + + Try parsing the json string into a value. + + + A JSON string. + + + The object. + + + Returns true if successfull otherwise false. + + + + + Converts a IDictionary<string,object> / IList<object> object into a JSON string + + A IDictionary<string,object> / IList<object> + Serializer strategy to use + A JSON encoded string, or null if object 'json' is not serializable + + + + Determines if a given object is numeric in any way + (can be integer, double, null, etc). + + + + + Helper methods for validating values + + + + + Validate an integer value is between the specified values (exclusive of min/max) + + Value to validate + Exclusive minimum value + Exclusive maximum value + + + + Validate a string length + + String to be validated + Maximum length of the string + + + diff --git a/BuechermarktClient/obj/Debug/App.g.cs b/BuechermarktClient/obj/Debug/App.g.cs new file mode 100644 index 0000000..8b34935 --- /dev/null +++ b/BuechermarktClient/obj/Debug/App.g.cs @@ -0,0 +1,70 @@ +#pragma checksum "..\..\App.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "A601CBE00213CB854D3A5B0F8E4EA1C9" +//------------------------------------------------------------------------------ +// +// Dieser Code wurde von einem Tool generiert. +// Laufzeitversion:4.0.30319.42000 +// +// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn +// der Code erneut generiert wird. +// +//------------------------------------------------------------------------------ + +using BuechermarktClient; +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; + + +namespace BuechermarktClient { + + + /// + /// App + /// + public partial class App : System.Windows.Application { + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + public void InitializeComponent() { + + #line 5 "..\..\App.xaml" + this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative); + + #line default + #line hidden + } + + /// + /// Application Entry Point. + /// + [System.STAThreadAttribute()] + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + public static void Main() { + BuechermarktClient.App app = new BuechermarktClient.App(); + app.InitializeComponent(); + app.Run(); + } + } +} + diff --git a/BuechermarktClient/obj/Debug/App.g.i.cs b/BuechermarktClient/obj/Debug/App.g.i.cs new file mode 100644 index 0000000..8b34935 --- /dev/null +++ b/BuechermarktClient/obj/Debug/App.g.i.cs @@ -0,0 +1,70 @@ +#pragma checksum "..\..\App.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "A601CBE00213CB854D3A5B0F8E4EA1C9" +//------------------------------------------------------------------------------ +// +// Dieser Code wurde von einem Tool generiert. +// Laufzeitversion:4.0.30319.42000 +// +// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn +// der Code erneut generiert wird. +// +//------------------------------------------------------------------------------ + +using BuechermarktClient; +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; + + +namespace BuechermarktClient { + + + /// + /// App + /// + public partial class App : System.Windows.Application { + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + public void InitializeComponent() { + + #line 5 "..\..\App.xaml" + this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative); + + #line default + #line hidden + } + + /// + /// Application Entry Point. + /// + [System.STAThreadAttribute()] + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + public static void Main() { + BuechermarktClient.App app = new BuechermarktClient.App(); + app.InitializeComponent(); + app.Run(); + } + } +} + diff --git a/BuechermarktClient/obj/Debug/BookTypes - Kopieren.g.i.cs b/BuechermarktClient/obj/Debug/BookTypes - Kopieren.g.i.cs new file mode 100644 index 0000000..51db736 --- /dev/null +++ b/BuechermarktClient/obj/Debug/BookTypes - Kopieren.g.i.cs @@ -0,0 +1,121 @@ +#pragma checksum "..\..\BookTypes - Kopieren.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "3804A968D9CEB9784CCAB007BA4E2793" +//------------------------------------------------------------------------------ +// +// Dieser Code wurde von einem Tool generiert. +// Laufzeitversion:4.0.30319.42000 +// +// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn +// der Code erneut generiert wird. +// +//------------------------------------------------------------------------------ + +using BuechermarktClient; +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; + + +namespace BuechermarktClient { + + + /// + /// BookTypes + /// + public partial class BookTypes : System.Windows.Window, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector { + + + #line 14 "..\..\BookTypes - Kopieren.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.ListView BookTypesList; + + #line default + #line hidden + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/booktypes%20-%20kopieren.xaml", System.UriKind.Relative); + + #line 1 "..\..\BookTypes - Kopieren.xaml" + System.Windows.Application.LoadComponent(this, resourceLocater); + + #line default + #line hidden + } + + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] + void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { + switch (connectionId) + { + case 1: + this.BookTypesList = ((System.Windows.Controls.ListView)(target)); + return; + case 3: + + #line 27 "..\..\BookTypes - Kopieren.xaml" + ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddNew_Click); + + #line default + #line hidden + return; + } + this._contentLoaded = true; + } + + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] + void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) { + System.Windows.EventSetter eventSetter; + switch (connectionId) + { + case 2: + eventSetter = new System.Windows.EventSetter(); + eventSetter.Event = System.Windows.Controls.Control.PreviewMouseDoubleClickEvent; + + #line 23 "..\..\BookTypes - Kopieren.xaml" + eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.ListViewItem_PreviewMouseUp); + + #line default + #line hidden + ((System.Windows.Style)(target)).Setters.Add(eventSetter); + break; + } + } + } +} + diff --git a/BuechermarktClient/obj/Debug/BookTypes.baml b/BuechermarktClient/obj/Debug/BookTypes.baml new file mode 100644 index 0000000..2d9d697 Binary files /dev/null and b/BuechermarktClient/obj/Debug/BookTypes.baml differ diff --git a/BuechermarktClient/obj/Debug/BookTypes.g.cs b/BuechermarktClient/obj/Debug/BookTypes.g.cs new file mode 100644 index 0000000..a288476 --- /dev/null +++ b/BuechermarktClient/obj/Debug/BookTypes.g.cs @@ -0,0 +1,121 @@ +#pragma checksum "..\..\BookTypes.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "3804A968D9CEB9784CCAB007BA4E2793" +//------------------------------------------------------------------------------ +// +// Dieser Code wurde von einem Tool generiert. +// Laufzeitversion:4.0.30319.42000 +// +// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn +// der Code erneut generiert wird. +// +//------------------------------------------------------------------------------ + +using BuechermarktClient; +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; + + +namespace BuechermarktClient { + + + /// + /// BookTypes + /// + public partial class BookTypes : System.Windows.Window, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector { + + + #line 14 "..\..\BookTypes.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.ListView BookTypesList; + + #line default + #line hidden + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/booktypes.xaml", System.UriKind.Relative); + + #line 1 "..\..\BookTypes.xaml" + System.Windows.Application.LoadComponent(this, resourceLocater); + + #line default + #line hidden + } + + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] + void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { + switch (connectionId) + { + case 1: + this.BookTypesList = ((System.Windows.Controls.ListView)(target)); + return; + case 3: + + #line 27 "..\..\BookTypes.xaml" + ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddNew_Click); + + #line default + #line hidden + return; + } + this._contentLoaded = true; + } + + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] + void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) { + System.Windows.EventSetter eventSetter; + switch (connectionId) + { + case 2: + eventSetter = new System.Windows.EventSetter(); + eventSetter.Event = System.Windows.Controls.Control.PreviewMouseDoubleClickEvent; + + #line 23 "..\..\BookTypes.xaml" + eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.ListViewItem_PreviewMouseUp); + + #line default + #line hidden + ((System.Windows.Style)(target)).Setters.Add(eventSetter); + break; + } + } + } +} + diff --git a/BuechermarktClient/obj/Debug/BookTypes.g.i.cs b/BuechermarktClient/obj/Debug/BookTypes.g.i.cs new file mode 100644 index 0000000..a288476 --- /dev/null +++ b/BuechermarktClient/obj/Debug/BookTypes.g.i.cs @@ -0,0 +1,121 @@ +#pragma checksum "..\..\BookTypes.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "3804A968D9CEB9784CCAB007BA4E2793" +//------------------------------------------------------------------------------ +// +// Dieser Code wurde von einem Tool generiert. +// Laufzeitversion:4.0.30319.42000 +// +// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn +// der Code erneut generiert wird. +// +//------------------------------------------------------------------------------ + +using BuechermarktClient; +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; + + +namespace BuechermarktClient { + + + /// + /// BookTypes + /// + public partial class BookTypes : System.Windows.Window, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector { + + + #line 14 "..\..\BookTypes.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.ListView BookTypesList; + + #line default + #line hidden + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/booktypes.xaml", System.UriKind.Relative); + + #line 1 "..\..\BookTypes.xaml" + System.Windows.Application.LoadComponent(this, resourceLocater); + + #line default + #line hidden + } + + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] + void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { + switch (connectionId) + { + case 1: + this.BookTypesList = ((System.Windows.Controls.ListView)(target)); + return; + case 3: + + #line 27 "..\..\BookTypes.xaml" + ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddNew_Click); + + #line default + #line hidden + return; + } + this._contentLoaded = true; + } + + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] + void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) { + System.Windows.EventSetter eventSetter; + switch (connectionId) + { + case 2: + eventSetter = new System.Windows.EventSetter(); + eventSetter.Event = System.Windows.Controls.Control.PreviewMouseDoubleClickEvent; + + #line 23 "..\..\BookTypes.xaml" + eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.ListViewItem_PreviewMouseUp); + + #line default + #line hidden + ((System.Windows.Style)(target)).Setters.Add(eventSetter); + break; + } + } + } +} + diff --git a/BuechermarktClient/obj/Debug/BookTypesEdit - Kopieren.g.i.cs b/BuechermarktClient/obj/Debug/BookTypesEdit - Kopieren.g.i.cs new file mode 100644 index 0000000..5b3b59f --- /dev/null +++ b/BuechermarktClient/obj/Debug/BookTypesEdit - Kopieren.g.i.cs @@ -0,0 +1,94 @@ +#pragma checksum "..\..\BookTypesEdit - Kopieren.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "82691408CF5C57ABF8F3969E05225178" +//------------------------------------------------------------------------------ +// +// Dieser Code wurde von einem Tool generiert. +// Laufzeitversion:4.0.30319.42000 +// +// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn +// der Code erneut generiert wird. +// +//------------------------------------------------------------------------------ + +using BuechermarktClient; +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; + + +namespace BuechermarktClient { + + + /// + /// BookTypesEdit + /// + public partial class BookTypesEdit : System.Windows.Window, System.Windows.Markup.IComponentConnector { + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/booktypesedit%20-%20kopieren.xaml", System.UriKind.Relative); + + #line 1 "..\..\BookTypesEdit - Kopieren.xaml" + System.Windows.Application.LoadComponent(this, resourceLocater); + + #line default + #line hidden + } + + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] + void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { + switch (connectionId) + { + case 1: + + #line 19 "..\..\BookTypesEdit - Kopieren.xaml" + ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Save_Click); + + #line default + #line hidden + return; + case 2: + + #line 20 "..\..\BookTypesEdit - Kopieren.xaml" + ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Delete_Click); + + #line default + #line hidden + return; + } + this._contentLoaded = true; + } + } +} + diff --git a/BuechermarktClient/obj/Debug/BookTypesEdit.baml b/BuechermarktClient/obj/Debug/BookTypesEdit.baml new file mode 100644 index 0000000..34bbf7c Binary files /dev/null and b/BuechermarktClient/obj/Debug/BookTypesEdit.baml differ diff --git a/BuechermarktClient/obj/Debug/BookTypesEdit.g.cs b/BuechermarktClient/obj/Debug/BookTypesEdit.g.cs new file mode 100644 index 0000000..afeed23 --- /dev/null +++ b/BuechermarktClient/obj/Debug/BookTypesEdit.g.cs @@ -0,0 +1,94 @@ +#pragma checksum "..\..\BookTypesEdit.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "82691408CF5C57ABF8F3969E05225178" +//------------------------------------------------------------------------------ +// +// Dieser Code wurde von einem Tool generiert. +// Laufzeitversion:4.0.30319.42000 +// +// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn +// der Code erneut generiert wird. +// +//------------------------------------------------------------------------------ + +using BuechermarktClient; +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; + + +namespace BuechermarktClient { + + + /// + /// BookTypesEdit + /// + public partial class BookTypesEdit : System.Windows.Window, System.Windows.Markup.IComponentConnector { + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/booktypesedit.xaml", System.UriKind.Relative); + + #line 1 "..\..\BookTypesEdit.xaml" + System.Windows.Application.LoadComponent(this, resourceLocater); + + #line default + #line hidden + } + + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] + void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { + switch (connectionId) + { + case 1: + + #line 19 "..\..\BookTypesEdit.xaml" + ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Save_Click); + + #line default + #line hidden + return; + case 2: + + #line 20 "..\..\BookTypesEdit.xaml" + ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Delete_Click); + + #line default + #line hidden + return; + } + this._contentLoaded = true; + } + } +} + diff --git a/BuechermarktClient/obj/Debug/BookTypesEdit.g.i.cs b/BuechermarktClient/obj/Debug/BookTypesEdit.g.i.cs new file mode 100644 index 0000000..afeed23 --- /dev/null +++ b/BuechermarktClient/obj/Debug/BookTypesEdit.g.i.cs @@ -0,0 +1,94 @@ +#pragma checksum "..\..\BookTypesEdit.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "82691408CF5C57ABF8F3969E05225178" +//------------------------------------------------------------------------------ +// +// Dieser Code wurde von einem Tool generiert. +// Laufzeitversion:4.0.30319.42000 +// +// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn +// der Code erneut generiert wird. +// +//------------------------------------------------------------------------------ + +using BuechermarktClient; +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; + + +namespace BuechermarktClient { + + + /// + /// BookTypesEdit + /// + public partial class BookTypesEdit : System.Windows.Window, System.Windows.Markup.IComponentConnector { + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/booktypesedit.xaml", System.UriKind.Relative); + + #line 1 "..\..\BookTypesEdit.xaml" + System.Windows.Application.LoadComponent(this, resourceLocater); + + #line default + #line hidden + } + + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] + void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { + switch (connectionId) + { + case 1: + + #line 19 "..\..\BookTypesEdit.xaml" + ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Save_Click); + + #line default + #line hidden + return; + case 2: + + #line 20 "..\..\BookTypesEdit.xaml" + ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Delete_Click); + + #line default + #line hidden + return; + } + this._contentLoaded = true; + } + } +} + diff --git a/BuechermarktClient/obj/Debug/BuechermarktClient.Properties.Resources.resources b/BuechermarktClient/obj/Debug/BuechermarktClient.Properties.Resources.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/BuechermarktClient/obj/Debug/BuechermarktClient.Properties.Resources.resources differ diff --git a/BuechermarktClient/obj/Debug/BuechermarktClient.csproj.FileListAbsolute.txt b/BuechermarktClient/obj/Debug/BuechermarktClient.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..92e5f5a --- /dev/null +++ b/BuechermarktClient/obj/Debug/BuechermarktClient.csproj.FileListAbsolute.txt @@ -0,0 +1,33 @@ +C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\bin\Debug\BuechermarktClient.exe.config +C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\bin\Debug\BuechermarktClient.exe +C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\bin\Debug\BuechermarktClient.pdb +C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\BuechermarktClient.csprojResolveAssemblyReference.cache +C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\MainWindow.g.cs +C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\App.g.cs +C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\BuechermarktClient_MarkupCompile.cache +C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\BuechermarktClient_MarkupCompile.lref +C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\MainWindow.baml +C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\BuechermarktClient.g.resources +C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\BuechermarktClient.Properties.Resources.resources +C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\BuechermarktClient.csproj.GenerateResource.Cache +C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\BuechermarktClient.exe +C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\BuechermarktClient.pdb +C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\bin\Debug\MongoDB.Bson.dll +C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\bin\Debug\MongoDB.Driver.Core.dll +C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\bin\Debug\MongoDB.Driver.dll +C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\bin\Debug\Newtonsoft.Json.dll +C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\bin\Debug\RestSharp.dll +C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\bin\Debug\System.Runtime.InteropServices.RuntimeInformation.dll +C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\bin\Debug\MongoDB.Bson.xml +C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\bin\Debug\MongoDB.Driver.xml +C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\bin\Debug\MongoDB.Driver.Core.xml +C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\bin\Debug\Newtonsoft.Json.xml +C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\bin\Debug\RestSharp.xml +C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\BookTypes.g.cs +C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\BookTypes.baml +C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\BookTypesEdit.g.cs +C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\BookTypesEdit.baml +C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\Students.g.cs +C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\StudentsEdit.g.cs +C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\Students.baml +C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\StudentsEdit.baml diff --git a/BuechermarktClient/obj/Debug/BuechermarktClient.g.resources b/BuechermarktClient/obj/Debug/BuechermarktClient.g.resources new file mode 100644 index 0000000..cdd6472 Binary files /dev/null and b/BuechermarktClient/obj/Debug/BuechermarktClient.g.resources differ diff --git a/BuechermarktClient/obj/Debug/BuechermarktClient_MarkupCompile.lref b/BuechermarktClient/obj/Debug/BuechermarktClient_MarkupCompile.lref new file mode 100644 index 0000000..84d7400 --- /dev/null +++ b/BuechermarktClient/obj/Debug/BuechermarktClient_MarkupCompile.lref @@ -0,0 +1,8 @@ + + +FC:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\BookTypes.xaml;; +FC:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\MainWindow.xaml;; +FC:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\BookTypesEdit.xaml;; +FC:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\Students.xaml;; +FC:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\StudentsEdit.xaml;; + diff --git a/BuechermarktClient/obj/Debug/Login.g.i.cs b/BuechermarktClient/obj/Debug/Login.g.i.cs new file mode 100644 index 0000000..d405e43 --- /dev/null +++ b/BuechermarktClient/obj/Debug/Login.g.i.cs @@ -0,0 +1,94 @@ +#pragma checksum "..\..\Login.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "F889762A67CED8B8C47433E18757F5A0" +//------------------------------------------------------------------------------ +// +// Dieser Code wurde von einem Tool generiert. +// Laufzeitversion:4.0.30319.42000 +// +// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn +// der Code erneut generiert wird. +// +//------------------------------------------------------------------------------ + +using BuechermarktClient; +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; + + +namespace BuechermarktClient { + + + /// + /// Login + /// + public partial class Login : System.Windows.Window, System.Windows.Markup.IComponentConnector { + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/login.xaml", System.UriKind.Relative); + + #line 1 "..\..\Login.xaml" + System.Windows.Application.LoadComponent(this, resourceLocater); + + #line default + #line hidden + } + + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] + void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { + switch (connectionId) + { + case 1: + + #line 15 "..\..\Login.xaml" + ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click); + + #line default + #line hidden + return; + case 2: + + #line 16 "..\..\Login.xaml" + ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1); + + #line default + #line hidden + return; + } + this._contentLoaded = true; + } + } +} + diff --git a/BuechermarktClient/obj/Debug/MainWindow.baml b/BuechermarktClient/obj/Debug/MainWindow.baml new file mode 100644 index 0000000..35c5254 Binary files /dev/null and b/BuechermarktClient/obj/Debug/MainWindow.baml differ diff --git a/BuechermarktClient/obj/Debug/MainWindow.g.cs b/BuechermarktClient/obj/Debug/MainWindow.g.cs new file mode 100644 index 0000000..bfe52c8 --- /dev/null +++ b/BuechermarktClient/obj/Debug/MainWindow.g.cs @@ -0,0 +1,102 @@ +#pragma checksum "..\..\MainWindow.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "555DF7808B3534D85CBC8AC2B0E4BB23" +//------------------------------------------------------------------------------ +// +// Dieser Code wurde von einem Tool generiert. +// Laufzeitversion:4.0.30319.42000 +// +// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn +// der Code erneut generiert wird. +// +//------------------------------------------------------------------------------ + +using BuechermarktClient; +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; + + +namespace BuechermarktClient { + + + /// + /// MainWindow + /// + public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector { + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/mainwindow.xaml", System.UriKind.Relative); + + #line 1 "..\..\MainWindow.xaml" + System.Windows.Application.LoadComponent(this, resourceLocater); + + #line default + #line hidden + } + + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] + void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { + switch (connectionId) + { + case 1: + + #line 8 "..\..\MainWindow.xaml" + ((BuechermarktClient.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); + + #line default + #line hidden + return; + case 2: + + #line 14 "..\..\MainWindow.xaml" + ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BookTypes_Click); + + #line default + #line hidden + return; + case 3: + + #line 15 "..\..\MainWindow.xaml" + ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Students_Click); + + #line default + #line hidden + return; + } + this._contentLoaded = true; + } + } +} + diff --git a/BuechermarktClient/obj/Debug/MainWindow.g.i.cs b/BuechermarktClient/obj/Debug/MainWindow.g.i.cs new file mode 100644 index 0000000..bfe52c8 --- /dev/null +++ b/BuechermarktClient/obj/Debug/MainWindow.g.i.cs @@ -0,0 +1,102 @@ +#pragma checksum "..\..\MainWindow.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "555DF7808B3534D85CBC8AC2B0E4BB23" +//------------------------------------------------------------------------------ +// +// Dieser Code wurde von einem Tool generiert. +// Laufzeitversion:4.0.30319.42000 +// +// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn +// der Code erneut generiert wird. +// +//------------------------------------------------------------------------------ + +using BuechermarktClient; +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; + + +namespace BuechermarktClient { + + + /// + /// MainWindow + /// + public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector { + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/mainwindow.xaml", System.UriKind.Relative); + + #line 1 "..\..\MainWindow.xaml" + System.Windows.Application.LoadComponent(this, resourceLocater); + + #line default + #line hidden + } + + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] + void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { + switch (connectionId) + { + case 1: + + #line 8 "..\..\MainWindow.xaml" + ((BuechermarktClient.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); + + #line default + #line hidden + return; + case 2: + + #line 14 "..\..\MainWindow.xaml" + ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BookTypes_Click); + + #line default + #line hidden + return; + case 3: + + #line 15 "..\..\MainWindow.xaml" + ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Students_Click); + + #line default + #line hidden + return; + } + this._contentLoaded = true; + } + } +} + diff --git a/BuechermarktClient/obj/Debug/Students.baml b/BuechermarktClient/obj/Debug/Students.baml new file mode 100644 index 0000000..e7f952d Binary files /dev/null and b/BuechermarktClient/obj/Debug/Students.baml differ diff --git a/BuechermarktClient/obj/Debug/Students.g.cs b/BuechermarktClient/obj/Debug/Students.g.cs new file mode 100644 index 0000000..23d574f --- /dev/null +++ b/BuechermarktClient/obj/Debug/Students.g.cs @@ -0,0 +1,121 @@ +#pragma checksum "..\..\Students.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "E3910DEC8AFEF22336269C31853C6286" +//------------------------------------------------------------------------------ +// +// Dieser Code wurde von einem Tool generiert. +// Laufzeitversion:4.0.30319.42000 +// +// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn +// der Code erneut generiert wird. +// +//------------------------------------------------------------------------------ + +using BuechermarktClient; +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; + + +namespace BuechermarktClient { + + + /// + /// Students + /// + public partial class Students : System.Windows.Window, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector { + + + #line 14 "..\..\Students.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.ListView BookTypesList; + + #line default + #line hidden + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/students.xaml", System.UriKind.Relative); + + #line 1 "..\..\Students.xaml" + System.Windows.Application.LoadComponent(this, resourceLocater); + + #line default + #line hidden + } + + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] + void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { + switch (connectionId) + { + case 1: + this.BookTypesList = ((System.Windows.Controls.ListView)(target)); + return; + case 3: + + #line 31 "..\..\Students.xaml" + ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddNew_Click); + + #line default + #line hidden + return; + } + this._contentLoaded = true; + } + + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] + void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) { + System.Windows.EventSetter eventSetter; + switch (connectionId) + { + case 2: + eventSetter = new System.Windows.EventSetter(); + eventSetter.Event = System.Windows.Controls.Control.PreviewMouseDoubleClickEvent; + + #line 27 "..\..\Students.xaml" + eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.ListViewItem_PreviewMouseUp); + + #line default + #line hidden + ((System.Windows.Style)(target)).Setters.Add(eventSetter); + break; + } + } + } +} + diff --git a/BuechermarktClient/obj/Debug/Students.g.i.cs b/BuechermarktClient/obj/Debug/Students.g.i.cs new file mode 100644 index 0000000..23d574f --- /dev/null +++ b/BuechermarktClient/obj/Debug/Students.g.i.cs @@ -0,0 +1,121 @@ +#pragma checksum "..\..\Students.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "E3910DEC8AFEF22336269C31853C6286" +//------------------------------------------------------------------------------ +// +// Dieser Code wurde von einem Tool generiert. +// Laufzeitversion:4.0.30319.42000 +// +// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn +// der Code erneut generiert wird. +// +//------------------------------------------------------------------------------ + +using BuechermarktClient; +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; + + +namespace BuechermarktClient { + + + /// + /// Students + /// + public partial class Students : System.Windows.Window, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector { + + + #line 14 "..\..\Students.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.ListView BookTypesList; + + #line default + #line hidden + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/students.xaml", System.UriKind.Relative); + + #line 1 "..\..\Students.xaml" + System.Windows.Application.LoadComponent(this, resourceLocater); + + #line default + #line hidden + } + + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] + void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { + switch (connectionId) + { + case 1: + this.BookTypesList = ((System.Windows.Controls.ListView)(target)); + return; + case 3: + + #line 31 "..\..\Students.xaml" + ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddNew_Click); + + #line default + #line hidden + return; + } + this._contentLoaded = true; + } + + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] + void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) { + System.Windows.EventSetter eventSetter; + switch (connectionId) + { + case 2: + eventSetter = new System.Windows.EventSetter(); + eventSetter.Event = System.Windows.Controls.Control.PreviewMouseDoubleClickEvent; + + #line 27 "..\..\Students.xaml" + eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.ListViewItem_PreviewMouseUp); + + #line default + #line hidden + ((System.Windows.Style)(target)).Setters.Add(eventSetter); + break; + } + } + } +} + diff --git a/BuechermarktClient/obj/Debug/StudentsEdit.baml b/BuechermarktClient/obj/Debug/StudentsEdit.baml new file mode 100644 index 0000000..e824f75 Binary files /dev/null and b/BuechermarktClient/obj/Debug/StudentsEdit.baml differ diff --git a/BuechermarktClient/obj/Debug/StudentsEdit.g.cs b/BuechermarktClient/obj/Debug/StudentsEdit.g.cs new file mode 100644 index 0000000..8f8f565 --- /dev/null +++ b/BuechermarktClient/obj/Debug/StudentsEdit.g.cs @@ -0,0 +1,94 @@ +#pragma checksum "..\..\StudentsEdit.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "48BAC688059091648BFD0E454A953B5D" +//------------------------------------------------------------------------------ +// +// Dieser Code wurde von einem Tool generiert. +// Laufzeitversion:4.0.30319.42000 +// +// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn +// der Code erneut generiert wird. +// +//------------------------------------------------------------------------------ + +using BuechermarktClient; +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; + + +namespace BuechermarktClient { + + + /// + /// StudentsEdit + /// + public partial class StudentsEdit : System.Windows.Window, System.Windows.Markup.IComponentConnector { + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/studentsedit.xaml", System.UriKind.Relative); + + #line 1 "..\..\StudentsEdit.xaml" + System.Windows.Application.LoadComponent(this, resourceLocater); + + #line default + #line hidden + } + + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] + void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { + switch (connectionId) + { + case 1: + + #line 27 "..\..\StudentsEdit.xaml" + ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Save_Click); + + #line default + #line hidden + return; + case 2: + + #line 28 "..\..\StudentsEdit.xaml" + ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Delete_Click); + + #line default + #line hidden + return; + } + this._contentLoaded = true; + } + } +} + diff --git a/BuechermarktClient/obj/Debug/StudentsEdit.g.i.cs b/BuechermarktClient/obj/Debug/StudentsEdit.g.i.cs new file mode 100644 index 0000000..8f8f565 --- /dev/null +++ b/BuechermarktClient/obj/Debug/StudentsEdit.g.i.cs @@ -0,0 +1,94 @@ +#pragma checksum "..\..\StudentsEdit.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "48BAC688059091648BFD0E454A953B5D" +//------------------------------------------------------------------------------ +// +// Dieser Code wurde von einem Tool generiert. +// Laufzeitversion:4.0.30319.42000 +// +// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn +// der Code erneut generiert wird. +// +//------------------------------------------------------------------------------ + +using BuechermarktClient; +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; + + +namespace BuechermarktClient { + + + /// + /// StudentsEdit + /// + public partial class StudentsEdit : System.Windows.Window, System.Windows.Markup.IComponentConnector { + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/studentsedit.xaml", System.UriKind.Relative); + + #line 1 "..\..\StudentsEdit.xaml" + System.Windows.Application.LoadComponent(this, resourceLocater); + + #line default + #line hidden + } + + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] + void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { + switch (connectionId) + { + case 1: + + #line 27 "..\..\StudentsEdit.xaml" + ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Save_Click); + + #line default + #line hidden + return; + case 2: + + #line 28 "..\..\StudentsEdit.xaml" + ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Delete_Click); + + #line default + #line hidden + return; + } + this._contentLoaded = true; + } + } +} + diff --git a/BuechermarktClient/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/BuechermarktClient/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs new file mode 100644 index 0000000..e69de29 diff --git a/BuechermarktClient/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/BuechermarktClient/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs new file mode 100644 index 0000000..e69de29 diff --git a/BuechermarktClient/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/BuechermarktClient/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs new file mode 100644 index 0000000..e69de29 diff --git a/BuechermarktClient/packages.config b/BuechermarktClient/packages.config new file mode 100644 index 0000000..95b526d --- /dev/null +++ b/BuechermarktClient/packages.config @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/packages/MongoDB.Bson.2.4.3/License.rtf b/packages/MongoDB.Bson.2.4.3/License.rtf new file mode 100644 index 0000000..5f1d046 Binary files /dev/null and b/packages/MongoDB.Bson.2.4.3/License.rtf differ diff --git a/packages/MongoDB.Bson.2.4.3/MongoDB.Bson.2.4.3.nupkg b/packages/MongoDB.Bson.2.4.3/MongoDB.Bson.2.4.3.nupkg new file mode 100644 index 0000000..66aa2a6 Binary files /dev/null and b/packages/MongoDB.Bson.2.4.3/MongoDB.Bson.2.4.3.nupkg differ diff --git a/packages/MongoDB.Bson.2.4.3/lib/net45/MongoDB.Bson.XML b/packages/MongoDB.Bson.2.4.3/lib/net45/MongoDB.Bson.XML new file mode 100644 index 0000000..e38dd06 --- /dev/null +++ b/packages/MongoDB.Bson.2.4.3/lib/net45/MongoDB.Bson.XML @@ -0,0 +1,22445 @@ + + + + MongoDB.Bson + + + + + Represents a BSON array. + + + + + Initializes a new instance of the BsonArray class. + + + + + Initializes a new instance of the BsonArray class. + + A list of values to add to the array. + + + + Initializes a new instance of the BsonArray class. + + A list of values to add to the array. + + + + Initializes a new instance of the BsonArray class. + + A list of values to add to the array. + + + + Initializes a new instance of the BsonArray class. + + A list of values to add to the array. + + + + Initializes a new instance of the BsonArray class. + + A list of values to add to the array. + + + + Initializes a new instance of the BsonArray class. + + A list of values to add to the array. + + + + Initializes a new instance of the BsonArray class. + + A list of values to add to the array. + + + + Initializes a new instance of the BsonArray class. + + A list of values to add to the array. + + + + Initializes a new instance of the BsonArray class. + + A list of values to add to the array. + + + + Initializes a new instance of the BsonArray class. + + The initial capacity of the array. + + + + Adds an element to the array. + + The value to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Gets the BsonType of this BsonValue. + + + + + Gets or sets the total number of elements the internal data structure can hold without resizing. + + + + + Clears the array. + + + + + Creates a shallow clone of the array (see also DeepClone). + + A shallow clone of the array. + + + + Compares the array to another array. + + The other array. + A 32-bit signed integer that indicates whether this array is less than, equal to, or greather than the other. + + + + Compares the array to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this array is less than, equal to, or greather than the other BsonValue. + + + + Tests whether the array contains a value. + + The value to test for. + True if the array contains the value. + + + + Copies elements from this array to another array. + + The other array. + The zero based index of the other array at which to start copying. + + + + Copies elements from this array to another array as raw values (see BsonValue.RawValue). + + The other array. + The zero based index of the other array at which to start copying. + + + + Gets the count of array elements. + + + + + Creates a new BsonArray. + + A value to be mapped to a BsonArray. + A BsonArray or null. + + + + Creates a deep clone of the array (see also Clone). + + A deep clone of the array. + + + + Compares this array to another array. + + The other array. + True if the two arrays are equal. + + + + Compares this BsonArray to another object. + + The other object. + True if the other object is a BsonArray and equal to this one. + + + + Gets an enumerator that can enumerate the elements of the array. + + An enumerator. + + + + Gets the hash code. + + The hash code. + + + + Gets the index of a value in the array. + + The value to search for. + The zero based index of the value (or -1 if not found). + + + + Gets the index of a value in the array. + + The value to search for. + The zero based index at which to start the search. + The zero based index of the value (or -1 if not found). + + + + Gets the index of a value in the array. + + The value to search for. + The zero based index at which to start the search. + The number of elements to search. + The zero based index of the value (or -1 if not found). + + + + Inserts a new value into the array. + + The zero based index at which to insert the new value. + The new value. + + + + Gets whether the array is read-only. + + + + + Gets or sets a value by position. + + The position. + The value. + + + + Compares two BsonArray values. + + The first BsonArray. + The other BsonArray. + True if the two BsonArray values are equal according to ==. + + + + Compares two BsonArray values. + + The first BsonArray. + The other BsonArray. + True if the two BsonArray values are not equal according to ==. + + + + Gets the array elements as raw values (see BsonValue.RawValue). + + + + + Removes the first occurrence of a value from the array. + + The value to remove. + True if the value was removed. + + + + Removes an element from the array. + + The zero based index of the element to remove. + + + + Converts the BsonArray to an array of BsonValues. + + An array of BsonValues. + + + + Converts the BsonArray to a list of BsonValues. + + A list of BsonValues. + + + + Returns a string representation of the array. + + A string representation of the array. + + + + Gets the array elements. + + + + + Represents BSON binary data. + + + + + Initializes a new instance of the BsonBinaryData class. + + The binary data. + + + + Initializes a new instance of the BsonBinaryData class. + + The binary data. + The binary data subtype. + + + + Initializes a new instance of the BsonBinaryData class. + + The binary data. + The binary data subtype. + The representation for Guids. + + + + Initializes a new instance of the BsonBinaryData class. + + A Guid. + + + + Initializes a new instance of the BsonBinaryData class. + + A Guid. + The representation for Guids. + + + + Gets the BsonType of this BsonValue. + + + + + Gets the binary data. + + + + + Compares this BsonBinaryData to another BsonBinaryData. + + The other BsonBinaryData. + A 32-bit signed integer that indicates whether this BsonBinaryData is less than, equal to, or greather than the other. + + + + Compares the BsonBinaryData to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonBinaryData is less than, equal to, or greather than the other BsonValue. + + + + Creates a new BsonBinaryData. + + An object to be mapped to a BsonBinaryData. + A BsonBinaryData or null. + + + + Compares this BsonBinaryData to another BsonBinaryData. + + The other BsonBinaryData. + True if the two BsonBinaryData values are equal. + + + + Compares this BsonBinaryData to another object. + + The other object. + True if the other object is a BsonBinaryData and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Gets the representation to use when representing the Guid as BSON binary data. + + + + + Compares two BsonBinaryData values. + + The first BsonBinaryData. + The other BsonBinaryData. + True if the two BsonBinaryData values are equal according to ==. + + + + Converts a byte array to a BsonBinaryData. + + A byte array. + A BsonBinaryData. + + + + Converts a Guid to a BsonBinaryData. + + A Guid. + A BsonBinaryData. + + + + Compares two BsonBinaryData values. + + The first BsonBinaryData. + The other BsonBinaryData. + True if the two BsonBinaryData values are not equal according to ==. + + + + Gets the BsonBinaryData as a Guid if the subtype is UuidStandard or UuidLegacy, otherwise null. + + + + + Gets the binary data subtype. + + + + + Converts this BsonBinaryData to a Guid. + + A Guid. + + + + Converts this BsonBinaryData to a Guid. + + The representation for Guids. + A Guid. + + + + Returns a string representation of the binary data. + + A string representation of the binary data. + + + + Represents the binary data subtype of a BsonBinaryData. + + + + + Binary data. + + + + + A function. + + + + + Obsolete binary data subtype (use Binary instead). + + + + + A UUID in a driver dependent legacy byte order. + + + + + A UUID in standard network byte order. + + + + + An MD5 hash. + + + + + User defined binary data. + + + + + Represents a BSON boolean value. + + + + + Initializes a new instance of the BsonBoolean class. + + The value. + + + + Gets the BsonType of this BsonValue. + + + + + Compares this BsonBoolean to another BsonBoolean. + + The other BsonBoolean. + A 32-bit signed integer that indicates whether this BsonBoolean is less than, equal to, or greather than the other. + + + + Compares the BsonBoolean to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonBoolean is less than, equal to, or greather than the other BsonValue. + + + + Returns one of the two possible BsonBoolean values. + + An object to be mapped to a BsonBoolean. + A BsonBoolean or null. + + + + Compares this BsonBoolean to another BsonBoolean. + + The other BsonBoolean. + True if the two BsonBoolean values are equal. + + + + Compares this BsonBoolean to another object. + + The other object. + True if the other object is a BsonBoolean and equal to this one. + + + + Gets the instance of BsonBoolean that represents false. + + + + + Gets the hash code. + + The hash code. + + + + Implementation of the IConvertible GetTypeCode method. + + The TypeCode. + + + + Implementation of the IConvertible ToBoolean method. + + The format provider. + A bool. + + + + Implementation of the IConvertible ToByte method. + + The format provider. + A byte. + + + + Implementation of the IConvertible ToDecimal method. + + The format provider. + A decimal. + + + + Implementation of the IConvertible ToDouble method. + + The format provider. + A double. + + + + Implementation of the IConvertible ToInt16 method. + + The format provider. + A short. + + + + Implementation of the IConvertible ToInt32 method. + + The format provider. + An int. + + + + Implementation of the IConvertible ToInt64 method. + + The format provider. + A long. + + + + Implementation of the IConvertible ToSByte method. + + The format provider. + An sbyte. + + + + Implementation of the IConvertible ToSingle method. + + The format provider. + A float. + + + + Implementation of the IConvertible ToString method. + + The format provider. + A string. + + + + Implementation of the IConvertible ToUInt16 method. + + The format provider. + A ushort. + + + + Implementation of the IConvertible ToUInt32 method. + + The format provider. + A uint. + + + + Implementation of the IConvertible ToUInt64 method. + + The format provider. + A ulong. + + + + Compares two BsonBoolean values. + + The first BsonBoolean. + The other BsonBoolean. + True if the two BsonBoolean values are equal according to ==. + + + + Converts a bool to a BsonBoolean. + + A bool. + A BsonBoolean. + + + + Compares two BsonBoolean values. + + The first BsonBoolean. + The other BsonBoolean. + True if the two BsonBoolean values are not equal according to ==. + + + + Gets the BsonBoolean as a bool. + + + + + Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness). + + A Boolean. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Gets the instance of BsonBoolean that represents true. + + + + + Gets the value of this BsonBoolean. + + + + + A static class containing BSON constants. + + + + + Gets the number of milliseconds since the Unix epoch for DateTime.MaxValue. + + + + + Gets the number of milliseconds since the Unix epoch for DateTime.MinValue. + + + + + Gets the Unix Epoch for BSON DateTimes (1970-01-01). + + + + + Represents a BSON DateTime value. + + + + + Initializes a new instance of the BsonDateTime class. + + A DateTime. + + + + Initializes a new instance of the BsonDateTime class. + + Milliseconds since Unix Epoch. + + + + Gets the BsonType of this BsonValue. + + + + + Compares this BsonDateTime to another BsonDateTime. + + The other BsonDateTime. + A 32-bit signed integer that indicates whether this BsonDateTime is less than, equal to, or greather than the other. + + + + Compares the BsonDateTime to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonDateTime is less than, equal to, or greather than the other BsonValue. + + + + Creates a new BsonDateTime. + + An object to be mapped to a BsonDateTime. + A BsonDateTime or null. + + + + Compares this BsonDateTime to another BsonDateTime. + + The other BsonDateTime. + True if the two BsonDateTime values are equal. + + + + Compares this BsonDateTime to another object. + + The other object. + True if the other object is a BsonDateTime and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Implementation of the IConvertible GetTypeCode method. + + The TypeCode. + + + + Implementation of the IConvertible ToDateTime method. + + The format provider. + A DateTime. + + + + Gets whether this BsonDateTime is a valid .NET DateTime. + + + + + Gets the number of milliseconds since the Unix Epoch. + + + + + Compares two BsonDateTime values. + + The first BsonDateTime. + The other BsonDateTime. + True if the two BsonDateTime values are equal according to ==. + + + + Converts a DateTime to a BsonDateTime. + + A DateTime. + A BsonDateTime. + + + + Compares two BsonDateTime values. + + The first BsonDateTime. + The other BsonDateTime. + True if the two BsonDateTime values are not equal according to ==. + + + + Gets the number of milliseconds since the Unix Epoch. + + + + + Converts this BsonValue to a DateTime in local time. + + A DateTime. + + + + Converts this BsonValue to a DateTime? in local time. + + A DateTime?. + + + + Converts this BsonValue to a DateTime? in UTC. + + A DateTime?. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Converts this BsonValue to a DateTime in UTC. + + A DateTime. + + + + Gets the DateTime value. + + + + + Represents a BSON Decimal128 value. + + + + + Initializes a new instance of the class. + + The value. + + + + Gets the BsonType of this BsonValue. + + + + + Compares this BsonDecimal128 to another BsonDecimal128. + + The other BsonDecimal128. + A 32-bit signed integer that indicates whether this BsonDecimal128 is less than, equal to, or greather than the other. + + + + Compares this BsonValue to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonValue is less than, equal to, or greather than the other BsonValue. + + + + Creates a new instance of the BsonDecimal128 class. + + An object to be mapped to a BsonDecimal128. + A BsonDecimal128. + + + + Compares this BsonDecimal128 to another BsonDecimal128. + + The other BsonDecimal128. + True if the two BsonDecimal128 values are equal. + + + + Compares this BsonValue to another object. + + The other object. + True if the other object is a BsonValue and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Implementation of the IConvertible GetTypeCode method. + + The TypeCode. + + + + Implementation of the IConvertible ToBoolean method. + + The format provider. + A bool. + + + + Implementation of the IConvertible ToByte method. + + The format provider. + A byte. + + + + Implementation of the IConvertible ToDecimal method. + + The format provider. + A decimal. + + + + Implementation of the IConvertible ToDouble method. + + The format provider. + A double. + + + + Implementation of the IConvertible ToInt16 method. + + The format provider. + A short. + + + + Implementation of the IConvertible ToInt32 method. + + The format provider. + An int. + + + + Implementation of the IConvertible ToInt64 method. + + The format provider. + A long. + + + + Implementation of the IConvertible ToSByte method. + + The format provider. + An sbyte. + + + + Implementation of the IConvertible ToSingle method. + + The format provider. + A float. + + + + Implementation of the IConvertible ToString method. + + The format provider. + A string. + + + + Implementation of the IConvertible ToUInt16 method. + + The format provider. + A ushort. + + + + Implementation of the IConvertible ToUInt32 method. + + The format provider. + A uint. + + + + Implementation of the IConvertible ToUInt64 method. + + The format provider. + A ulong. + + + + Compares two BsonDecimal128 values. + + The first BsonDecimal128. + The other BsonDecimal128. + True if the two BsonDecimal128 values are equal according to ==. + + + + Converts a Decimal128 to a BsonDecimal128. + + A Decimal128. + A BsonDecimal128. + + + + Compares two BsonDecimal128 values. + + The first BsonDecimal128. + The other BsonDecimal128. + True if the two BsonDecimal128 values are not equal according to ==. + + + + Implementation of operator ==. + + The other BsonValue. + True if the two BsonValues are equal according to ==. + + + + Gets the raw value of this BsonValue (or null if this BsonValue doesn't have a single scalar value). + + + + + Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness). + + A Boolean. + + + + Converts this BsonValue to a Decimal. + + A Decimal. + + + + Converts this BsonValue to a Decimal128. + + A Decimal128. + + + + Converts this BsonValue to a Double. + + A Double. + + + + Converts this BsonValue to an Int32. + + An Int32. + + + + Converts this BsonValue to an Int64. + + An Int64. + + + Returns a string that represents the current object. + A string that represents the current object. + + + + Gets the value. + + + + + A static helper class containing BSON defaults. + + + + + Gets or sets the dynamic array serializer. + + + + + Gets or sets the dynamic document serializer. + + + + + Gets or sets the default representation to be used in serialization of + Guids to the database. + + + + + Gets or sets the default max document size. The default is 4MiB. + + + + + Gets or sets the default max serialization depth (used to detect circular references during serialization). The default is 100. + + + + + Represents a BSON document. + + + + + Initializes a new instance of the BsonDocument class. + + + + + Initializes a new instance of the BsonDocument class and adds one element. + + An element to add to the document. + + + + Initializes a new instance of the BsonDocument class and adds one or more elements. + + One or more elements to add to the document. + + + + Initializes a new instance of the BsonDocument class specifying whether duplicate element names are allowed + (allowing duplicate element names is not recommended). + + Whether duplicate element names are allowed. + + + + Initializes a new instance of the BsonDocument class and adds new elements from a dictionary of key/value pairs. + + A dictionary to initialize the document from. + + + + Initializes a new instance of the BsonDocument class and adds new elements from a dictionary of key/value pairs. + + A dictionary to initialize the document from. + A list of keys to select values from the dictionary. + + + + Initializes a new instance of the BsonDocument class and adds new elements from a dictionary of key/value pairs. + + A dictionary to initialize the document from. + A list of keys to select values from the dictionary. + + + + Initializes a new instance of the BsonDocument class and adds new elements from a list of elements. + + A list of elements to add to the document. + + + + Initializes a new instance of the BsonDocument class and adds new elements from a dictionary of key/value pairs. + + A dictionary to initialize the document from. + + + + Initializes a new instance of the BsonDocument class and adds new elements from a dictionary of key/value pairs. + + A dictionary to initialize the document from. + + + + Initializes a new instance of the BsonDocument class and adds new elements from a dictionary of key/value pairs. + + A dictionary to initialize the document from. + A list of keys to select values from the dictionary. + + + + Initializes a new instance of the BsonDocument class and creates and adds a new element. + + The name of the element to add to the document. + The value of the element to add to the document. + + + + Adds an element to the document. + + The element to add. + The document (so method calls can be chained). + + + + Adds a list of elements to the document. + + The list of elements. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + Which keys of the hash table to add. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + Which keys of the hash table to add. + The document (so method calls can be chained). + + + + Adds a list of elements to the document. + + The list of elements. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + Which keys of the hash table to add. + The document (so method calls can be chained). + + + + Creates and adds an element to the document. + + The name of the element. + The value of the element. + The document (so method calls can be chained). + + + + Creates and adds an element to the document, but only if the condition is true. + + The name of the element. + The value of the element. + Whether to add the element to the document. + The document (so method calls can be chained). + + + + Creates and adds an element to the document, but only if the condition is true. + If the condition is false the value factory is not called at all. + + The name of the element. + A delegate called to compute the value of the element if condition is true. + Whether to add the element to the document. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + The document (so method calls can be chained). + + + + Adds a list of elements to the document. + + The list of elements. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + The document (so method calls can be chained). + + + + Gets or sets whether to allow duplicate names (allowing duplicate names is not recommended). + + + + + Gets the BsonType of this BsonValue. + + + + + Clears the document (removes all elements). + + + + + Creates a shallow clone of the document (see also DeepClone). + + A shallow clone of the document. + + + + Compares this document to another document. + + The other document. + A 32-bit signed integer that indicates whether this document is less than, equal to, or greather than the other. + + + + Compares the BsonDocument to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonDocument is less than, equal to, or greather than the other BsonValue. + + + + Tests whether the document contains an element with the specified name. + + The name of the element to look for. + True if the document contains an element with the specified name. + + + + Tests whether the document contains an element with the specified value. + + The value of the element to look for. + True if the document contains an element with the specified value. + + + + Creates a new BsonDocument by mapping an object to a BsonDocument. + + The object to be mapped to a BsonDocument. + A BsonDocument. + + + + Creates a deep clone of the document (see also Clone). + + A deep clone of the document. + + + + Gets the number of elements. + + + + + Gets the elements. + + + + + Compares this document to another document. + + The other document. + True if the two documents are equal. + + + + Compares this BsonDocument to another object. + + The other object. + True if the other object is a BsonDocument and equal to this one. + + + + Gets an element of this document. + + The zero based index of the element. + The element. + + + + Gets an element of this document. + + The name of the element. + A BsonElement. + + + + Gets an enumerator that can be used to enumerate the elements of this document. + + An enumerator. + + + + Gets the hash code. + + The hash code. + + + + Gets the value of an element. + + The zero based index of the element. + The value of the element. + + + + Gets the value of an element. + + The name of the element. + The value of the element. + + + + Gets the value of an element or a default value if the element is not found. + + The name of the element. + The default value returned if the element is not found. + The value of the element or the default value if the element is not found. + + + + Gets the index of an element. + + The name of the element. + The index of the element, or -1 if the element is not found. + + + + Inserts a new element at a specified position. + + The position of the new element. + The element. + + + + Gets or sets a value by position. + + The position. + The value. + + + + Gets or sets a value by name. + + The name. + The value. + + + + Gets the value of an element or a default value if the element is not found. + + The name of the element. + The default value to return if the element is not found. + Teh value of the element or a default value if the element is not found. + + + + Merges another document into this one. Existing elements are not overwritten. + + The other document. + The document (so method calls can be chained). + + + + Merges another document into this one, specifying whether existing elements are overwritten. + + The other document. + Whether to overwrite existing elements. + The document (so method calls can be chained). + + + + Gets the element names. + + + + + Compares two BsonDocument values. + + The first BsonDocument. + The other BsonDocument. + True if the two BsonDocument values are equal according to ==. + + + + Compares two BsonDocument values. + + The first BsonDocument. + The other BsonDocument. + True if the two BsonDocument values are not equal according to ==. + + + + Parses a JSON string and returns a BsonDocument. + + The JSON string. + A BsonDocument. + + + + Gets the raw values (see BsonValue.RawValue). + + + + + Removes an element from this document (if duplicate element names are allowed + then all elements with this name will be removed). + + The name of the element to remove. + + + + Removes an element from this document. + + The zero based index of the element to remove. + + + + Removes an element from this document. + + The element to remove. + + + + Sets the value of an element. + + The zero based index of the element whose value is to be set. + The new value. + The document (so method calls can be chained). + + + + Sets the value of an element (an element will be added if no element with this name is found). + + The name of the element whose value is to be set. + The new value. + The document (so method calls can be chained). + + + + Sets an element of the document (replaces any existing element with the same name or adds a new element if an element with the same name is not found). + + The new element. + The document. + + + + Sets an element of the document (replacing the existing element at that position). + + The zero based index of the element to replace. + The new element. + The document. + + + + Converts the BsonDocument to a Dictionary<string, object>. + + A dictionary. + + + + Converts the BsonDocument to a Hashtable. + + A hashtable. + + + + Returns a string representation of the document. + + A string representation of the document. + + + + Tries to get an element of this document. + + The name of the element. + The element. + True if an element with that name was found. + + + + Tries to get the value of an element of this document. + + The name of the element. + The value of the element. + True if an element with that name was found. + + + + Tries to parse a JSON string and returns a value indicating whether it succeeded or failed. + + The JSON string. + The result. + Whether it succeeded or failed. + + + + Gets the values. + + + + + Represents a BsonDocument wrapper. + + + + + Initializes a new instance of the class. + + The value. + + + + Initializes a new instance of the class. + + The value. + The serializer. + + + + Creates a shallow clone of the document (see also DeepClone). + + + A shallow clone of the document. + + + + + Creates a new instance of the BsonDocumentWrapper class. + + The nominal type of the wrapped object. + The wrapped object. + A BsonDocumentWrapper. + + + + Creates a new instance of the BsonDocumentWrapper class. + + The wrapped object. + The nominal type of the wrapped object. + A BsonDocumentWrapper. + + + + Creates a list of new instances of the BsonDocumentWrapper class. + + A list of wrapped objects. + The nominal type of the wrapped objects. + A list of BsonDocumentWrappers. + + + + Creates a list of new instances of the BsonDocumentWrapper class. + + The nominal type of the wrapped object. + A list of wrapped objects. + A list of BsonDocumentWrappers. + + + + Materializes the BsonDocument. + + The materialized elements. + + + + Informs subclasses that the Materialize process completed so they can free any resources related to the unmaterialized state. + + + + + Gets the serializer. + + + + + Gets the wrapped value. + + + + + Represents a BSON double value. + + + + + Initializes a new instance of the BsonDouble class. + + The value. + + + + Gets the BsonType of this BsonValue. + + + + + Compares this BsonDouble to another BsonDouble. + + The other BsonDouble. + A 32-bit signed integer that indicates whether this BsonDouble is less than, equal to, or greather than the other. + + + + Compares this BsonValue to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonValue is less than, equal to, or greather than the other BsonValue. + + + + Creates a new instance of the BsonDouble class. + + An object to be mapped to a BsonDouble. + A BsonDouble. + + + + Compares this BsonDouble to another BsonDouble. + + The other BsonDouble. + True if the two BsonDouble values are equal. + + + + Compares this BsonValue to another object. + + The other object. + True if the other object is a BsonValue and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Implementation of the IConvertible GetTypeCode method. + + The TypeCode. + + + + Implementation of the IConvertible ToBoolean method. + + The format provider. + A bool. + + + + Implementation of the IConvertible ToByte method. + + The format provider. + A byte. + + + + Implementation of the IConvertible ToDecimal method. + + The format provider. + A decimal. + + + + Implementation of the IConvertible ToDouble method. + + The format provider. + A double. + + + + Implementation of the IConvertible ToInt16 method. + + The format provider. + A short. + + + + Implementation of the IConvertible ToInt32 method. + + The format provider. + An int. + + + + Implementation of the IConvertible ToInt64 method. + + The format provider. + A long. + + + + Implementation of the IConvertible ToSByte method. + + The format provider. + An sbyte. + + + + Implementation of the IConvertible ToSingle method. + + The format provider. + A float. + + + + Implementation of the IConvertible ToString method. + + The format provider. + A string. + + + + Implementation of the IConvertible ToUInt16 method. + + The format provider. + A ushort. + + + + Implementation of the IConvertible ToUInt32 method. + + The format provider. + A uint. + + + + Implementation of the IConvertible ToUInt64 method. + + The format provider. + A ulong. + + + + Compares two BsonDouble values. + + The first BsonDouble. + The other BsonDouble. + True if the two BsonDouble values are equal according to ==. + + + + Converts a double to a BsonDouble. + + A double. + A BsonDouble. + + + + Compares two BsonDouble values. + + The first BsonDouble. + The other BsonDouble. + True if the two BsonDouble values are not equal according to ==. + + + + Implementation of operator ==. + + The other BsonValue. + True if the two BsonValues are equal according to ==. + + + + Gets the raw value of this BsonValue (or null if this BsonValue doesn't have a single scalar value). + + + + + Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness). + + A Boolean. + + + + Converts this BsonValue to a Decimal. + + A Decimal. + + + + Converts this BsonValue to a Decimal128. + + A Decimal128. + + + + Converts this BsonValue to a Double. + + A Double. + + + + Converts this BsonValue to an Int32. + + An Int32. + + + + Converts this BsonValue to an Int64. + + An Int64. + + + Returns a string that represents the current object. + A string that represents the current object. + + + + Gets the value of this BsonDouble. + + + + + Represents a BSON element. + + + + + Initializes a new instance of the BsonElement class. + + The name of the element. + The value of the element. + + + + Creates a shallow clone of the element (see also DeepClone). + + A shallow clone of the element. + + + + Compares this BsonElement to another BsonElement. + + The other BsonElement. + A 32-bit signed integer that indicates whether this BsonElement is less than, equal to, or greather than the other. + + + + Creates a deep clone of the element (see also Clone). + + A deep clone of the element. + + + + Compares this BsonElement to another BsonElement. + + The other BsonElement. + True if the two BsonElement values are equal. + + + + Compares this BsonElement to another object. + + The other object. + True if the other object is a BsonElement and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Gets the name of the element. + + + + + Compares two BsonElements. + + The first BsonElement. + The other BsonElement. + True if the two BsonElements are equal (or both null). + + + + Compares two BsonElements. + + The first BsonElement. + The other BsonElement. + True if the two BsonElements are not equal (or one is null and the other is not). + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Gets or sets the value of the element. + + + + + Represents a BSON exception. + + + + + Initializes a new instance of the BsonException class. + + + + + Initializes a new instance of the BsonException class (this overload used by deserialization). + + The SerializationInfo. + The StreamingContext. + + + + Initializes a new instance of the BsonException class. + + The error message. + + + + Initializes a new instance of the BsonException class. + + The error message. + The inner exception. + + + + Initializes a new instance of the BsonException class. + + The error message format string. + One or more args for the error message. + + + + A static class containing BSON extension methods. + + + + + Serializes an object to a BSON byte array. + + The object. + The nominal type of the object.. + The writer settings. + The serializer. + The serialization context configurator. + The serialization args. + A BSON byte array. + nominalType + serializer + + + + Serializes an object to a BSON byte array. + + The object. + The serializer. + The writer settings. + The serialization context configurator. + The serialization args. + The nominal type of the object. + A BSON byte array. + + + + Serializes an object to a BsonDocument. + + The object. + The nominal type of the object. + The serializer. + The serialization context configurator. + The serialization args. + A BsonDocument. + nominalType + serializer + + + + Serializes an object to a BsonDocument. + + The object. + The serializer. + The serialization context configurator. + The serialization args. + The nominal type of the object. + A BsonDocument. + + + + Serializes an object to a JSON string. + + The object. + The nominal type of the objectt. + The JsonWriter settings. + The serializer. + The serialization context configurator. + The serialization args. + + A JSON string. + + nominalType + serializer + + + + Serializes an object to a JSON string. + + The object. + The JsonWriter settings. + The serializer. + The serializastion context configurator. + The serialization args. + The nominal type of the object. + + A JSON string. + + + + + Represents a BSON int value. + + + + + Creates a new instance of the BsonInt32 class. + + The value. + + + + Gets the BsonType of this BsonValue. + + + + + Compares this BsonInt32 to another BsonInt32. + + The other BsonInt32. + A 32-bit signed integer that indicates whether this BsonInt32 is less than, equal to, or greather than the other. + + + + Compares the BsonInt32 to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonInt32 is less than, equal to, or greather than the other BsonValue. + + + + Creates a new BsonInt32. + + An object to be mapped to a BsonInt32. + A BsonInt32 or null. + + + + Compares this BsonInt32 to another BsonInt32. + + The other BsonInt32. + True if the two BsonInt32 values are equal. + + + + Compares this BsonInt32 to another object. + + The other object. + True if the other object is a BsonInt32 and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Implementation of the IConvertible GetTypeCode method. + + The TypeCode. + + + + Implementation of the IConvertible ToBoolean method. + + The format provider. + A bool. + + + + Implementation of the IConvertible ToByte method. + + The format provider. + A byte. + + + + Implementation of the IConvertible ToChar method. + + The format provider. + A char. + + + + Implementation of the IConvertible ToDecimal method. + + The format provider. + A decimal. + + + + Implementation of the IConvertible ToDouble method. + + The format provider. + A double. + + + + Implementation of the IConvertible ToInt16 method. + + The format provider. + A short. + + + + Implementation of the IConvertible ToInt32 method. + + The format provider. + An int. + + + + Implementation of the IConvertible ToInt64 method. + + The format provider. + A long. + + + + Implementation of the IConvertible ToSByte method. + + The format provider. + An sbyte. + + + + Implementation of the IConvertible ToSingle method. + + The format provider. + A float. + + + + Implementation of the IConvertible ToString method. + + The format provider. + A string. + + + + Implementation of the IConvertible ToUInt16 method. + + The format provider. + A ushort. + + + + Implementation of the IConvertible ToUInt32 method. + + The format provider. + A uint. + + + + Implementation of the IConvertible ToUInt64 method. + + The format provider. + A ulong. + + + + Gets an instance of BsonInt32 that represents -1. + + + + + Gets an instance of BsonInt32 that represents 1. + + + + + Compares two BsonInt32 values. + + The first BsonInt32. + The other BsonInt32. + True if the two BsonInt32 values are equal according to ==. + + + + Converts an int to a BsonInt32. + + An int. + A BsonInt32. + + + + Compares two BsonInt32 values. + + The first BsonInt32. + The other BsonInt32. + True if the two BsonInt32 values are not equal according to ==. + + + + Compares this BsonInt32 against another BsonValue. + + The other BsonValue. + True if this BsonInt32 and the other BsonValue are equal according to ==. + + + + Gets the BsonInt32 as an int. + + + + + Gets an instance of BsonInt32 that represents 3. + + + + + Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness). + + A Boolean. + + + + Converts this BsonValue to a Decimal. + + A Decimal. + + + + Converts this BsonValue to a Decimal128. + + A Decimal128. + + + + Converts this BsonValue to a Double. + + A Double. + + + + Converts this BsonValue to an Int32. + + An Int32. + + + + Converts this BsonValue to an Int64. + + An Int32. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Gets an instance of BsonInt32 that represents 2. + + + + + Gets the value of this BsonInt32. + + + + + Gets an instance of BsonInt32 that represents -0. + + + + + Represents a BSON long value. + + + + + Initializes a new instance of the BsonInt64 class. + + The value. + + + + Gets the BsonType of this BsonValue. + + + + + Compares this BsonInt64 to another BsonInt64. + + The other BsonInt64. + A 32-bit signed integer that indicates whether this BsonInt64 is less than, equal to, or greather than the other. + + + + Compares the BsonInt64 to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonInt64 is less than, equal to, or greather than the other BsonValue. + + + + Creates a new BsonInt64. + + An object to be mapped to a BsonInt64. + A BsonInt64 or null. + + + + Compares this BsonInt64 to another BsonInt64. + + The other BsonInt64. + True if the two BsonInt64 values are equal. + + + + Compares this BsonInt64 to another object. + + The other object. + True if the other object is a BsonInt64 and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Implementation of the IConvertible GetTypeCode method. + + The TypeCode. + + + + Implementation of the IConvertible ToBoolean method. + + The format provider. + A bool. + + + + Implementation of the IConvertible ToByte method. + + The format provider. + A byte. + + + + Implementation of the IConvertible ToChar method. + + The format provider. + A char. + + + + Implementation of the IConvertible ToDecimal method. + + The format provider. + A decimal. + + + + Implementation of the IConvertible ToDouble method. + + The format provider. + A double. + + + + Implementation of the IConvertible ToInt16 method. + + The format provider. + A short. + + + + Implementation of the IConvertible ToInt32 method. + + The format provider. + An int. + + + + Implementation of the IConvertible ToInt64 method. + + The format provider. + A long. + + + + Implementation of the IConvertible ToSByte method. + + The format provider. + An sbyte. + + + + Implementation of the IConvertible ToSingle method. + + The format provider. + A float. + + + + Implementation of the IConvertible ToString method. + + The format provider. + A string. + + + + Implementation of the IConvertible ToUInt16 method. + + The format provider. + A ushort. + + + + Implementation of the IConvertible ToUInt32 method. + + The format provider. + A uint. + + + + Implementation of the IConvertible ToUInt64 method. + + The format provider. + A ulong. + + + + Compares two BsonInt64 values. + + The first BsonInt64. + The other BsonInt64. + True if the two BsonInt64 values are equal according to ==. + + + + Converts a long to a BsonInt64. + + A long. + A BsonInt64. + + + + Compares two BsonInt64 values. + + The first BsonInt64. + The other BsonInt64. + True if the two BsonInt64 values are not equal according to ==. + + + + Compares this BsonInt32 against another BsonValue. + + The other BsonValue. + True if this BsonInt64 and the other BsonValue are equal according to ==. + + + + Gets the BsonInt64 as a long. + + + + + Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness). + + A Boolean. + + + + Converts this BsonValue to a Decimal. + + A Decimal. + + + + Converts this BsonValue to a Decimal128. + + A Decimal128. + + + + Converts this BsonValue to a Double. + + A Double. + + + + Converts this BsonValue to an Int32. + + An Int32. + + + + Converts this BsonValue to an Int64. + + An Int32. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Gets the value of this BsonInt64. + + + + + Represents a BSON internal exception (almost surely the result of a bug). + + + + + Initializes a new instance of the BsonInternalException class. + + + + + Initializes a new instance of the BsonInternalException class (this overload used by deserialization). + + The SerializationInfo. + The StreamingContext. + + + + Initializes a new instance of the BsonInternalException class. + + The error message. + + + + Initializes a new instance of the BsonInternalException class. + + The error message. + The inner exception. + + + + Represents a BSON JavaScript value. + + + + + Initializes a new instance of the BsonJavaScript class. + + The JavaScript code. + + + + Gets the BsonType of this BsonValue. + + + + + Gets the JavaScript code. + + + + + Compares this BsonJavaScript to another BsonJavaScript. + + The other BsonJavaScript. + A 32-bit signed integer that indicates whether this BsonJavaScript is less than, equal to, or greather than the other. + + + + Compares the BsonJavaScript to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonJavaScript is less than, equal to, or greather than the other BsonValue. + + + + Creates a new BsonJavaScript. + + An object to be mapped to a BsonJavaScript. + A BsonJavaScript or null. + + + + Compares this BsonJavaScript to another BsonJavaScript. + + The other BsonJavaScript. + True if the two BsonJavaScript values are equal. + + + + Compares this BsonJavaScript to another object. + + The other object. + True if the other object is a BsonJavaScript and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Compares two BsonJavaScript values. + + The first BsonJavaScript. + The other BsonJavaScript. + True if the two BsonJavaScript values are equal according to ==. + + + + Converts a string to a BsonJavaScript. + + A string. + A BsonJavaScript. + + + + Compares two BsonJavaScript values. + + The first BsonJavaScript. + The other BsonJavaScript. + True if the two BsonJavaScript values are not equal according to ==. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Represents a BSON JavaScript value with a scope. + + + + + Initializes a new instance of the BsonJavaScriptWithScope class. + + The JavaScript code. + A scope (a set of variables with values). + + + + Gets the BsonType of this BsonValue. + + + + + Creates a shallow clone of the BsonJavaScriptWithScope (see also DeepClone). + + A shallow clone of the BsonJavaScriptWithScope. + + + + Compares this BsonJavaScriptWithScope to another BsonJavaScriptWithScope. + + The other BsonJavaScriptWithScope. + A 32-bit signed integer that indicates whether this BsonJavaScriptWithScope is less than, equal to, or greather than the other. + + + + Compares the BsonJavaScriptWithScope to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonJavaScriptWithScope is less than, equal to, or greather than the other BsonValue. + + + + Creates a new BsonJavaScriptWithScope. + + An object to be mapped to a BsonJavaScriptWithScope. + A BsonJavaScriptWithScope or null. + + + + Creates a deep clone of the BsonJavaScriptWithScope (see also Clone). + + A deep clone of the BsonJavaScriptWithScope. + + + + Compares this BsonJavaScriptWithScope to another BsonJavaScriptWithScope. + + The other BsonJavaScriptWithScope. + True if the two BsonJavaScriptWithScope values are equal. + + + + Compares this BsonJavaScriptWithScope to another object. + + The other object. + True if the other object is a BsonJavaScriptWithScope and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Compares two BsonJavaScriptWithScope values. + + The first BsonJavaScriptWithScope. + The other BsonJavaScriptWithScope. + True if the two BsonJavaScriptWithScope values are equal according to ==. + + + + Compares two BsonJavaScriptWithScope values. + + The first BsonJavaScriptWithScope. + The other BsonJavaScriptWithScope. + True if the two BsonJavaScriptWithScope values are not equal according to ==. + + + + Gets the scope (a set of variables with values). + + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Represents the BSON MaxKey value. + + + + + Gets the BsonType of this BsonValue. + + + + + Compares this BsonMaxKey to another BsonMaxKey. + + The other BsonMaxKey. + A 32-bit signed integer that indicates whether this BsonMaxKey is less than, equal to, or greather than the other. + + + + Compares the BsonMaxKey to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonMaxKey is less than, equal to, or greather than the other BsonValue. + + + + Compares this BsonMaxKey to another BsonMaxKey. + + The other BsonMaxKey. + True if the two BsonMaxKey values are equal. + + + + Compares this BsonMaxKey to another object. + + The other object. + True if the other object is a BsonMaxKey and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Compares two BsonMaxKey values. + + The first BsonMaxKey. + The other BsonMaxKey. + True if the two BsonMaxKey values are equal according to ==. + + + + Compares two BsonMaxKey values. + + The first BsonMaxKey. + The other BsonMaxKey. + True if the two BsonMaxKey values are not equal according to ==. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Gets the singleton instance of BsonMaxKey. + + + + + Represents the BSON MinKey value. + + + + + Gets the BsonType of this BsonValue. + + + + + Compares this BsonMinKey to another BsonMinKey. + + The other BsonMinKey. + A 32-bit signed integer that indicates whether this BsonMinKey is less than, equal to, or greather than the other. + + + + Compares the BsonMinKey to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonMinKey is less than, equal to, or greather than the other BsonValue. + + + + Compares this BsonMinKey to another BsonMinKey. + + The other BsonMinKey. + True if the two BsonMinKey values are equal. + + + + Compares this BsonMinKey to another object. + + The other object. + True if the other object is a BsonMinKey and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Compares two BsonMinKey values. + + The first BsonMinKey. + The other BsonMinKey. + True if the two BsonMinKey values are equal according to ==. + + + + Compares two BsonMinKey values. + + The first BsonMinKey. + The other BsonMinKey. + True if the two BsonMinKey values are not equal according to ==. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Gets the singleton instance of BsonMinKey. + + + + + Represents the BSON Null value. + + + + + Gets the BsonType of this BsonValue. + + + + + Compares this BsonNull to another BsonNull. + + The other BsonNull. + A 32-bit signed integer that indicates whether this BsonNull is less than, equal to, or greather than the other. + + + + Compares the BsonNull to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonNull is less than, equal to, or greather than the other BsonValue. + + + + Compares this BsonNull to another BsonNull. + + The other BsonNull. + True if the two BsonNull values are equal. + + + + Compares this BsonNull to another object. + + The other object. + True if the other object is a BsonNull and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Compares two BsonNull values. + + The first BsonNull. + The other BsonNull. + True if the two BsonNull values are equal according to ==. + + + + Compares two BsonNull values. + + The first BsonNull. + The other BsonNull. + True if the two BsonNull values are not equal according to ==. + + + + Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness). + + A Boolean. + + + + Converts this BsonValue to a DateTime? in local time. + + A DateTime?. + + + + Converts this BsonValue to a DateTime? in UTC. + + A DateTime?. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Gets the singleton instance of BsonNull. + + + + + Represents a BSON ObjectId value (see also ObjectId). + + + + + Initializes a new instance of the BsonObjectId class. + + The value. + + + + Initializes a new instance of the BsonObjectId class. + + The bytes. + + + + Initializes a new instance of the BsonObjectId class. + + The timestamp (expressed as a DateTime). + The machine hash. + The PID. + The increment. + + + + Initializes a new instance of the BsonObjectId class. + + The timestamp. + The machine hash. + The PID. + The increment. + + + + Initializes a new instance of the BsonObjectId class. + + The value. + + + + Gets the BsonType of this BsonValue. + + + + + Compares this BsonObjectId to another BsonObjectId. + + The other BsonObjectId. + A 32-bit signed integer that indicates whether this BsonObjectId is less than, equal to, or greather than the other. + + + + Compares the BsonObjectId to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonObjectId is less than, equal to, or greather than the other BsonValue. + + + + Creates a new BsonObjectId. + + An object to be mapped to a BsonObjectId. + A BsonObjectId or null. + + + + Gets the creation time (derived from the timestamp). + + + + + Gets an instance of BsonObjectId where the value is empty. + + + + + Compares this BsonObjectId to another BsonObjectId. + + The other BsonObjectId. + True if the two BsonObjectId values are equal. + + + + Compares this BsonObjectId to another object. + + The other object. + True if the other object is a BsonObjectId and equal to this one. + + + + Generates a new BsonObjectId with a unique value. + + A BsonObjectId. + + + + Generates a new BsonObjectId with a unique value (with the timestamp component based on a given DateTime). + + The timestamp component (expressed as a DateTime). + A BsonObjectId. + + + + Generates a new BsonObjectId with a unique value (with the given timestamp). + + The timestamp component. + A BsonObjectId. + + + + Gets the hash code. + + The hash code. + + + + Implementation of the IConvertible ToString method. + + The format provider. + A string. + + + + Gets the increment. + + + + + Gets the machine. + + + + + Compares two BsonObjectId values. + + The first BsonObjectId. + The other BsonObjectId. + True if the two BsonObjectId values are equal according to ==. + + + + Converts an ObjectId to a BsonObjectId. + + An ObjectId. + A BsonObjectId. + + + + Compares two BsonObjectId values. + + The first BsonObjectId. + The other BsonObjectId. + True if the two BsonObjectId values are not equal according to ==. + + + + Parses a string and creates a new BsonObjectId. + + The string value. + A BsonObjectId. + + + + Gets the PID. + + + + + Gets the BsonObjectId as an ObjectId. + + + + + Gets the timestamp. + + + + + Converts the BsonObjectId to a byte array. + + A byte array. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Tries to parse a string and create a new BsonObjectId. + + The string value. + The new BsonObjectId. + True if the string was parsed successfully. + + + + Gets the value of this BsonObjectId. + + + + + Represents a BSON regular expression value. + + + + + Initializes a new instance of the BsonRegularExpression class. + + A regular expression pattern. + + + + Initializes a new instance of the BsonRegularExpression class. + + A regular expression pattern. + Regular expression options. + + + + Initializes a new instance of the BsonRegularExpression class. + + A Regex. + + + + Gets the BsonType of this BsonValue. + + + + + Compares this BsonRegularExpression to another BsonRegularExpression. + + The other BsonRegularExpression. + A 32-bit signed integer that indicates whether this BsonRegularExpression is less than, equal to, or greather than the other. + + + + Compares the BsonRegularExpression to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonRegularExpression is less than, equal to, or greather than the other BsonValue. + + + + Creates a new BsonRegularExpression. + + An object to be mapped to a BsonRegularExpression. + A BsonRegularExpression or null. + + + + Compares this BsonRegularExpression to another BsonRegularExpression. + + The other BsonRegularExpression. + True if the two BsonRegularExpression values are equal. + + + + Compares this BsonRegularExpression to another object. + + The other object. + True if the other object is a BsonRegularExpression and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Compares two BsonRegularExpression values. + + The first BsonRegularExpression. + The other BsonRegularExpression. + True if the two BsonRegularExpression values are equal according to ==. + + + + Converts a string to a BsonRegularExpression. + + A string. + A BsonRegularExpression. + + + + Converts a Regex to a BsonRegularExpression. + + A Regex. + A BsonRegularExpression. + + + + Compares two BsonRegularExpression values. + + The first BsonRegularExpression. + The other BsonRegularExpression. + True if the two BsonRegularExpression values are not equal according to ==. + + + + Gets the regular expression options. + + + + + Gets the regular expression pattern. + + + + + Converts the BsonRegularExpression to a Regex. + + A Regex. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Represents a BSON serialization exception. + + + + + Initializes a new instance of the BsonSerializationException class. + + + + + Initializes a new instance of the BsonSerializationException class (this overload used by deserialization). + + The SerializationInfo. + The StreamingContext. + + + + Initializes a new instance of the BsonSerializationException class. + + The error message. + + + + Initializes a new instance of the BsonSerializationException class. + + The error message. + The inner exception. + + + + Represents a BSON string value. + + + + + Initializes a new instance of the BsonString class. + + The value. + + + + Gets the BsonType of this BsonValue. + + + + + Compares this BsonString to another BsonString. + + The other BsonString. + A 32-bit signed integer that indicates whether this BsonString is less than, equal to, or greather than the other. + + + + Compares the BsonString to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonString is less than, equal to, or greather than the other BsonValue. + + + + Creates a new BsonString. + + An object to be mapped to a BsonString. + A BsonString or null. + + + + Gets an instance of BsonString that represents an empty string. + + + + + Compares this BsonString to another BsonString. + + The other BsonString. + True if the two BsonString values are equal. + + + + Compares this BsonString to another object. + + The other object. + True if the other object is a BsonString and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Implementation of the IConvertible GetTypeCode method. + + The TypeCode. + + + + Implementation of the IConvertible ToBoolean method. + + The format provider. + A bool. + + + + Implementation of the IConvertible ToByte method. + + The format provider. + A byte. + + + + Implementation of the IConvertible ToChar method. + + The format provider. + A char. + + + + Implementation of the IConvertible ToDateTime method. + + The format provider. + A DateTime. + + + + Implementation of the IConvertible ToDecimal method. + + The format provider. + A decimal. + + + + Implementation of the IConvertible ToDouble method. + + The format provider. + A double. + + + + Implementation of the IConvertible ToInt16 method. + + The format provider. + A short. + + + + Implementation of the IConvertible ToInt32 method. + + The format provider. + An int. + + + + Implementation of the IConvertible ToInt64 method. + + The format provider. + A long. + + + + Implementation of the IConvertible ToSByte method. + + The format provider. + An sbyte. + + + + Implementation of the IConvertible ToSingle method. + + The format provider. + A float. + + + + Implementation of the IConvertible ToString method. + + The format provider. + A string. + + + + Implementation of the IConvertible ToUInt16 method. + + The format provider. + A ushort. + + + + Implementation of the IConvertible ToUInt32 method. + + The format provider. + A uint. + + + + Implementation of the IConvertible ToUInt64 method. + + The format provider. + A ulong. + + + + Compares two BsonString values. + + The first BsonString. + The other BsonString. + True if the two BsonString values are equal according to ==. + + + + Converts a string to a BsonString. + + A string. + A BsonString. + + + + Compares two BsonString values. + + The first BsonString. + The other BsonString. + True if the two BsonString values are not equal according to ==. + + + + Gets the BsonString as a string. + + + + + Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness). + + A Boolean. + + + + Converts this BsonValue to a Decimal. + + A Decimal. + + + + Converts this BsonValue to a Decimal128. + + A Decimal128. + + + + Converts this BsonValue to a Double. + + A Double. + + + + Converts this BsonValue to an Int32. + + An Int32. + + + + Converts this BsonValue to an Int64. + + An Int32. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Gets the value of this BsonString. + + + + + Represents a BSON symbol value. + + + + + Gets the BsonType of this BsonValue. + + + + + Compares this BsonSymbol to another BsonSymbol. + + The other BsonSymbol. + A 32-bit signed integer that indicates whether this BsonSymbol is less than, equal to, or greather than the other. + + + + Compares the BsonSymbol to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonSymbol is less than, equal to, or greather than the other BsonValue. + + + + Creates a new BsonSymbol. + + An object to be mapped to a BsonSymbol. + A BsonSymbol or null. + + + + Compares this BsonSymbol to another BsonSymbol. + + The other BsonSymbol. + True if the two BsonSymbol values are equal. + + + + Compares this BsonSymbol to another object. + + The other object. + True if the other object is a BsonSymbol and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Gets the name of the symbol. + + + + + Compares two BsonSymbol values. + + The first BsonSymbol. + The other BsonSymbol. + True if the two BsonSymbol values are equal according to ==. + + + + Converts a string to a BsonSymbol. + + A string. + A BsonSymbol. + + + + Compares two BsonSymbol values. + + The first BsonSymbol. + The other BsonSymbol. + True if the two BsonSymbol values are not equal according to ==. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Represents the symbol table of BsonSymbols. + + + + + Looks up a symbol (and creates a new one if necessary). + + The name of the symbol. + The symbol. + + + + Represents a BSON timestamp value. + + + + + Initializes a new instance of the BsonTimestamp class. + + The timestamp. + The increment. + + + + Initializes a new instance of the BsonTimestamp class. + + The combined timestamp/increment value. + + + + Gets the BsonType of this BsonValue. + + + + + Compares this BsonTimestamp to another BsonTimestamp. + + The other BsonTimestamp. + A 32-bit signed integer that indicates whether this BsonTimestamp is less than, equal to, or greather than the other. + + + + Compares the BsonTimestamp to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonTimestamp is less than, equal to, or greather than the other BsonValue. + + + + Creates a new BsonTimestamp. + + An object to be mapped to a BsonTimestamp. + A BsonTimestamp or null. + + + + Compares this BsonTimestamp to another BsonTimestamp. + + The other BsonTimestamp. + True if the two BsonTimestamp values are equal. + + + + Compares this BsonTimestamp to another object. + + The other object. + True if the other object is a BsonTimestamp and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Gets the increment. + + + + + Compares two BsonTimestamp values. + + The first BsonTimestamp. + The other BsonTimestamp. + True if the two BsonTimestamp values are equal according to ==. + + + + Compares two BsonTimestamp values. + + The first BsonTimestamp. + The other BsonTimestamp. + True if the two BsonTimestamp values are not equal according to ==. + + + + Gets the timestamp. + + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Gets the value of this BsonTimestamp. + + + + + Represents the type of a BSON element. + + + + + Not a real BSON type. Used to signal the end of a document. + + + + + A BSON double. + + + + + A BSON string. + + + + + A BSON document. + + + + + A BSON array. + + + + + BSON binary data. + + + + + A BSON undefined value. + + + + + A BSON ObjectId. + + + + + A BSON bool. + + + + + A BSON DateTime. + + + + + A BSON null value. + + + + + A BSON regular expression. + + + + + BSON JavaScript code. + + + + + A BSON symbol. + + + + + BSON JavaScript code with a scope (a set of variables with values). + + + + + A BSON 32-bit integer. + + + + + A BSON timestamp. + + + + + A BSON 64-bit integer. + + + + + A BSON 128-bit decimal. + + + + + A BSON MinKey value. + + + + + A BSON MaxKey value. + + + + + A static class that maps between .NET objects and BsonValues. + + + + + Maps an object to an instance of the closest BsonValue class. + + An object. + A BsonValue. + + + + Maps an object to a specific BsonValue type. + + An object. + The BsonType to map to. + A BsonValue of the desired type (or BsonNull.Value if value is null and bsonType is Null). + + + + Maps a BsonValue to a .NET value using the default BsonTypeMapperOptions. + + The BsonValue. + The mapped .NET value. + + + + Maps a BsonValue to a .NET value. + + The BsonValue. + The BsonTypeMapperOptions. + The mapped .NET value. + + + + Registers a custom type mapper. + + The type. + A custom type mapper. + + + + Tries to map an object to an instance of the closest BsonValue class. + + An object. + The BsonValue. + True if the mapping was successfull. + + + + Represents options used by the BsonTypeMapper. + + + + + Initializes a new instance of the BsonTypeMapperOptions class. + + + + + Clones the BsonTypeMapperOptions. + + The cloned BsonTypeMapperOptions. + + + + Gets or sets the default BsonTypeMapperOptions. + + + + + Gets or sets how duplicate names should be handled. + + + + + Freezes the BsonTypeMapperOptions. + + The frozen BsonTypeMapperOptions. + + + + Gets whether the BsonTypeMapperOptions is frozen. + + + + + Gets or sets the type that a BsonArray should be mapped to. + + + + + Gets or sets the type that a BsonDocument should be mapped to. + + + + + Gets or sets whether binary sub type OldBinary should be mapped to byte[] the way sub type Binary is. + + + + + Represents the BSON undefined value. + + + + + Gets the BsonType of this BsonValue. + + + + + Compares this BsonUndefined to another BsonUndefined. + + The other BsonUndefined. + A 32-bit signed integer that indicates whether this BsonUndefined is less than, equal to, or greather than the other. + + + + Compares the BsonUndefined to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonUndefined is less than, equal to, or greather than the other BsonValue. + + + + Compares this BsonUndefined to another BsonUndefined. + + The other BsonUndefined. + True if the two BsonUndefined values are equal. + + + + Compares this BsonUndefined to another object. + + The other object. + True if the other object is a BsonUndefined and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Compares two BsonUndefined values. + + The first BsonUndefined. + The other BsonUndefined. + True if the two BsonUndefined values are equal according to ==. + + + + Compares two BsonUndefined values. + + The first BsonUndefined. + The other BsonUndefined. + True if the two BsonUndefined values are not equal according to ==. + + + + Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness). + + A Boolean. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Gets the singleton instance of BsonUndefined. + + + + + A static class containing BSON utility methods. + + + + + Gets a friendly class name suitable for use in error messages. + + The type. + A friendly class name. + + + + Parses a hex string into its equivalent byte array. + + The hex string to parse. + The byte equivalent of the hex string. + + + + Converts from number of milliseconds since Unix epoch to DateTime. + + The number of milliseconds since Unix epoch. + A DateTime. + + + + Converts a byte array to a hex string. + + The byte array. + A hex string. + + + + Converts a DateTime to local time (with special handling for MinValue and MaxValue). + + A DateTime. + The DateTime in local time. + + + + Converts a DateTime to number of milliseconds since Unix epoch. + + A DateTime. + Number of seconds since Unix epoch. + + + + Converts a DateTime to UTC (with special handling for MinValue and MaxValue). + + A DateTime. + The DateTime in UTC. + + + + Tries to parse a hex string to a byte array. + + The hex string. + A byte array. + True if the hex string was successfully parsed. + + + + Represents a BSON value (this is an abstract class, see the various subclasses). + + + + + + + MongoDB.Bson.BsonValue + + + + + + + Casts the BsonValue to a Boolean (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonArray (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonBinaryData (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonDateTime (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonDocument (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonJavaScript (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonJavaScriptWithScope (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonMaxKey (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonMinKey (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonNull (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonRegularExpression (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonSymbol (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonTimestamp (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonUndefined (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonValue (a way of upcasting subclasses of BsonValue to BsonValue at compile time). + + + + + Casts the BsonValue to a Byte[] (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a DateTime in UTC (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Double (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Guid (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to an Int32 (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Int64 (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a DateTime in the local timezone (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Nullable{Boolean} (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Nullable{DateTime} (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Nullable{Decimal} (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Nullable{Decimal128} (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Nullable{Double} (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Nullable{Guid} (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Nullable{Int32} (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Nullable{Int64} (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Nullable{ObjectId} (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to an ObjectId (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Regex (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a String (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a DateTime in UTC (throws an InvalidCastException if the cast is not valid). + + + + + Gets the BsonType of this BsonValue. + + + + + Creates a shallow clone of the BsonValue (see also DeepClone). + + A shallow clone of the BsonValue. + + + + Compares this BsonValue to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonValue is less than, equal to, or greather than the other BsonValue. + + + + Compares the type of this BsonValue to the type of another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether the type of this BsonValue is less than, equal to, or greather than the type of the other BsonValue. + + + + Creates a new instance of the BsonValue class. + + A value to be mapped to a BsonValue. + A BsonValue. + + + + Creates a deep clone of the BsonValue (see also Clone). + + A deep clone of the BsonValue. + + + + Compares this BsonValue to another BsonValue. + + The other BsonValue. + True if the two BsonValue values are equal. + + + + Compares this BsonValue to another object. + + The other object. + True if the other object is a BsonValue and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Implementation of the IConvertible GetTypeCode method. + + The TypeCode. + + + + Implementation of the IConvertible ToBoolean method. + + The format provider. + A bool. + + + + Implementation of the IConvertible ToByte method. + + The format provider. + A byte. + + + + Implementation of the IConvertible ToChar method. + + The format provider. + A char. + + + + Implementation of the IConvertible ToDateTime method. + + The format provider. + A DateTime. + + + + Implementation of the IConvertible ToDecimal method. + + The format provider. + A decimal. + + + + Implementation of the IConvertible ToDouble method. + + The format provider. + A double. + + + + Implementation of the IConvertible ToInt16 method. + + The format provider. + A short. + + + + Implementation of the IConvertible ToInt32 method. + + The format provider. + An int. + + + + Implementation of the IConvertible ToInt64 method. + + The format provider. + A long. + + + + Implementation of the IConvertible ToSByte method. + + The format provider. + An sbyte. + + + + Implementation of the IConvertible ToSingle method. + + The format provider. + A float. + + + + Implementation of the IConvertible ToString method. + + The format provider. + A string. + + + + Implementation of the IConvertible ToUInt16 method. + + The format provider. + A ushort. + + + + Implementation of the IConvertible ToUInt32 method. + + The format provider. + A uint. + + + + Implementation of the IConvertible ToUInt64 method. + + The format provider. + A ulong. + + + + Tests whether this BsonValue is a Boolean. + + + + + Tests whether this BsonValue is a BsonArray. + + + + + Tests whether this BsonValue is a BsonBinaryData. + + + + + Tests whether this BsonValue is a BsonDateTime. + + + + + Tests whether this BsonValue is a BsonDocument. + + + + + Tests whether this BsonValue is a BsonJavaScript. + + + + + Tests whether this BsonValue is a BsonJavaScriptWithScope. + + + + + Tests whether this BsonValue is a BsonMaxKey. + + + + + Tests whether this BsonValue is a BsonMinKey. + + + + + Tests whether this BsonValue is a BsonNull. + + + + + Tests whether this BsonValue is a BsonRegularExpression. + + + + + Tests whether this BsonValue is a BsonSymbol . + + + + + Tests whether this BsonValue is a BsonTimestamp. + + + + + Tests whether this BsonValue is a BsonUndefined. + + + + + Tests whether this BsonValue is a DateTime. + + + + + Tests whether this BsonValue is a Decimal128. + + + + + Tests whether this BsonValue is a Double. + + + + + Tests whether this BsonValue is a Guid. + + + + + Tests whether this BsonValue is an Int32. + + + + + Tests whether this BsonValue is an Int64. + + + + + Tests whether this BsonValue is a numeric value. + + + + + Tests whether this BsonValue is an ObjectId . + + + + + Tests whether this BsonValue is a String. + + + + + Tests whether this BsonValue is a valid DateTime. + + + + + Gets or sets a value by position (only applies to BsonDocument and BsonArray). + + The position. + The value. + + + + Gets or sets a value by name (only applies to BsonDocument). + + The name. + The value. + + + + Compares two BsonValues. + + The first BsonValue. + The other BsonValue. + True if the two BsonValues are equal according to ==. + + + + Casts a BsonValue to a bool. + + The BsonValue. + A bool. + + + + Casts a BsonValue to a bool?. + + The BsonValue. + A bool?. + + + + Casts a BsonValue to a byte[]. + + The BsonValue. + A byte[]. + + + + Casts a BsonValue to a DateTime. + + The BsonValue. + A DateTime. + + + + Casts a BsonValue to a DateTime?. + + The BsonValue. + A DateTime?. + + + + Casts a BsonValue to a decimal. + + The BsonValue. + A decimal. + + + + Casts a BsonValue to a decimal?. + + The BsonValue. + A decimal?. + + + + Casts a BsonValue to a . + + The BsonValue. + A . + + + + Casts a BsonValue to a nullable ?. + + The BsonValue. + A nullable . + + + + Casts a BsonValue to a double. + + The BsonValue. + A double. + + + + Casts a BsonValue to a double?. + + The BsonValue. + A double?. + + + + Casts a BsonValue to a Guid. + + The BsonValue. + A Guid. + + + + Casts a BsonValue to a Guid?. + + The BsonValue. + A Guid?. + + + + Casts a BsonValue to an int. + + The BsonValue. + An int. + + + + Casts a BsonValue to an int?. + + The BsonValue. + An int?. + + + + Casts a BsonValue to a long. + + The BsonValue. + A long. + + + + Casts a BsonValue to a long?. + + The BsonValue. + A long?. + + + + Casts a BsonValue to an ObjectId. + + The BsonValue. + An ObjectId. + + + + Casts a BsonValue to an ObjectId?. + + The BsonValue. + An ObjectId?. + + + + Casts a BsonValue to a Regex. + + The BsonValue. + A Regex. + + + + Casts a BsonValue to a string. + + The BsonValue. + A string. + + + + Compares two BsonValues. + + The first BsonValue. + The other BsonValue. + True if the first BsonValue is greater than the other one. + + + + Compares two BsonValues. + + The first BsonValue. + The other BsonValue. + True if the first BsonValue is greater than or equal to the other one. + + + + Converts a to a BsonValue. + + A Decimal128. + A BsonValue. + + + + Converts an ObjectId to a BsonValue. + + An ObjectId. + A BsonValue. + + + + Converts a bool to a BsonValue. + + A bool. + A BsonValue. + + + + Converts a byte[] to a BsonValue. + + A byte[]. + A BsonValue. + + + + Converts a DateTime to a BsonValue. + + A DateTime. + A BsonValue. + + + + Converts a decimal to a BsonValue. + + A decimal. + A BsonValue. + + + + Converts a double to a BsonValue. + + A double. + A BsonValue. + + + + Converts an Enum to a BsonValue. + + An Enum. + A BsonValue. + + + + Converts a Guid to a BsonValue. + + A Guid. + A BsonValue. + + + + Converts an int to a BsonValue. + + An int. + A BsonValue. + + + + Converts a long to a BsonValue. + + A long. + A BsonValue. + + + + Converts a nullable to a BsonValue. + + A Decimal128?. + A BsonValue. + + + + Converts an ObjectId? to a BsonValue. + + An ObjectId?. + A BsonValue. + + + + Converts a bool? to a BsonValue. + + A bool?. + A BsonValue. + + + + Converts a DateTime? to a BsonValue. + + A DateTime?. + A BsonValue. + + + + Converts a decimal? to a BsonValue. + + A decimal?. + A BsonValue. + + + + Converts a double? to a BsonValue. + + A double?. + A BsonValue. + + + + Converts a Guid? to a BsonValue. + + A Guid?. + A BsonValue. + + + + Converts an int? to a BsonValue. + + An int?. + A BsonValue. + + + + Converts a long? to a BsonValue. + + A long?. + A BsonValue. + + + + Converts a string to a BsonValue. + + A string. + A BsonValue. + + + + Converts a Regex to a BsonValue. + + A Regex. + A BsonValue. + + + + Compares two BsonValues. + + The first BsonValue. + The other BsonValue. + True if the two BsonValues are not equal according to ==. + + + + Compares two BsonValues. + + The first BsonValue. + The other BsonValue. + True if the first BsonValue is less than the other one. + + + + Compares two BsonValues. + + The first BsonValue. + The other BsonValue. + True if the first BsonValue is less than or equal to the other one. + + + + Implementation of operator ==. + + The other BsonValue. + True if the two BsonValues are equal according to ==. + + + + Gets the raw value of this BsonValue (or null if this BsonValue doesn't have a single scalar value). + + + + + Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness). + + A Boolean. + + + + Converts this BsonValue to a Decimal. + + A Decimal. + + + + Converts this BsonValue to a Decimal128. + + A Decimal128. + + + + Converts this BsonValue to a Double. + + A Double. + + + + Converts this BsonValue to an Int32. + + An Int32. + + + + Converts this BsonValue to an Int64. + + An Int64. + + + + Converts this BsonValue to a DateTime in local time. + + A DateTime. + + + + Converts this BsonValue to a DateTime? in local time. + + A DateTime?. + + + + Converts this BsonValue to a DateTime? in UTC. + + A DateTime?. + + + + Converts this BsonValue to a DateTime in UTC. + + A DateTime. + + + + Represents a Decimal128 value. + + + + + Initializes a new instance of the struct. + + The value. + + + + Initializes a new instance of the struct. + + The value. + + + + Initializes a new instance of the struct. + + The value. + + + + Initializes a new instance of the struct. + + The value. + + + + Initializes a new instance of the struct. + + The value. + + + + Initializes a new instance of the struct. + + The value. + + + + Initializes a new instance of the struct. + + The value. + + + + Compares two specified Decimal128 values and returns an integer that indicates whether the first value + is greater than, less than, or equal to the second value. + + The first value. + The second value. + Less than zero if x < y, zero if x == y, and greater than zero if x > y. + + + Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. + An object to compare with this instance. + A value that indicates the relative order of the objects being compared. The return value has these meanings: Value Meaning Less than zero This instance precedes in the sort order. Zero This instance occurs in the same position in the sort order as . Greater than zero This instance follows in the sort order. + + + Indicates whether the current object is equal to another object of the same type. + An object to compare with this object. + true if the current object is equal to the parameter; otherwise, false. + + + + Determines whether the specified Decimal128 instances are considered equal. + + The first Decimal128 object to compare. + The second Decimal128 object to compare. + True if the objects are considered equal; otherwise false. If both x and y are null, the method returns true. + + + Indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if and this instance are the same type and represent the same value; otherwise, false. + + + + Creates a new Decimal128 value from its components. + + if set to true [is negative]. + The exponent. + The signficand high bits. + The significand low bits. + A Decimal128 value. + + + + Creates a new Decimal128 value from the IEEE encoding bits. + + The high bits. + The low bits. + A Decimal128 value. + + + + Gets the exponent of a Decimal128 value. + + The Decimal128 value. + The exponent. + + + Returns the hash code for this instance. + A 32-bit signed integer that is the hash code for this instance. + + + + Gets the high order 64 bits of the binary representation of this instance. + + The high order 64 bits of the binary representation of this instance. + + + + Gets the low order 64 bits of the binary representation of this instance. + + The low order 64 bits of the binary representation of this instance. + + + + Gets the high bits of the significand of a Decimal128 value. + + The Decimal128 value. + The high bits of the significand. + + + + Gets the high bits of the significand of a Decimal128 value. + + The Decimal128 value. + The high bits of the significand. + + + + Returns a value indicating whether the specified number evaluates to negative or positive infinity. + + A 128-bit decimal. + true if evaluates to negative or positive infinity; otherwise, false. + + + + Returns a value indicating whether the specified number is not a number. + + A 128-bit decimal. + true if is not a number; otherwise, false. + + + + Returns a value indicating whether the specified number is negative. + + A 128-bit decimal. + true if is negative; otherwise, false. + + + + Returns a value indicating whether the specified number evaluates to negative infinity. + + A 128-bit decimal. + true if evaluates to negative infinity; otherwise, false. + + + + Returns a value indicating whether the specified number evaluates to positive infinity. + + A 128-bit decimal. + true if evaluates to positive infinity; otherwise, false. + + + + Returns a value indicating whether the specified number is a quiet not a number. + + A 128-bit decimal. + true if is a quiet not a number; otherwise, false. + + + + Returns a value indicating whether the specified number is a signaled not a number. + + A 128-bit decimal. + true if is a signaled not a number; otherwise, false. + + + + Gets a value indicating whether this instance is zero. + + + + + param + d + M:MongoDB.Bson.Decimal128.IsZero(MongoDB.Bson.Decimal128) + + + + + true if this instance is zero; otherwise, false. + + + + + Gets the maximum value. + + + + + Gets the minimum value. + + + + + Negates the specified x. + + The x. + The result of multiplying the value by negative one. + + + + Represents negative infinity. + + + + + Represents one. + + + + + Implements the operator ==. + + The LHS. + The RHS. + + The result of the operator. + + + + + Performs an explicit conversion from to . + + The value to convert. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value to convert. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value to convert. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value to convert. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value to convert. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value to convert. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value to convert. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value to convert. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value to convert. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value to convert. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value to convert. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value to convert. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value. + + The result of the conversion. + + + + + Returns a value indicating whether a specified Decimal128 is greater than another specified Decimal128. + + The first value. + The second value. + + true if x > y; otherwise, false. + + + + + Returns a value indicating whether a specified Decimal128 is greater than or equal to another another specified Decimal128. + + The first value. + The second value. + + true if x >= y; otherwise, false. + + + + + Performs an implicit conversion from to . + + The value. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The value. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The value. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The value. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The value. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The value. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The value. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The value. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The value. + + The result of the conversion. + + + + + Implements the operator !=. + + The LHS. + The RHS. + + The result of the operator. + + + + + Returns a value indicating whether a specified Decimal128 is less than another specified Decimal128. + + The first value. + The second value. + + true if x < y; otherwise, false. + + + + + Returns a value indicating whether a specified Decimal128 is less than or equal to another another specified Decimal128. + + The first value. + The second value. + + true if x <= y; otherwise, false. + + + + + Converts the string representation of a number to its equivalent. + + The string representation of the number to convert. + + The equivalent to the number contained in . + + + + + Represents positive infinity. + + + + + Represents a value that is not a number. + + + + + Represents a value that is not a number and raises errors when used in calculations. + + + + + Converts the value of the specified to the equivalent 8-bit unsigned integer. + + The number to convert. + A 8-bit unsigned integer equivalent to . + + + + Converts the value of the specified to the equivalent . + + The number to convert. + A equivalent to . + + + + Converts the value of the specified to the equivalent . + + The number to convert. + A equivalent to . + + + + Converts the value of the specified to the equivalent 16-bit signed integer. + + The number to convert. + A 16-bit signed integer equivalent to . + + + + Converts the value of the specified to the equivalent 32-bit signed integer. + + The number to convert. + A 32-bit signed integer equivalent to . + + + + Converts the value of the specified to the equivalent 64-bit signed integer. + + The number to convert. + A 64-bit signed integer equivalent to . + + + + Converts the value of the specified to the equivalent 8-bit signed integer. + + The number to convert. + A 8-bit signed integer equivalent to . + + + + Converts the value of the specified to the equivalent . + + The number to convert. + A equivalent to . + + + Returns the fully qualified type name of this instance. + A containing a fully qualified type name. + + + + Converts the value of the specified to the equivalent 16-bit unsigned integer. + + The number to convert. + A 16-bit unsigned integer equivalent to . + + + + Converts the value of the specified to the equivalent 32-bit unsigned integer. + + The number to convert. + A 32-bit unsigned integer equivalent to . + + + + Converts the value of the specified to the equivalent 64-bit unsigned integer. + + The number to convert. + A 64-bit unsigned integer equivalent to . + + + + Converts the string representation of a number to its equivalent. A return value indicates whether the conversion succeeded or failed. + + The string representation of the number to convert. + When this method returns, contains the number that is equivalent to the numeric value contained in , if the conversion succeeded, or is zero if the conversion failed. The conversion fails if the parameter is null, is not a number in a valid format, or represents a number less than the min value or greater than the max value. This parameter is passed uninitialized. + + true if was converted successfully; otherwise, false. + + + + + Represents zero. + + + + + Indicates that an attribute restricted to one member has been applied to multiple members. + + + + + Initializes a new instance of the class. + + The info. + The context. + + + + Initializes a new instance of the class. + + The message. + + + + Initializes a new instance of the class. + + The message. + The inner. + + + + Represents how duplicate names should be handled. + + + + + Overwrite original value with new value. + + + + + Ignore duplicate name and keep original value. + + + + + Throw an exception. + + + + + A static class containing methods to convert to and from Guids and byte arrays in various byte orders. + + + + + Converts a byte array to a Guid. + + The byte array. + The representation of the Guid in the byte array. + A Guid. + + + + Converts a Guid to a byte array. + + The Guid. + The representation of the Guid in the byte array. + A byte array. + + + + Represents the representation to use when converting a Guid to a BSON binary value. + + + + + The representation for Guids is unspecified, so conversion between Guids and Bson binary data is not possible. + + + + + Use the new standard representation for Guids (binary subtype 4 with bytes in network byte order). + + + + + Use the representation used by older versions of the C# driver (including most community provided C# drivers). + + + + + Use the representation used by older versions of the Java driver. + + + + + Use the representation used by older versions of the Python driver. + + + + + An interface implemented by objects that convert themselves to a BsonDocument. + + + + + Converts this object to a BsonDocument. + + A BsonDocument. + + + + An interface for custom mappers that map an object to a BsonValue. + + + + + Tries to map an object to a BsonValue. + + An object. + The BsonValue. + True if the mapping was successfull. + + + + Represents a BSON array that is deserialized lazily. + + + + + Initializes a new instance of the class. + + The slice. + slice + LazyBsonArray cannot be used with an IByteBuffer that needs disposing. + + + + Creates a shallow clone of the array (see also DeepClone). + + A shallow clone of the array. + + + + Creates a deep clone of the array (see also Clone). + + A deep clone of the array. + + + + Releases unmanaged and - optionally - managed resources. + + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Materializes the BsonArray. + + + The materialized values. + + + + + Informs subclasses that the Materialize process completed so they can free any resources related to the unmaterialized state. + + + + + Gets the slice. + + + + + Represents a BSON document that is deserialized lazily. + + + + + Initializes a new instance of the class. + + The slice. + slice + LazyBsonDocument cannot be used with an IByteBuffer that needs disposing. + + + + Initializes a new instance of the class. + + The bytes. + + + + Creates a shallow clone of the document (see also DeepClone). + + + A shallow clone of the document. + + + + + Creates a deep clone of the document (see also Clone). + + + A deep clone of the document. + + + + + Releases unmanaged and - optionally - managed resources. + + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Materializes the BsonDocument. + + The materialized elements. + + + + Informs subclasses that the Materialize process completed so they can free any resources related to the unmaterialized state. + + + + + Gets the slice. + + + + + Represents a BSON array that is not materialized until you start using it. + + + + + Initializes a new instance of the class. + + + + + Adds an element to the array. + + The value to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Gets or sets the total number of elements the internal data structure can hold without resizing. + + + + + Clears the array. + + + + + Creates a shallow clone of the array (see also DeepClone). + + + A shallow clone of the array. + + + + + Compares the array to another array. + + The other array. + A 32-bit signed integer that indicates whether this array is less than, equal to, or greather than the other. + + + + Compares the array to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this array is less than, equal to, or greather than the other BsonValue. + + + + Tests whether the array contains a value. + + The value to test for. + True if the array contains the value. + + + + Copies elements from this array to another array. + + The other array. + The zero based index of the other array at which to start copying. + + + + Copies elements from this array to another array as raw values (see BsonValue.RawValue). + + The other array. + The zero based index of the other array at which to start copying. + + + + Gets the count of array elements. + + + + + Creates a deep clone of the array (see also Clone). + + + A deep clone of the array. + + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + + Releases unmanaged and - optionally - managed resources. + + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + 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. + + + + + Gets an enumerator that can enumerate the elements of the array. + + An enumerator. + + + + Gets the hash code. + + The hash code. + + + + Gets the index of a value in the array. + + The value to search for. + The zero based index of the value (or -1 if not found). + + + + Gets the index of a value in the array. + + The value to search for. + The zero based index at which to start the search. + The zero based index of the value (or -1 if not found). + + + + Gets the index of a value in the array. + + The value to search for. + The zero based index at which to start the search. + The number of elements to search. + The zero based index of the value (or -1 if not found). + + + + Inserts a new value into the array. + + The zero based index at which to insert the new value. + The new value. + + + + Gets a value indicating whether this instance is disposed. + + + + + Gets a value indicating whether this instance is materialized. + + + + + Gets or sets a value by position. + + The position. + The value. + + + + Materializes the BsonArray. + + The materialized elements. + + + + Informs subclasses that the Materialize process completed so they can free any resources related to the unmaterialized state. + + + + + Gets the array elements as raw values (see BsonValue.RawValue). + + + + + Removes the first occurrence of a value from the array. + + The value to remove. + True if the value was removed. + + + + Removes an element from the array. + + The zero based index of the element to remove. + + + + Throws if disposed. + + + + + + Converts the BsonArray to an array of BsonValues. + + An array of BsonValues. + + + + Converts the BsonArray to a list of BsonValues. + + A list of BsonValues. + + + + Returns a string representation of the array. + + A string representation of the array. + + + + Gets the array elements. + + + + + Represents a BSON document that is not materialized until you start using it. + + + + + Initializes a new instance of the class. + + + + + Adds an element to the document. + + The element to add. + + The document (so method calls can be chained). + + + + + Adds a list of elements to the document. + + The list of elements. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + Which keys of the hash table to add. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + Which keys of the hash table to add. + The document (so method calls can be chained). + + + + Adds a list of elements to the document. + + The list of elements. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + Which keys of the hash table to add. + The document (so method calls can be chained). + + + + Creates and adds an element to the document. + + The name of the element. + The value of the element. + + The document (so method calls can be chained). + + + + + Creates and adds an element to the document, but only if the condition is true. + + The name of the element. + The value of the element. + Whether to add the element to the document. + The document (so method calls can be chained). + + + + Creates and adds an element to the document, but only if the condition is true. + If the condition is false the value factory is not called at all. + + The name of the element. + A delegate called to compute the value of the element if condition is true. + Whether to add the element to the document. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + + The document (so method calls can be chained). + + + + + Adds a list of elements to the document. + + The list of elements. + + The document (so method calls can be chained). + + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + + The document (so method calls can be chained). + + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + + The document (so method calls can be chained). + + + + + Clears the document (removes all elements). + + + + + Creates a shallow clone of the document (see also DeepClone). + + + A shallow clone of the document. + + + + + Compares this document to another document. + + The other document. + + A 32-bit signed integer that indicates whether this document is less than, equal to, or greather than the other. + + + + + Compares the BsonDocument to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonDocument is less than, equal to, or greather than the other BsonValue. + + + + Tests whether the document contains an element with the specified name. + + The name of the element to look for. + + True if the document contains an element with the specified name. + + + + + Tests whether the document contains an element with the specified value. + + The value of the element to look for. + + True if the document contains an element with the specified value. + + + + + Creates a deep clone of the document (see also Clone). + + + A deep clone of the document. + + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + + Releases unmanaged and - optionally - managed resources. + + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Gets the number of elements. + + + + + Gets the elements. + + + + + 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. + + + + + Gets an element of this document. + + The zero based index of the element. + + The element. + + + + + Gets an element of this document. + + The name of the element. + + A BsonElement. + + + + + Gets an enumerator that can be used to enumerate the elements of this document. + + + An enumerator. + + + + + Returns a hash code for this instance. + + + A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. + + + + + Gets the value of an element. + + The zero based index of the element. + + The value of the element. + + + + + Gets the value of an element. + + The name of the element. + + The value of the element. + + + + + Gets the value of an element or a default value if the element is not found. + + The name of the element. + The default value returned if the element is not found. + + The value of the element or the default value if the element is not found. + + + + + Inserts a new element at a specified position. + + The position of the new element. + The element. + + + + Gets a value indicating whether this instance is disposed. + + + + + Gets a value indicating whether this instance is materialized. + + + + + Gets or sets a value by position. + + The position. + The value. + + + + Gets or sets a value by name. + + The name. + The value. + + + + Gets the value of an element or a default value if the element is not found. + + The name of the element. + The default value to return if the element is not found. + Teh value of the element or a default value if the element is not found. + + + + Materializes the BsonDocument. + + The materialized elements. + + + + Informs subclasses that the Materialize process completed so they can free any resources related to the unmaterialized state. + + + + + Merges another document into this one. Existing elements are not overwritten. + + The other document. + + The document (so method calls can be chained). + + + + + Merges another document into this one, specifying whether existing elements are overwritten. + + The other document. + Whether to overwrite existing elements. + + The document (so method calls can be chained). + + + + + Gets the element names. + + + + + Gets the raw values (see BsonValue.RawValue). + + + + + Removes an element from this document (if duplicate element names are allowed + then all elements with this name will be removed). + + The name of the element to remove. + + + + Removes an element from this document. + + The zero based index of the element to remove. + + + + Removes an element from this document. + + The element to remove. + + + + Sets the value of an element. + + The zero based index of the element whose value is to be set. + The new value. + + The document (so method calls can be chained). + + + + + Sets the value of an element (an element will be added if no element with this name is found). + + The name of the element whose value is to be set. + The new value. + + The document (so method calls can be chained). + + + + + Sets an element of the document (replaces any existing element with the same name or adds a new element if an element with the same name is not found). + + The new element. + + The document. + + + + + Sets an element of the document (replacing the existing element at that position). + + The zero based index of the element to replace. + The new element. + + The document. + + + + + Throws if disposed. + + + + + + Tries to get an element of this document. + + The name of the element. + The element. + + True if an element with that name was found. + + + + + Tries to get the value of an element of this document. + + The name of the element. + The value of the element. + + True if an element with that name was found. + + + + + Gets the values. + + + + + Represents an ObjectId (see also BsonObjectId). + + + + + Initializes a new instance of the ObjectId class. + + The bytes. + + + + Initializes a new instance of the ObjectId class. + + The timestamp (expressed as a DateTime). + The machine hash. + The PID. + The increment. + + + + Initializes a new instance of the ObjectId class. + + The timestamp. + The machine hash. + The PID. + The increment. + + + + Initializes a new instance of the ObjectId class. + + The value. + + + + Compares this ObjectId to another ObjectId. + + The other ObjectId. + A 32-bit signed integer that indicates whether this ObjectId is less than, equal to, or greather than the other. + + + + Gets the creation time (derived from the timestamp). + + + + + Gets an instance of ObjectId where the value is empty. + + + + + Compares this ObjectId to another ObjectId. + + The other ObjectId. + True if the two ObjectIds are equal. + + + + Compares this ObjectId to another object. + + The other object. + True if the other object is an ObjectId and equal to this one. + + + + Generates a new ObjectId with a unique value. + + An ObjectId. + + + + Generates a new ObjectId with a unique value (with the timestamp component based on a given DateTime). + + The timestamp component (expressed as a DateTime). + An ObjectId. + + + + Generates a new ObjectId with a unique value (with the given timestamp). + + The timestamp component. + An ObjectId. + + + + Gets the hash code. + + The hash code. + + + + Gets the increment. + + + + + Gets the machine. + + + + + Compares two ObjectIds. + + The first ObjectId. + The other ObjectId. + True if the two ObjectIds are equal. + + + + Compares two ObjectIds. + + The first ObjectId. + The other ObjectId + True if the first ObjectId is greather than the second ObjectId. + + + + Compares two ObjectIds. + + The first ObjectId. + The other ObjectId + True if the first ObjectId is greather than or equal to the second ObjectId. + + + + Compares two ObjectIds. + + The first ObjectId. + The other ObjectId. + True if the two ObjectIds are not equal. + + + + Compares two ObjectIds. + + The first ObjectId. + The other ObjectId + True if the first ObjectId is less than the second ObjectId. + + + + Compares two ObjectIds. + + The first ObjectId. + The other ObjectId + True if the first ObjectId is less than or equal to the second ObjectId. + + + + Packs the components of an ObjectId into a byte array. + + The timestamp. + The machine hash. + The PID. + The increment. + A byte array. + + + + Parses a string and creates a new ObjectId. + + The string value. + A ObjectId. + + + + Gets the PID. + + + + + Gets the timestamp. + + + + + Converts the ObjectId to a byte array. + + A byte array. + + + + Converts the ObjectId to a byte array. + + The destination. + The offset. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Tries to parse a string and create a new ObjectId. + + The string value. + The new ObjectId. + True if the string was parsed successfully. + + + + Unpacks a byte array into the components of an ObjectId. + + A byte array. + The timestamp. + The machine hash. + The PID. + The increment. + + + + Represents an immutable BSON array that is represented using only the raw bytes. + + + + + Initializes a new instance of the class. + + The slice. + slice + RawBsonArray cannot be used with an IByteBuffer that needs disposing. + + + + Adds an element to the array. + + The value to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Gets or sets the total number of elements the internal data structure can hold without resizing. + + + + + Clears the array. + + + + + Creates a shallow clone of the array (see also DeepClone). + + A shallow clone of the array. + + + + Tests whether the array contains a value. + + The value to test for. + True if the array contains the value. + + + + Copies elements from this array to another array. + + The other array. + The zero based index of the other array at which to start copying. + + + + Copies elements from this array to another array as raw values (see BsonValue.RawValue). + + The other array. + The zero based index of the other array at which to start copying. + + + + Gets the count of array elements. + + + + + Creates a deep clone of the array (see also Clone). + + A deep clone of the array. + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + + Releases unmanaged and - optionally - managed resources. + + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Gets an enumerator that can enumerate the elements of the array. + + An enumerator. + + + + Gets the index of a value in the array. + + The value to search for. + The zero based index of the value (or -1 if not found). + + + + Gets the index of a value in the array. + + The value to search for. + The zero based index at which to start the search. + The zero based index of the value (or -1 if not found). + + + + Gets the index of a value in the array. + + The value to search for. + The zero based index at which to start the search. + The number of elements to search. + The zero based index of the value (or -1 if not found). + + + + Inserts a new value into the array. + + The zero based index at which to insert the new value. + The new value. + + + + Gets whether the array is read-only. + + + + + Gets or sets a value by position. + + The position. + The value. + + + + Gets the array elements as raw values (see BsonValue.RawValue). + + + + + Removes the first occurrence of a value from the array. + + The value to remove. + True if the value was removed. + + + + Removes an element from the array. + + The zero based index of the element to remove. + + + + Gets the slice. + + + + + Throws if disposed. + + + + + + Converts the BsonArray to an array of BsonValues. + + An array of BsonValues. + + + + Converts the BsonArray to a list of BsonValues. + + A list of BsonValues. + + + + Returns a string representation of the array. + + A string representation of the array. + + + + Gets the array elements. + + + + + Represents an immutable BSON document that is represented using only the raw bytes. + + + + + Initializes a new instance of the class. + + The slice. + slice + RawBsonDocument cannot be used with an IByteBuffer that needs disposing. + + + + Initializes a new instance of the class. + + The bytes. + + + + Adds an element to the document. + + The element to add. + + The document (so method calls can be chained). + + + + + Adds a list of elements to the document. + + The list of elements. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + Which keys of the hash table to add. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + Which keys of the hash table to add. + The document (so method calls can be chained). + + + + Adds a list of elements to the document. + + The list of elements. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + Which keys of the hash table to add. + The document (so method calls can be chained). + + + + Creates and adds an element to the document. + + The name of the element. + The value of the element. + + The document (so method calls can be chained). + + + + + Creates and adds an element to the document, but only if the condition is true. + + The name of the element. + The value of the element. + Whether to add the element to the document. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + + The document (so method calls can be chained). + + + + + Adds a list of elements to the document. + + The list of elements. + + The document (so method calls can be chained). + + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + + The document (so method calls can be chained). + + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + + The document (so method calls can be chained). + + + + + Clears the document (removes all elements). + + + + + Creates a shallow clone of the document (see also DeepClone). + + + A shallow clone of the document. + + + + + Tests whether the document contains an element with the specified name. + + The name of the element to look for. + + True if the document contains an element with the specified name. + + + + + Tests whether the document contains an element with the specified value. + + The value of the element to look for. + + True if the document contains an element with the specified value. + + + + + Creates a deep clone of the document (see also Clone). + + + A deep clone of the document. + + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + + Releases unmanaged and - optionally - managed resources. + + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Gets the number of elements. + + + + + Gets the elements. + + + + + Gets an element of this document. + + The zero based index of the element. + + The element. + + + + + Gets an element of this document. + + The name of the element. + + A BsonElement. + + + + + Gets an enumerator that can be used to enumerate the elements of this document. + + + An enumerator. + + + + + Gets the value of an element. + + The zero based index of the element. + + The value of the element. + + + + + Gets the value of an element. + + The name of the element. + + The value of the element. + + + + + Gets the value of an element or a default value if the element is not found. + + The name of the element. + The default value returned if the element is not found. + + The value of the element or the default value if the element is not found. + + + + + Inserts a new element at a specified position. + + The position of the new element. + The element. + + + + Gets or sets a value by position. + + The position. + The value. + + + + Gets or sets a value by name. + + The name. + The value. + + + + Gets the value of an element or a default value if the element is not found. + + The name of the element. + The default value to return if the element is not found. + Teh value of the element or a default value if the element is not found. + + + + Materializes the RawBsonDocument into a regular BsonDocument. + + The binary reader settings. + A BsonDocument. + + + + Merges another document into this one. Existing elements are not overwritten. + + The other document. + + The document (so method calls can be chained). + + + + + Merges another document into this one, specifying whether existing elements are overwritten. + + The other document. + Whether to overwrite existing elements. + + The document (so method calls can be chained). + + + + + Gets the element names. + + + + + Gets the raw values (see BsonValue.RawValue). + + + + + Removes an element from this document (if duplicate element names are allowed + then all elements with this name will be removed). + + The name of the element to remove. + + + + Removes an element from this document. + + The zero based index of the element to remove. + + + + Removes an element from this document. + + The element to remove. + + + + Sets the value of an element. + + The zero based index of the element whose value is to be set. + The new value. + + The document (so method calls can be chained). + + + + + Sets the value of an element (an element will be added if no element with this name is found). + + The name of the element whose value is to be set. + The new value. + + The document (so method calls can be chained). + + + + + Sets an element of the document (replaces any existing element with the same name or adds a new element if an element with the same name is not found). + + The new element. + + The document. + + + + + Sets an element of the document (replacing the existing element at that position). + + The zero based index of the element to replace. + The new element. + + The document. + + + + + Gets the slice. + + + + + Throws if disposed. + + RawBsonDocument + + + + Tries to get an element of this document. + + The name of the element. + The element. + + True if an element with that name was found. + + + + + Tries to get the value of an element of this document. + + The name of the element. + The value of the element. + + True if an element with that name was found. + + + + + Gets the values. + + + + + Represents a truncation exception. + + + + + Initializes a new instance of the TruncationException class. + + + + + Initializes a new instance of the TruncationException class (this overload used by deserialization). + + The SerializationInfo. + The StreamingContext. + + + + Initializes a new instance of the TruncationException class. + + The error message. + + + + Initializes a new instance of the TruncationException class. + + The error message. + The inner exception. + + + + Represents a BSON reader for a binary BSON byte array. + + + + + Initializes a new instance of the BsonBinaryReader class. + + A stream (BsonBinary does not own the stream and will not Dispose it). + + + + Initializes a new instance of the BsonBinaryReader class. + + A stream (BsonBinary does not own the stream and will not Dispose it). + A BsonBinaryReaderSettings. + + + + Gets the base stream. + + + + + Gets the BSON stream. + + + + + Closes the reader. + + + + + Disposes of any resources used by the reader. + + True if called from Dispose. + + + + Gets a bookmark to the reader's current position and state. + + A bookmark. + + + + Determines whether this reader is at end of file. + + + Whether this reader is at end of file. + + + + + Reads BSON binary data from the reader. + + A BsonBinaryData. + + + + Reads a BSON boolean from the reader. + + A Boolean. + + + + Reads a BsonType from the reader. + + A BsonType. + + + + Reads BSON binary data from the reader. + + A byte array. + + + + Reads a BSON DateTime from the reader. + + The number of milliseconds since the Unix epoch. + + + + Reads a BSON Decimal128 from the reader. + + A . + + + + Reads a BSON Double from the reader. + + A Double. + + + + Reads the end of a BSON array from the reader. + + + + + Reads the end of a BSON document from the reader. + + + + + Reads a BSON Int32 from the reader. + + An Int32. + + + + Reads a BSON Int64 from the reader. + + An Int64. + + + + Reads a BSON JavaScript from the reader. + + A string. + + + + Reads a BSON JavaScript with scope from the reader (call ReadStartDocument next to read the scope). + + A string. + + + + Reads a BSON MaxKey from the reader. + + + + + Reads a BSON MinKey from the reader. + + + + + Reads the name of an element from the reader. + + The name decoder. + The name of the element. + + + + Reads a BSON null from the reader. + + + + + Reads a BSON ObjectId from the reader. + + An ObjectId. + + + + Reads a raw BSON array. + + + The raw BSON array. + + + + + Reads a raw BSON document. + + + The raw BSON document. + + + + + Reads a BSON regular expression from the reader. + + A BsonRegularExpression. + + + + Reads the start of a BSON array. + + + + + Reads the start of a BSON document. + + + + + Reads a BSON string from the reader. + + A String. + + + + Reads a BSON symbol from the reader. + + A string. + + + + Reads a BSON timestamp from the reader. + + The combined timestamp/increment. + + + + Reads a BSON undefined from the reader. + + + + + Returns the reader to previously bookmarked position and state. + + The bookmark. + + + + Skips the name (reader must be positioned on a name). + + + + + Skips the value (reader must be positioned on a value). + + + + + Represents a bookmark that can be used to return a reader to the current position and state. + + + + + Represents settings for a BsonBinaryReader. + + + + + Initializes a new instance of the BsonBinaryReaderSettings class. + + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Gets or sets the default settings for a BsonBinaryReader. + + + + + Gets or sets the Encoding. + + + + + Gets or sets whether to fix occurrences of the old binary subtype on input. + + + + + Gets or sets whether to fix occurrences of the old representation of DateTime.MaxValue on input. + + + + + Gets or sets the max document size. + + + + + Represents a BSON writer to a BSON Stream. + + + + + Initializes a new instance of the BsonBinaryWriter class. + + A stream. The BsonBinaryWriter does not own the stream and will not Dispose it. + + + + Initializes a new instance of the BsonBinaryWriter class. + + A stream. The BsonBinaryWriter does not own the stream and will not Dispose it. + The BsonBinaryWriter settings. + + + + Gets the base stream. + + + + + Gets the BSON stream. + + + + + Closes the writer. Also closes the base stream. + + + + + Disposes of any resources used by the writer. + + True if called from Dispose. + + + + Flushes any pending data to the output destination. + + + + + Pops the max document size stack, restoring the previous max document size. + + + + + Pushes a new max document size onto the max document size stack. + + The maximum size of the document. + + + + Writes BSON binary data to the writer. + + The binary data. + + + + Writes a BSON Boolean to the writer. + + The Boolean value. + + + + Writes BSON binary data to the writer. + + The bytes. + + + + Writes a BSON DateTime to the writer. + + The number of milliseconds since the Unix epoch. + + + + Writes a BSON Decimal128 to the writer. + + The value. + + + + Writes a BSON Double to the writer. + + The Double value. + + + + Writes the end of a BSON array to the writer. + + + + + Writes the end of a BSON document to the writer. + + + + + Writes a BSON Int32 to the writer. + + The Int32 value. + + + + Writes a BSON Int64 to the writer. + + The Int64 value. + + + + Writes a BSON JavaScript to the writer. + + The JavaScript code. + + + + Writes a BSON JavaScript to the writer (call WriteStartDocument to start writing the scope). + + The JavaScript code. + + + + Writes a BSON MaxKey to the writer. + + + + + Writes a BSON MinKey to the writer. + + + + + Writes a BSON null to the writer. + + + + + Writes a BSON ObjectId to the writer. + + The ObjectId. + + + + Writes a raw BSON array. + + The byte buffer containing the raw BSON array. + + + + Writes a raw BSON document. + + The byte buffer containing the raw BSON document. + + + + Writes a BSON regular expression to the writer. + + A BsonRegularExpression. + + + + Writes the start of a BSON array to the writer. + + + + + Writes the start of a BSON document to the writer. + + + + + Writes a BSON String to the writer. + + The String value. + + + + Writes a BSON Symbol to the writer. + + The symbol. + + + + Writes a BSON timestamp to the writer. + + The combined timestamp/increment value. + + + + Writes a BSON undefined to the writer. + + + + + Represents settings for a BsonBinaryWriter. + + + + + Initializes a new instance of the BsonBinaryWriterSettings class. + + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Gets or sets the default BsonBinaryWriter settings. + + + + + Gets or sets the Encoding. + + + + + Gets or sets whether to fix the old binary data subtype on output. + + + + + Gets or sets the max document size. + + + + + Represents a pool of chunks. + + + + + Initializes a new instance of the class. + + The maximum number of chunks to keep in the pool. + The size of each chunk. + + + + Gets the size of the pool. + + + + + Gets the chunk size. + + + + + Gets or sets the default chunk pool. + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + Gets the chunk. + + Size of the requested. + A chunk. + + + + Gets the maximum size of the pool. + + + + + Represents a BSON reader for a BsonDocument. + + + + + Initializes a new instance of the BsonDocumentReader class. + + A BsonDocument. + + + + Initializes a new instance of the BsonDocumentReader class. + + A BsonDocument. + The reader settings. + + + + Closes the reader. + + + + + Disposes of any resources used by the reader. + + True if called from Dispose. + + + + Gets a bookmark to the reader's current position and state. + + A bookmark. + + + + Determines whether this reader is at end of file. + + + Whether this reader is at end of file. + + + + + Reads BSON binary data from the reader. + + A BsonBinaryData. + + + + Reads a BSON boolean from the reader. + + A Boolean. + + + + Reads a BsonType from the reader. + + A BsonType. + + + + Reads BSON binary data from the reader. + + A byte array. + + + + Reads a BSON DateTime from the reader. + + The number of milliseconds since the Unix epoch. + + + + Reads a BSON Decimal128 from the reader. + + A . + + + + Reads a BSON Double from the reader. + + A Double. + + + + Reads the end of a BSON array from the reader. + + + + + Reads the end of a BSON document from the reader. + + + + + Reads a BSON Int32 from the reader. + + An Int32. + + + + Reads a BSON Int64 from the reader. + + An Int64. + + + + Reads a BSON JavaScript from the reader. + + A string. + + + + Reads a BSON JavaScript with scope from the reader (call ReadStartDocument next to read the scope). + + A string. + + + + Reads a BSON MaxKey from the reader. + + + + + Reads a BSON MinKey from the reader. + + + + + Reads the name of an element from the reader. + + The name decoder. + + The name of the element. + + + + + Reads a BSON null from the reader. + + + + + Reads a BSON ObjectId from the reader. + + An ObjectId. + + + + Reads a BSON regular expression from the reader. + + A BsonRegularExpression. + + + + Reads the start of a BSON array. + + + + + Reads the start of a BSON document. + + + + + Reads a BSON string from the reader. + + A String. + + + + Reads a BSON symbol from the reader. + + A string. + + + + Reads a BSON timestamp from the reader. + + The combined timestamp/increment. + + + + Reads a BSON undefined from the reader. + + + + + Returns the reader to previously bookmarked position and state. + + The bookmark. + + + + Skips the name (reader must be positioned on a name). + + + + + Skips the value (reader must be positioned on a value). + + + + + Represents a bookmark that can be used to return a reader to the current position and state. + + + + + Represents settings for a BsonDocumentReader. + + + + + Initializes a new instance of the BsonDocumentReaderSettings class. + + + + + Initializes a new instance of the BsonDocumentReaderSettings class. + + The representation for Guids. + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Gets or sets the default settings for a BsonDocumentReader. + + + + + Represents a BSON writer to a BsonDocument. + + + + + Initializes a new instance of the BsonDocumentWriter class. + + The document to write to (normally starts out as an empty document). + + + + Initializes a new instance of the BsonDocumentWriter class. + + The document to write to (normally starts out as an empty document). + The settings. + + + + Closes the writer. + + + + + Disposes of any resources used by the writer. + + True if called from Dispose. + + + + Gets the BsonDocument being written to. + + + + + Flushes any pending data to the output destination. + + + + + Writes BSON binary data to the writer. + + The binary data. + + + + Writes a BSON Boolean to the writer. + + The Boolean value. + + + + Writes BSON binary data to the writer. + + The bytes. + + + + Writes a BSON DateTime to the writer. + + The number of milliseconds since the Unix epoch. + + + + Writes a BSON Decimal128 to the writer. + + The value. + + + + Writes a BSON Double to the writer. + + The Double value. + + + + Writes the end of a BSON array to the writer. + + + + + Writes the end of a BSON document to the writer. + + + + + Writes a BSON Int32 to the writer. + + The Int32 value. + + + + Writes a BSON Int64 to the writer. + + The Int64 value. + + + + Writes a BSON JavaScript to the writer. + + The JavaScript code. + + + + Writes a BSON JavaScript to the writer (call WriteStartDocument to start writing the scope). + + The JavaScript code. + + + + Writes a BSON MaxKey to the writer. + + + + + Writes a BSON MinKey to the writer. + + + + + Writes the name of an element to the writer. + + The name of the element. + + + + Writes a BSON null to the writer. + + + + + Writes a BSON ObjectId to the writer. + + The ObjectId. + + + + Writes a BSON regular expression to the writer. + + A BsonRegularExpression. + + + + Writes the start of a BSON array to the writer. + + + + + Writes the start of a BSON document to the writer. + + + + + Writes a BSON String to the writer. + + The String value. + + + + Writes a BSON Symbol to the writer. + + The symbol. + + + + Writes a BSON timestamp to the writer. + + The combined timestamp/increment value. + + + + Writes a BSON undefined to the writer. + + + + + Represents settings for a BsonDocumentWriter. + + + + + Initializes a new instance of the BsonDocumentWriterSettings class. + + + + + Initializes a new instance of the BsonDocumentWriterSettings class. + + The representation for Guids. + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Gets or sets the default BsonDocumentWriter settings. + + + + + Represents a BSON reader for some external format (see subclasses). + + + + + Initializes a new instance of the BsonReader class. + + The reader settings. + + + + Closes the reader. + + + + + Gets the current BsonType. + + + + + Gets the current name. + + + + + Disposes of any resources used by the reader. + + + + + Disposes of any resources used by the reader. + + True if called from Dispose. + + + + Gets whether the BsonReader has been disposed. + + + + + Gets a bookmark to the reader's current position and state. + + A bookmark. + + + + Gets the current BsonType (calls ReadBsonType if necessary). + + The current BsonType. + + + + Determines whether this reader is at end of file. + + + Whether this reader is at end of file. + + + + + Reads BSON binary data from the reader. + + A BsonBinaryData. + + + + Reads a BSON boolean from the reader. + + A Boolean. + + + + Reads a BsonType from the reader. + + A BsonType. + + + + Reads BSON binary data from the reader. + + A byte array. + + + + Reads a BSON DateTime from the reader. + + The number of milliseconds since the Unix epoch. + + + + Reads a BSON Decimal128 from the reader. + + A . + + + + Reads a BSON Double from the reader. + + A Double. + + + + Reads the end of a BSON array from the reader. + + + + + Reads the end of a BSON document from the reader. + + + + + Reads a BSON Int32 from the reader. + + An Int32. + + + + Reads a BSON Int64 from the reader. + + An Int64. + + + + Reads a BSON JavaScript from the reader. + + A string. + + + + Reads a BSON JavaScript with scope from the reader (call ReadStartDocument next to read the scope). + + A string. + + + + Reads a BSON MaxKey from the reader. + + + + + Reads a BSON MinKey from the reader. + + + + + Reads the name of an element from the reader. + + The name of the element. + + + + Reads the name of an element from the reader (using the provided name decoder). + + The name decoder. + + The name of the element. + + + + + Reads a BSON null from the reader. + + + + + Reads a BSON ObjectId from the reader. + + An ObjectId. + + + + Reads a raw BSON array. + + The raw BSON array. + + + + Reads a raw BSON document. + + The raw BSON document. + + + + Reads a BSON regular expression from the reader. + + A BsonRegularExpression. + + + + Reads the start of a BSON array. + + + + + Reads the start of a BSON document. + + + + + Reads a BSON string from the reader. + + A String. + + + + Reads a BSON symbol from the reader. + + A string. + + + + Reads a BSON timestamp from the reader. + + The combined timestamp/increment. + + + + Reads a BSON undefined from the reader. + + + + + Returns the reader to previously bookmarked position and state. + + The bookmark. + + + + Gets the settings of the reader. + + + + + Skips the name (reader must be positioned on a name). + + + + + Skips the value (reader must be positioned on a value). + + + + + Gets the current state of the reader. + + + + + Throws an InvalidOperationException when the method called is not valid for the current ContextType. + + The name of the method. + The actual ContextType. + The valid ContextTypes. + + + + Throws an InvalidOperationException when the method called is not valid for the current state. + + The name of the method. + The valid states. + + + + Throws an ObjectDisposedException. + + + + + Verifies the current state and BsonType of the reader. + + The name of the method calling this one. + The required BSON type. + + + + Represents a bookmark that can be used to return a reader to the current position and state. + + + + + Initializes a new instance of the BsonReaderBookmark class. + + The state of the reader. + The current BSON type. + The name of the current element. + + + + Gets the current BsonType; + + + + + Gets the name of the current element. + + + + + Gets the current state of the reader. + + + + + Represents settings for a BsonReader. + + + + + Initializes a new instance of the BsonReaderSettings class. + + + + + Initializes a new instance of the BsonReaderSettings class. + + The representation for Guids. + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Freezes the settings. + + The frozen settings. + + + + Returns a frozen copy of the settings. + + A frozen copy of the settings. + + + + Gets or sets the representation for Guids. + + + + + Gets whether the settings are frozen. + + + + + Throws an InvalidOperationException when an attempt is made to change a setting after the settings are frozen. + + + + + Represents the state of a reader. + + + + + The initial state. + + + + + The reader is positioned at the type of an element or value. + + + + + The reader is positioned at the name of an element. + + + + + The reader is positioned at a value. + + + + + The reader is positioned at a scope document. + + + + + The reader is positioned at the end of a document. + + + + + The reader is positioned at the end of an array. + + + + + The reader has finished reading a document. + + + + + The reader is closed. + + + + + Represents a Stream has additional methods to suport reading and writing BSON values. + + + + + + + MongoDB.Bson.IO.BsonStream + + + + + + + Reads a BSON CString from the stream. + + The encoding. + A string. + + + + Reads a BSON CString from the stream. + + An ArraySegment containing the CString bytes (without the null byte). + + + + Reads a BSON Decimal128 from the stream. + + A . + + + + Reads a BSON double from the stream. + + A double. + + + + Reads a 32-bit BSON integer from the stream. + + An int. + + + + Reads a 64-bit BSON integer from the stream. + + A long. + + + + Reads a BSON ObjectId from the stream. + + An ObjectId. + + + + Reads a raw length prefixed slice from the stream. + + A slice. + + + + Reads a BSON string from the stream. + + The encoding. + A string. + + + + Skips over a BSON CString leaving the stream positioned just after the terminating null byte. + + + + + Writes a BSON CString to the stream. + + The value. + + + + Writes the CString bytes to the stream. + + The value. + + + + Writes a BSON Decimal128 to the stream. + + The value. + + + + Writes a BSON double to the stream. + + The value. + + + + Writes a 32-bit BSON integer to the stream. + + The value. + + + + Writes a 64-bit BSON integer to the stream. + + The value. + + + + Writes a BSON ObjectId to the stream. + + The value. + + + + Writes a BSON string to the stream. + + The value. + The encoding. + + + + A Stream that wraps another Stream while implementing the BsonStream abstract methods. + + + + + Initializes a new instance of the class. + + The stream. + if set to true [owns stream]. + stream + + + + Gets the base stream. + + + + Begins an asynchronous read operation. (Consider using instead; see the Remarks section.) + The buffer to read the data into. + The byte offset in at which to begin writing data read from the stream. + The maximum number of bytes to read. + An optional asynchronous callback, to be called when the read is complete. + A user-provided object that distinguishes this particular asynchronous read request from other requests. + An that represents the asynchronous read, which could still be pending. + Attempted an asynchronous read past the end of the stream, or a disk error occurs. + One or more of the arguments is invalid. + Methods were called after the stream was closed. + The current Stream implementation does not support the read operation. + + + Begins an asynchronous write operation. (Consider using instead; see the Remarks section.) + The buffer to write data from. + The byte offset in from which to begin writing. + The maximum number of bytes to write. + An optional asynchronous callback, to be called when the write is complete. + A user-provided object that distinguishes this particular asynchronous write request from other requests. + An IAsyncResult that represents the asynchronous write, which could still be pending. + Attempted an asynchronous write past the end of the stream, or a disk error occurs. + One or more of the arguments is invalid. + Methods were called after the stream was closed. + The current Stream implementation does not support the write operation. + + + When overridden in a derived class, gets a value indicating whether the current stream supports reading. + true if the stream supports reading; otherwise, false. + + + When overridden in a derived class, gets a value indicating whether the current stream supports seeking. + true if the stream supports seeking; otherwise, false. + + + Gets a value that determines whether the current stream can time out. + A value that determines whether the current stream can time out. + + + When overridden in a derived class, gets a value indicating whether the current stream supports writing. + true if the stream supports writing; otherwise, false. + + + Closes the current stream and releases any resources (such as sockets and file handles) associated with the current stream. Instead of calling this method, ensure that the stream is properly disposed. + + + Asynchronously reads the bytes from the current stream and writes them to another stream, using a specified buffer size and cancellation token. + The stream to which the contents of the current stream will be copied. + The size, in bytes, of the buffer. This value must be greater than zero. The default size is 81920. + The token to monitor for cancellation requests. The default value is . + A task that represents the asynchronous copy operation. + + is null. + + is negative or zero. + Either the current stream or the destination stream is disposed. + The current stream does not support reading, or the destination stream does not support writing. + + + Waits for the pending asynchronous read to complete. (Consider using instead; see the Remarks section.) + The reference to the pending asynchronous request to finish. + The number of bytes read from the stream, between zero (0) and the number of bytes you requested. Streams return zero (0) only at the end of the stream, otherwise, they should block until at least one byte is available. + + is null. + A handle to the pending read operation is not available.-or-The pending operation does not support reading. + + did not originate from a method on the current stream. + The stream is closed or an internal error has occurred. + + + Ends an asynchronous write operation. (Consider using instead; see the Remarks section.) + A reference to the outstanding asynchronous I/O request. + + is null. + A handle to the pending write operation is not available.-or-The pending operation does not support writing. + + did not originate from a method on the current stream. + The stream is closed or an internal error has occurred. + + + When overridden in a derived class, clears all buffers for this stream and causes any buffered data to be written to the underlying device. + An I/O error occurs. + + + Asynchronously clears all buffers for this stream, causes any buffered data to be written to the underlying device, and monitors cancellation requests. + The token to monitor for cancellation requests. The default value is . + A task that represents the asynchronous flush operation. + The stream has been disposed. + + + When overridden in a derived class, gets the length in bytes of the stream. + A long value representing the length of the stream in bytes. + A class derived from Stream does not support seeking. + Methods were called after the stream was closed. + + + When overridden in a derived class, gets or sets the position within the current stream. + The current position within the stream. + An I/O error occurs. + The stream does not support seeking. + Methods were called after the stream was closed. + + + When overridden in a derived class, reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read. + An array of bytes. When this method returns, the buffer contains the specified byte array with the values between and ( + - 1) replaced by the bytes read from the current source. + The zero-based byte offset in at which to begin storing the data read from the current stream. + The maximum number of bytes to be read from the current stream. + The total number of bytes read into the buffer. This can be less than the number of bytes requested if that many bytes are not currently available, or zero (0) if the end of the stream has been reached. + The sum of and is larger than the buffer length. + + is null. + + or is negative. + An I/O error occurs. + The stream does not support reading. + Methods were called after the stream was closed. + + + Asynchronously reads a sequence of bytes from the current stream, advances the position within the stream by the number of bytes read, and monitors cancellation requests. + The buffer to write the data into. + The byte offset in at which to begin writing data from the stream. + The maximum number of bytes to read. + The token to monitor for cancellation requests. The default value is . + A task that represents the asynchronous read operation. The value of the parameter contains the total number of bytes read into the buffer. The result value can be less than the number of bytes requested if the number of bytes currently available is less than the requested number, or it can be 0 (zero) if the end of the stream has been reached. + + is null. + + or is negative. + The sum of and is larger than the buffer length. + The stream does not support reading. + The stream has been disposed. + The stream is currently in use by a previous read operation. + + + Reads a byte from the stream and advances the position within the stream by one byte, or returns -1 if at the end of the stream. + The unsigned byte cast to an Int32, or -1 if at the end of the stream. + The stream does not support reading. + Methods were called after the stream was closed. + + + + Reads a BSON CString from the stream. + + The encoding. + A string. + + + + Reads a BSON CString from the stream. + + An ArraySegment containing the CString bytes (without the null byte). + + + + Reads a BSON Decimal128 from the stream. + + A . + + + + Reads a BSON double from the stream. + + A double. + + + + Reads a 32-bit BSON integer from the stream. + + An int. + + + + Reads a 64-bit BSON integer from the stream. + + A long. + + + + Reads a BSON ObjectId from the stream. + + An ObjectId. + + + + Reads a raw length prefixed slice from the stream. + + A slice. + + + + Reads a BSON string from the stream. + + The encoding. + A string. + + + Gets or sets a value, in miliseconds, that determines how long the stream will attempt to read before timing out. + A value, in miliseconds, that determines how long the stream will attempt to read before timing out. + The method always throws an . + + + When overridden in a derived class, sets the position within the current stream. + A byte offset relative to the parameter. + A value of type indicating the reference point used to obtain the new position. + The new position within the current stream. + An I/O error occurs. + The stream does not support seeking, such as if the stream is constructed from a pipe or console output. + Methods were called after the stream was closed. + + + When overridden in a derived class, sets the length of the current stream. + The desired length of the current stream in bytes. + An I/O error occurs. + The stream does not support both writing and seeking, such as if the stream is constructed from a pipe or console output. + Methods were called after the stream was closed. + + + + Skips over a BSON CString leaving the stream positioned just after the terminating null byte. + + + + When overridden in a derived class, writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written. + An array of bytes. This method copies bytes from to the current stream. + The zero-based byte offset in at which to begin copying bytes to the current stream. + The number of bytes to be written to the current stream. + The sum of  and  is greater than the buffer length. + + is null. + + or  is negative. + An I/O error occured, such as the specified file cannot be found. + The stream does not support writing. + + was called after the stream was closed. + + + Asynchronously writes a sequence of bytes to the current stream, advances the current position within this stream by the number of bytes written, and monitors cancellation requests. + The buffer to write data from. + The zero-based byte offset in from which to begin copying bytes to the stream. + The maximum number of bytes to write. + The token to monitor for cancellation requests. The default value is . + A task that represents the asynchronous write operation. + + is null. + + or is negative. + The sum of and is larger than the buffer length. + The stream does not support writing. + The stream has been disposed. + The stream is currently in use by a previous write operation. + + + Writes a byte to the current position in the stream and advances the position within the stream by one byte. + The byte to write to the stream. + An I/O error occurs. + The stream does not support writing, or the stream is already closed. + Methods were called after the stream was closed. + + + + Writes a BSON CString to the stream. + + The value. + + + + Writes the CString bytes to the stream. + + The value. + + + + Writes a BSON Decimal128 to the stream. + + The value. + + + + Writes a BSON double to the stream. + + The value. + + + + Writes a 32-bit BSON integer to the stream. + + The value. + + + + Writes a 64-bit BSON integer to the stream. + + The value. + + + + Writes a BSON ObjectId to the stream. + + The value. + + + + Writes a BSON string to the stream. + + The value. + The encoding. + + + Gets or sets a value, in miliseconds, that determines how long the stream will attempt to write before timing out. + A value, in miliseconds, that determines how long the stream will attempt to write before timing out. + The method always throws an . + + + + Represents extension methods on BsonStream. + + + + + Backpatches the size. + + The stream. + The start position. + + + + Reads the binary sub type. + + The stream. + The binary sub type. + + + + Reads a boolean from the stream. + + The stream. + A boolean. + + + + Reads the BSON type. + + The stream. + The BSON type. + + + + Reads bytes from the stream. + + The stream. + The buffer. + The offset. + The count. + + + + Reads bytes from the stream. + + The stream. + The count. + The bytes. + + + + Writes a binary sub type to the stream. + + The stream. + The value. + + + + Writes a boolean to the stream. + + The stream. + The value. + + + + Writes a BsonType to the stream. + + The stream. + The value. + + + + Writes bytes to the stream. + + The stream. + The buffer. + The offset. + The count. + + + + Writes a slice to the stream. + + The stream. + The slice. + + + + Represents a mapping from a set of UTF8 encoded strings to a set of elementName/value pairs, implemented as a trie. + + The type of the BsonTrie values. + + + + Initializes a new instance of the BsonTrie class. + + + + + Adds the specified elementName (after encoding as a UTF8 byte sequence) and value to the trie. + + The element name to add. + The value to add. The value can be null for reference types. + + + + Gets the root node. + + + + + Tries to get the node associated with a name read from a stream. + + The stream. + The node. + + True if the node was found. + If the node was found the stream is advanced over the name, otherwise + the stream is repositioned to the beginning of the name. + + + + + Gets the node associated with the specified element name. + + The element name. + + When this method returns, contains the node associated with the specified element name, if the key is found; + otherwise, null. This parameter is passed unitialized. + + True if the node was found; otherwise, false. + + + + Gets the value associated with the specified element name. + + The element name. + + When this method returns, contains the value associated with the specified element name, if the key is found; + otherwise, the default value for the type of the value parameter. This parameter is passed unitialized. + + True if the value was found; otherwise, false. + + + + Gets the value associated with the specified element name. + + The element name. + + When this method returns, contains the value associated with the specified element name, if the key is found; + otherwise, the default value for the type of the value parameter. This parameter is passed unitialized. + + True if the value was found; otherwise, false. + + + + Represents a node in a BsonTrie. + + The type of the BsonTrie values. + + + + Gets the element name for this node. + + + + + Gets the child of this node for a given key byte. + + The key byte. + The child node if it exists; otherwise, null. + + + + Gets whether this node has a value. + + + + + Gets the value for this node. + + + + + Represents a BSON writer for some external format (see subclasses). + + + + + Initializes a new instance of the BsonWriter class. + + The writer settings. + + + + Closes the writer. + + + + + Disposes of any resources used by the writer. + + + + + Disposes of any resources used by the writer. + + True if called from Dispose. + + + + Gets whether the BsonWriter has been disposed. + + + + + Flushes any pending data to the output destination. + + + + + Gets the name of the element being written. + + + + + Pops the element name validator. + + The popped element validator. + + + + Pushes the element name validator. + + The validator. + + + + Gets the current serialization depth. + + + + + Gets the settings of the writer. + + + + + Gets the current state of the writer. + + + + + Throws an InvalidOperationException when the method called is not valid for the current ContextType. + + The name of the method. + The actual ContextType. + The valid ContextTypes. + + + + Throws an InvalidOperationException when the method called is not valid for the current state. + + The name of the method. + The valid states. + + + + Writes BSON binary data to the writer. + + The binary data. + + + + Writes a BSON Boolean to the writer. + + The Boolean value. + + + + Writes BSON binary data to the writer. + + The bytes. + + + + Writes a BSON DateTime to the writer. + + The number of milliseconds since the Unix epoch. + + + + Writes a BSON Decimal128 to the writer. + + The value. + + + + Writes a BSON Double to the writer. + + The Double value. + + + + Writes the end of a BSON array to the writer. + + + + + Writes the end of a BSON document to the writer. + + + + + Writes a BSON Int32 to the writer. + + The Int32 value. + + + + Writes a BSON Int64 to the writer. + + The Int64 value. + + + + Writes a BSON JavaScript to the writer. + + The JavaScript code. + + + + Writes a BSON JavaScript to the writer (call WriteStartDocument to start writing the scope). + + The JavaScript code. + + + + Writes a BSON MaxKey to the writer. + + + + + Writes a BSON MinKey to the writer. + + + + + Writes the name of an element to the writer. + + The name of the element. + + + + Writes a BSON null to the writer. + + + + + Writes a BSON ObjectId to the writer. + + The ObjectId. + + + + Writes a raw BSON array. + + The byte buffer containing the raw BSON array. + + + + Writes a raw BSON document. + + The byte buffer containing the raw BSON document. + + + + Writes a BSON regular expression to the writer. + + A BsonRegularExpression. + + + + Writes the start of a BSON array to the writer. + + + + + Writes the start of a BSON document to the writer. + + + + + Writes a BSON String to the writer. + + The String value. + + + + Writes a BSON Symbol to the writer. + + The symbol. + + + + Writes a BSON timestamp to the writer. + + The combined timestamp/increment value. + + + + Writes a BSON undefined to the writer. + + + + + Represents settings for a BsonWriter. + + + + + Initializes a new instance of the BsonWriterSettings class. + + + + + Initializes a new instance of the BsonWriterSettings class. + + The representation for Guids. + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Freezes the settings. + + The frozen settings. + + + + Returns a frozen copy of the settings. + + A frozen copy of the settings. + + + + Gets or sets the representation for Guids. + + + + + Gets whether the settings are frozen. + + + + + Gets or sets the max serialization depth allowed (used to detect circular references). + + + + + Throws an InvalidOperationException when an attempt is made to change a setting after the settings are frozen. + + + + + Represents the state of a BsonWriter. + + + + + The initial state. + + + + + The writer is positioned to write a name. + + + + + The writer is positioned to write a value. + + + + + The writer is positioned to write a scope document (call WriteStartDocument to start writing the scope document). + + + + + The writer is done. + + + + + The writer is closed. + + + + + An IByteBuffer that is backed by a contiguous byte array. + + + + + Initializes a new instance of the class. + + The bytes. + Whether the buffer is read only. + + + + Initializes a new instance of the class. + + The bytes. + The length. + Whether the buffer is read only. + + + + Access the backing bytes directly. The returned ArraySegment will point to the desired position and contain + as many bytes as possible up to the next chunk boundary (if any). If the returned ArraySegment does not + contain enough bytes for your needs you will have to call ReadBytes instead. + + The position. + + An ArraySegment pointing directly to the backing bytes for the position. + + + + + Gets the capacity. + + + + + Clears the specified bytes. + + The position. + The count. + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + Ensure that the buffer has a minimum capacity. Depending on the buffer allocation strategy + calling this method may result in a higher capacity than the minimum (but never lower). + + The minimum capacity. + + + + Gets a byte. + + The position. + A byte. + + + + Gets bytes. + + The position. + The destination. + The destination offset. + The count. + + + + Gets a slice of this buffer. + + The position of the start of the slice. + The length of the slice. + A slice of this buffer. + + + + Gets a value indicating whether this instance is read only. + + + + + Gets or sets the length. + + + + + Makes this buffer read only. + + + + + Sets a byte. + + The position. + The value. + + + + Sets bytes. + + The position. + The bytes. + The offset. + The count. + + + + Represents a chunk backed by a byte array. + + + + + Initializes a new instance of the class. + + The bytes. + bytes + + + + Initializes a new instance of the class. + + The size. + + + + Gets the bytes. + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + Releases unmanaged and - optionally - managed resources. + + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Returns a new reference to the same chunk that can be independently disposed. + + A new reference to the same chunk. + + + + Represents a factory for IBsonBuffers. + + + + + Creates a buffer of the specified length. Depending on the length, either a SingleChunkBuffer or a MultiChunkBuffer will be created. + + The chunk pool. + The minimum capacity. + A buffer with at least the minimum capacity. + + + + Represents a slice of a byte buffer. + + + + + Initializes a new instance of the class. + + The byte buffer. + The offset of the slice. + The length of the slice. + + + + Access the backing bytes directly. The returned ArraySegment will point to the desired position and contain + as many bytes as possible up to the next chunk boundary (if any). If the returned ArraySegment does not + contain enough bytes for your needs you will have to call ReadBytes instead. + + The position. + + An ArraySegment pointing directly to the backing bytes for the position. + + + + + Gets the buffer. + + + + + Gets the capacity. + + + + + Clears the specified bytes. + + The position. + The count. + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + Releases unmanaged and - optionally - managed resources. + + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Ensure that the buffer has a minimum capacity. Depending on the buffer allocation strategy + calling this method may result in a higher capacity than the minimum (but never lower). + + The minimum capacity. + + + + Gets a byte. + + The position. + A byte. + + + + Gets bytes. + + The position. + The destination. + The destination offset. + The count. + + + + Gets a slice of this buffer. + + The position of the start of the slice. + The length of the slice. + A slice of this buffer. + + + + Gets a value indicating whether this instance is read only. + + + + + Gets or sets the length. + + + + + Makes this buffer read only. + + + + + Sets a byte. + + The position. + The value. + + + + Sets bytes. + + The position. + The bytes. + The offset. + The count. + + + + Represents a Stream backed by an IByteBuffer. Similar to MemoryStream but backed by an IByteBuffer + instead of a byte array and also implements the BsonStream interface for higher performance BSON I/O. + + + + + Initializes a new instance of the class. + + The buffer. + Whether the stream owns the buffer and should Dispose it when done. + + + + Gets the buffer. + + + + When overridden in a derived class, gets a value indicating whether the current stream supports reading. + true if the stream supports reading; otherwise, false. + + + When overridden in a derived class, gets a value indicating whether the current stream supports seeking. + true if the stream supports seeking; otherwise, false. + + + Gets a value that determines whether the current stream can time out. + A value that determines whether the current stream can time out. + + + When overridden in a derived class, gets a value indicating whether the current stream supports writing. + true if the stream supports writing; otherwise, false. + + + Releases the unmanaged resources used by the and optionally releases the managed resources. + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + When overridden in a derived class, clears all buffers for this stream and causes any buffered data to be written to the underlying device. + An I/O error occurs. + + + When overridden in a derived class, gets the length in bytes of the stream. + A long value representing the length of the stream in bytes. + A class derived from Stream does not support seeking. + Methods were called after the stream was closed. + + + When overridden in a derived class, gets or sets the position within the current stream. + The current position within the stream. + An I/O error occurs. + The stream does not support seeking. + Methods were called after the stream was closed. + + + When overridden in a derived class, reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read. + An array of bytes. When this method returns, the buffer contains the specified byte array with the values between and ( + - 1) replaced by the bytes read from the current source. + The zero-based byte offset in at which to begin storing the data read from the current stream. + The maximum number of bytes to be read from the current stream. + The total number of bytes read into the buffer. This can be less than the number of bytes requested if that many bytes are not currently available, or zero (0) if the end of the stream has been reached. + The sum of and is larger than the buffer length. + + is null. + + or is negative. + An I/O error occurs. + The stream does not support reading. + Methods were called after the stream was closed. + + + Reads a byte from the stream and advances the position within the stream by one byte, or returns -1 if at the end of the stream. + The unsigned byte cast to an Int32, or -1 if at the end of the stream. + The stream does not support reading. + Methods were called after the stream was closed. + + + + Reads a BSON CString from the stream. + + The encoding. + A string. + + + + Reads a BSON CString from the stream. + + An ArraySegment containing the CString bytes (without the null byte). + + + + Reads a BSON Decimal128 from the stream. + + A . + + + + Reads a BSON double from the stream. + + A double. + + + + Reads a 32-bit BSON integer from the stream. + + An int. + + + + Reads a 64-bit BSON integer from the stream. + + A long. + + + + Reads a BSON ObjectId from the stream. + + An ObjectId. + + + + Reads a raw length prefixed slice from the stream. + + A slice. + + + + Reads a BSON string from the stream. + + The encoding. + A string. + + + When overridden in a derived class, sets the position within the current stream. + A byte offset relative to the parameter. + A value of type indicating the reference point used to obtain the new position. + The new position within the current stream. + An I/O error occurs. + The stream does not support seeking, such as if the stream is constructed from a pipe or console output. + Methods were called after the stream was closed. + + + When overridden in a derived class, sets the length of the current stream. + The desired length of the current stream in bytes. + An I/O error occurs. + The stream does not support both writing and seeking, such as if the stream is constructed from a pipe or console output. + Methods were called after the stream was closed. + + + + Skips over a BSON CString leaving the stream positioned just after the terminating null byte. + + + + When overridden in a derived class, writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written. + An array of bytes. This method copies bytes from to the current stream. + The zero-based byte offset in at which to begin copying bytes to the current stream. + The number of bytes to be written to the current stream. + The sum of  and  is greater than the buffer length. + + is null. + + or  is negative. + An I/O error occured, such as the specified file cannot be found. + The stream does not support writing. + + was called after the stream was closed. + + + Writes a byte to the current position in the stream and advances the position within the stream by one byte. + The byte to write to the stream. + An I/O error occurs. + The stream does not support writing, or the stream is already closed. + Methods were called after the stream was closed. + + + + Writes a BSON CString to the stream. + + The value. + + + + Writes the CString bytes to the stream. + + The value. + + + + Writes a BSON Decimal128 to the stream. + + The value. + + + + Writes a BSON double to the stream. + + The value. + + + + Writes a 32-bit BSON integer to the stream. + + The value. + + + + Writes a 64-bit BSON integer to the stream. + + The value. + + + + Writes a BSON ObjectId to the stream. + + The value. + + + + Writes a BSON string to the stream. + + The value. + The encoding. + + + + Used by BsonReaders and BsonWriters to represent the current context. + + + + + The top level of a BSON document. + + + + + A (possibly embedded) BSON document. + + + + + A BSON array. + + + + + A JavaScriptWithScope BSON value. + + + + + The scope document of a JavaScriptWithScope BSON value. + + + + + Represents a DateTime JSON token. + + + + + Initializes a new instance of the DateTimeJsonToken class. + + The lexeme. + The DateTime value. + + + + Gets the value of a DateTime token. + + + + + Represents a Double JSON token. + + + + + Initializes a new instance of the DoubleJsonToken class. + + The lexeme. + The Double value. + + + + Gets the value of a Double token. + + + + + Gets the value of an Int32 token. + + + + + Gets the value of an Int64 token. + + + + + Gets a value indicating whether this token is number. + + + + + Represents a chunk of bytes. + + + + + Gets the bytes. + + + + + Returns a new reference to the same chunk that can be independently disposed. + + A new reference to the same chunk. + + + + Represents a source of chunks. + + + + + Gets the chunk. + + Size of the requested. + A chunk. + + + + Represents a BSON reader. + + + + + Closes the reader. + + + + + Gets the current BsonType. + + + + + Gets a bookmark to the reader's current position and state. + + A bookmark. + + + + Gets the current BsonType (calls ReadBsonType if necessary). + + The current BsonType. + + + + Determines whether this reader is at end of file. + + + Whether this reader is at end of file. + + + + + Reads BSON binary data from the reader. + + A BsonBinaryData. + + + + Reads a BSON boolean from the reader. + + A Boolean. + + + + Reads a BsonType from the reader. + + A BsonType. + + + + Reads BSON binary data from the reader. + + A byte array. + + + + Reads a BSON DateTime from the reader. + + The number of milliseconds since the Unix epoch. + + + + Reads a BSON Decimal128 from the reader. + + A . + + + + Reads a BSON Double from the reader. + + A Double. + + + + Reads the end of a BSON array from the reader. + + + + + Reads the end of a BSON document from the reader. + + + + + Reads a BSON Int32 from the reader. + + An Int32. + + + + Reads a BSON Int64 from the reader. + + An Int64. + + + + Reads a BSON JavaScript from the reader. + + A string. + + + + Reads a BSON JavaScript with scope from the reader (call ReadStartDocument next to read the scope). + + A string. + + + + Reads a BSON MaxKey from the reader. + + + + + Reads a BSON MinKey from the reader. + + + + + Reads the name of an element from the reader (using the provided name decoder). + + The name decoder. + + The name of the element. + + + + + Reads a BSON null from the reader. + + + + + Reads a BSON ObjectId from the reader. + + An ObjectId. + + + + Reads a raw BSON array. + + The raw BSON array. + + + + Reads a raw BSON document. + + The raw BSON document. + + + + Reads a BSON regular expression from the reader. + + A BsonRegularExpression. + + + + Reads the start of a BSON array. + + + + + Reads the start of a BSON document. + + + + + Reads a BSON string from the reader. + + A String. + + + + Reads a BSON symbol from the reader. + + A string. + + + + Reads a BSON timestamp from the reader. + + The combined timestamp/increment. + + + + Reads a BSON undefined from the reader. + + + + + Returns the reader to previously bookmarked position and state. + + The bookmark. + + + + Skips the name (reader must be positioned on a name). + + + + + Skips the value (reader must be positioned on a value). + + + + + Gets the current state of the reader. + + + + + Contains extensions methods for IBsonReader. + + + + + Positions the reader to an element by name. + + The reader. + The name of the element. + True if the element was found. + + + + Positions the reader to a string element by name. + + The reader. + The name of the element. + True if the element was found. + + + + Reads a BSON binary data element from the reader. + + The reader. + The name of the element. + A BsonBinaryData. + + + + Reads a BSON boolean element from the reader. + + The reader. + The name of the element. + A Boolean. + + + + Reads a BSON binary data element from the reader. + + The reader. + The name of the element. + A byte array. + + + + Reads a BSON DateTime element from the reader. + + The reader. + The name of the element. + The number of milliseconds since the Unix epoch. + + + + Reads a BSON Decimal128 element from the reader. + + The reader. + The name of the element. + A . + + + + Reads a BSON Double element from the reader. + + The reader. + The name of the element. + A Double. + + + + Reads a BSON Int32 element from the reader. + + The reader. + The name of the element. + An Int32. + + + + Reads a BSON Int64 element from the reader. + + The reader. + The name of the element. + An Int64. + + + + Reads a BSON JavaScript element from the reader. + + The reader. + The name of the element. + A string. + + + + Reads a BSON JavaScript with scope element from the reader (call ReadStartDocument next to read the scope). + + The reader. + The name of the element. + A string. + + + + Reads a BSON MaxKey element from the reader. + + The reader. + The name of the element. + + + + Reads a BSON MinKey element from the reader. + + The reader. + The name of the element. + + + + Reads the name of an element from the reader. + + The reader. + The name of the element. + + + + Reads the name of an element from the reader. + + The reader. + The name of the element. + + + + Reads a BSON null element from the reader. + + The reader. + The name of the element. + + + + Reads a BSON ObjectId element from the reader. + + The reader. + The name of the element. + An ObjectId. + + + + Reads a raw BSON array. + + The reader. + The name. + + The raw BSON array. + + + + + Reads a raw BSON document. + + The reader. + The name. + The raw BSON document. + + + + Reads a BSON regular expression element from the reader. + + The reader. + The name of the element. + A BsonRegularExpression. + + + + Reads a BSON string element from the reader. + + The reader. + The name of the element. + A String. + + + + Reads a BSON symbol element from the reader. + + The reader. + The name of the element. + A string. + + + + Reads a BSON timestamp element from the reader. + + The reader. + The name of the element. + The combined timestamp/increment. + + + + Reads a BSON undefined element from the reader. + + The reader. + The name of the element. + + + + Represents a BSON writer. + + + + + Closes the writer. + + + + + Flushes any pending data to the output destination. + + + + + Pops the element name validator. + + The popped element validator. + + + + Pushes the element name validator. + + The validator. + + + + Gets the current serialization depth. + + + + + Gets the settings of the writer. + + + + + Gets the current state of the writer. + + + + + Writes BSON binary data to the writer. + + The binary data. + + + + Writes a BSON Boolean to the writer. + + The Boolean value. + + + + Writes BSON binary data to the writer. + + The bytes. + + + + Writes a BSON DateTime to the writer. + + The number of milliseconds since the Unix epoch. + + + + Writes a BSON Decimal128 to the writer. + + The value. + + + + Writes a BSON Double to the writer. + + The Double value. + + + + Writes the end of a BSON array to the writer. + + + + + Writes the end of a BSON document to the writer. + + + + + Writes a BSON Int32 to the writer. + + The Int32 value. + + + + Writes a BSON Int64 to the writer. + + The Int64 value. + + + + Writes a BSON JavaScript to the writer. + + The JavaScript code. + + + + Writes a BSON JavaScript to the writer (call WriteStartDocument to start writing the scope). + + The JavaScript code. + + + + Writes a BSON MaxKey to the writer. + + + + + Writes a BSON MinKey to the writer. + + + + + Writes the name of an element to the writer. + + The name of the element. + + + + Writes a BSON null to the writer. + + + + + Writes a BSON ObjectId to the writer. + + The ObjectId. + + + + Writes a raw BSON array. + + The byte buffer containing the raw BSON array. + + + + Writes a raw BSON document. + + The byte buffer containing the raw BSON document. + + + + Writes a BSON regular expression to the writer. + + A BsonRegularExpression. + + + + Writes the start of a BSON array to the writer. + + + + + Writes the start of a BSON document to the writer. + + + + + Writes a BSON String to the writer. + + The String value. + + + + Writes a BSON Symbol to the writer. + + The symbol. + + + + Writes a BSON timestamp to the writer. + + The combined timestamp/increment value. + + + + Writes a BSON undefined to the writer. + + + + + Contains extension methods for IBsonWriter. + + + + + Writes a BSON binary data element to the writer. + + The writer. + The name of the element. + The binary data. + + + + Writes a BSON Boolean element to the writer. + + The writer. + The name of the element. + The Boolean value. + + + + Writes a BSON binary data element to the writer. + + The writer. + The name of the element. + The bytes. + + + + Writes a BSON DateTime element to the writer. + + The writer. + The name of the element. + The number of milliseconds since the Unix epoch. + + + + Writes a BSON Decimal128 element to the writer. + + The writer. + The name of the element. + The value. + + + + Writes a BSON Double element to the writer. + + The writer. + The name of the element. + The Double value. + + + + Writes a BSON Int32 element to the writer. + + The writer. + The name of the element. + The Int32 value. + + + + Writes a BSON Int64 element to the writer. + + The writer. + The name of the element. + The Int64 value. + + + + Writes a BSON JavaScript element to the writer. + + The writer. + The name of the element. + The JavaScript code. + + + + Writes a BSON JavaScript element to the writer (call WriteStartDocument to start writing the scope). + + The writer. + The name of the element. + The JavaScript code. + + + + Writes a BSON MaxKey element to the writer. + + The writer. + The name of the element. + + + + Writes a BSON MinKey element to the writer. + + The writer. + The name of the element. + + + + Writes a BSON null element to the writer. + + The writer. + The name of the element. + + + + Writes a BSON ObjectId element to the writer. + + The writer. + The name of the element. + The ObjectId. + + + + Writes a raw BSON array. + + The writer. + The name. + The byte buffer containing the raw BSON array. + + + + Writes a raw BSON document. + + The writer. + The name. + The byte buffer containing the raw BSON document. + + + + Writes a BSON regular expression element to the writer. + + The writer. + The name of the element. + A BsonRegularExpression. + + + + Writes the start of a BSON array element to the writer. + + The writer. + The name of the element. + + + + Writes the start of a BSON document element to the writer. + + The writer. + The name of the element. + + + + Writes a BSON String element to the writer. + + The writer. + The name of the element. + The String value. + + + + Writes a BSON Symbol element to the writer. + + The writer. + The name of the element. + The symbol. + + + + Writes a BSON timestamp element to the writer. + + The writer. + The name of the element. + The combined timestamp/increment value. + + + + Writes a BSON undefined element to the writer. + + The writer. + The name of the element. + + + + Represents a byte buffer (backed by various means depending on the implementation). + + + + + Access the backing bytes directly. The returned ArraySegment will point to the desired position and contain + as many bytes as possible up to the next chunk boundary (if any). If the returned ArraySegment does not + contain enough bytes for your needs you will have to call ReadBytes instead. + + The position. + + An ArraySegment pointing directly to the backing bytes for the position. + + + + + Gets the capacity. + + + + + Clears the specified bytes. + + The position. + The count. + + + + Ensure that the buffer has a minimum capacity. Depending on the buffer allocation strategy + calling this method may result in a higher capacity than the minimum (but never lower). + + The minimum capacity. + + + + Gets a byte. + + The position. + A byte. + + + + Gets bytes. + + The position. + The destination. + The destination offset. + The count. + + + + Gets a slice of this buffer. + + The position of the start of the slice. + The length of the slice. + A slice of this buffer. + + + + Gets a value indicating whether this instance is read only. + + + + + Gets or sets the length. + + + + + Makes this buffer read only. + + + + + Sets a byte. + + The position. + The value. + + + + Sets bytes. + + The position. + The bytes. + The offset. + The count. + + + + Represents an element name validator. Used by BsonWriters when WriteName is called + to determine if the element name is valid. + + + + + Gets the validator to use for child content (a nested document or array). + + The name of the element. + The validator to use for child content. + + + + Determines whether the element name is valid. + + The name of the element. + True if the element name is valid. + + + + Represents a name decoder. + + + + + Decodes the name. + + The stream. + The encoding. + + The name. + + + + + Informs the decoder of an already decoded name (so the decoder can change state if necessary). + + The name. + + + + Represents a source of chunks optimized for input buffers. + + + + + Initializes a new instance of the class. + + The chunk source. + The maximum size of an unpooled chunk. + The minimum size of a chunk. + The maximum size of a chunk. + + + + Gets the base source. + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + Gets the chunk. + + Size of the requested. + A chunk. + + + + Gets the maximum size of a chunk. + + + + + Gets the maximum size of an unpooled chunk. + + + + + Gets the minimum size of a chunk. + + + + + Represents an Int32 JSON token. + + + + + Initializes a new instance of the Int32JsonToken class. + + The lexeme. + The Int32 value. + + + + Gets the value of a Double token. + + + + + Gets the value of an Int32 token. + + + + + Gets the value of an Int32 token as an Int64. + + + + + Gets a value indicating whether this token is number. + + + + + Represents an Int64 JSON token. + + + + + Initializes a new instance of the Int64JsonToken class. + + The lexeme. + The Int64 value. + + + + Gets the value of a Double token. + + + + + Gets the value of an Int32 token. + + + + + Gets the value of an Int64 token. + + + + + Gets a value indicating whether this token is number. + + + + + Encodes and decodes scalar values to JSON compatible strings. + + + + + Converts a string to a Boolean. + + The value. + A Boolean. + + + + Converts a string to a DateTime. + + The value. + A DateTime. + + + + Converts a string to a DateTimeOffset. + + The value. + A DateTimeOffset. + + + + Converts a string to a Decimal. + + The value. + A Decimal. + + + + Converts a string to a . + + The value. + A . + + + + Converts a string to a Double. + + The value. + A Double. + + + + Converts a string to an Int16. + + The value. + An Int16. + + + + Converts a string to an Int32. + + The value. + An Int32. + + + + Converts a string to an Int64. + + The value. + An Int64. + + + + Converts a string to a Single. + + The value. + A Single. + + + + Converts a to a string. + + The value. + A string. + + + + Converts a Boolean to a string. + + The value. + A string. + + + + Converts a DateTime to a string. + + The value. + A string. + + + + Converts a DateTimeOffset to a string. + + The value. + A string. + + + + Converts a Decimal to a string. + + The value. + A string. + + + + Converts a Double to a string. + + The value. + A string. + + + + Converts an Int16 to a string. + + The value. + A string. + + + + Converts an Int32 to a string. + + The value. + A string. + + + + Converts an Int64 to a string. + + The value. + A string. + + + + Converts a Single to a string. + + The value. + A string. + + + + Converts a UInt16 to a string. + + The value. + A string. + + + + Converts a UInt32 to a string. + + The value. + A string. + + + + Converts a UInt64 to a string. + + The value. + A string. + + + + Converts a string to a UInt16. + + The value. + A UInt16. + + + + Converts a string to a UInt32. + + The value. + A UInt32. + + + + Converts a string to a UInt64. + + The value. + A UInt64. + + + + Represents the output mode of a JsonWriter. + + + + + Output strict JSON. + + + + + Use a format that can be pasted in to the MongoDB shell. + + + + + Use JavaScript data types for some values. + + + + + Use JavaScript and MongoDB data types for some values. + + + + + Represents a BSON reader for a JSON string. + + + + + Initializes a new instance of the JsonReader class. + + The TextReader. + + + + Initializes a new instance of the JsonReader class. + + The TextReader. + The reader settings. + + + + Initializes a new instance of the JsonReader class. + + The JSON string. + + + + Initializes a new instance of the JsonReader class. + + The JSON string. + The reader settings. + + + + Closes the reader. + + + + + Disposes of any resources used by the reader. + + True if called from Dispose. + + + + Gets a bookmark to the reader's current position and state. + + A bookmark. + + + + Determines whether this reader is at end of file. + + + Whether this reader is at end of file. + + + + + Reads BSON binary data from the reader. + + A BsonBinaryData. + + + + Reads a BSON boolean from the reader. + + A Boolean. + + + + Reads a BsonType from the reader. + + A BsonType. + + + + Reads BSON binary data from the reader. + + A byte array. + + + + Reads a BSON DateTime from the reader. + + The number of milliseconds since the Unix epoch. + + + + Reads a BSON Decimal128 from the reader. + + A . + + + + Reads a BSON Double from the reader. + + A Double. + + + + Reads the end of a BSON array from the reader. + + + + + Reads the end of a BSON document from the reader. + + + + + Reads a BSON Int32 from the reader. + + An Int32. + + + + Reads a BSON Int64 from the reader. + + An Int64. + + + + Reads a BSON JavaScript from the reader. + + A string. + + + + Reads a BSON JavaScript with scope from the reader (call ReadStartDocument next to read the scope). + + A string. + + + + Reads a BSON MaxKey from the reader. + + + + + Reads a BSON MinKey from the reader. + + + + + Reads the name of an element from the reader. + + The name decoder. + + The name of the element. + + + + + Reads a BSON null from the reader. + + + + + Reads a BSON ObjectId from the reader. + + An ObjectId. + + + + Reads a BSON regular expression from the reader. + + A BsonRegularExpression. + + + + Reads the start of a BSON array. + + + + + Reads the start of a BSON document. + + + + + Reads a BSON string from the reader. + + A String. + + + + Reads a BSON symbol from the reader. + + A string. + + + + Reads a BSON timestamp from the reader. + + The combined timestamp/increment. + + + + Reads a BSON undefined from the reader. + + + + + Returns the reader to previously bookmarked position and state. + + The bookmark. + + + + Skips the name (reader must be positioned on a name). + + + + + Skips the value (reader must be positioned on a value). + + + + + Represents a bookmark that can be used to return a reader to the current position and state. + + + + + Represents settings for a JsonReader. + + + + + Initializes a new instance of the JsonReaderSettings class. + + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Gets or sets the default settings for a JsonReader. + + + + + Represents a JSON token. + + + + + Initializes a new instance of the JsonToken class. + + The token type. + The lexeme. + + + + Gets the value of a DateTime token. + + + + + Gets the value of a Double token. + + + + + Gets the value of an Int32 token. + + + + + Gets the value of an Int64 token. + + + + + Gets a value indicating whether this token is number. + + + + + Gets the lexeme. + + + + + Gets the value of an ObjectId token. + + + + + Gets the value of a regular expression token. + + + + + Gets the value of a string token. + + + + + Gets the token type. + + + + + Represents a JSON token type. + + + + + An invalid token. + + + + + A begin array token (a '['). + + + + + A begin object token (a '{'). + + + + + An end array token (a ']'). + + + + + A left parenthesis (a '('). + + + + + A right parenthesis (a ')'). + + + + + An end object token (a '}'). + + + + + A colon token (a ':'). + + + + + A comma token (a ','). + + + + + A DateTime token. + + + + + A Double token. + + + + + An Int32 token. + + + + + And Int64 token. + + + + + An ObjectId token. + + + + + A regular expression token. + + + + + A string token. + + + + + An unquoted string token. + + + + + An end of file token. + + + + + Represents a BSON writer to a TextWriter (in JSON format). + + + + + Initializes a new instance of the JsonWriter class. + + A TextWriter. + + + + Initializes a new instance of the JsonWriter class. + + A TextWriter. + Optional JsonWriter settings. + + + + Gets the base TextWriter. + + + + + Closes the writer. + + + + + Disposes of any resources used by the writer. + + True if called from Dispose. + + + + Flushes any pending data to the output destination. + + + + + Writes BSON binary data to the writer. + + The binary data. + + + + Writes a BSON Boolean to the writer. + + The Boolean value. + + + + Writes BSON binary data to the writer. + + The bytes. + + + + Writes a BSON DateTime to the writer. + + The number of milliseconds since the Unix epoch. + + + + Writes a BSON Decimal128 to the writer. + + The value. + + + + Writes a BSON Double to the writer. + + The Double value. + + + + Writes the end of a BSON array to the writer. + + + + + Writes the end of a BSON document to the writer. + + + + + Writes a BSON Int32 to the writer. + + The Int32 value. + + + + Writes a BSON Int64 to the writer. + + The Int64 value. + + + + Writes a BSON JavaScript to the writer. + + The JavaScript code. + + + + Writes a BSON JavaScript to the writer (call WriteStartDocument to start writing the scope). + + The JavaScript code. + + + + Writes a BSON MaxKey to the writer. + + + + + Writes a BSON MinKey to the writer. + + + + + Writes a BSON null to the writer. + + + + + Writes a BSON ObjectId to the writer. + + The ObjectId. + + + + Writes a BSON regular expression to the writer. + + A BsonRegularExpression. + + + + Writes the start of a BSON array to the writer. + + + + + Writes the start of a BSON document to the writer. + + + + + Writes a BSON String to the writer. + + The String value. + + + + Writes a BSON Symbol to the writer. + + The symbol. + + + + Writes a BSON timestamp to the writer. + + The combined timestamp/increment value. + + + + Writes a BSON undefined to the writer. + + + + + Represents settings for a JsonWriter. + + + + + Initializes a new instance of the JsonWriterSettings class. + + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Gets or sets the default JsonWriterSettings. + + + + + Gets or sets the output Encoding. + + + + + Gets or sets whether to indent the output. + + + + + Gets or sets the indent characters. + + + + + Gets or sets the new line characters. + + + + + Gets or sets the output mode. + + + + + Gets or sets the shell version (used with OutputMode Shell). + + + + + An IByteBuffer that is backed by multiple chunks. + + + + + Initializes a new instance of the class. + + The chunk pool. + chunkPool + + + + Initializes a new instance of the class. + + The chunks. + The length. + Whether the buffer is read only. + chunks + + + + Access the backing bytes directly. The returned ArraySegment will point to the desired position and contain + as many bytes as possible up to the next chunk boundary (if any). If the returned ArraySegment does not + contain enough bytes for your needs you will have to call ReadBytes instead. + + The position. + + An ArraySegment pointing directly to the backing bytes for the position. + + + + + Gets the capacity. + + + + + Gets the chunk source. + + + + + Clears the specified bytes. + + The position. + The count. + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + Ensure that the buffer has a minimum capacity. Depending on the buffer allocation strategy + calling this method may result in a higher capacity than the minimum (but never lower). + + The minimum capacity. + + + + Gets a byte. + + The position. + A byte. + + + + Gets bytes. + + The position. + The destination. + The destination offset. + The count. + + + + Gets a slice of this buffer. + + The position of the start of the slice. + The length of the slice. + A slice of this buffer. + + + + Gets a value indicating whether this instance is read only. + + + + + Gets or sets the length. + + + + + Makes this buffer read only. + + + + + Sets a byte. + + The position. + The value. + + + + Sets bytes. + + The position. + The bytes. + The offset. + The count. + + + + Represents an element name validator that does no validation. + + + + + + + MongoDB.Bson.IO.NoOpElementNameValidator + + + + + + + Gets the validator to use for child content (a nested document or array). + + The name of the element. + The validator to use for child content. + + + + Gets the instance. + + + + + Determines whether the element name is valid. + + The name of the element. + True if the element name is valid. + + + + Represents an ObjectId JSON token. + + + + + Initializes a new instance of the ObjectIdJsonToken class. + + The lexeme. + The ObjectId value. + + + + Gets the value of an ObjectId token. + + + + + Represents a source of chunks optimized for output buffers. + + + + + Initializes a new instance of the class. + + The chunk source. + The size of the initial unpooled chunk. + The minimum size of a chunk. + The maximum size of a chunk. + + + + Gets the base source. + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + Gets the chunk. + + Size of the requested. + A chunk. + + + + Gets the initial unpooled chunk size. + + + + + Gets the maximum size of a chunk. + + + + + Gets the minimum size of a chunk. + + + + + Represents a regular expression JSON token. + + + + + Initializes a new instance of the RegularExpressionJsonToken class. + + The lexeme. + The BsonRegularExpression value. + + + + Gets the value of a regular expression token. + + + + + An IByteBuffer that is backed by a single chunk. + + + + + Initializes a new instance of the class. + + The chuns. + The length. + Whether the buffer is read only. + + + + Access the backing bytes directly. The returned ArraySegment will point to the desired position and contain + as many bytes as possible up to the next chunk boundary (if any). If the returned ArraySegment does not + contain enough bytes for your needs you will have to call ReadBytes instead. + + The position. + + An ArraySegment pointing directly to the backing bytes for the position. + + + + + Gets the capacity. + + + + + Clears the specified bytes. + + The position. + The count. + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + Ensure that the buffer has a minimum capacity. Depending on the buffer allocation strategy + calling this method may result in a higher capacity than the minimum (but never lower). + + The minimum capacity. + + + + Gets a byte. + + The position. + A byte. + + + + Gets bytes. + + The position. + The destination. + The destination offset. + The count. + + + + Gets a slice of this buffer. + + The position of the start of the slice. + The length of the slice. + A slice of this buffer. + + + + Gets a value indicating whether this instance is read only. + + + + + Gets or sets the length. + + + + + Makes this buffer read only. + + + + + Sets a byte. + + The position. + The value. + + + + Sets bytes. + + The position. + The bytes. + The offset. + The count. + + + + Represents a String JSON token. + + + + + Initializes a new instance of the StringJsonToken class. + + The token type. + The lexeme. + The String value. + + + + Gets the value of an String token. + + + + + Represents a Trie-based name decoder that also provides a value. + + The type of the value. + + + + Initializes a new instance of the class. + + The trie. + + + + Reads the name. + + The stream. + The encoding. + + The name. + + + + + Gets a value indicating whether this is found. + + + + + Informs the decoder of an already decoded name (so the decoder can change state if necessary). + + The name. + + + + Gets the value. + + + + + Represents a singleton instance of a strict UTF8Encoding. + + + + + Gets the lenient instance. + + + + + Gets the strict instance. + + + + + Represents a class that has some helper methods for decoding UTF8 strings. + + + + + Decodes a UTF8 string. + + The bytes. + The index. + The count. + The encoding. + The decoded string. + + + + Represents a UTF8 name decoder. + + + + + + + MongoDB.Bson.IO.Utf8NameDecoder + + + + + + + Decodes the name. + + The stream. + The encoding. + + The name. + + + + + Informs the decoder of an already decoded name (so the decoder can change state if necessary). + + The name. + + + + Gets the instance. + + + + + Provides serializers based on an attribute. + + + + + + + MongoDB.Bson.Serialization.AttributedSerializationProvider + + + + + + + Gets a serializer for a type. + + The type. + The serializer registry. + + A serializer. + + + + + Represents a mapping between a class and a BSON document. + + + + + Initializes a new instance of the BsonClassMap class. + + The class type. + + + + Initializes a new instance of the class. + + Type of the class. + The base class map. + + + + Adds a known type to the class map. + + The known type. + + + + Gets all the member maps (including maps for inherited members). + + + + + Automaps the class. + + + + + Gets the base class map. + + + + + Gets the class type. + + + + + Gets the conventions used for auto mapping. + + + + + Creates an instance of the class. + + An object. + + + + Gets the constructor maps. + + + + + Gets the declared member maps (only for members declared in this class). + + + + + Gets the discriminator. + + + + + Gets whether a discriminator is required when serializing this class. + + + + + Gets the member map of the member used to hold extra elements. + + + + + Freezes the class map. + + The frozen class map. + + + + Gets the type of a member. + + The member info. + The type of the member. + + + + Gets a member map (only considers members declared in this class). + + The member name. + The member map (or null if the member was not found). + + + + Gets the member map for a BSON element. + + The name of the element. + The member map. + + + + Gets all registered class maps. + + All registered class maps. + + + + Gets whether this class map has any creator maps. + + + + + Gets whether this class has a root class ancestor. + + + + + Gets the Id member map (null if none). + + + + + Gets whether extra elements should be ignored when deserializing. + + + + + Gets whether the IgnoreExtraElements value should be inherited by derived classes. + + + + + Gets whether this class is anonymous. + + + + + Checks whether a class map is registered for a type. + + The type to check. + True if there is a class map registered for the type. + + + + Gets whether the class map is frozen. + + + + + Gets whether this class is a root class. + + + + + Gets the known types of this class. + + + + + Looks up a class map (will AutoMap the class if no class map is registered). + + The class type. + The class map. + + + + Creates a creator map for a constructor and adds it to the class map. + + The constructor info. + The creator map (so method calls can be chained). + + + + Creates a creator map for a constructor and adds it to the class map. + + The constructor info. + The argument names. + The creator map (so method calls can be chained). + + + + Creates a creator map and adds it to the class. + + The delegate. + The factory method map (so method calls can be chained). + + + + Creates a creator map and adds it to the class. + + The delegate. + The argument names. + The factory method map (so method calls can be chained). + + + + Creates a member map for the extra elements field and adds it to the class map. + + The name of the extra elements field. + The member map (so method calls can be chained). + + + + Creates a member map for the extra elements member and adds it to the class map. + + The member info for the extra elements member. + The member map (so method calls can be chained). + + + + Creates a member map for the extra elements property and adds it to the class map. + + The name of the property. + The member map (so method calls can be chained). + + + + Creates a creator map for a factory method and adds it to the class. + + The method info. + The creator map (so method calls can be chained). + + + + Creates a creator map for a factory method and adds it to the class. + + The method info. + The argument names. + The creator map (so method calls can be chained). + + + + Creates a member map for a field and adds it to the class map. + + The name of the field. + The member map (so method calls can be chained). + + + + Creates a member map for the Id field and adds it to the class map. + + The name of the Id field. + The member map (so method calls can be chained). + + + + Creates a member map for the Id member and adds it to the class map. + + The member info for the Id member. + The member map (so method calls can be chained). + + + + Creates a member map for the Id property and adds it to the class map. + + The name of the Id property. + The member map (so method calls can be chained). + + + + Creates a member map for a member and adds it to the class map. + + The member info. + The member map (so method calls can be chained). + + + + Creates a member map for a property and adds it to the class map. + + The name of the property. + The member map (so method calls can be chained). + + + + Creates and registers a class map. + + The class. + The class map. + + + + Registers a class map. + + The class map. + + + + Creates and registers a class map. + + The class map initializer. + The class. + The class map. + + + + Resets the class map back to its initial state. + + + + + Sets the creator for the object. + + The creator. + The class map (so method calls can be chained). + + + + Sets the discriminator. + + The discriminator. + + + + Sets whether a discriminator is required when serializing this class. + + Whether a discriminator is required. + + + + Sets the member map of the member used to hold extra elements. + + The extra elements member map. + + + + Sets the Id member. + + The Id member (null if none). + + + + Sets whether extra elements should be ignored when deserializing. + + Whether extra elements should be ignored when deserializing. + + + + Sets whether the IgnoreExtraElements value should be inherited by derived classes. + + Whether the IgnoreExtraElements value should be inherited by derived classes. + + + + Sets whether this class is a root class. + + Whether this class is a root class. + + + + Removes a creator map for a constructor from the class map. + + The constructor info. + + + + Removes a creator map for a factory method from the class map. + + The method info. + + + + Removes the member map for a field from the class map. + + The name of the field. + + + + Removes a member map from the class map. + + The member info. + + + + Removes the member map for a property from the class map. + + The name of the property. + + + + Represents a mapping between a class and a BSON document. + + The class. + + + + Initializes a new instance of the BsonClassMap class. + + + + + Initializes a new instance of the BsonClassMap class. + + The class map initializer. + + + + Creates an instance. + + An instance. + + + + Gets a member map. + + A lambda expression specifying the member. + The member type. + The member map. + + + + Creates a creator map and adds it to the class map. + + Lambda expression specifying the creator code and parameters to use. + The member map. + + + + Creates a member map for the extra elements field and adds it to the class map. + + A lambda expression specifying the extra elements field. + The member type. + The member map. + + + + Creates a member map for the extra elements member and adds it to the class map. + + A lambda expression specifying the extra elements member. + The member type. + The member map. + + + + Creates a member map for the extra elements property and adds it to the class map. + + A lambda expression specifying the extra elements property. + The member type. + The member map. + + + + Creates a member map for a field and adds it to the class map. + + A lambda expression specifying the field. + The member type. + The member map. + + + + Creates a member map for the Id field and adds it to the class map. + + A lambda expression specifying the Id field. + The member type. + The member map. + + + + Creates a member map for the Id member and adds it to the class map. + + A lambda expression specifying the Id member. + The member type. + The member map. + + + + Creates a member map for the Id property and adds it to the class map. + + A lambda expression specifying the Id property. + The member type. + The member map. + + + + Creates a member map and adds it to the class map. + + A lambda expression specifying the member. + The member type. + The member map. + + + + Creates a member map for the Id property and adds it to the class map. + + A lambda expression specifying the Id property. + The member type. + The member map. + + + + Removes the member map for a field from the class map. + + A lambda expression specifying the field. + The member type. + + + + Removes a member map from the class map. + + A lambda expression specifying the member. + The member type. + + + + Removes a member map for a property from the class map. + + A lambda expression specifying the property. + The member type. + + + + Represents a serializer for a class map. + + The type of the class. + + + + Initializes a new instance of the BsonClassMapSerializer class. + + The class map. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Deserializes a value. + + The deserialization context. + A deserialized value. + + + + Gets the document Id. + + The document. + The Id. + The nominal type of the Id. + The IdGenerator for the Id type. + True if the document has an Id. + + + + Gets a value indicating whether this serializer's discriminator is compatible with the object serializer. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Sets the document Id. + + The document. + The Id. + + + + Tries to get the serialization info for a member. + + Name of the member. + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Represents a mapping to a delegate and its arguments. + + + + + Initializes a new instance of the BsonCreatorMap class. + + The class map. + The member info (null if none). + The delegate. + + + + Gets the arguments. + + + + + Gets the class map that this creator map belongs to. + + + + + Gets the delegeate + + + + + Gets the element names. + + + + + Freezes the creator map. + + + + + Gets whether there is a default value for a missing element. + + The element name. + True if there is a default value for element name; otherwise, false. + + + + Gets the member info (null if none). + + + + + Sets the arguments for the creator map. + + The arguments. + The creator map. + + + + Sets the arguments for the creator map. + + The argument names. + The creator map. + + + + Represents args common to all serializers. + + + + + Gets or sets the nominal type. + + + + + Represents all the contextual information needed by a serializer to deserialize a value. + + + + + Gets a value indicating whether to allow duplicate element names. + + + + + Creates a root context. + + The reader. + The configurator. + + A root context. + + + + + Gets the dynamic array serializer. + + + + + Gets the dynamic document serializer. + + + + + Gets the reader. + + + + + Creates a new context with some values changed. + + The configurator. + + A new context. + + + + + Represents a builder for a BsonDeserializationContext. + + + + + Gets or sets a value indicating whether to allow duplicate element names. + + + + + Gets or sets the dynamic array serializer. + + + + + Gets or sets the dynamic document serializer. + + + + + Gets the reader. + + + + + A class backed by a BsonDocument. + + + + + Initializes a new instance of the class. + + The backing document. + The serializer. + + + + Initializes a new instance of the class. + + The serializer. + + + + Gets the backing document. + + + + + Gets the value from the backing document. + + The member name. + The type of the value. + The value. + + + + Gets the value from the backing document. + + The member name. + The default value. + The type of the value. + The value. + + + + Sets the value in the backing document. + + The member name. + The value. + + + + Represents a serializer for TClass (a subclass of BsonDocumentBackedClass). + + The subclass of BsonDocumentBackedClass. + + + + Initializes a new instance of the class. + + + + + Creates the instance. + + The backing document. + An instance of TClass. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Registers a member. + + The member name. + The element name. + The serializer. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Tries to get the serialization info for a member. + + Name of the member. + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Represents the mapping between a field or property and a BSON element. + + + + + Initializes a new instance of the BsonMemberMap class. + + The class map this member map belongs to. + The member info. + + + + Applies the default value to the member of an object. + + The object. + + + + Gets the class map that this member map belongs to. + + + + + Gets the default value. + + + + + Gets the name of the element. + + + + + Freezes this instance. + + + + + Gets the serializer. + + The serializer. + + + + Gets the getter function. + + + + + Gets the Id generator. + + + + + Gets whether default values should be ignored when serialized. + + + + + Gets whether null values should be ignored when serialized. + + + + + Gets whether a default value was specified. + + + + + Gets whether the member is readonly. + + + + + Gets whether an element is required for this member when deserialized. + + + + + Gets the member info. + + + + + Gets the name of the member. + + + + + Gets the type of the member. + + + + + Gets whether the member type is a BsonValue. + + + + + Gets the serialization order. + + + + + Resets the member map back to its initial state. + + The member map. + + + + Sets the default value creator. + + The default value creator (note: the supplied delegate must be thread safe). + The member map. + + + + Sets the default value. + + The default value. + The member map. + + + + Sets the name of the element. + + The name of the element. + The member map. + + + + Sets the Id generator. + + The Id generator. + The member map. + + + + Sets whether default values should be ignored when serialized. + + Whether default values should be ignored when serialized. + The member map. + + + + Sets whether null values should be ignored when serialized. + + Wether null values should be ignored when serialized. + The member map. + + + + Sets whether an element is required for this member when deserialized + + Whether an element is required for this member when deserialized + The member map. + + + + Sets the serialization order. + + The serialization order. + The member map. + + + + Sets the serializer. + + The serializer. + + The member map. + + serializer + serializer + + + + Sets the method that will be called to determine whether the member should be serialized. + + The method. + The member map. + + + + Gets the setter function. + + + + + Determines whether a value should be serialized + + The object. + The value. + True if the value should be serialized. + + + + Gets the method that will be called to determine whether the member should be serialized. + + + + + Indicates the usage restrictions for the attribute. + + + + + Initializes a new instance of the class. + + + + + Gets or sets a value indicating whether the attribute this attribute applies to is allowed to be applied + to more than one member. + + + + + Provides serializers for BsonValue and its derivations. + + + + + + + MongoDB.Bson.Serialization.BsonObjectModelSerializationProvider + + + + + + + Gets a serializer for a type. + + The type. + The serializer registry. + + A serializer. + + + + + Represents args common to all serializers. + + + + + Initializes a new instance of the struct. + + The nominal type. + Whether to serialize as the nominal type. + Whether to serialize the id first. + + + + Gets or sets the nominal type. + + + + + Gets or sets a value indicating whether to serialize the value as if it were an instance of the nominal type. + + + + + Gets or sets a value indicating whether to serialize the id first. + + + + + Represents all the contextual information needed by a serializer to serialize a value. + + + + + Creates a root context. + + The writer. + The serialization context configurator. + + A root context. + + + + + Gets a function that, when executed, will indicate whether the type + is a dynamic type. + + + + + Creates a new context with some values changed. + + The serialization context configurator. + + A new context. + + + + + Gets the writer. + + + + + Represents a builder for a BsonSerializationContext. + + + + + Gets or sets the function used to determine if a type is a dynamic type. + + + + + Gets the writer. + + + + + Represents the information needed to serialize a member. + + + + + Initializes a new instance of the BsonSerializationInfo class. + + The element name. + The serializer. + The nominal type. + + + + Deserializes the value. + + The value. + A deserialized value. + + + + Gets or sets the dotted element name. + + + + + Merges the new BsonSerializationInfo by taking its properties and concatenating its ElementName. + + The new info. + A new BsonSerializationInfo. + + + + Gets or sets the nominal type. + + + + + Gets or sets the serializer. + + + + + Serializes the value. + + The value. + The serialized value. + + + + Serializes the values. + + The values. + The serialized values. + + + + Creates a new BsonSerializationInfo object using the elementName provided and copying all other attributes. + + Name of the element. + A new BsonSerializationInfo. + + + + Base class for serialization providers. + + + + + + + MongoDB.Bson.Serialization.BsonSerializationProviderBase + + + + + + + Creates the serializer from a serializer type definition and type arguments. + + The serializer type definition. + The type arguments. + A serializer. + + + + Creates the serializer from a serializer type definition and type arguments. + + The serializer type definition. + The type arguments. + The serializer registry. + + A serializer. + + + + + Creates the serializer. + + The serializer type. + A serializer. + + + + Creates the serializer. + + The serializer type. + The serializer registry. + + A serializer. + + + + + Gets a serializer for a type. + + The type. + A serializer. + + + + Gets a serializer for a type. + + The type. + The serializer registry. + + A serializer. + + + + + A static class that represents the BSON serialization functionality. + + + + + Deserializes an object from a BsonDocument. + + The BsonDocument. + The configurator. + The nominal type of the object. + A deserialized value. + + + + Deserializes an object from a BsonDocument. + + The BsonDocument. + The nominal type of the object. + The configurator. + A deserialized value. + + + + Deserializes a value. + + The BsonReader. + The configurator. + The nominal type of the object. + A deserialized value. + + + + Deserializes a value. + + The BsonReader. + The nominal type of the object. + The configurator. + A deserialized value. + + + + Deserializes an object from a BSON byte array. + + The BSON byte array. + The configurator. + The nominal type of the object. + A deserialized value. + + + + Deserializes an object from a BSON byte array. + + The BSON byte array. + The nominal type of the object. + The configurator. + A deserialized value. + + + + Deserializes an object from a BSON Stream. + + The BSON Stream. + The configurator. + The nominal type of the object. + A deserialized value. + + + + Deserializes an object from a BSON Stream. + + The BSON Stream. + The nominal type of the object. + The configurator. + A deserialized value. + + + + Deserializes an object from a JSON TextReader. + + The JSON TextReader. + The configurator. + The nominal type of the object. + A deserialized value. + + + + Deserializes an object from a JSON TextReader. + + The JSON TextReader. + The nominal type of the object. + The configurator. + A deserialized value. + + + + Deserializes an object from a JSON string. + + The JSON string. + The configurator. + The nominal type of the object. + A deserialized value. + + + + Deserializes an object from a JSON string. + + The JSON string. + The nominal type of the object. + The configurator. + A deserialized value. + + + + Returns whether the given type has any discriminators registered for any of its subclasses. + + A Type. + True if the type is discriminated. + + + + Looks up the actual type of an object to be deserialized. + + The nominal type of the object. + The discriminator. + The actual type of the object. + + + + Looks up the discriminator convention for a type. + + The type. + A discriminator convention. + + + + Looks up an IdGenerator. + + The Id type. + An IdGenerator for the Id type. + + + + Looks up a serializer for a Type. + + The type. + A serializer for type T. + + + + Looks up a serializer for a Type. + + The Type. + A serializer for the Type. + + + + Registers the discriminator for a type. + + The type. + The discriminator. + + + + Registers the discriminator convention for a type. + + Type type. + The discriminator convention. + + + + Registers a generic serializer definition for a generic type. + + The generic type. + The generic serializer definition. + + + + Registers an IdGenerator for an Id Type. + + The Id Type. + The IdGenerator for the Id Type. + + + + Registers a serialization provider. + + The serialization provider. + + + + Registers a serializer for a type. + + The serializer. + The type. + + + + Registers a serializer for a type. + + The type. + The serializer. + + + + Serializes a value. + + The BsonWriter. + The nominal type of the object. + The object. + The serialization context configurator. + The serialization args. + + + + Serializes a value. + + The BsonWriter. + The object. + The serialization context configurator. + The serialization args. + The nominal type of the object. + + + + Gets the serializer registry. + + + + + Gets or sets whether to use the NullIdChecker on reference Id types that don't have an IdGenerator registered. + + + + + Gets or sets whether to use the ZeroIdChecker on value Id types that don't have an IdGenerator registered. + + + + + Default, global implementation of an . + + + + + Initializes a new instance of the class. + + + + + Gets the serializer for the specified . + + + + The serializer. + + + + + Gets the serializer for the specified . + + The type. + + The serializer. + + + + + Registers the serialization provider. This behaves like a stack, so the + last provider registered is the first provider consulted. + + The serialization provider. + + + + Registers the serializer. + + The type. + The serializer. + + + + Provides serializers for collections. + + + + + + + MongoDB.Bson.Serialization.CollectionsSerializationProvider + + + + + + + Gets a serializer for a type. + + The type. + The serializer registry. + + A serializer. + + + + + A helper class used to create and compile delegates for creator maps. + + + + + + + MongoDB.Bson.Serialization.CreatorMapDelegateCompiler + + + + + + + Creates and compiles a delegate that calls a constructor. + + The constructor. + A delegate that calls the constructor. + + + + Creates and compiles a delegate from a lambda expression. + + The lambda expression. + The arguments for the delegate's parameters. + The type of the class. + A delegate. + + + + Creates and compiles a delegate that calls a factory method. + + the method. + A delegate that calls the factory method. + + + + Visits a MemberExpression. + + The MemberExpression. + The MemberExpression (possibly modified). + + + + Visits a ParameterExpression. + + The ParameterExpression. + The ParameterExpression (possibly modified). + + + + Provides a serializer for interfaces. + + + + + + + MongoDB.Bson.Serialization.DiscriminatedInterfaceSerializationProvider + + + + + + + Gets a serializer for a type. + + The type. + The serializer registry. + + A serializer. + + + + + An abstract base class for an Expression visitor. + + + + + Initializes a new instance of the ExpressionVisitor class. + + + + + Visits an Expression list. + + The Expression list. + The Expression list (possibly modified). + + + + Visits an Expression. + + The Expression. + The Expression (posibly modified). + + + + Visits a BinaryExpression. + + The BinaryExpression. + The BinaryExpression (possibly modified). + + + + Visits a ConditionalExpression. + + The ConditionalExpression. + The ConditionalExpression (possibly modified). + + + + Visits a ConstantExpression. + + The ConstantExpression. + The ConstantExpression (possibly modified). + + + + Visits an ElementInit. + + The ElementInit. + The ElementInit (possibly modified). + + + + Visits an ElementInit list. + + The ElementInit list. + The ElementInit list (possibly modified). + + + + Visits an InvocationExpression. + + The InvocationExpression. + The InvocationExpression (possibly modified). + + + + Visits a LambdaExpression. + + The LambdaExpression. + The LambdaExpression (possibly modified). + + + + Visits a ListInitExpression. + + The ListInitExpression. + The ListInitExpression (possibly modified). + + + + Visits a MemberExpression. + + The MemberExpression. + The MemberExpression (possibly modified). + + + + Visits a MemberAssignment. + + The MemberAssignment. + The MemberAssignment (possibly modified). + + + + Visits a MemberBinding. + + The MemberBinding. + The MemberBinding (possibly modified). + + + + Visits a MemberBinding list. + + The MemberBinding list. + The MemberBinding list (possibly modified). + + + + Visits a MemberInitExpression. + + The MemberInitExpression. + The MemberInitExpression (possibly modified). + + + + Visits a MemberListBinding. + + The MemberListBinding. + The MemberListBinding (possibly modified). + + + + Visits a MemberMemberBinding. + + The MemberMemberBinding. + The MemberMemberBinding (possibly modified). + + + + Visits a MethodCallExpression. + + The MethodCallExpression. + The MethodCallExpression (possibly modified). + + + + Visits a NewExpression. + + The NewExpression. + The NewExpression (possibly modified). + + + + Visits a NewArrayExpression. + + The NewArrayExpression. + The NewArrayExpression (possibly modified). + + + + Visits a ParameterExpression. + + The ParameterExpression. + The ParameterExpression (possibly modified). + + + + Visits a TypeBinaryExpression. + + The TypeBinaryExpression. + The TypeBinaryExpression (possibly modified). + + + + Visits a UnaryExpression. + + The UnaryExpression. + The UnaryExpression (possibly modified). + + + + Contract for serializers to implement if they serialize an array of items. + + + + + Tries to get the serialization info for the individual items of the array. + + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Represents an attribute used to modify a class map. + + + + + Applies the attribute to the class map. + + The class map. + + + + Represents an attribute used to modify a creator map. + + + + + Applies the attribute to the creator map. + + The creator map. + + + + Represents a dictionary serializer that can be used in LINQ queries. + + + + + Gets the dictionary representation. + + + + + Gets the key serializer. + + + + + Gets the value serializer. + + + + + Contract for composite serializers that contain a number of named serializers. + + + + + Tries to get the serialization info for a member. + + Name of the member. + The serialization information. + + true if the serialization info exists; otherwise false. + + + + Contract for serializers that can get and set Id values. + + + + + Gets the document Id. + + The document. + The Id. + The nominal type of the Id. + The IdGenerator for the Id type. + True if the document has an Id. + + + + Sets the document Id. + + The document. + The Id. + + + + Represents an attribute used to modify a member map. + + + + + Applies the attribute to the member map. + + The member map. + + + + An interface implemented by a polymorphic serializer. + + + + + Gets a value indicating whether this serializer's discriminator is compatible with the object serializer. + + + + + Represents an attribute used to post process a class map. + + + + + Applies the post processing attribute to the class map. + + The class map. + + + + An interface implemented by serialization providers. + + + + + Gets a serializer for a type. + + The type. + A serializer. + + + + An interface implemented by a serializer. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Gets the type of the value. + + + + + An interface implemented by a serializer for values of type TValue. + + The type that this serializer knows how to serialize. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Extensions methods for IBsonSerializer. + + + + + Deserializes a value. + + The serializer. + The deserialization context. + A deserialized value. + + + + Deserializes a value. + + The serializer. + The deserialization context. + The type that this serializer knows how to serialize. + A deserialized value. + + + + Serializes a value. + + The serializer. + The serialization context. + The value. + + + + Serializes a value. + + The serializer. + The serialization context. + The value. + The type that this serializer knows how to serialize. + + + + Converts a value to a BsonValue by serializing it. + + The serializer. + The value. + The serialized value. + + + + Converts a value to a BsonValue by serializing it. + + The serializer. + The value. + The type of the value. + The serialized value. + + + + A serializer registry. + + + + + Gets the serializer for the specified . + + + The serializer. + + + + Gets the serializer for the specified . + + The type. + The serializer. + + + + Represents a serializer that has a child serializer that configuration attributes can be forwarded to. + + + + + Gets the child serializer. + + + + + Returns a serializer that has been reconfigured with the specified child serializer. + + The child serializer. + The reconfigured serializer. + + + + Represents a serializer that has a DictionaryRepresentation property. + + + + + Gets the dictionary representation. + + + + + Returns a serializer that has been reconfigured with the specified dictionary representation. + + The dictionary representation. + The reconfigured serializer. + + + + Represents a serializer that has a DictionaryRepresentation property. + + The type of the serializer. + + + + Returns a serializer that has been reconfigured with the specified dictionary representation. + + The dictionary representation. + The reconfigured serializer. + + + + An interface implemented by Id generators. + + + + + Generates an Id for a document. + + The container of the document (will be a MongoCollection when called from the C# driver). + The document. + An Id. + + + + Tests whether an Id is empty. + + The Id. + True if the Id is empty. + + + + An interface implemented by serialization providers that are aware of registries. + + + + + Gets a serializer for a type. + + The type. + The serializer registry. + + A serializer. + + + + + Represents a serializer that has a Representation property. + + + + + Gets the representation. + + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer that has a Representation property. + + The type of the serializer. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer that has a representation converter. + + + + + Gets the converter. + + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The converter. + The reconfigured serializer. + + + + Represents a serializer that has a representation converter. + + The type of the serializer. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The converter. + The reconfigured serializer. + + + + Provides serializers for primitive types. + + + + + + + MongoDB.Bson.Serialization.PrimitiveSerializationProvider + + + + + + + Gets a serializer for a type. + + The type. + The serializer registry. + + A serializer. + + + + + Represents a serialization provider based on a mapping from value types to serializer types. + + + + + Initializes a new instance of the class. + + + + + Gets a serializer for a type. + + The type. + The serializer registry. + + A serializer. + + + + + Registers the serializer mapping. + + The type. + Type of the serializer. + + + + Supports using type names as discriminators. + + + + + Resolves a type name discriminator. + + The type name. + The type if type type name can be resolved; otherwise, null. + + + + Gets a type name to be used as a discriminator (like AssemblyQualifiedName but shortened for common DLLs). + + The type. + The type name. + + + + Specifies that this constructor should be used for creator-based deserialization. + + + + + Initializes a new instance of the BsonConstructorAttribute class. + + + + + Initializes a new instance of the BsonConstructorAttribute class. + + The names of the members that the creator argument values come from. + + + + Applies a modification to the creator map. + + The creator map. + + + + Gets the names of the members that the creator arguments values come from. + + + + + Specifies serialization options for a DateTime field or property. + + + + + Initializes a new instance of the BsonDateTimeOptionsAttribute class. + + + + + Reconfigures the specified serializer by applying this attribute to it. + + The serializer. + A reconfigured serializer. + + + + Gets or sets whether the DateTime consists of a Date only. + + + + + Gets or sets the DateTimeKind (Local, Unspecified or Utc). + + + + + Gets or sets the external representation. + + + + + Specifies the default value for a field or property. + + + + + Initializes a new instance of the BsonDefaultValueAttribute class. + + The default value. + + + + Applies a modification to the member map. + + The member map. + + + + Gets the default value. + + + + + Gets or sets whether to serialize the default value. + + + + + Specifies serialization options for a Dictionary field or property. + + + + + Initializes a new instance of the BsonDictionaryOptionsAttribute class. + + + + + Initializes a new instance of the BsonDictionaryOptionsAttribute class. + + The representation to use for the Dictionary. + + + + Reconfigures the specified serializer by applying this attribute to it. + + The serializer. + A reconfigured serializer. + + + + Gets or sets the external representation. + + + + + Specifies the discriminator and related options for a class. + + + + + Initializes a new instance of the BsonDiscriminatorAttribute class. + + + + + Initializes a new instance of the BsonDiscriminatorAttribute class. + + The discriminator. + + + + Applies a modification to the class map. + + The class map. + + + + Gets the discriminator. + + + + + Gets or sets whether the discriminator is required. + + + + + Gets or sets whether this is a root class. + + + + + Specifies the element name and related options for a field or property. + + + + + Initializes a new instance of the BsonElementAttribute class. + + + + + Initializes a new instance of the BsonElementAttribute class. + + The name of the element. + + + + Applies a modification to the member map. + + The member map. + + + + Gets the element name. + + + + + Gets the element serialization order. + + + + + Indicates that this property or field will be used to hold any extra elements found during deserialization. + + + + + + + MongoDB.Bson.Serialization.Attributes.BsonExtraElementsAttribute + + + + + + + Applies a modification to the member map. + + The member map. + + + + Specifies that this factory method should be used for creator-based deserialization. + + + + + Initializes a new instance of the BsonFactoryMethodAttribute class. + + + + + Initializes a new instance of the BsonFactoryMethodAttribute class. + + The names of the members that the creator argument values come from. + + + + Applies a modification to the creator map. + + The creator map. + + + + Gets the names of the members that the creator arguments values come from. + + + + + Specifies that this is the Id field or property. + + + + + Initializes a new instance of the BsonIdAttribute class. + + + + + Applies a modification to the member map. + + The member map. + + + + Gets or sets the Id generator for the Id. + + + + + Gets or sets the Id element serialization order. + + + + + Indicates that this field or property should be ignored when this class is serialized. + + + + + + + MongoDB.Bson.Serialization.Attributes.BsonIgnoreAttribute + + + + + + + Specifies whether extra elements should be ignored when this class is deserialized. + + + + + Initializes a new instance of the BsonIgnoreExtraElementsAttribute class. + + + + + Initializes a new instance of the BsonIgnoreExtraElementsAttribute class. + + Whether extra elements should be ignored when this class is deserialized. + + + + Applies a modification to the class map. + + The class map. + + + + Gets whether extra elements should be ignored when this class is deserialized. + + + + + Gets whether extra elements should also be ignored when any class derived from this one is deserialized. + + + + + Indicates whether a field or property equal to the default value should be ignored when serializing this class. + + + + + Initializes a new instance of the BsonIgnoreIfDefaultAttribute class. + + + + + Initializes a new instance of the BsonIgnoreIfDefaultAttribute class. + + Whether a field or property equal to the default value should be ignored when serializing this class. + + + + Applies a modification to the member map. + + The member map. + + + + Gets whether a field or property equal to the default value should be ignored when serializing this class. + + + + + Indicates whether a field or property equal to null should be ignored when serializing this class. + + + + + Initializes a new instance of the BsonIgnoreIfNullAttribute class. + + + + + Initializes a new instance of the BsonIgnoreIfNullAttribute class. + + Whether a field or property equal to null should be ignored when serializing this class. + + + + Applies a modification to the member map. + + The member map. + + + + Gets whether a field or property equal to null should be ignored when serializing this class. + + + + + Specifies the known types for this class (the derived classes). + + + + + Initializes a new instance of the BsonKnownTypesAttribute class. + + A known types. + + + + Initializes a new instance of the BsonKnownTypesAttribute class. + + One or more known types. + + + + Applies a modification to the class map. + + The class map. + + + + Gets a list of the known types. + + + + + Specifies that the class's IdMember should be null. + + + + + + + MongoDB.Bson.Serialization.Attributes.BsonNoIdAttribute + + + + + + + Applies the post processing attribute to the class map. + + The class map. + + + + Specifies the external representation and related options for this field or property. + + + + + Initializes a new instance of the BsonRepresentationAttribute class. + + The external representation. + + + + Gets or sets whether to allow overflow. + + + + + Gets or sets whether to allow truncation. + + + + + Reconfigures the specified serializer by applying this attribute to it. + + The serializer. + A reconfigured serializer. + + + + Gets the external representation. + + + + + Indicates that a field or property is required. + + + + + + + MongoDB.Bson.Serialization.Attributes.BsonRequiredAttribute + + + + + + + Applies a modification to the member map. + + The member map. + + + + Abstract base class for serialization options attributes. + + + + + Initializes a new instance of the BsonSerializationOptionsAttribute class. + + + + + Applies a modification to the member map. + + The member map. + + + + Reconfigures the specified serializer by applying this attribute to it. + + The serializer. + A reconfigured serializer. + + + + + Specifies the type of the serializer to use for a class. + + + + + Initializes a new instance of the BsonSerializerAttribute class. + + + + + Initializes a new instance of the BsonSerializerAttribute class. + + The type of the serializer to use for a class. + + + + Applies a modification to the member map. + + The member map. + + + + Gets or sets the type of the serializer to use for a class. + + + + + Specifies the external representation and related options for this field or property. + + + + + Initializes a new instance of the BsonTimeSpanOptionsAttribute class. + + The external representation. + + + + Initializes a new instance of the BsonTimeSpanOptionsAttribute class. + + The external representation. + The TimeSpanUnits. + + + + Reconfigures the specified serializer by applying this attribute to it. + + The serializer. + A reconfigured serializer. + + + + Gets the external representation. + + + + + Gets or sets the TimeSpanUnits. + + + + + Convention pack for applying attributes. + + + + + Gets the conventions. + + + + + Gets the instance. + + + + + A convention that sets the element name the same as the member name with the first character lower cased. + + + + + + + MongoDB.Bson.Serialization.Conventions.CamelCaseElementNameConvention + + + + + + + Applies a modification to the member map. + + The member map. + + + + Base class for a convention. + + + + + Initializes a new instance of the ConventionBase class. + + + + + Initializes a new instance of the ConventionBase class. + + The name of the convention. + + + + Gets the name of the convention. + + + + + A mutable pack of conventions. + + + + + Initializes a new instance of the class. + + + + + Adds the specified convention. + + The convention. + + + + + Adds a class map convention created using the specified action upon a class map. + + The name of the convention. + The action the convention should take upon the class map. + + + + Adds a member map convention created using the specified action upon a member map. + + The name of the convention. + The action the convention should take upon the member map. + + + + Adds a post processing convention created using the specified action upon a class map. + + The name of the convention. + The action the convention should take upon the class map. + + + + Adds a range of conventions. + + The conventions. + + + + + Appends the conventions in another pack to the end of this pack. + + The other pack. + + + + Gets the conventions. + + + + + Gets an enumerator for the conventions. + + An enumerator. + + + + Inserts the convention after another convention specified by the name. + + The name. + The convention. + + + + Inserts the convention before another convention specified by the name. + + The name. + The convention. + + + + Removes the named convention. + + The name of the convention. + + + + Represents a registry of conventions. + + + + + Looks up the effective set of conventions that apply to a type. + + The type. + The conventions for that type. + + + + Registers the conventions. + + The name. + The conventions. + The filter. + + + + Removes the conventions specified by the given name. + + The name. + + + + Runs the conventions against a BsonClassMap and its BsonMemberMaps. + + + + + Initializes a new instance of the class. + + The conventions. + + + + Applies a modification to the class map. + + The class map. + + + + Convention pack of defaults. + + + + + Gets the conventions. + + + + + Gets the instance. + + + + + A class map convention that wraps a delegate. + + + + + Initializes a new instance of the class. + + The name. + The delegate. + + + + Applies a modification to the class map. + + The class map. + + + + A member map convention that wraps a delegate. + + + + + Initializes a new instance of the class. + + The name. + The delegate. + + + + Applies a modification to the member map. + + The member map. + + + + A post processing convention that wraps a delegate. + + + + + Initializes a new instance of the class. + + The name. + The delegate. + + + + Applies a post processing modification to the class map. + + The class map. + + + + A convention that allows you to set the Enum serialization representation + + + + + Initializes a new instance of the class. + + The serialization representation. 0 is used to detect representation + from the enum itself. + + + + Applies a modification to the member map. + + The member map. + + + + Gets the representation. + + + + + Represents a discriminator convention where the discriminator is an array of all the discriminators provided by the class maps of the root class down to the actual type. + + + + + Initializes a new instance of the HierarchicalDiscriminatorConvention class. + + The element name. + + + + Gets the discriminator value for an actual type. + + The nominal type. + The actual type. + The discriminator value. + + + + Represents a convention that applies to a BsonClassMap. + + + + + Applies a modification to the class map. + + The class map. + + + + Represents a convention. + + + + + Gets the name of the convention. + + + + + Represents a grouping of conventions. + + + + + Gets the conventions. + + + + + Represents a convention that applies to a BsonCreatorMap. + + + + + Applies a modification to the creator map. + + The creator map. + + + + Represents a discriminator convention. + + + + + Gets the discriminator element name. + + + + + Gets the actual type of an object by reading the discriminator from a BsonReader. + + The reader. + The nominal type. + The actual type. + + + + Gets the discriminator value for an actual type. + + The nominal type. + The actual type. + The discriminator value. + + + + A convention that sets whether to ignore extra elements encountered during deserialization. + + + + + Initializes a new instance of the class. + + Whether to ignore extra elements encountered during deserialization. + + + + Applies a modification to the class map. + + The class map. + + + + A convention that sets whether to ignore default values during serialization. + + + + + Initializes a new instance of the class. + + Whether to ignore default values during serialization. + + + + Applies a modification to the member map. + + The member map. + + + + A convention that sets whether to ignore nulls during serialization. + + + + + Initializes a new instance of the class. + + Whether to ignore nulls during serialization. + + + + Applies a modification to the member map. + + The member map. + + + + Represents a convention that applies to a BsonMemberMap. + + + + + Applies a modification to the member map. + + The member map. + + + + Maps a fully immutable type. This will include anonymous types. + + + + + + + MongoDB.Bson.Serialization.Conventions.ImmutableTypeClassMapConvention + + + + + + + Applies a modification to the class map. + + The class map. + + + + Represents a post processing convention that applies to a BsonClassMap. + + + + + Applies a post processing modification to the class map. + + The class map. + + + + A convention that looks up an id generator for the id member. + + + + + + + MongoDB.Bson.Serialization.Conventions.LookupIdGeneratorConvention + + + + + + + Applies a post processing modification to the class map. + + The class map. + + + + A convention that sets the default value for members of a given type. + + + + + Initializes a new instance of the class. + + The type of the member. + The default value for members of this type. + + + + Applies a modification to the member map. + + The member map. + + + + A convention that sets the element name the same as the member name. + + + + + + + MongoDB.Bson.Serialization.Conventions.MemberNameElementNameConvention + + + + + + + Applies a modification to the member map. + + The member map. + + + + A convention that finds the extra elements member by name (and that is also of type or ). + + + + + Initializes a new instance of the class. + + The names. + + + + Initializes a new instance of the class. + + The names. + The binding flags. + + + + Initializes a new instance of the class. + + The names. + The member types. + + + + Initializes a new instance of the class. + + The names. + The member types. + The binding flags. + + + + + Initializes a new instance of the NamedExtraElementsMemberConvention class. + + The name of the extra elements member. + + + + Applies a modification to the class map. + + The class map. + + + + A convention that finds the id member by name. + + + + + Initializes a new instance of the class. + + The names. + + + + Initializes a new instance of the class. + + The names. + The binding flags. + + + + Initializes a new instance of the class. + + The names. + The member types. + + + + Initializes a new instance of the class. + + The names. + The member types. + The binding flags. + + + + + Initializes a new instance of the class. + + The names. + + + + Applies a modification to the class map. + + The class map. + + + + A convention that uses the names of the creator parameters to find the matching members. + + + + + + + MongoDB.Bson.Serialization.Conventions.NamedParameterCreatorMapConvention + + + + + + + Applies a modification to the creator map. + + The creator map. + + + + A convention that sets a class's IdMember to null. + + + + + + + MongoDB.Bson.Serialization.Conventions.NoIdMemberConvention + + + + + + + Applies a post processing modification to the class map. + + The class map. + + + + Represents the object discriminator convention. + + + + + Initializes a new instance of the ObjectDiscriminatorConvention class. + + The element name. + + + + Gets the discriminator element name. + + + + + Gets the actual type of an object by reading the discriminator from a BsonReader. + + The reader. + The nominal type. + The actual type. + + + + Gets the discriminator value for an actual type. + + The nominal type. + The actual type. + The discriminator value. + + + + Gets an instance of the ObjectDiscriminatorConvention. + + + + + A convention that finds readable and writeable members and adds them to the class map. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The binding flags. + + + + Initializes a new instance of the class. + + The member types. + + + + Initializes a new instance of the class. + + The member types. + The binding flags. + + + + Applies a modification to the class map. + + The class map. + + + + A convention that resets a class map (resetting any changes that earlier conventions may have applied). + + + + + + + MongoDB.Bson.Serialization.Conventions.ResetClassMapConvention + + + + + + + Applies a modification to the class map. + + The class map. + + + + A convention that resets class members (resetting any changes that earlier conventions may have applied). + + + + + + + MongoDB.Bson.Serialization.Conventions.ResetMemberMapsConvention + + + + + + + Applies a modification to the member map. + + The member map. + + + + Represents a discriminator convention where the discriminator is provided by the class map of the actual type. + + + + + Initializes a new instance of the ScalarDiscriminatorConvention class. + + The element name. + + + + Gets the discriminator value for an actual type. + + The nominal type. + The actual type. + The discriminator value. + + + + Represents the standard discriminator conventions (see ScalarDiscriminatorConvention and HierarchicalDiscriminatorConvention). + + + + + Initializes a new instance of the StandardDiscriminatorConvention class. + + The element name. + + + + Gets the discriminator element name. + + + + + Gets the actual type of an object by reading the discriminator from a BsonReader. + + The reader. + The nominal type. + The actual type. + + + + Gets the discriminator value for an actual type. + + The nominal type. + The actual type. + The discriminator value. + + + + Gets an instance of the HierarchicalDiscriminatorConvention. + + + + + Gets an instance of the ScalarDiscriminatorConvention. + + + + + A convention that sets the id generator for a string member with a BSON representation of ObjectId. + + + + + + + MongoDB.Bson.Serialization.Conventions.StringObjectIdIdGeneratorConvention + + + + + + + Applies a post processing modification to the class map. + + The class map. + + + + A GUID generator that generates GUIDs in ascending order. To enable + an index to make use of the ascending nature make sure to use + GuidRepresentation.Standard + as the storage representation. + Internally the GUID is of the form + 8 bytes: Ticks from DateTime.UtcNow.Ticks + 3 bytes: hash of machine name + 2 bytes: low order bytes of process Id + 3 bytes: increment + + + + + + + MongoDB.Bson.Serialization.IdGenerators.AscendingGuidGenerator + + + + + + + Generates a Guid for a document. Note - this is purely used for + unit testing + + The time portion of the Guid + A 5 byte array with the first 3 bytes + representing a machine id and the next 2 representing a process + id + The increment portion of the Guid. Used + to distinguish between 2 Guids that have the timestamp. Note + only the least significant 3 bytes are used. + A Guid. + + + + Generates an ascending Guid for a document. Consecutive invocations + should generate Guids that are ascending from a MongoDB perspective + + The container of the document (will be a + MongoCollection when called from the driver). + The document it was generated for. + A Guid. + + + + Gets an instance of AscendingGuidGenerator. + + + + + Tests whether an id is empty. + + The id to test. + True if the Id is empty. False otherwise + + + + Represents an Id generator for Guids stored in BsonBinaryData values. + + + + + Initializes a new instance of the BsonBinaryDataGuidGenerator class. + + The GuidRepresentation to use when generating new Id values. + + + + Gets an instance of BsonBinaryDataGuidGenerator for CSharpLegacy GuidRepresentation. + + + + + Generates an Id for a document. + + The container of the document (will be a MongoCollection when called from the C# driver). + The document. + An Id. + + + + Gets the instance of BsonBinaryDataGuidGenerator for a GuidRepresentation. + + The GuidRepresentation. + The instance of BsonBinaryDataGuidGenerator for a GuidRepresentation. + + + + Tests whether an Id is empty. + + The Id. + True if the Id is empty. + + + + Gets an instance of BsonBinaryDataGuidGenerator for JavaLegacy GuidRepresentation. + + + + + Gets an instance of BsonBinaryDataGuidGenerator for PythonLegacy GuidRepresentation. + + + + + Gets an instance of BsonBinaryDataGuidGenerator for Standard GuidRepresentation. + + + + + Gets an instance of BsonBinaryDataGuidGenerator for Unspecifed GuidRepresentation. + + + + + Represents an Id generator for BsonObjectIds. + + + + + Initializes a new instance of the BsonObjectIdGenerator class. + + + + + Generates an Id for a document. + + The container of the document (will be a MongoCollection when called from the C# driver). + The document. + An Id. + + + + Gets an instance of ObjectIdGenerator. + + + + + Tests whether an Id is empty. + + The Id. + True if the Id is empty. + + + + Represents an Id generator for Guids using the COMB algorithm. + + + + + Initializes a new instance of the CombGuidGenerator class. + + + + + Generates an Id for a document. + + The container of the document (will be a MongoCollection when called from the C# driver). + The document. + An Id. + + + + Gets an instance of CombGuidGenerator. + + + + + Tests whether an Id is empty. + + The Id. + True if the Id is empty. + + + + Create a new CombGuid from a given Guid and timestamp. + + The base Guid. + The timestamp. + A new CombGuid created by combining the base Guid with the timestamp. + + + + Represents an Id generator for Guids. + + + + + Initializes a new instance of the GuidGenerator class. + + + + + Generates an Id for a document. + + The container of the document (will be a MongoCollection when called from the C# driver). + The document. + An Id. + + + + Gets an instance of GuidGenerator. + + + + + Tests whether an Id is empty. + + The Id. + True if the Id is empty. + + + + Represents an Id generator that only checks that the Id is not null. + + + + + Initializes a new instance of the NullIdChecker class. + + + + + Generates an Id for a document. + + The container of the document (will be a MongoCollection when called from the C# driver). + The document. + An Id. + + + + Gets an instance of NullIdChecker. + + + + + Tests whether an Id is empty. + + The Id. + True if the Id is empty. + + + + Represents an Id generator for ObjectIds. + + + + + Initializes a new instance of the ObjectIdGenerator class. + + + + + Generates an Id for a document. + + The container of the document (will be a MongoCollection when called from the C# driver). + The document. + An Id. + + + + Gets an instance of ObjectIdGenerator. + + + + + Tests whether an Id is empty. + + The Id. + True if the Id is empty. + + + + Represents an Id generator for ObjectIds represented internally as strings. + + + + + Initializes a new instance of the StringObjectIdGenerator class. + + + + + Generates an Id for a document. + + The container of the document (will be a MongoCollection when called from the C# driver). + The document. + An Id. + + + + Gets an instance of StringObjectIdGenerator. + + + + + Tests whether an Id is empty. + + The Id. + True if the Id is empty. + + + + Represents an Id generator that only checks that the Id is not all zeros. + + The type of the Id. + + + + Initializes a new instance of the ZeroIdChecker class. + + + + + Generates an Id for a document. + + The container of the document (will be a MongoCollection when called from the C# driver). + The document. + An Id. + + + + Tests whether an Id is empty. + + The Id. + True if the Id is empty. + + + + Represents the representation to use for dictionaries. + + + + + Represent the dictionary as a Document. + + + + + Represent the dictionary as an array of arrays. + + + + + Represent the dictionary as an array of documents. + + + + + Represents the external representation of a field or property. + + + + + Initializes a new instance of the RepresentationConverter class. + + Whether to allow overflow. + Whether to allow truncation. + + + + Gets whether to allow overflow. + + + + + Gets whether to allow truncation. + + + + + Converts a Decimal128 to a Decimal. + + A Decimal128. + A Decimal. + + + + Converts a Double to a Decimal. + + A Double. + A Decimal. + + + + Converts an Int32 to a Decimal. + + An Int32. + A Decimal. + + + + Converts an Int64 to a Decimal. + + An Int64. + A Decimal. + + + + Converts a decimal to a Decimal128. + + A decimal. + A Decimal128. + + + + Converts a Double to a Decimal128. + + A Double. + A Decimal128. + + + + Converts an Int32 to a Decimal128. + + An Int32. + A Decimal128. + + + + Converts an Int64 to a Decimal128. + + An Int64. + A Decimal128. + + + + Converts a UInt64 to a Decimal128. + + A UInt64. + A Decimal128. + + + + Converts a Decimal128 to a Double. + + A Decimal. + A Double. + + + + Converts a Decimal to a Double. + + A Decimal. + A Double. + + + + Converts a Double to a Double. + + A Double. + A Double. + + + + Converts an Int16 to a Double. + + An Int16. + A Double. + + + + Converts an Int32 to a Double. + + An Int32. + A Double. + + + + Converts an Int64 to a Double. + + An Int64. + A Double. + + + + Converts a Single to a Double. + + A Single. + A Double. + + + + Converts a UInt16 to a Double. + + A UInt16. + A Double. + + + + Converts a UInt32 to a Double. + + A UInt32. + A Double. + + + + Converts a UInt64 to a Double. + + A UInt64. + A Double. + + + + Converts a Decimal128 to an Int16. + + A Decimal128. + An Int16. + + + + Converts a Double to an Int16. + + A Double. + An Int16. + + + + Converts an Int32 to an Int16. + + An Int32. + An Int16. + + + + Converts an Int64 to an Int16. + + An Int64. + An Int16. + + + + Converts a Decimal128 to an Int32. + + A Decimal128. + An Int32. + + + + Converts a Decimal to an Int32. + + A Decimal. + An Int32. + + + + Converts a Double to an Int32. + + A Double. + An Int32. + + + + Converts an Int16 to an Int32. + + An Int16. + An Int32. + + + + Converts an Int32 to an Int32. + + An Int32. + An Int32. + + + + Converts an Int64 to an Int32. + + An Int64. + An Int32. + + + + Converts a Single to an Int32. + + A Single. + An Int32. + + + + Converts a UInt16 to an Int32. + + A UInt16. + An Int32. + + + + Converts a UInt32 to an Int32. + + A UInt32. + An Int32. + + + + Converts a UInt64 to an Int32. + + A UInt64. + An Int32. + + + + Converts a Decimal128 to an Int64. + + A Decimal128. + An Int64. + + + + Converts a Decimal to an Int64. + + A Decimal. + An Int64. + + + + Converts a Double to an Int64. + + A Double. + An Int64. + + + + Converts an Int16 to an Int64. + + An Int16. + An Int64. + + + + Converts an Int32 to an Int64. + + An Int32. + An Int64. + + + + Converts an Int64 to an Int64. + + An Int64. + An Int64. + + + + Converts a Single to an Int64. + + A Single. + An Int64. + + + + Converts a UInt16 to an Int64. + + A UInt16. + An Int64. + + + + Converts a UInt32 to an Int64. + + A UInt32. + An Int64. + + + + Converts a UInt64 to an Int64. + + A UInt64. + An Int64. + + + + Converts a Decimal128 to a Single. + + A Decimal128. + A Single. + + + + Converts a Double to a Single. + + A Double. + A Single. + + + + Converts an Int32 to a Single. + + An Int32. + A Single. + + + + Converts an Int64 to a Single. + + An Int64. + A Single. + + + + Converts a Decimal128 to a UInt16. + + A Decimal128. + A UInt16. + + + + Converts a Double to a UInt16. + + A Double. + A UInt16. + + + + Converts an Int32 to a UInt16. + + An Int32. + A UInt16. + + + + Converts an Int64 to a UInt16. + + An Int64. + A UInt16. + + + + Converts a Decimal128 to a UInt32. + + A Decimal128. + A UInt32. + + + + Converts a Double to a UInt32. + + A Double. + A UInt32. + + + + Converts an Int32 to a UInt32. + + An Int32. + A UInt32. + + + + Converts an Int64 to a UInt32. + + An Int64. + A UInt32. + + + + Converts a Decimal128 to a UInt64. + + A Decimal128. + A UInt64. + + + + Converts a Double to a UInt64. + + A Double. + A UInt64. + + + + Converts an Int32 to a UInt64. + + An Int32. + A UInt64. + + + + Converts an Int64 to a UInt64. + + An Int64. + A UInt64. + + + + Represents the units a TimeSpan is serialized in. + + + + + Use ticks as the units. + + + + + Use days as the units. + + + + + Use hours as the units. + + + + + Use minutes as the units. + + + + + Use seconds as the units. + + + + + Use milliseconds as the units. + + + + + Use microseconds as the units. + + + + + Use nanoseconds as the units. + + + + + Represents a serializer for an abstract class. + + The type of the class. + + + + + + MongoDB.Bson.Serialization.Serializers.AbstractClassSerializer`1 + + + + + + + Represents a serializer for one-dimensional arrays. + + The type of the elements. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Adds the item. + + The accumulator. + The item. + + + + Creates the accumulator. + + The accumulator. + + + + Enumerates the items in serialization order. + + The value. + The items. + + + + Finalizes the result. + + The accumulator. + The result. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The item serializer. + The reconfigured serializer. + + + + Represents a serializer for BitArrays. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the representation. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for Booleans. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the representation. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for BsonArrays. + + + + + Initializes a new instance of the BsonArraySerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets an instance of the BsonArraySerializer class. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Tries to get the serialization info for the individual items of the array. + + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Represents a serializer for BsonBinaryDatas. + + + + + Initializes a new instance of the BsonBinaryDataSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets an instance of the BsonBinaryDataSerializer class. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonBooleans. + + + + + Initializes a new instance of the BsonBooleanSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets an instance of the BsonBooleanSerializer class. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonDateTimes. + + + + + Initializes a new instance of the BsonDateTimeSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets an instance of the BsonDateTimeSerializer class. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonDecimal128s. + + + + + Initializes a new instance of the BsonBooleanSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets an instance of the BsonBooleanSerializer class. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonDocuments. + + + + + Initializes a new instance of the BsonDocumentSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the document Id. + + The document. + The Id. + The nominal type of the Id. + The IdGenerator for the Id type. + True if the document has an Id. + + + + Gets an instance of the BsonDocumentSerializer class. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Sets the document Id. + + The document. + The Id. + + + + Tries to get the serialization info for a member. + + Name of the member. + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Represents a serializer for BsonDocumentWrappers. + + + + + Initializes a new instance of the BsonDocumentWrapperSerializer class. + + + + + Deserializes a class. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Deserializes a class. + + The deserialization context. + The deserialization args. + An object. + + + + Gets an instance of the BsonDocumentWrapperSerializer class. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonDoubles. + + + + + Initializes a new instance of the BsonDoubleSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets an instance of the BsonDoubleSerializer class. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonInt32s. + + + + + Initializes a new instance of the BsonInt32Serializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets an instance of the BsonInt32Serializer class. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonInt64s. + + + + + Initializes a new instance of the BsonInt64Serializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets an instance of the BsonInt64Serializer class. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonJavaScripts. + + + + + Initializes a new instance of the BsonJavaScriptSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets an instance of the BsonJavaScriptSerializer class. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonJavaScriptWithScopes. + + + + + Initializes a new instance of the BsonJavaScriptWithScopeSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets an instance of the BsonJavaScriptWithScopeSerializer class. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonMaxKeys. + + + + + Initializes a new instance of the BsonMaxKeySerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets an instance of the BsonMaxKeySerializer class. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonMinKeys. + + + + + Initializes a new instance of the BsonMinKeySerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets an instance of the BsonMinKeySerializer class. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonNulls. + + + + + Initializes a new instance of the BsonNullSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets an instance of the BsonNullSerializer class. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonObjectIds. + + + + + Initializes a new instance of the BsonObjectIdSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets an instance of the BsonObjectIdSerializer class. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonRegularExpressions. + + + + + Initializes a new instance of the BsonRegularExpressionSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets an instance of the BsonRegularExpressionSerializer class. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonStrings. + + + + + Initializes a new instance of the BsonStringSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets an instance of the BsonStringSerializer class. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonSymbols. + + + + + Initializes a new instance of the BsonSymbolSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets an instance of the BsonSymbolSerializer class. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonTimestamps. + + + + + Initializes a new instance of the BsonTimestampSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets an instance of the BsonTimestampSerializer class. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonUndefineds. + + + + + Initializes a new instance of the BsonUndefinedSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets an instance of the BsonUndefinedSerializer class. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for a BsonValue that can round trip C# null and implements IBsonArraySerializer and IBsonDocumentSerializer. + + The type of the bson value. + + + + Initializes a new instance of the class. + + The wrapped serializer. + + + + Tries to get the serialization info for the individual items of the array. + + The serialization information. + + The serialization info for the items. + + + + + Tries to get the serialization info for a member. + + Name of the member. + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Represents a serializer for a BsonValue that can round trip C# null and implements IBsonArraySerializer. + + The type of the bson value. + + + + Initializes a new instance of the class. + + The wrapped serializer. + + + + Tries to get the serialization info for the individual items of the array. + + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Represents a serializer for a BsonValue that can round trip C# null and implements IBsonDocumentSerializer. + + The type of the bson value. + + + + Initializes a new instance of the class. + + The wrapped serializer. + + + + Tries to get the serialization info for a member. + + Name of the member. + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Represents a serializer for a BsonValue that can round trip C# null. + + The type of the BsonValue. + + + + Initializes a new instance of the class. + + The wrapped serializer. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonValues. + + + + + Initializes a new instance of the BsonValueSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets an instance of the BsonValueSerializer class. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Tries to get the serialization info for the individual items of the array. + + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Tries to get the serialization info for a member. + + Name of the member. + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Represents a base class for BsonValue serializers. + + The type of the BsonValue. + + + + Initializes a new instance of the class. + + The Bson type. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for ByteArrays. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the representation. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for Bytes. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the representation. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for Chars. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the representation. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents an abstract base class for class serializers. + + The type of the value. + + + + + + MongoDB.Bson.Serialization.Serializers.ClassSerializerBase`1 + + + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Deserializes a class. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the actual type. + + The context. + The actual type. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Serializes a value of type {TValue}. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for CultureInfos. + + + + + Initializes a new instance of the CultureInfoSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for DateTimeOffsets. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the representation. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for DateTimes. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + if set to true [date only]. + + + + Initializes a new instance of the class. + + if set to true [date only]. + The representation. + + + + Initializes a new instance of the class. + + The kind. + + + + Initializes a new instance of the class. + + The kind. + The representation. + + + + Gets whether this DateTime consists of a Date only. + + + + + Gets an instance of DateTimeSerializer with DateOnly=true. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the DateTimeKind (Local, Unspecified or Utc). + + + + + Gets an instance of DateTimeSerializer with Kind=Local. + + + + + Gets the external representation. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Gets an instance of DateTimeSerializer with Kind=Utc. + + + + + Returns a serializer that has been reconfigured with the specified dateOnly value. + + if set to true the values will be required to be Date's only (zero time component). + + The reconfigured serializer. + + + + + Returns a serializer that has been reconfigured with the specified dateOnly value and representation. + + if set to true the values will be required to be Date's only (zero time component). + The representation. + + The reconfigured serializer. + + + + + Returns a serializer that has been reconfigured with the specified DateTimeKind value. + + The DateTimeKind. + + The reconfigured serializer. + + + + + Returns a serializer that has been reconfigured with the specified DateTimeKind value and representation. + + The DateTimeKind. + The representation. + + The reconfigured serializer. + + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for Decimal128s. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The representation. + The converter. + + + + Gets the converter. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the representation. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The converter. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for Decimals. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The representation. + The converter. + + + + Gets the converter. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the representation. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The converter. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for a class that implements IDictionary. + + The type of the dictionary. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The dictionary representation. + + + + Initializes a new instance of the class. + + The dictionary representation. + The key serializer. + The value serializer. + + + + Creates the instance. + + The instance. + + + + Returns a serializer that has been reconfigured with the specified dictionary representation. + + The dictionary representation. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified dictionary representation and key value serializers. + + The dictionary representation. + The key serializer. + The value serializer. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified key serializer. + + The key serializer. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified value serializer. + + The value serializer. + The reconfigured serializer. + + + + Represents a serializer for a class that implements . + + The type of the dictionary. + The type of the key. + The type of the value. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The dictionary representation. + + + + Initializes a new instance of the class. + + The dictionary representation. + The key serializer. + The value serializer. + + + + Creates the instance. + + The instance. + + + + Returns a serializer that has been reconfigured with the specified dictionary representation. + + The dictionary representation. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified dictionary representation and key value serializers. + + The dictionary representation. + The key serializer. + The value serializer. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified key serializer. + + The key serializer. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified value serializer. + + The value serializer. + The reconfigured serializer. + + + + Represents a serializer for dictionaries. + + The type of the dictionary. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The dictionary representation. + + + + Initializes a new instance of the class. + + The dictionary representation. + The key serializer. + The value serializer. + + + + Creates the instance. + + The instance. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the dictionary representation. + + + + + Gets the key serializer. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Tries to get the serialization info for a member. + + Name of the member. + The serialization information. + + true if the serialization info exists; otherwise false. + + + + Gets the value serializer. + + + + + Represents a serializer for dictionaries. + + The type of the dictionary. + The type of the keys. + The type of the values. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The dictionary representation. + + + + Initializes a new instance of the class. + + The dictionary representation. + The key serializer. + The value serializer. + + + + Initializes a new instance of the class. + + The dictionary representation. + The serializer registry. + + + + Creates the instance. + + The instance. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the dictionary representation. + + + + + Gets the key serializer. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Tries to get the serialization info for the individual items of the array. + + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Tries to get the serialization info for a member. + + Name of the member. + The serialization information. + + true if the serialization info exists; otherwise false. + + + + Gets the value serializer. + + + + + Represents a serializer for Interfaces. + + The type of the interface. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The discriminator convention. + interfaceType + interfaceType + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The document. + + + + Represents a serializer that serializes values as a discriminator/value pair. + + The type of the value. + + + + Initializes a new instance of the class. + + The discriminator convention. + The wrapped serializer. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Determines whether the reader is positioned at a discriminated wrapper. + + The context. + True if the reader is positioned at a discriminated wrapper. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for Doubles. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The representation. + The converter. + + + + Gets the converter. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the representation. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The converter. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Base serializer for dynamic types. + + The dynamic type. + + + + Initializes a new instance of the class. + + + + + Configures the deserialization context. + + The builder. + + + + Configures the serialization context. + + The builder. + + + + Creates the document. + + A + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Sets the value for the member. + + The document. + Name of the member. + The value. + + + + Tries to get the value for a member. Returns true if the member should be serialized. + + The document. + Name of the member. + The value. + + true if the member should be serialized; otherwise false. + + + + Represents a serializer for a class that implements IEnumerable. + + The type of the value. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + + + + + Creates the accumulator. + + The accumulator. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The item serializer. + The reconfigured serializer. + + + + Represents a serializer for a class that implementes . + + The type of the value. + The type of the item. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Creates the accumulator. + + The accumulator. + + + + Finalizes the result. + + The accumulator. + The final result. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The item serializer. + The reconfigured serializer. + + + + Represents a serializer for enumerable values. + + The type of the value. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Adds the item. + + The accumulator. + The item. + + + + Enumerates the items in serialization order. + + The value. + The items. + + + + Finalizes the result. + + The accumulator. + The result. + + + + Represents a serializer for enumerable values. + + The type of the value. + The type of the items. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Adds the item. + + The accumulator. + The item. + + + + Enumerates the items in serialization order. + + The value. + The items. + + + + Finalizes the result. + + The accumulator. + The result. + + + + Represents a base serializer for enumerable values. + + The type of the value. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Adds the item. + + The accumulator. + The item. + + + + Creates the accumulator. + + The accumulator. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Enumerates the items in serialization order. + + The value. + The items. + + + + Finalizes the result. + + The accumulator. + The final result. + + + + Gets the item serializer. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Tries to get the serialization info for the individual items of the array. + + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Represents a serializer for enumerable values. + + The type of the value. + The type of the items. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Adds the item. + + The accumulator. + The item. + + + + Creates the accumulator. + + The accumulator. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Enumerates the items in serialization order. + + The value. + The items. + + + + Finalizes the result. + + The accumulator. + The result. + + + + Gets the item serializer. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Tries to get the serialization info for the individual items of the array. + + The serialization information. + + The serialization info for the items. + + + + + Represents a serializer for enums. + + The type of the enum. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the representation. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Serializer for . + + + + + Initializes a new instance of the class. + + + + + Configures the deserialization context. + + The builder. + + + + Configures the serialization context. + + The builder. + + + + Creates the document. + + + A . + + + + + Sets the value for the member. + + The document. + Name of the member. + The value. + + + + Tries to get the value for a member. Returns true if the member should be serialized. + + The value. + Name of the member. + The member value. + + true if the member should be serialized; otherwise false. + + + + Represents a serializer for Guids. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the representation. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for Interfaces. + + The type of the interface. + The type of the implementation. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The implementation serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + + Gets the dictionary representation. + + + + + + Gets the implementation serializer. + + + + + Gets the key serializer. + + + + + + Serializes a value. + + The serialization context. + The serialization args. + The document. + + + + Tries to get the serialization info for the individual items of the array. + + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Tries to get the serialization info for a member. + + Name of the member. + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Gets the value serializer. + + + + + + Returns a serializer that has been reconfigured with the specified implementation serializer. + + The implementation serializer. + + The reconfigured serializer. + + + + + Represents a serializer for Int16s. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The representation. + The converter. + + + + Gets the converter. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the representation. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The converter. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for Int32. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The representation. + The converter. + + + + Gets the converter. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the representation. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The converter. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for Int64s. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The representation. + The converter. + + + + Gets the converter. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the representation. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The converter. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for IPAddresses. + + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for IPEndPoints. + + + + + Initializes a new instance of the IPEndPointSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for KeyValuePairs. + + The type of the keys. + The type of the values. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The representation. + The key serializer. + The value serializer. + + + + Initializes a new instance of the class. + + The representation. + The serializer registry. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the key serializer. + + + + + Gets the representation. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Tries to get the serialization info for a member. + + Name of the member. + The serialization information. + + true if the serialization info exists; otherwise false. + + + + Gets the value serializer. + + + + + Represents a serializer for LazyBsonArrays. + + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for LazyBsonDocuments. + + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for nullable values. + + The underlying type. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified serializer. + + The serializer. + + The reconfigured serializer. + + + + + Represents a serializer for ObjectIds. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the representation. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for objects. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The discriminator convention. + discriminatorConvention + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the standard instance. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for a BsonDocument with some parts raw. + + + + + Initializes a new instance of the class. + + The name. + The raw serializer. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Wraps a serializer and projects using a function. + + The type of from. + The type of to. + + + + Initializes a new instance of the class. + + From serializer. + The projector. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Represents a serializer for Queues. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + + + + + Adds the item. + + The accumulator. + The item. + + + + Creates the accumulator. + + The accumulator. + + + + Enumerates the items. + + The value. + The items. + + + + Finalizes the result. + + The instance. + The result. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The item serializer. + The reconfigured serializer. + + + + Represents a serializer for Queues. + + The type of the elements. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Adds the item. + + The accumulator. + The item. + + + + Creates the accumulator. + + The accumulator. + + + + Enumerates the items in serialization order. + + The value. + The items. + + + + Finalizes the result. + + The accumulator. + The result. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The item serializer. + The reconfigured serializer. + + + + Represents a serializer for RawBsonArrays. + + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for RawBsonDocuments. + + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the instance. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for readonly collection. + + The type of the item. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Creates the accumulator. + + The accumulator. + + + + Finalizes the result. + + The accumulator. + The final result. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The item serializer. + The reconfigured serializer. + + + + Represents a serializer for a subclass of ReadOnlyCollection. + + The type of the value. + The type of the item. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Creates the accumulator. + + The accumulator. + + + + Finalizes the result. + + The accumulator. + The final result. + + + + Represents a serializer for SBytes. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the representation. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents an abstract base class for sealed class serializers. + + The type of the value. + + + + + + MongoDB.Bson.Serialization.Serializers.SealedClassSerializerBase`1 + + + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Deserializes a class. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Serializes a value of type {TValue}. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a class that will be serialized as if it were one of its base classes. + + The actual type. + The nominal type. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The base class serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents an abstract base class for serializers. + + The type of the value. + + + + + + MongoDB.Bson.Serialization.Serializers.SerializerBase`1 + + + + + + + Creates an exception to throw when a type cannot be deserialized. + + An exception. + + + + Creates an exception to throw when a type cannot be deserialized. + + An exception. + + + + Creates an exception to throw when a type cannot be deserialized from a BsonType. + + The BSON type. + An exception. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Ensures that the BsonType equals the expected type. + + The reader. + The expected type. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Gets the type of the values. + + + + + Represents a helper for serializers. + + + + + Initializes a new instance of the class. + + The members. + + + + Deserializes the members. + + The deserialization context. + The member handler. + The found member flags. + + + + Represents information about a member. + + + + + Initializes a new instance of the class. + + The name of the element. + The flag. + Whether the member is optional. + + + + Gets the name of the element. + + + + + Gets the flag. + + + + + Gets a value indicating whether this member is optional. + + + + + Represents a serializer for Singles. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The representation. + The converter. + + + + Gets the converter. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the representation. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The converter. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for Stacks. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Adds the item. + + The accumulator. + The item. + + + + Creates the accumulator. + + The accumulator. + + + + Enumerates the items in serialization order. + + The value. + The items. + + + + Finalizes the result. + + The accumulator. + The result. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The item serializer. + The reconfigured serializer. + + + + Represents a serializer for Stacks. + + The type of the elements. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Adds the item. + + The accumulator. + The item. + + + + Creates the accumulator. + + The accumulator. + + + + Enumerates the items in serialization order. + + The value. + The items. + + + + Finalizes the result. + + The accumulator. + The result. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The item serializer. + The reconfigured serializer. + + + + Represents a serializer for Strings. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the representation. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents an abstract base class for struct serializers. + + The type of the value. + + + + + + MongoDB.Bson.Serialization.Serializers.StructSerializerBase`1 + + + + + + + Represents a serializer for three-dimensional arrays. + + The type of the elements. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the item serializer. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The item serializer. + The reconfigured serializer. + + + + Represents a serializer for Timespans. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The representation. + The units. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the representation. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Gets the units. + + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified representation and units. + + The representation. + The units. + + The reconfigured serializer. + + + + + Represents a serializer for a . + + The type of item 1. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The Item1 serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Deserializes the value. + + The context. + The deserialization args. + A deserialized value. + + + + Gets the Item1 serializer. + + + + + Serializes the value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a . + + The type of item 1. + The type of item 2. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The Item1 serializer. + The Item2 serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Deserializes the value. + + The context. + The deserialization args. + A deserialized value. + + + + Gets the Item1 serializer. + + + + + Gets the Item2 serializer. + + + + + Serializes the value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a . + + The type of item 1. + The type of item 2. + The type of item 3. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The Item1 serializer. + The Item2 serializer. + The Item3 serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Deserializes the value. + + The context. + The deserialization args. + A deserialized value. + + + + Gets the Item1 serializer. + + + + + Gets the Item2 serializer. + + + + + Gets the Item3 serializer. + + + + + Serializes the value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a . + + The type of item 1. + The type of item 2. + The type of item 3. + The type of item 4. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The Item1 serializer. + The Item2 serializer. + The Item3 serializer. + The Item4 serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Deserializes the value. + + The context. + The deserialization args. + A deserialized value. + + + + Gets the Item1 serializer. + + + + + Gets the Item2 serializer. + + + + + Gets the Item3 serializer. + + + + + Gets the Item4 serializer. + + + + + Serializes the value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a . + + The type of item 1. + The type of item 2. + The type of item 3. + The type of item 4. + The type of item 5. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The Item1 serializer. + The Item2 serializer. + The Item3 serializer. + The Item4 serializer. + The Item5 serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Deserializes the value. + + The context. + The deserialization args. + A deserialized value. + + + + Gets the Item1 serializer. + + + + + Gets the Item2 serializer. + + + + + Gets the Item3 serializer. + + + + + Gets the Item4 serializer. + + + + + Gets the Item5 serializer. + + + + + Serializes the value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a . + + The type of item 1. + The type of item 2. + The type of item 3. + The type of item 4. + The type of item 5. + The type of item 6. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The Item1 serializer. + The Item2 serializer. + The Item3 serializer. + The Item4 serializer. + The Item5 serializer. + The Item6 serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Deserializes the value. + + The context. + The deserialization args. + A deserialized value. + + + + Gets the Item1 serializer. + + + + + Gets the Item2 serializer. + + + + + Gets the Item3 serializer. + + + + + Gets the Item4 serializer. + + + + + Gets the Item5 serializer. + + + + + Gets the Item6 serializer. + + + + + Serializes the value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a . + + The type of item 1. + The type of item 2. + The type of item 3. + The type of item 4. + The type of item 5. + The type of item 6. + The type of item 7. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The Item1 serializer. + The Item2 serializer. + The Item3 serializer. + The Item4 serializer. + The Item5 serializer. + The Item6 serializer. + The Item7 serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Deserializes the value. + + The context. + The deserialization args. + A deserialized value. + + + + Gets the Item1 serializer. + + + + + Gets the Item2 serializer. + + + + + Gets the Item3 serializer. + + + + + Gets the Item4 serializer. + + + + + Gets the Item5 serializer. + + + + + Gets the Item6 serializer. + + + + + Gets the Item7 serializer. + + + + + Serializes the value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a . + + The type of item 1. + The type of item 2. + The type of item 3. + The type of item 4. + The type of item 5. + The type of item 6. + The type of item 7. + The type of the rest item. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The Item1 serializer. + The Item2 serializer. + The Item3 serializer. + The Item4 serializer. + The Item5 serializer. + The Item6 serializer. + The Item7 serializer. + The Rest serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Deserializes the value. + + The context. + The deserialization args. + A deserialized value. + + + + Gets the Item1 serializer. + + + + + Gets the Item2 serializer. + + + + + Gets the Item3 serializer. + + + + + Gets the Item4 serializer. + + + + + Gets the Item5 serializer. + + + + + Gets the Item6 serializer. + + + + + Gets the Item7 serializer. + + + + + Gets the Rest serializer. + + + + + Serializes the value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for two-dimensional arrays. + + The type of the elements. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the item serializer. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The item serializer. + The reconfigured serializer. + + + + Represents a serializer for UInt16s. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The representation. + The converter. + + + + Gets the converter. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the representation. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The converter. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for UInt32s. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The representation. + The converter. + + + + Gets the converter. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the representation. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The converter. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for UInt64s. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The representation. + The converter. + + + + Gets the converter. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the representation. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The converter. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for interfaces and base classes that delegates to the actual type interface without writing a discriminator. + + Type type of the value. + + + + Initializes a new instance of the class. + + + + + Gets the instance. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The document. + + + + Represents a serializer for Uris. + + + + + Initializes a new instance of the UriSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for Versions. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the representation. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + \ No newline at end of file diff --git a/packages/MongoDB.Bson.2.4.3/lib/netstandard1.5/MongoDB.Bson.xml b/packages/MongoDB.Bson.2.4.3/lib/netstandard1.5/MongoDB.Bson.xml new file mode 100644 index 0000000..ff40d68 --- /dev/null +++ b/packages/MongoDB.Bson.2.4.3/lib/netstandard1.5/MongoDB.Bson.xml @@ -0,0 +1,21631 @@ + + + + MongoDB.Bson + + + + + A static class containing BSON constants. + + + + + Gets the number of milliseconds since the Unix epoch for DateTime.MaxValue. + + + + + Gets the number of milliseconds since the Unix epoch for DateTime.MinValue. + + + + + Gets the Unix Epoch for BSON DateTimes (1970-01-01). + + + + + A static helper class containing BSON defaults. + + + + + Gets or sets the dynamic array serializer. + + + + + Gets or sets the dynamic document serializer. + + + + + Gets or sets the default representation to be used in serialization of + Guids to the database. + + + + + + Gets or sets the default max document size. The default is 4MiB. + + + + + Gets or sets the default max serialization depth (used to detect circular references during serialization). The default is 100. + + + + + A static class containing BSON extension methods. + + + + + Serializes an object to a BSON byte array. + + The nominal type of the object. + The object. + The serializer. + The writer settings. + The serialization context configurator. + The serialization args. + A BSON byte array. + + + + Serializes an object to a BSON byte array. + + The object. + The nominal type of the object.. + The writer settings. + The serializer. + The serialization context configurator. + The serialization args. + A BSON byte array. + nominalType + serializer + + + + Serializes an object to a BsonDocument. + + The nominal type of the object. + The object. + The serializer. + The serialization context configurator. + The serialization args. + A BsonDocument. + + + + Serializes an object to a BsonDocument. + + The object. + The nominal type of the object. + The serializer. + The serialization context configurator. + The serialization args. + A BsonDocument. + nominalType + serializer + + + + Serializes an object to a JSON string. + + The nominal type of the object. + The object. + The JsonWriter settings. + The serializer. + The serializastion context configurator. + The serialization args. + + A JSON string. + + + + + Serializes an object to a JSON string. + + The object. + The nominal type of the objectt. + The JsonWriter settings. + The serializer. + The serialization context configurator. + The serialization args. + + A JSON string. + + nominalType + serializer + + + + A static class containing BSON utility methods. + + + + + Gets a friendly class name suitable for use in error messages. + + The type. + A friendly class name. + + + + Parses a hex string into its equivalent byte array. + + The hex string to parse. + The byte equivalent of the hex string. + + + + Converts from number of milliseconds since Unix epoch to DateTime. + + The number of milliseconds since Unix epoch. + A DateTime. + + + + Converts a byte array to a hex string. + + The byte array. + A hex string. + + + + Converts a DateTime to local time (with special handling for MinValue and MaxValue). + + A DateTime. + The DateTime in local time. + + + + Converts a DateTime to number of milliseconds since Unix epoch. + + A DateTime. + Number of seconds since Unix epoch. + + + + Converts a DateTime to UTC (with special handling for MinValue and MaxValue). + + A DateTime. + The DateTime in UTC. + + + + Tries to parse a hex string to a byte array. + + The hex string. + A byte array. + True if the hex string was successfully parsed. + + + + Represents a BSON exception. + + + + + Initializes a new instance of the BsonException class. + + + + + Initializes a new instance of the BsonException class. + + The error message. + + + + Initializes a new instance of the BsonException class. + + The error message. + The inner exception. + + + + Initializes a new instance of the BsonException class. + + The error message format string. + One or more args for the error message. + + + + Represents a BSON internal exception (almost surely the result of a bug). + + + + + Initializes a new instance of the BsonInternalException class. + + + + + Initializes a new instance of the BsonInternalException class. + + The error message. + + + + Initializes a new instance of the BsonInternalException class. + + The error message. + The inner exception. + + + + Represents a BSON serialization exception. + + + + + Initializes a new instance of the BsonSerializationException class. + + + + + Initializes a new instance of the BsonSerializationException class. + + The error message. + + + + Initializes a new instance of the BsonSerializationException class. + + The error message. + The inner exception. + + + + Indicates that an attribute restricted to one member has been applied to multiple members. + + + + + Initializes a new instance of the class. + + The message. + + + + Initializes a new instance of the class. + + The message. + The inner. + + + + Represents a truncation exception. + + + + + Initializes a new instance of the TruncationException class. + + + + + Initializes a new instance of the TruncationException class. + + The error message. + + + + Initializes a new instance of the TruncationException class. + + The error message. + The inner exception. + + + + Represents a fast converter from integer indexes to UTF8 BSON array element names. + + + + + Gets the element name bytes. + + The index. + The element name bytes. + + + + Represents a fast converter from integer indexes to UTF8 BSON array element names. + + + + + Gets or sets the default array element name accelerator. + + + + + Initializes a new instance of the class. + + The number of cached element names. + + + + Gets the element name bytes. + + The index. + + The element name bytes. + + + + + Represents a BSON reader for a binary BSON byte array. + + + + + Initializes a new instance of the BsonBinaryReader class. + + A stream (BsonBinary does not own the stream and will not Dispose it). + + + + Initializes a new instance of the BsonBinaryReader class. + + A stream (BsonBinary does not own the stream and will not Dispose it). + A BsonBinaryReaderSettings. + + + + Gets the base stream. + + + The base stream. + + + + + Gets the BSON stream. + + + The BSON stream. + + + + + Closes the reader. + + + + + Gets a bookmark to the reader's current position and state. + + A bookmark. + + + + Determines whether this reader is at end of file. + + + Whether this reader is at end of file. + + + + + Reads BSON binary data from the reader. + + A BsonBinaryData. + + + + Reads a BSON boolean from the reader. + + A Boolean. + + + + Reads a BsonType from the reader. + + A BsonType. + + + + Reads BSON binary data from the reader. + + A byte array. + + + + Reads a BSON DateTime from the reader. + + The number of milliseconds since the Unix epoch. + + + + + + + Reads a BSON Double from the reader. + + A Double. + + + + Reads the end of a BSON array from the reader. + + + + + Reads the end of a BSON document from the reader. + + + + + Reads a BSON Int32 from the reader. + + An Int32. + + + + Reads a BSON Int64 from the reader. + + An Int64. + + + + Reads a BSON JavaScript from the reader. + + A string. + + + + Reads a BSON JavaScript with scope from the reader (call ReadStartDocument next to read the scope). + + A string. + + + + Reads a BSON MaxKey from the reader. + + + + + Reads a BSON MinKey from the reader. + + + + + Reads the name of an element from the reader. + + The name decoder. + The name of the element. + + + + Reads a BSON null from the reader. + + + + + Reads a BSON ObjectId from the reader. + + An ObjectId. + + + + Reads a raw BSON array. + + + The raw BSON array. + + + + + Reads a raw BSON document. + + + The raw BSON document. + + + + + Reads a BSON regular expression from the reader. + + A BsonRegularExpression. + + + + Reads the start of a BSON array. + + + + + Reads the start of a BSON document. + + + + + Reads a BSON string from the reader. + + A String. + + + + Reads a BSON symbol from the reader. + + A string. + + + + Reads a BSON timestamp from the reader. + + The combined timestamp/increment. + + + + Reads a BSON undefined from the reader. + + + + + Returns the reader to previously bookmarked position and state. + + The bookmark. + + + + Skips the name (reader must be positioned on a name). + + + + + Skips the value (reader must be positioned on a value). + + + + + Disposes of any resources used by the reader. + + True if called from Dispose. + + + + Represents a bookmark that can be used to return a reader to the current position and state. + + + + + Creates a clone of the context. + + A clone of the context. + + + + Represents settings for a BsonBinaryReader. + + + + + Initializes a new instance of the BsonBinaryReaderSettings class. + + + + + Gets or sets the default settings for a BsonBinaryReader. + + + + + Gets or sets the Encoding. + + + + + Gets or sets whether to fix occurrences of the old binary subtype on input. + + + + + Gets or sets whether to fix occurrences of the old representation of DateTime.MaxValue on input. + + + + + Gets or sets the max document size. + + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Represents a BSON writer to a BSON Stream. + + + + + Initializes a new instance of the BsonBinaryWriter class. + + A stream. The BsonBinaryWriter does not own the stream and will not Dispose it. + + + + Initializes a new instance of the BsonBinaryWriter class. + + A stream. The BsonBinaryWriter does not own the stream and will not Dispose it. + The BsonBinaryWriter settings. + + + + Gets the base stream. + + + The base stream. + + + + + Gets the BSON stream. + + + The BSON stream. + + + + + Closes the writer. Also closes the base stream. + + + + + Flushes any pending data to the output destination. + + + + + Pops the max document size stack, restoring the previous max document size. + + + + + Pushes a new max document size onto the max document size stack. + + The maximum size of the document. + + + + Writes BSON binary data to the writer. + + The binary data. + + + + Writes a BSON Boolean to the writer. + + The Boolean value. + + + + Writes BSON binary data to the writer. + + The bytes. + + + + Writes a BSON DateTime to the writer. + + The number of milliseconds since the Unix epoch. + + + + + + + Writes a BSON Double to the writer. + + The Double value. + + + + Writes the end of a BSON array to the writer. + + + + + Writes the end of a BSON document to the writer. + + + + + Writes a BSON Int32 to the writer. + + The Int32 value. + + + + Writes a BSON Int64 to the writer. + + The Int64 value. + + + + Writes a BSON JavaScript to the writer. + + The JavaScript code. + + + + Writes a BSON JavaScript to the writer (call WriteStartDocument to start writing the scope). + + The JavaScript code. + + + + Writes a BSON MaxKey to the writer. + + + + + Writes a BSON MinKey to the writer. + + + + + Writes a BSON null to the writer. + + + + + Writes a BSON ObjectId to the writer. + + The ObjectId. + + + + Writes a raw BSON array. + + The byte buffer containing the raw BSON array. + + + + Writes a raw BSON document. + + The byte buffer containing the raw BSON document. + + + + Writes a BSON regular expression to the writer. + + A BsonRegularExpression. + + + + Writes the start of a BSON array to the writer. + + + + + Writes the start of a BSON document to the writer. + + + + + Writes a BSON String to the writer. + + The String value. + + + + Writes a BSON Symbol to the writer. + + The symbol. + + + + Writes a BSON timestamp to the writer. + + The combined timestamp/increment value. + + + + Writes a BSON undefined to the writer. + + + + + Disposes of any resources used by the writer. + + True if called from Dispose. + + + + Represents settings for a BsonBinaryWriter. + + + + + Initializes a new instance of the BsonBinaryWriterSettings class. + + + + + Gets or sets the default BsonBinaryWriter settings. + + + + + Gets or sets the Encoding. + + + + + Gets or sets whether to fix the old binary data subtype on output. + + + + + Gets or sets the max document size. + + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Represents a pool of chunks. + + + + + Gets or sets the default chunk pool. + + + The default chunk pool. + + + + + Initializes a new instance of the class. + + The maximum number of chunks to keep in the pool. + The size of each chunk. + + + + Gets the chunk size. + + + The chunk size. + + + + + Gets the maximum size of the pool. + + + The maximum size of the pool. + + + + + Gets the size of the pool. + + + The size of the pool. + + + + + + + + + + + Represents a BSON reader for a BsonDocument. + + + + + Initializes a new instance of the BsonDocumentReader class. + + A BsonDocument. + + + + Initializes a new instance of the BsonDocumentReader class. + + A BsonDocument. + The reader settings. + + + + Closes the reader. + + + + + Gets a bookmark to the reader's current position and state. + + A bookmark. + + + + Determines whether this reader is at end of file. + + + Whether this reader is at end of file. + + + + + Reads BSON binary data from the reader. + + A BsonBinaryData. + + + + Reads a BSON boolean from the reader. + + A Boolean. + + + + Reads a BsonType from the reader. + + A BsonType. + + + + Reads BSON binary data from the reader. + + A byte array. + + + + Reads a BSON DateTime from the reader. + + The number of milliseconds since the Unix epoch. + + + + + + + Reads a BSON Double from the reader. + + A Double. + + + + Reads the end of a BSON array from the reader. + + + + + Reads the end of a BSON document from the reader. + + + + + Reads a BSON Int32 from the reader. + + An Int32. + + + + Reads a BSON Int64 from the reader. + + An Int64. + + + + Reads a BSON JavaScript from the reader. + + A string. + + + + Reads a BSON JavaScript with scope from the reader (call ReadStartDocument next to read the scope). + + A string. + + + + Reads a BSON MaxKey from the reader. + + + + + Reads a BSON MinKey from the reader. + + + + + Reads the name of an element from the reader. + + The name decoder. + + The name of the element. + + + + + Reads a BSON null from the reader. + + + + + Reads a BSON ObjectId from the reader. + + An ObjectId. + + + + Reads a BSON regular expression from the reader. + + A BsonRegularExpression. + + + + Reads the start of a BSON array. + + + + + Reads the start of a BSON document. + + + + + Reads a BSON string from the reader. + + A String. + + + + Reads a BSON symbol from the reader. + + A string. + + + + Reads a BSON timestamp from the reader. + + The combined timestamp/increment. + + + + Reads a BSON undefined from the reader. + + + + + Returns the reader to previously bookmarked position and state. + + The bookmark. + + + + Skips the name (reader must be positioned on a name). + + + + + Skips the value (reader must be positioned on a value). + + + + + Disposes of any resources used by the reader. + + True if called from Dispose. + + + + Represents a bookmark that can be used to return a reader to the current position and state. + + + + + Creates a clone of the context. + + A clone of the context. + + + + Represents settings for a BsonDocumentReader. + + + + + Initializes a new instance of the BsonDocumentReaderSettings class. + + + + + Initializes a new instance of the BsonDocumentReaderSettings class. + + The representation for Guids. + + + + Gets or sets the default settings for a BsonDocumentReader. + + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Represents a BSON writer to a BsonDocument. + + + + + Initializes a new instance of the BsonDocumentWriter class. + + The document to write to (normally starts out as an empty document). + + + + Initializes a new instance of the BsonDocumentWriter class. + + The document to write to (normally starts out as an empty document). + The settings. + + + + Gets the BsonDocument being written to. + + + + + Closes the writer. + + + + + Flushes any pending data to the output destination. + + + + + Writes BSON binary data to the writer. + + The binary data. + + + + Writes a BSON Boolean to the writer. + + The Boolean value. + + + + Writes BSON binary data to the writer. + + The bytes. + + + + Writes a BSON DateTime to the writer. + + The number of milliseconds since the Unix epoch. + + + + + + + Writes a BSON Double to the writer. + + The Double value. + + + + Writes the end of a BSON array to the writer. + + + + + Writes the end of a BSON document to the writer. + + + + + Writes a BSON Int32 to the writer. + + The Int32 value. + + + + Writes a BSON Int64 to the writer. + + The Int64 value. + + + + Writes a BSON JavaScript to the writer. + + The JavaScript code. + + + + Writes a BSON JavaScript to the writer (call WriteStartDocument to start writing the scope). + + The JavaScript code. + + + + Writes a BSON MaxKey to the writer. + + + + + Writes a BSON MinKey to the writer. + + + + + Writes the name of an element to the writer. + + The name of the element. + + + + Writes a BSON null to the writer. + + + + + Writes a BSON ObjectId to the writer. + + The ObjectId. + + + + Writes a BSON regular expression to the writer. + + A BsonRegularExpression. + + + + Writes the start of a BSON array to the writer. + + + + + Writes the start of a BSON document to the writer. + + + + + Writes a BSON String to the writer. + + The String value. + + + + Writes a BSON Symbol to the writer. + + The symbol. + + + + Writes a BSON timestamp to the writer. + + The combined timestamp/increment value. + + + + Writes a BSON undefined to the writer. + + + + + Disposes of any resources used by the writer. + + True if called from Dispose. + + + + Represents settings for a BsonDocumentWriter. + + + + + Initializes a new instance of the BsonDocumentWriterSettings class. + + + + + Initializes a new instance of the BsonDocumentWriterSettings class. + + The representation for Guids. + + + + Gets or sets the default BsonDocumentWriter settings. + + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Represents a BSON reader for some external format (see subclasses). + + + + + Initializes a new instance of the BsonReader class. + + The reader settings. + + + + Gets the current BsonType. + + + + + Gets the settings of the reader. + + + + + Gets the current state of the reader. + + + + + Gets the current name. + + + + + Gets whether the BsonReader has been disposed. + + + + + Closes the reader. + + + + + Disposes of any resources used by the reader. + + + + + Gets a bookmark to the reader's current position and state. + + A bookmark. + + + + Gets the current BsonType (calls ReadBsonType if necessary). + + The current BsonType. + + + + Determines whether this reader is at end of file. + + + Whether this reader is at end of file. + + + + + Reads BSON binary data from the reader. + + A BsonBinaryData. + + + + Reads a BSON boolean from the reader. + + A Boolean. + + + + Reads a BsonType from the reader. + + A BsonType. + + + + Reads BSON binary data from the reader. + + A byte array. + + + + Reads a BSON DateTime from the reader. + + The number of milliseconds since the Unix epoch. + + + + + + + Reads a BSON Double from the reader. + + A Double. + + + + Reads the end of a BSON array from the reader. + + + + + Reads the end of a BSON document from the reader. + + + + + Reads a BSON Int32 from the reader. + + An Int32. + + + + Reads a BSON Int64 from the reader. + + An Int64. + + + + Reads a BSON JavaScript from the reader. + + A string. + + + + Reads a BSON JavaScript with scope from the reader (call ReadStartDocument next to read the scope). + + A string. + + + + Reads a BSON MaxKey from the reader. + + + + + Reads a BSON MinKey from the reader. + + + + + Reads the name of an element from the reader. + + The name of the element. + + + + Reads the name of an element from the reader (using the provided name decoder). + + The name decoder. + + The name of the element. + + + + + Reads a BSON null from the reader. + + + + + Reads a BSON ObjectId from the reader. + + An ObjectId. + + + + Reads a raw BSON array. + + The raw BSON array. + + + + Reads a raw BSON document. + + The raw BSON document. + + + + Reads a BSON regular expression from the reader. + + A BsonRegularExpression. + + + + Reads the start of a BSON array. + + + + + Reads the start of a BSON document. + + + + + Reads a BSON string from the reader. + + A String. + + + + Reads a BSON symbol from the reader. + + A string. + + + + Reads a BSON timestamp from the reader. + + The combined timestamp/increment. + + + + Reads a BSON undefined from the reader. + + + + + Returns the reader to previously bookmarked position and state. + + The bookmark. + + + + Skips the name (reader must be positioned on a name). + + + + + Skips the value (reader must be positioned on a value). + + + + + Disposes of any resources used by the reader. + + True if called from Dispose. + + + + Throws an InvalidOperationException when the method called is not valid for the current ContextType. + + The name of the method. + The actual ContextType. + The valid ContextTypes. + + + + Throws an InvalidOperationException when the method called is not valid for the current state. + + The name of the method. + The valid states. + + + + Throws an ObjectDisposedException. + + + + + Verifies the current state and BsonType of the reader. + + The name of the method calling this one. + The required BSON type. + + + + Represents a bookmark that can be used to return a reader to the current position and state. + + + + + Initializes a new instance of the BsonReaderBookmark class. + + The state of the reader. + The current BSON type. + The name of the current element. + + + + Gets the current state of the reader. + + + + + Gets the current BsonType; + + + + + Gets the name of the current element. + + + + + Represents settings for a BsonReader. + + + + + Initializes a new instance of the BsonReaderSettings class. + + + + + Initializes a new instance of the BsonReaderSettings class. + + The representation for Guids. + + + + Gets or sets the representation for Guids. + + + + + Gets whether the settings are frozen. + + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Freezes the settings. + + The frozen settings. + + + + Returns a frozen copy of the settings. + + A frozen copy of the settings. + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Throws an InvalidOperationException when an attempt is made to change a setting after the settings are frozen. + + + + + Represents the state of a reader. + + + + + The initial state. + + + + + The reader is positioned at the type of an element or value. + + + + + The reader is positioned at the name of an element. + + + + + The reader is positioned at a value. + + + + + The reader is positioned at a scope document. + + + + + The reader is positioned at the end of a document. + + + + + The reader is positioned at the end of an array. + + + + + The reader has finished reading a document. + + + + + The reader is closed. + + + + + Represents a Stream has additional methods to suport reading and writing BSON values. + + + + + Reads a BSON CString from the stream. + + The encoding. + A string. + + + + Reads a BSON CString from the stream. + + An ArraySegment containing the CString bytes (without the null byte). + + + + Reads a BSON Decimal128 from the stream. + + A . + + + + Reads a BSON double from the stream. + + A double. + + + + Reads a 32-bit BSON integer from the stream. + + An int. + + + + Reads a 64-bit BSON integer from the stream. + + A long. + + + + Reads a BSON ObjectId from the stream. + + An ObjectId. + + + + Reads a raw length prefixed slice from the stream. + + A slice. + + + + Reads a BSON string from the stream. + + The encoding. + A string. + + + + Skips over a BSON CString leaving the stream positioned just after the terminating null byte. + + + + + Writes a BSON CString to the stream. + + The value. + + + + Writes the CString bytes to the stream. + + The value. + + + + Writes a BSON Decimal128 to the stream. + + The value. + + + + Writes a BSON double to the stream. + + The value. + + + + Writes a 32-bit BSON integer to the stream. + + The value. + + + + Writes a 64-bit BSON integer to the stream. + + The value. + + + + Writes a BSON ObjectId to the stream. + + The value. + + + + Writes a BSON string to the stream. + + The value. + The encoding. + + + + A Stream that wraps another Stream while implementing the BsonStream abstract methods. + + + + + Initializes a new instance of the class. + + The stream. + if set to true [owns stream]. + stream + + + + Gets the base stream. + + + The base stream. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Represents extension methods on BsonStream. + + + + + Backpatches the size. + + The stream. + The start position. + + + + Reads the binary sub type. + + The stream. + The binary sub type. + + + + Reads a boolean from the stream. + + The stream. + A boolean. + + + + Reads the BSON type. + + The stream. + The BSON type. + + + + Reads bytes from the stream. + + The stream. + The buffer. + The offset. + The count. + + + + Reads bytes from the stream. + + The stream. + The count. + The bytes. + + + + Writes a binary sub type to the stream. + + The stream. + The value. + + + + Writes a boolean to the stream. + + The stream. + The value. + + + + Writes a BsonType to the stream. + + The stream. + The value. + + + + Writes bytes to the stream. + + The stream. + The buffer. + The offset. + The count. + + + + Writes a slice to the stream. + + The stream. + The slice. + + + + Represents a mapping from a set of UTF8 encoded strings to a set of elementName/value pairs, implemented as a trie. + + The type of the BsonTrie values. + + + + Initializes a new instance of the BsonTrie class. + + + + + Gets the root node. + + + + + Adds the specified elementName (after encoding as a UTF8 byte sequence) and value to the trie. + + The element name to add. + The value to add. The value can be null for reference types. + + + + Gets the node associated with the specified element name. + + The element name. + + When this method returns, contains the node associated with the specified element name, if the key is found; + otherwise, null. This parameter is passed unitialized. + + True if the node was found; otherwise, false. + + + + Tries to get the node associated with a name read from a stream. + + The stream. + The node. + + True if the node was found. + If the node was found the stream is advanced over the name, otherwise + the stream is repositioned to the beginning of the name. + + + + + Gets the value associated with the specified element name. + + The element name. + + When this method returns, contains the value associated with the specified element name, if the key is found; + otherwise, the default value for the type of the value parameter. This parameter is passed unitialized. + + True if the value was found; otherwise, false. + + + + Gets the value associated with the specified element name. + + The element name. + + When this method returns, contains the value associated with the specified element name, if the key is found; + otherwise, the default value for the type of the value parameter. This parameter is passed unitialized. + + True if the value was found; otherwise, false. + + + + Represents a node in a BsonTrie. + + The type of the BsonTrie values. + + + + Gets whether this node has a value. + + + + + Gets the element name for this node. + + + + + Gets the value for this node. + + + + + Gets the child of this node for a given key byte. + + The key byte. + The child node if it exists; otherwise, null. + + + + Represents a BSON writer for some external format (see subclasses). + + + + + Initializes a new instance of the BsonWriter class. + + The writer settings. + + + + Gets the current serialization depth. + + + + + Gets the settings of the writer. + + + + + Gets the current state of the writer. + + + + + Gets whether the BsonWriter has been disposed. + + + + + Gets the name of the element being written. + + + + + Closes the writer. + + + + + Disposes of any resources used by the writer. + + + + + Flushes any pending data to the output destination. + + + + + Pops the element name validator. + + The popped element validator. + + + + Pushes the element name validator. + + The validator. + + + + Writes BSON binary data to the writer. + + The binary data. + + + + Writes a BSON Boolean to the writer. + + The Boolean value. + + + + Writes BSON binary data to the writer. + + The bytes. + + + + Writes a BSON DateTime to the writer. + + The number of milliseconds since the Unix epoch. + + + + + + + Writes a BSON Double to the writer. + + The Double value. + + + + Writes the end of a BSON array to the writer. + + + + + Writes the end of a BSON document to the writer. + + + + + Writes a BSON Int32 to the writer. + + The Int32 value. + + + + Writes a BSON Int64 to the writer. + + The Int64 value. + + + + Writes a BSON JavaScript to the writer. + + The JavaScript code. + + + + Writes a BSON JavaScript to the writer (call WriteStartDocument to start writing the scope). + + The JavaScript code. + + + + Writes a BSON MaxKey to the writer. + + + + + Writes a BSON MinKey to the writer. + + + + + Writes the name of an element to the writer. + + The name of the element. + + + + Writes a BSON null to the writer. + + + + + Writes a BSON ObjectId to the writer. + + The ObjectId. + + + + Writes a raw BSON array. + + The byte buffer containing the raw BSON array. + + + + Writes a raw BSON document. + + The byte buffer containing the raw BSON document. + + + + Writes a BSON regular expression to the writer. + + A BsonRegularExpression. + + + + Writes the start of a BSON array to the writer. + + + + + Writes the start of a BSON document to the writer. + + + + + Writes a BSON String to the writer. + + The String value. + + + + Writes a BSON Symbol to the writer. + + The symbol. + + + + Writes a BSON timestamp to the writer. + + The combined timestamp/increment value. + + + + Writes a BSON undefined to the writer. + + + + + Disposes of any resources used by the writer. + + True if called from Dispose. + + + + Throws an InvalidOperationException when the method called is not valid for the current ContextType. + + The name of the method. + The actual ContextType. + The valid ContextTypes. + + + + Throws an InvalidOperationException when the method called is not valid for the current state. + + The name of the method. + The valid states. + + + + Represents settings for a BsonWriter. + + + + + Initializes a new instance of the BsonWriterSettings class. + + + + + Initializes a new instance of the BsonWriterSettings class. + + The representation for Guids. + + + + Gets or sets the representation for Guids. + + + + + Gets whether the settings are frozen. + + + + + Gets or sets the max serialization depth allowed (used to detect circular references). + + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Freezes the settings. + + The frozen settings. + + + + Returns a frozen copy of the settings. + + A frozen copy of the settings. + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Throws an InvalidOperationException when an attempt is made to change a setting after the settings are frozen. + + + + + Represents the state of a BsonWriter. + + + + + The initial state. + + + + + The writer is positioned to write a name. + + + + + The writer is positioned to write a value. + + + + + The writer is positioned to write a scope document (call WriteStartDocument to start writing the scope document). + + + + + The writer is done. + + + + + The writer is closed. + + + + + An IByteBuffer that is backed by a contiguous byte array. + + + + + Initializes a new instance of the class. + + The bytes. + Whether the buffer is read only. + + + + Initializes a new instance of the class. + + The bytes. + The length. + Whether the buffer is read only. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Represents a chunk backed by a byte array. + + + + + Initializes a new instance of the class. + + The size. + + + + Initializes a new instance of the class. + + The bytes. + bytes + + + + + + + + + + + + + Releases unmanaged and - optionally - managed resources. + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Represents a factory for IBsonBuffers. + + + + + Creates a buffer of the specified length. Depending on the length, either a SingleChunkBuffer or a MultiChunkBuffer will be created. + + The chunk pool. + The minimum capacity. + A buffer with at least the minimum capacity. + + + + Represents a slice of a byte buffer. + + + + + Initializes a new instance of the class. + + The byte buffer. + The offset of the slice. + The length of the slice. + + + + Gets the buffer. + + + The buffer. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Releases unmanaged and - optionally - managed resources. + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Represents a Stream backed by an IByteBuffer. Similar to MemoryStream but backed by an IByteBuffer + instead of a byte array and also implements the BsonStream interface for higher performance BSON I/O. + + + + + Initializes a new instance of the class. + + The buffer. + Whether the stream owns the buffer and should Dispose it when done. + + + + Gets the buffer. + + + The buffer. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Used by BsonReaders and BsonWriters to represent the current context. + + + + + The top level of a BSON document. + + + + + A (possibly embedded) BSON document. + + + + + A BSON array. + + + + + A JavaScriptWithScope BSON value. + + + + + The scope document of a JavaScriptWithScope BSON value. + + + + + Represents a chunk of bytes. + + + + + Gets the bytes. + + + The bytes. + + + + + Returns a new reference to the same chunk that can be independently disposed. + + A new reference to the same chunk. + + + + Represents a source of chunks. + + + + + Gets the chunk. + + The chunk source is free to return a larger or smaller chunk than requested. + Size of the requested. + A chunk. + + + + Represents a BSON reader. + + + + + Gets the current BsonType. + + + + + Gets the current state of the reader. + + + + + Closes the reader. + + + + + Gets a bookmark to the reader's current position and state. + + A bookmark. + + + + Gets the current BsonType (calls ReadBsonType if necessary). + + The current BsonType. + + + + Determines whether this reader is at end of file. + + + Whether this reader is at end of file. + + + + + Reads BSON binary data from the reader. + + A BsonBinaryData. + + + + Reads a BSON boolean from the reader. + + A Boolean. + + + + Reads a BsonType from the reader. + + A BsonType. + + + + Reads BSON binary data from the reader. + + A byte array. + + + + Reads a BSON DateTime from the reader. + + The number of milliseconds since the Unix epoch. + + + + Reads a BSON Decimal128 from the reader. + + A . + + + + Reads a BSON Double from the reader. + + A Double. + + + + Reads the end of a BSON array from the reader. + + + + + Reads the end of a BSON document from the reader. + + + + + Reads a BSON Int32 from the reader. + + An Int32. + + + + Reads a BSON Int64 from the reader. + + An Int64. + + + + Reads a BSON JavaScript from the reader. + + A string. + + + + Reads a BSON JavaScript with scope from the reader (call ReadStartDocument next to read the scope). + + A string. + + + + Reads a BSON MaxKey from the reader. + + + + + Reads a BSON MinKey from the reader. + + + + + Reads the name of an element from the reader (using the provided name decoder). + + The name decoder. + + The name of the element. + + + + + Reads a BSON null from the reader. + + + + + Reads a BSON ObjectId from the reader. + + An ObjectId. + + + + Reads a raw BSON array. + + The raw BSON array. + + + + Reads a raw BSON document. + + The raw BSON document. + + + + Reads a BSON regular expression from the reader. + + A BsonRegularExpression. + + + + Reads the start of a BSON array. + + + + + Reads the start of a BSON document. + + + + + Reads a BSON string from the reader. + + A String. + + + + Reads a BSON symbol from the reader. + + A string. + + + + Reads a BSON timestamp from the reader. + + The combined timestamp/increment. + + + + Reads a BSON undefined from the reader. + + + + + Returns the reader to previously bookmarked position and state. + + The bookmark. + + + + Skips the name (reader must be positioned on a name). + + + + + Skips the value (reader must be positioned on a value). + + + + + Contains extensions methods for IBsonReader. + + + + + Positions the reader to an element by name. + + The reader. + The name of the element. + True if the element was found. + + + + Positions the reader to a string element by name. + + The reader. + The name of the element. + True if the element was found. + + + + Reads a BSON binary data element from the reader. + + The reader. + The name of the element. + A BsonBinaryData. + + + + Reads a BSON boolean element from the reader. + + The reader. + The name of the element. + A Boolean. + + + + Reads a BSON binary data element from the reader. + + The reader. + The name of the element. + A byte array. + + + + Reads a BSON DateTime element from the reader. + + The reader. + The name of the element. + The number of milliseconds since the Unix epoch. + + + + Reads a BSON Decimal128 element from the reader. + + The reader. + The name of the element. + A . + + + + Reads a BSON Double element from the reader. + + The reader. + The name of the element. + A Double. + + + + Reads a BSON Int32 element from the reader. + + The reader. + The name of the element. + An Int32. + + + + Reads a BSON Int64 element from the reader. + + The reader. + The name of the element. + An Int64. + + + + Reads a BSON JavaScript element from the reader. + + The reader. + The name of the element. + A string. + + + + Reads a BSON JavaScript with scope element from the reader (call ReadStartDocument next to read the scope). + + The reader. + The name of the element. + A string. + + + + Reads a BSON MaxKey element from the reader. + + The reader. + The name of the element. + + + + Reads a BSON MinKey element from the reader. + + The reader. + The name of the element. + + + + Reads the name of an element from the reader. + + The reader. + The name of the element. + + + + Reads the name of an element from the reader. + + The reader. + The name of the element. + + + + Reads a BSON null element from the reader. + + The reader. + The name of the element. + + + + Reads a BSON ObjectId element from the reader. + + The reader. + The name of the element. + An ObjectId. + + + + Reads a raw BSON array. + + The reader. + The name. + + The raw BSON array. + + + + + Reads a raw BSON document. + + The reader. + The name. + The raw BSON document. + + + + Reads a BSON regular expression element from the reader. + + The reader. + The name of the element. + A BsonRegularExpression. + + + + Reads a BSON string element from the reader. + + The reader. + The name of the element. + A String. + + + + Reads a BSON symbol element from the reader. + + The reader. + The name of the element. + A string. + + + + Reads a BSON timestamp element from the reader. + + The combined timestamp/increment. + The reader. + The name of the element. + + + + Reads a BSON undefined element from the reader. + + The reader. + The name of the element. + + + + Represents a BSON writer. + + + + + Gets the current serialization depth. + + + + + Gets the settings of the writer. + + + + + Gets the current state of the writer. + + + + + Closes the writer. + + + + + Flushes any pending data to the output destination. + + + + + Pops the element name validator. + + The popped element validator. + + + + Pushes the element name validator. + + The validator. + + + + Writes BSON binary data to the writer. + + The binary data. + + + + Writes a BSON Boolean to the writer. + + The Boolean value. + + + + Writes BSON binary data to the writer. + + The bytes. + + + + Writes a BSON DateTime to the writer. + + The number of milliseconds since the Unix epoch. + + + + Writes a BSON Decimal128 to the writer. + + The value. + + + + Writes a BSON Double to the writer. + + The Double value. + + + + Writes the end of a BSON array to the writer. + + + + + Writes the end of a BSON document to the writer. + + + + + Writes a BSON Int32 to the writer. + + The Int32 value. + + + + Writes a BSON Int64 to the writer. + + The Int64 value. + + + + Writes a BSON JavaScript to the writer. + + The JavaScript code. + + + + Writes a BSON JavaScript to the writer (call WriteStartDocument to start writing the scope). + + The JavaScript code. + + + + Writes a BSON MaxKey to the writer. + + + + + Writes a BSON MinKey to the writer. + + + + + Writes the name of an element to the writer. + + The name of the element. + + + + Writes a BSON null to the writer. + + + + + Writes a BSON ObjectId to the writer. + + The ObjectId. + + + + Writes a raw BSON array. + + The byte buffer containing the raw BSON array. + + + + Writes a raw BSON document. + + The byte buffer containing the raw BSON document. + + + + Writes a BSON regular expression to the writer. + + A BsonRegularExpression. + + + + Writes the start of a BSON array to the writer. + + + + + Writes the start of a BSON document to the writer. + + + + + Writes a BSON String to the writer. + + The String value. + + + + Writes a BSON Symbol to the writer. + + The symbol. + + + + Writes a BSON timestamp to the writer. + + The combined timestamp/increment value. + + + + Writes a BSON undefined to the writer. + + + + + Contains extension methods for IBsonWriter. + + + + + Writes a BSON binary data element to the writer. + + The writer. + The name of the element. + The binary data. + + + + Writes a BSON Boolean element to the writer. + + The writer. + The name of the element. + The Boolean value. + + + + Writes a BSON binary data element to the writer. + + The writer. + The name of the element. + The bytes. + + + + Writes a BSON DateTime element to the writer. + + The writer. + The name of the element. + The number of milliseconds since the Unix epoch. + + + + Writes a BSON Decimal128 element to the writer. + + The writer. + The name of the element. + The value. + + + + Writes a BSON Double element to the writer. + + The writer. + The name of the element. + The Double value. + + + + Writes a BSON Int32 element to the writer. + + The writer. + The name of the element. + The Int32 value. + + + + Writes a BSON Int64 element to the writer. + + The writer. + The name of the element. + The Int64 value. + + + + Writes a BSON JavaScript element to the writer. + + The writer. + The name of the element. + The JavaScript code. + + + + Writes a BSON JavaScript element to the writer (call WriteStartDocument to start writing the scope). + + The writer. + The name of the element. + The JavaScript code. + + + + Writes a BSON MaxKey element to the writer. + + The writer. + The name of the element. + + + + Writes a BSON MinKey element to the writer. + + The writer. + The name of the element. + + + + Writes a BSON null element to the writer. + + The writer. + The name of the element. + + + + Writes a BSON ObjectId element to the writer. + + The writer. + The name of the element. + The ObjectId. + + + + Writes a raw BSON array. + + The writer. + The name. + The byte buffer containing the raw BSON array. + + + + Writes a raw BSON document. + + The writer. + The name. + The byte buffer containing the raw BSON document. + + + + Writes a BSON regular expression element to the writer. + + The writer. + The name of the element. + A BsonRegularExpression. + + + + Writes the start of a BSON array element to the writer. + + The writer. + The name of the element. + + + + Writes the start of a BSON document element to the writer. + + The writer. + The name of the element. + + + + Writes a BSON String element to the writer. + + The writer. + The name of the element. + The String value. + + + + Writes a BSON Symbol element to the writer. + + The writer. + The name of the element. + The symbol. + + + + Writes a BSON timestamp element to the writer. + + The writer. + The name of the element. + The combined timestamp/increment value. + + + + Writes a BSON undefined element to the writer. + + The writer. + The name of the element. + + + + Represents a byte buffer (backed by various means depending on the implementation). + + + + + Gets the capacity. + + + The capacity. + + + + + Gets a value indicating whether this instance is read only. + + + true if this instance is read only; otherwise, false. + + + + + Gets or sets the length. + + + The length. + + + + + Access the backing bytes directly. The returned ArraySegment will point to the desired position and contain + as many bytes as possible up to the next chunk boundary (if any). If the returned ArraySegment does not + contain enough bytes for your needs you will have to call ReadBytes instead. + + The position. + + An ArraySegment pointing directly to the backing bytes for the position. + + + + + Clears the specified bytes. + + The position. + The count. + + + + Ensure that the buffer has a minimum capacity. Depending on the buffer allocation strategy + calling this method may result in a higher capacity than the minimum (but never lower). + + The minimum capacity. + + + + Gets a slice of this buffer. + + The position of the start of the slice. + The length of the slice. + A slice of this buffer. + + + + Makes this buffer read only. + + + + + Gets a byte. + + The position. + A byte. + + + + Gets bytes. + + The position. + The destination. + The destination offset. + The count. + + + + Sets a byte. + + The position. + The value. + + + + Sets bytes. + + The position. + The bytes. + The offset. + The count. + + + + Represents an element name validator. Used by BsonWriters when WriteName is called + to determine if the element name is valid. + + + + + Gets the validator to use for child content (a nested document or array). + + The name of the element. + The validator to use for child content. + + + + Determines whether the element name is valid. + + The name of the element. + True if the element name is valid. + + + + Represents a name decoder. + + + + + Decodes the name. + + The stream. + The encoding. + + The name. + + + + + Informs the decoder of an already decoded name (so the decoder can change state if necessary). + + The name. + + + + Represents a source of chunks optimized for input buffers. + + + + + Initializes a new instance of the class. + + The chunk source. + The maximum size of an unpooled chunk. + The minimum size of a chunk. + The maximum size of a chunk. + + + + Gets the base source. + + + The base source. + + + + + Gets the maximum size of a chunk. + + + The maximum size of a chunk. + + + + + Gets the minimum size of a chunk. + + + The minimum size of a chunk. + + + + + Gets the maximum size of an unpooled chunk. + + + The maximum size of an unpooled chunk. + + + + + + + + + + + Represents a wrapper around a TextReader to provide some buffering functionality. + + + + + Initializes a new instance of the class. + + The json. + + + + Initializes a new instance of the class. + + The reader. + + + + Gets or sets the current position. + + + + + Gets a snippet of a maximum length from the buffer (usually to include in an error message). + + The start. + The maximum length. + The snippet. + + + + Gets a substring from the buffer. + + The start. + The count. + The substring. + + + + Reads the next character from the text reader and advances the character position by one character. + + + The next character from the text reader, or -1 if no more characters are available. The default implementation returns -1. + + + + + Resets the buffer (clears everything up to the current position). + + + + + Unreads one character (moving the current Position back one position). + + The character. + + + + Encodes and decodes scalar values to JSON compatible strings. + + + + + Converts a string to a Boolean. + + The value. + A Boolean. + + + + Converts a string to a DateTime. + + The value. + A DateTime. + + + + Converts a string to a DateTimeOffset. + + The value. + A DateTimeOffset. + + + + Converts a string to a Decimal. + + The value. + A Decimal. + + + + Converts a string to a . + + The value. + A . + + + + Converts a string to a Double. + + The value. + A Double. + + + + Converts a string to an Int16. + + The value. + An Int16. + + + + Converts a string to an Int32. + + The value. + An Int32. + + + + Converts a string to an Int64. + + The value. + An Int64. + + + + Converts a string to a Single. + + The value. + A Single. + + + + Converts a Boolean to a string. + + The value. + A string. + + + + Converts a DateTime to a string. + + The value. + A string. + + + + Converts a DateTimeOffset to a string. + + The value. + A string. + + + + Converts a Decimal to a string. + + The value. + A string. + + + + Converts a to a string. + + The value. + A string. + + + + Converts a Double to a string. + + The value. + A string. + + + + Converts a Single to a string. + + The value. + A string. + + + + Converts an Int32 to a string. + + The value. + A string. + + + + Converts an Int64 to a string. + + The value. + A string. + + + + Converts an Int16 to a string. + + The value. + A string. + + + + Converts a UInt32 to a string. + + The value. + A string. + + + + Converts a UInt64 to a string. + + The value. + A string. + + + + Converts a UInt16 to a string. + + The value. + A string. + + + + Converts a string to a UInt16. + + The value. + A UInt16. + + + + Converts a string to a UInt32. + + The value. + A UInt32. + + + + Converts a string to a UInt64. + + The value. + A UInt64. + + + + Represents the output mode of a JsonWriter. + + + + + Output strict JSON. + + + + + Use a format that can be pasted in to the MongoDB shell. + + + + + Use JavaScript data types for some values. + + + + + Use JavaScript and MongoDB data types for some values. + + + + + Represents a BSON reader for a JSON string. + + + + + Initializes a new instance of the JsonReader class. + + The JSON string. + + + + Initializes a new instance of the JsonReader class. + + The JSON string. + The reader settings. + + + + Initializes a new instance of the JsonReader class. + + The TextReader. + + + + Initializes a new instance of the JsonReader class. + + The TextReader. + The reader settings. + + + + Closes the reader. + + + + + Gets a bookmark to the reader's current position and state. + + A bookmark. + + + + Determines whether this reader is at end of file. + + + Whether this reader is at end of file. + + + + + Reads BSON binary data from the reader. + + A BsonBinaryData. + + + + Reads a BSON boolean from the reader. + + A Boolean. + + + + Reads a BsonType from the reader. + + A BsonType. + + + + Reads BSON binary data from the reader. + + A byte array. + + + + Reads a BSON DateTime from the reader. + + The number of milliseconds since the Unix epoch. + + + + + + + Reads a BSON Double from the reader. + + A Double. + + + + Reads the end of a BSON array from the reader. + + + + + Reads the end of a BSON document from the reader. + + + + + Reads a BSON Int32 from the reader. + + An Int32. + + + + Reads a BSON Int64 from the reader. + + An Int64. + + + + Reads a BSON JavaScript from the reader. + + A string. + + + + Reads a BSON JavaScript with scope from the reader (call ReadStartDocument next to read the scope). + + A string. + + + + Reads a BSON MaxKey from the reader. + + + + + Reads a BSON MinKey from the reader. + + + + + Reads the name of an element from the reader. + + The name decoder. + + The name of the element. + + + + + Reads a BSON null from the reader. + + + + + Reads a BSON ObjectId from the reader. + + An ObjectId. + + + + Reads a BSON regular expression from the reader. + + A BsonRegularExpression. + + + + Reads the start of a BSON array. + + + + + Reads the start of a BSON document. + + + + + Reads a BSON string from the reader. + + A String. + + + + Reads a BSON symbol from the reader. + + A string. + + + + Reads a BSON timestamp from the reader. + + The combined timestamp/increment. + + + + Reads a BSON undefined from the reader. + + + + + Returns the reader to previously bookmarked position and state. + + The bookmark. + + + + Skips the name (reader must be positioned on a name). + + + + + Skips the value (reader must be positioned on a value). + + + + + Disposes of any resources used by the reader. + + True if called from Dispose. + + + + Represents a bookmark that can be used to return a reader to the current position and state. + + + + + Creates a clone of the context. + + A clone of the context. + + + + Represents settings for a JsonReader. + + + + + Initializes a new instance of the JsonReaderSettings class. + + + + + Gets or sets the default settings for a JsonReader. + + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Creates a clone of the settings. + + A clone of the settings. + + + + A static class that represents a JSON scanner. + + + + + Gets the next JsonToken from a JsonBuffer. + + The buffer. + The next token. + + + + Represents a JSON token type. + + + + + An invalid token. + + + + + A begin array token (a '['). + + + + + A begin object token (a '{'). + + + + + An end array token (a ']'). + + + + + A left parenthesis (a '('). + + + + + A right parenthesis (a ')'). + + + + + An end object token (a '}'). + + + + + A colon token (a ':'). + + + + + A comma token (a ','). + + + + + A DateTime token. + + + + + A Double token. + + + + + An Int32 token. + + + + + And Int64 token. + + + + + An ObjectId token. + + + + + A regular expression token. + + + + + A string token. + + + + + An unquoted string token. + + + + + An end of file token. + + + + + Represents a JSON token. + + + + + Initializes a new instance of the JsonToken class. + + The token type. + The lexeme. + + + + Gets the token type. + + + + + Gets the lexeme. + + + + + Gets the value of a DateTime token. + + + + + Gets the value of a Double token. + + + + + Gets the value of an Int32 token. + + + + + Gets the value of an Int64 token. + + + + + Gets a value indicating whether this token is number. + + + true if this token is number; otherwise, false. + + + + + Gets the value of an ObjectId token. + + + + + Gets the value of a regular expression token. + + + + + Gets the value of a string token. + + + + + Represents a DateTime JSON token. + + + + + Initializes a new instance of the DateTimeJsonToken class. + + The lexeme. + The DateTime value. + + + + Gets the value of a DateTime token. + + + + + Represents a Double JSON token. + + + + + Initializes a new instance of the DoubleJsonToken class. + + The lexeme. + The Double value. + + + + Gets the value of a Double token. + + + + + Gets the value of an Int32 token. + + + + + Gets the value of an Int64 token. + + + + + Gets a value indicating whether this token is number. + + + true if this token is number; otherwise, false. + + + + + Represents an Int32 JSON token. + + + + + Initializes a new instance of the Int32JsonToken class. + + The lexeme. + The Int32 value. + + + + Gets the value of a Double token. + + + + + Gets the value of an Int32 token. + + + + + Gets the value of an Int32 token as an Int64. + + + + + Gets a value indicating whether this token is number. + + + true if this token is number; otherwise, false. + + + + + Represents an Int64 JSON token. + + + + + Initializes a new instance of the Int64JsonToken class. + + The lexeme. + The Int64 value. + + + + Gets the value of a Double token. + + + + + Gets the value of an Int32 token. + + + + + Gets the value of an Int64 token. + + + + + Gets a value indicating whether this token is number. + + + true if this token is number; otherwise, false. + + + + + Represents an ObjectId JSON token. + + + + + Initializes a new instance of the ObjectIdJsonToken class. + + The lexeme. + The ObjectId value. + + + + Gets the value of an ObjectId token. + + + + + Represents a regular expression JSON token. + + + + + Initializes a new instance of the RegularExpressionJsonToken class. + + The lexeme. + The BsonRegularExpression value. + + + + Gets the value of a regular expression token. + + + + + Represents a String JSON token. + + + + + Initializes a new instance of the StringJsonToken class. + + The token type. + The lexeme. + The String value. + + + + Gets the value of an String token. + + + + + Represents a BSON writer to a TextWriter (in JSON format). + + + + + Initializes a new instance of the JsonWriter class. + + A TextWriter. + + + + Initializes a new instance of the JsonWriter class. + + A TextWriter. + Optional JsonWriter settings. + + + + Gets the base TextWriter. + + + The base TextWriter. + + + + + Closes the writer. + + + + + Flushes any pending data to the output destination. + + + + + Writes BSON binary data to the writer. + + The binary data. + + + + Writes a BSON Boolean to the writer. + + The Boolean value. + + + + Writes BSON binary data to the writer. + + The bytes. + + + + Writes a BSON DateTime to the writer. + + The number of milliseconds since the Unix epoch. + + + + + + + Writes a BSON Double to the writer. + + The Double value. + + + + Writes the end of a BSON array to the writer. + + + + + Writes the end of a BSON document to the writer. + + + + + Writes a BSON Int32 to the writer. + + The Int32 value. + + + + Writes a BSON Int64 to the writer. + + The Int64 value. + + + + Writes a BSON JavaScript to the writer. + + The JavaScript code. + + + + Writes a BSON JavaScript to the writer (call WriteStartDocument to start writing the scope). + + The JavaScript code. + + + + Writes a BSON MaxKey to the writer. + + + + + Writes a BSON MinKey to the writer. + + + + + Writes a BSON null to the writer. + + + + + Writes a BSON ObjectId to the writer. + + The ObjectId. + + + + Writes a BSON regular expression to the writer. + + A BsonRegularExpression. + + + + Writes the start of a BSON array to the writer. + + + + + Writes the start of a BSON document to the writer. + + + + + Writes a BSON String to the writer. + + The String value. + + + + Writes a BSON Symbol to the writer. + + The symbol. + + + + Writes a BSON timestamp to the writer. + + The combined timestamp/increment value. + + + + Writes a BSON undefined to the writer. + + + + + Disposes of any resources used by the writer. + + True if called from Dispose. + + + + Represents settings for a JsonWriter. + + + + + Initializes a new instance of the JsonWriterSettings class. + + + + + Gets or sets the default JsonWriterSettings. + + + + + Gets or sets the output Encoding. + + + + + Gets or sets whether to indent the output. + + + + + Gets or sets the indent characters. + + + + + Gets or sets the new line characters. + + + + + Gets or sets the output mode. + + + + + Gets or sets the shell version (used with OutputMode Shell). + + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Creates a clone of the settings. + + A clone of the settings. + + + + An IByteBuffer that is backed by multiple chunks. + + + + + Initializes a new instance of the class. + + The chunk pool. + chunkPool + + + + Initializes a new instance of the class. + + The chunks. + The length. + Whether the buffer is read only. + chunks + + + + + + + Gets the chunk source. + + + The chunk source. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Represents an element name validator that does no validation. + + + + + Gets the instance. + + + The instance. + + + + + Gets the validator to use for child content (a nested document or array). + + The name of the element. + The validator to use for child content. + + + + Determines whether the element name is valid. + + The name of the element. + True if the element name is valid. + + + + Represents a source of chunks optimized for output buffers. + + + + + Initializes a new instance of the class. + + The chunk source. + The size of the initial unpooled chunk. + The minimum size of a chunk. + The maximum size of a chunk. + + + + Gets the base source. + + + The base source. + + + + + Gets the initial unpooled chunk size. + + + The initial unpooled chunk size. + + + + + Gets the maximum size of a chunk. + + + The maximum size of a chunk. + + + + + Gets the minimum size of a chunk. + + + The minimum size of a chunk. + + + + + + + + + + + An IByteBuffer that is backed by a single chunk. + + + + + Initializes a new instance of the class. + + The chuns. + The length. + Whether the buffer is read only. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Represents a Trie-based name decoder that also provides a value. + + The type of the value. + + + + Initializes a new instance of the class. + + The trie. + + + + Gets a value indicating whether this is found. + + + true if found; otherwise, false. + + + + + Gets the value. + + + The value. + + + + + Reads the name. + + The stream. + The encoding. + + The name. + + + + + Informs the decoder of an already decoded name (so the decoder can change state if necessary). + + The name. + + + + Represents a singleton instance of a strict UTF8Encoding. + + + + + Gets the lenient instance. + + + + + Gets the strict instance. + + + + + Represents a class that has some helper methods for decoding UTF8 strings. + + + + + Decodes a UTF8 string. + + The bytes. + The index. + The count. + The encoding. + The decoded string. + + + + Represents a UTF8 name decoder. + + + + + Gets the instance. + + + The instance. + + + + + Decodes the name. + + The stream. + The encoding. + + The name. + + + + + Informs the decoder of an already decoded name (so the decoder can change state if necessary). + + The name. + + + + Represents a BSON array. + + + + + Initializes a new instance of the BsonArray class. + + + + + Initializes a new instance of the BsonArray class. + + A list of values to add to the array. + + + + Initializes a new instance of the BsonArray class. + + A list of values to add to the array. + + + + Initializes a new instance of the BsonArray class. + + A list of values to add to the array. + + + + Initializes a new instance of the BsonArray class. + + A list of values to add to the array. + + + + Initializes a new instance of the BsonArray class. + + A list of values to add to the array. + + + + Initializes a new instance of the BsonArray class. + + A list of values to add to the array. + + + + Initializes a new instance of the BsonArray class. + + A list of values to add to the array. + + + + Initializes a new instance of the BsonArray class. + + A list of values to add to the array. + + + + Initializes a new instance of the BsonArray class. + + A list of values to add to the array. + + + + Initializes a new instance of the BsonArray class. + + The initial capacity of the array. + + + + Compares two BsonArray values. + + The first BsonArray. + The other BsonArray. + True if the two BsonArray values are not equal according to ==. + + + + Compares two BsonArray values. + + The first BsonArray. + The other BsonArray. + True if the two BsonArray values are equal according to ==. + + + + Gets the BsonType of this BsonValue. + + + + + Gets or sets the total number of elements the internal data structure can hold without resizing. + + + + + Gets the count of array elements. + + + + + Gets whether the array is read-only. + + + + + Gets the array elements as raw values (see BsonValue.RawValue). + + + + + Gets the array elements. + + + + + Gets or sets a value by position. + + The position. + The value. + + + + Creates a new BsonArray. + + A value to be mapped to a BsonArray. + A BsonArray or null. + + + + Adds an element to the array. + + The value to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Creates a shallow clone of the array (see also DeepClone). + + A shallow clone of the array. + + + + Clears the array. + + + + + Compares the array to another array. + + The other array. + A 32-bit signed integer that indicates whether this array is less than, equal to, or greather than the other. + + + + Compares the array to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this array is less than, equal to, or greather than the other BsonValue. + + + + Tests whether the array contains a value. + + The value to test for. + True if the array contains the value. + + + + Copies elements from this array to another array. + + The other array. + The zero based index of the other array at which to start copying. + + + + Copies elements from this array to another array as raw values (see BsonValue.RawValue). + + The other array. + The zero based index of the other array at which to start copying. + + + + Creates a deep clone of the array (see also Clone). + + A deep clone of the array. + + + + Compares this array to another array. + + The other array. + True if the two arrays are equal. + + + + Compares this BsonArray to another object. + + The other object. + True if the other object is a BsonArray and equal to this one. + + + + Gets an enumerator that can enumerate the elements of the array. + + An enumerator. + + + + Gets the hash code. + + The hash code. + + + + Gets the index of a value in the array. + + The value to search for. + The zero based index of the value (or -1 if not found). + + + + Gets the index of a value in the array. + + The value to search for. + The zero based index at which to start the search. + The zero based index of the value (or -1 if not found). + + + + Gets the index of a value in the array. + + The value to search for. + The zero based index at which to start the search. + The number of elements to search. + The zero based index of the value (or -1 if not found). + + + + Inserts a new value into the array. + + The zero based index at which to insert the new value. + The new value. + + + + Removes the first occurrence of a value from the array. + + The value to remove. + True if the value was removed. + + + + Removes an element from the array. + + The zero based index of the element to remove. + + + + Converts the BsonArray to an array of BsonValues. + + An array of BsonValues. + + + + Converts the BsonArray to a list of BsonValues. + + A list of BsonValues. + + + + Returns a string representation of the array. + + A string representation of the array. + + + + Represents BSON binary data. + + + + + Initializes a new instance of the BsonBinaryData class. + + The binary data. + + + + Initializes a new instance of the BsonBinaryData class. + + The binary data. + The binary data subtype. + + + + Initializes a new instance of the BsonBinaryData class. + + The binary data. + The binary data subtype. + The representation for Guids. + + + + Initializes a new instance of the BsonBinaryData class. + + A Guid. + + + + Initializes a new instance of the BsonBinaryData class. + + A Guid. + The representation for Guids. + + + + Gets the BsonType of this BsonValue. + + + + + Gets the binary data. + + + + + Gets the representation to use when representing the Guid as BSON binary data. + + + + + Gets the BsonBinaryData as a Guid if the subtype is UuidStandard or UuidLegacy, otherwise null. + + + + + Gets the binary data subtype. + + + + + Converts a byte array to a BsonBinaryData. + + A byte array. + A BsonBinaryData. + + + + Converts a Guid to a BsonBinaryData. + + A Guid. + A BsonBinaryData. + + + + Compares two BsonBinaryData values. + + The first BsonBinaryData. + The other BsonBinaryData. + True if the two BsonBinaryData values are not equal according to ==. + + + + Compares two BsonBinaryData values. + + The first BsonBinaryData. + The other BsonBinaryData. + True if the two BsonBinaryData values are equal according to ==. + + + + Creates a new BsonBinaryData. + + An object to be mapped to a BsonBinaryData. + A BsonBinaryData or null. + + + + Compares this BsonBinaryData to another BsonBinaryData. + + The other BsonBinaryData. + A 32-bit signed integer that indicates whether this BsonBinaryData is less than, equal to, or greather than the other. + + + + Compares the BsonBinaryData to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonBinaryData is less than, equal to, or greather than the other BsonValue. + + + + Compares this BsonBinaryData to another BsonBinaryData. + + The other BsonBinaryData. + True if the two BsonBinaryData values are equal. + + + + Compares this BsonBinaryData to another object. + + The other object. + True if the other object is a BsonBinaryData and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Converts this BsonBinaryData to a Guid. + + A Guid. + + + + Converts this BsonBinaryData to a Guid. + + The representation for Guids. + A Guid. + + + + Returns a string representation of the binary data. + + A string representation of the binary data. + + + + Represents the binary data subtype of a BsonBinaryData. + + + + + Binary data. + + + + + A function. + + + + + Obsolete binary data subtype (use Binary instead). + + + + + A UUID in a driver dependent legacy byte order. + + + + + A UUID in standard network byte order. + + + + + An MD5 hash. + + + + + User defined binary data. + + + + + Represents a BSON boolean value. + + + + + Initializes a new instance of the BsonBoolean class. + + The value. + + + + Gets the instance of BsonBoolean that represents false. + + + + + Gets the instance of BsonBoolean that represents true. + + + + + Gets the BsonType of this BsonValue. + + + + + Gets the BsonBoolean as a bool. + + + + + Gets the value of this BsonBoolean. + + + + + Converts a bool to a BsonBoolean. + + A bool. + A BsonBoolean. + + + + Compares two BsonBoolean values. + + The first BsonBoolean. + The other BsonBoolean. + True if the two BsonBoolean values are not equal according to ==. + + + + Compares two BsonBoolean values. + + The first BsonBoolean. + The other BsonBoolean. + True if the two BsonBoolean values are equal according to ==. + + + + Returns one of the two possible BsonBoolean values. + + An object to be mapped to a BsonBoolean. + A BsonBoolean or null. + + + + Compares this BsonBoolean to another BsonBoolean. + + The other BsonBoolean. + A 32-bit signed integer that indicates whether this BsonBoolean is less than, equal to, or greather than the other. + + + + Compares the BsonBoolean to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonBoolean is less than, equal to, or greather than the other BsonValue. + + + + Compares this BsonBoolean to another BsonBoolean. + + The other BsonBoolean. + True if the two BsonBoolean values are equal. + + + + Compares this BsonBoolean to another object. + + The other object. + True if the other object is a BsonBoolean and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness). + + A Boolean. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Represents a BSON DateTime value. + + + + + Initializes a new instance of the BsonDateTime class. + + A DateTime. + + + + Initializes a new instance of the BsonDateTime class. + + Milliseconds since Unix Epoch. + + + + Gets the BsonType of this BsonValue. + + + + + Gets whether this BsonDateTime is a valid .NET DateTime. + + + + + Gets the number of milliseconds since the Unix Epoch. + + + + + Gets the number of milliseconds since the Unix Epoch. + + + + + Gets the DateTime value. + + + + + Converts a DateTime to a BsonDateTime. + + A DateTime. + A BsonDateTime. + + + + Compares two BsonDateTime values. + + The first BsonDateTime. + The other BsonDateTime. + True if the two BsonDateTime values are not equal according to ==. + + + + Compares two BsonDateTime values. + + The first BsonDateTime. + The other BsonDateTime. + True if the two BsonDateTime values are equal according to ==. + + + + Creates a new BsonDateTime. + + An object to be mapped to a BsonDateTime. + A BsonDateTime or null. + + + + Compares this BsonDateTime to another BsonDateTime. + + The other BsonDateTime. + A 32-bit signed integer that indicates whether this BsonDateTime is less than, equal to, or greather than the other. + + + + Compares the BsonDateTime to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonDateTime is less than, equal to, or greather than the other BsonValue. + + + + Compares this BsonDateTime to another BsonDateTime. + + The other BsonDateTime. + True if the two BsonDateTime values are equal. + + + + Compares this BsonDateTime to another object. + + The other object. + True if the other object is a BsonDateTime and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Converts this BsonValue to a DateTime in local time. + + A DateTime. + + + + Converts this BsonValue to a DateTime? in local time. + + A DateTime?. + + + + Converts this BsonValue to a DateTime? in UTC. + + A DateTime?. + + + + Converts this BsonValue to a DateTime in UTC. + + A DateTime. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + + + + + + + Represents a BSON Decimal128 value. + + + + + + Initializes a new instance of the class. + + The value. + + + + + + + + + + Gets the value. + + + + + Converts a Decimal128 to a BsonDecimal128. + + A Decimal128. + A BsonDecimal128. + + + + Compares two BsonDecimal128 values. + + The first BsonDecimal128. + The other BsonDecimal128. + True if the two BsonDecimal128 values are not equal according to ==. + + + + Compares two BsonDecimal128 values. + + The first BsonDecimal128. + The other BsonDecimal128. + True if the two BsonDecimal128 values are equal according to ==. + + + + Creates a new instance of the BsonDecimal128 class. + + An object to be mapped to a BsonDecimal128. + A BsonDecimal128. + + + + Compares this BsonDecimal128 to another BsonDecimal128. + + The other BsonDecimal128. + A 32-bit signed integer that indicates whether this BsonDecimal128 is less than, equal to, or greather than the other. + + + + + + + Compares this BsonDecimal128 to another BsonDecimal128. + + The other BsonDecimal128. + True if the two BsonDecimal128 values are equal. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Represents a BSON document. + + + + + Initializes a new instance of the BsonDocument class. + + + + + Initializes a new instance of the BsonDocument class specifying whether duplicate element names are allowed + (allowing duplicate element names is not recommended). + + Whether duplicate element names are allowed. + + + + Initializes a new instance of the BsonDocument class and adds one element. + + An element to add to the document. + + + + Initializes a new instance of the BsonDocument class and adds new elements from a dictionary of key/value pairs. + + A dictionary to initialize the document from. + + + + Initializes a new instance of the BsonDocument class and adds new elements from a dictionary of key/value pairs. + + A dictionary to initialize the document from. + A list of keys to select values from the dictionary. + + + + Initializes a new instance of the BsonDocument class and adds new elements from a dictionary of key/value pairs. + + A dictionary to initialize the document from. + + + + Initializes a new instance of the BsonDocument class and adds new elements from a dictionary of key/value pairs. + + A dictionary to initialize the document from. + A list of keys to select values from the dictionary. + + + + Initializes a new instance of the BsonDocument class and adds new elements from a dictionary of key/value pairs. + + A dictionary to initialize the document from. + + + + Initializes a new instance of the BsonDocument class and adds new elements from a dictionary of key/value pairs. + + A dictionary to initialize the document from. + A list of keys to select values from the dictionary. + + + + Initializes a new instance of the BsonDocument class and adds new elements from a list of elements. + + A list of elements to add to the document. + + + + Initializes a new instance of the BsonDocument class and adds one or more elements. + + One or more elements to add to the document. + + + + Initializes a new instance of the BsonDocument class and creates and adds a new element. + + The name of the element to add to the document. + The value of the element to add to the document. + + + + Compares two BsonDocument values. + + The first BsonDocument. + The other BsonDocument. + True if the two BsonDocument values are not equal according to ==. + + + + Compares two BsonDocument values. + + The first BsonDocument. + The other BsonDocument. + True if the two BsonDocument values are equal according to ==. + + + + Gets or sets whether to allow duplicate names (allowing duplicate names is not recommended). + + + + + Gets the BsonType of this BsonValue. + + + + + Gets the number of elements. + + + + + Gets the elements. + + + + + Gets the element names. + + + + + Gets the raw values (see BsonValue.RawValue). + + + + + Gets the values. + + + + + Gets or sets a value by position. + + The position. + The value. + + + + Gets the value of an element or a default value if the element is not found. + + The name of the element. + The default value to return if the element is not found. + Teh value of the element or a default value if the element is not found. + + + + Gets or sets a value by name. + + The name. + The value. + + + + Creates a new BsonDocument by mapping an object to a BsonDocument. + + The object to be mapped to a BsonDocument. + A BsonDocument. + + + + Parses a JSON string and returns a BsonDocument. + + The JSON string. + A BsonDocument. + + + + Tries to parse a JSON string and returns a value indicating whether it succeeded or failed. + + The JSON string. + The result. + Whether it succeeded or failed. + + + + Adds an element to the document. + + The element to add. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + Which keys of the hash table to add. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + Which keys of the hash table to add. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + Which keys of the hash table to add. + The document (so method calls can be chained). + + + + Adds a list of elements to the document. + + The list of elements. + The document (so method calls can be chained). + + + + Adds a list of elements to the document. + + The list of elements. + The document (so method calls can be chained). + + + + Creates and adds an element to the document. + + The name of the element. + The value of the element. + The document (so method calls can be chained). + + + + Creates and adds an element to the document, but only if the condition is true. + + The name of the element. + The value of the element. + Whether to add the element to the document. + The document (so method calls can be chained). + + + + Creates and adds an element to the document, but only if the condition is true. + If the condition is false the value factory is not called at all. + + The name of the element. + A delegate called to compute the value of the element if condition is true. + Whether to add the element to the document. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + The document (so method calls can be chained). + + + + Adds a list of elements to the document. + + The list of elements. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + The document (so method calls can be chained). + + + + Clears the document (removes all elements). + + + + + Creates a shallow clone of the document (see also DeepClone). + + A shallow clone of the document. + + + + Compares this document to another document. + + The other document. + A 32-bit signed integer that indicates whether this document is less than, equal to, or greather than the other. + + + + Compares the BsonDocument to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonDocument is less than, equal to, or greather than the other BsonValue. + + + + Tests whether the document contains an element with the specified name. + + The name of the element to look for. + True if the document contains an element with the specified name. + + + + Tests whether the document contains an element with the specified value. + + The value of the element to look for. + True if the document contains an element with the specified value. + + + + Creates a deep clone of the document (see also Clone). + + A deep clone of the document. + + + + Compares this document to another document. + + The other document. + True if the two documents are equal. + + + + Compares this BsonDocument to another object. + + The other object. + True if the other object is a BsonDocument and equal to this one. + + + + Gets an element of this document. + + The zero based index of the element. + The element. + + + + Gets an element of this document. + + The name of the element. + A BsonElement. + + + + Gets an enumerator that can be used to enumerate the elements of this document. + + An enumerator. + + + + Gets the hash code. + + The hash code. + + + + Gets the value of an element. + + The zero based index of the element. + The value of the element. + + + + Gets the value of an element. + + The name of the element. + The value of the element. + + + + Gets the value of an element or a default value if the element is not found. + + The name of the element. + The default value returned if the element is not found. + The value of the element or the default value if the element is not found. + + + + Gets the index of an element. + + The name of the element. + The index of the element, or -1 if the element is not found. + + + + Inserts a new element at a specified position. + + The position of the new element. + The element. + + + + Merges another document into this one. Existing elements are not overwritten. + + The other document. + The document (so method calls can be chained). + + + + Merges another document into this one, specifying whether existing elements are overwritten. + + The other document. + Whether to overwrite existing elements. + The document (so method calls can be chained). + + + + Removes an element from this document (if duplicate element names are allowed + then all elements with this name will be removed). + + The name of the element to remove. + + + + Removes an element from this document. + + The zero based index of the element to remove. + + + + Removes an element from this document. + + The element to remove. + + + + Sets the value of an element. + + The zero based index of the element whose value is to be set. + The new value. + The document (so method calls can be chained). + + + + Sets the value of an element (an element will be added if no element with this name is found). + + The name of the element whose value is to be set. + The new value. + The document (so method calls can be chained). + + + + Sets an element of the document (replacing the existing element at that position). + + The zero based index of the element to replace. + The new element. + The document. + + + + Sets an element of the document (replaces any existing element with the same name or adds a new element if an element with the same name is not found). + + The new element. + The document. + + + + Converts the BsonDocument to a Dictionary<string, object>. + + A dictionary. + + + + Converts the BsonDocument to a Hashtable. + + A hashtable. + + + + Returns a string representation of the document. + + A string representation of the document. + + + + Tries to get an element of this document. + + The name of the element. + The element. + True if an element with that name was found. + + + + Tries to get the value of an element of this document. + + The name of the element. + The value of the element. + True if an element with that name was found. + + + + Represents a BsonDocument wrapper. + + + + + Initializes a new instance of the class. + + The value. + + + + Initializes a new instance of the class. + + The value. + The serializer. + + + + Gets the serializer. + + + The serializer. + + + + + Gets the wrapped value. + + + + + Creates a new instance of the BsonDocumentWrapper class. + + The nominal type of the wrapped object. + The wrapped object. + A BsonDocumentWrapper. + + + + Creates a new instance of the BsonDocumentWrapper class. + + The nominal type of the wrapped object. + The wrapped object. + A BsonDocumentWrapper. + + + + Creates a list of new instances of the BsonDocumentWrapper class. + + The nominal type of the wrapped objects. + A list of wrapped objects. + A list of BsonDocumentWrappers. + + + + Creates a list of new instances of the BsonDocumentWrapper class. + + The nominal type of the wrapped object. + A list of wrapped objects. + A list of BsonDocumentWrappers. + + + + Creates a shallow clone of the document (see also DeepClone). + + + A shallow clone of the document. + + + + + Materializes the BsonDocument. + + The materialized elements. + + + + Informs subclasses that the Materialize process completed so they can free any resources related to the unmaterialized state. + + + + + Represents a BSON double value. + + + + + + Initializes a new instance of the BsonDouble class. + + The value. + + + + + + + + + + Gets the value of this BsonDouble. + + + + + Converts a double to a BsonDouble. + + A double. + A BsonDouble. + + + + Compares two BsonDouble values. + + The first BsonDouble. + The other BsonDouble. + True if the two BsonDouble values are not equal according to ==. + + + + Compares two BsonDouble values. + + The first BsonDouble. + The other BsonDouble. + True if the two BsonDouble values are equal according to ==. + + + + Creates a new instance of the BsonDouble class. + + An object to be mapped to a BsonDouble. + A BsonDouble. + + + + Compares this BsonDouble to another BsonDouble. + + The other BsonDouble. + A 32-bit signed integer that indicates whether this BsonDouble is less than, equal to, or greather than the other. + + + + + + + Compares this BsonDouble to another BsonDouble. + + The other BsonDouble. + True if the two BsonDouble values are equal. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Represents a BSON element. + + + + + Initializes a new instance of the BsonElement class. + + The name of the element. + The value of the element. + + + + Gets the name of the element. + + + + + Gets or sets the value of the element. + + + + + Compares two BsonElements. + + The first BsonElement. + The other BsonElement. + True if the two BsonElements are equal (or both null). + + + + Compares two BsonElements. + + The first BsonElement. + The other BsonElement. + True if the two BsonElements are not equal (or one is null and the other is not). + + + + Creates a shallow clone of the element (see also DeepClone). + + A shallow clone of the element. + + + + Creates a deep clone of the element (see also Clone). + + A deep clone of the element. + + + + Compares this BsonElement to another BsonElement. + + The other BsonElement. + A 32-bit signed integer that indicates whether this BsonElement is less than, equal to, or greather than the other. + + + + Compares this BsonElement to another BsonElement. + + The other BsonElement. + True if the two BsonElement values are equal. + + + + Compares this BsonElement to another object. + + The other object. + True if the other object is a BsonElement and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Represents a BSON int value. + + + + + Creates a new instance of the BsonInt32 class. + + The value. + + + + Gets an instance of BsonInt32 that represents -1. + + + + + Gets an instance of BsonInt32 that represents -0. + + + + + Gets an instance of BsonInt32 that represents 1. + + + + + Gets an instance of BsonInt32 that represents 2. + + + + + Gets an instance of BsonInt32 that represents 3. + + + + + Gets the BsonType of this BsonValue. + + + + + Gets the BsonInt32 as an int. + + + + + Gets the value of this BsonInt32. + + + + + Converts an int to a BsonInt32. + + An int. + A BsonInt32. + + + + Compares two BsonInt32 values. + + The first BsonInt32. + The other BsonInt32. + True if the two BsonInt32 values are not equal according to ==. + + + + Compares two BsonInt32 values. + + The first BsonInt32. + The other BsonInt32. + True if the two BsonInt32 values are equal according to ==. + + + + Creates a new BsonInt32. + + An object to be mapped to a BsonInt32. + A BsonInt32 or null. + + + + Compares this BsonInt32 to another BsonInt32. + + The other BsonInt32. + A 32-bit signed integer that indicates whether this BsonInt32 is less than, equal to, or greather than the other. + + + + Compares the BsonInt32 to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonInt32 is less than, equal to, or greather than the other BsonValue. + + + + Compares this BsonInt32 to another BsonInt32. + + The other BsonInt32. + True if the two BsonInt32 values are equal. + + + + Compares this BsonInt32 to another object. + + The other object. + True if the other object is a BsonInt32 and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness). + + A Boolean. + + + + + + + + + + Converts this BsonValue to a Double. + + A Double. + + + + Converts this BsonValue to an Int32. + + An Int32. + + + + Converts this BsonValue to an Int64. + + An Int32. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Compares this BsonInt32 against another BsonValue. + + The other BsonValue. + True if this BsonInt32 and the other BsonValue are equal according to ==. + + + + Represents a BSON long value. + + + + + Initializes a new instance of the BsonInt64 class. + + The value. + + + + Gets the BsonType of this BsonValue. + + + + + Gets the BsonInt64 as a long. + + + + + Gets the value of this BsonInt64. + + + + + Converts a long to a BsonInt64. + + A long. + A BsonInt64. + + + + Compares two BsonInt64 values. + + The first BsonInt64. + The other BsonInt64. + True if the two BsonInt64 values are not equal according to ==. + + + + Compares two BsonInt64 values. + + The first BsonInt64. + The other BsonInt64. + True if the two BsonInt64 values are equal according to ==. + + + + Creates a new BsonInt64. + + An object to be mapped to a BsonInt64. + A BsonInt64 or null. + + + + Compares this BsonInt64 to another BsonInt64. + + The other BsonInt64. + A 32-bit signed integer that indicates whether this BsonInt64 is less than, equal to, or greather than the other. + + + + Compares the BsonInt64 to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonInt64 is less than, equal to, or greather than the other BsonValue. + + + + Compares this BsonInt64 to another BsonInt64. + + The other BsonInt64. + True if the two BsonInt64 values are equal. + + + + Compares this BsonInt64 to another object. + + The other object. + True if the other object is a BsonInt64 and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness). + + A Boolean. + + + + + + + + + + Converts this BsonValue to a Double. + + A Double. + + + + Converts this BsonValue to an Int32. + + An Int32. + + + + Converts this BsonValue to an Int64. + + An Int32. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Compares this BsonInt32 against another BsonValue. + + The other BsonValue. + True if this BsonInt64 and the other BsonValue are equal according to ==. + + + + Represents a BSON JavaScript value. + + + + + Initializes a new instance of the BsonJavaScript class. + + The JavaScript code. + + + + Gets the BsonType of this BsonValue. + + + + + Gets the JavaScript code. + + + + + Compares two BsonJavaScript values. + + The first BsonJavaScript. + The other BsonJavaScript. + True if the two BsonJavaScript values are not equal according to ==. + + + + Compares two BsonJavaScript values. + + The first BsonJavaScript. + The other BsonJavaScript. + True if the two BsonJavaScript values are equal according to ==. + + + + Converts a string to a BsonJavaScript. + + A string. + A BsonJavaScript. + + + + Creates a new BsonJavaScript. + + An object to be mapped to a BsonJavaScript. + A BsonJavaScript or null. + + + + Compares this BsonJavaScript to another BsonJavaScript. + + The other BsonJavaScript. + A 32-bit signed integer that indicates whether this BsonJavaScript is less than, equal to, or greather than the other. + + + + Compares the BsonJavaScript to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonJavaScript is less than, equal to, or greather than the other BsonValue. + + + + Compares this BsonJavaScript to another BsonJavaScript. + + The other BsonJavaScript. + True if the two BsonJavaScript values are equal. + + + + Compares this BsonJavaScript to another object. + + The other object. + True if the other object is a BsonJavaScript and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Represents a BSON JavaScript value with a scope. + + + + + Initializes a new instance of the BsonJavaScriptWithScope class. + + The JavaScript code. + A scope (a set of variables with values). + + + + Compares two BsonJavaScriptWithScope values. + + The first BsonJavaScriptWithScope. + The other BsonJavaScriptWithScope. + True if the two BsonJavaScriptWithScope values are not equal according to ==. + + + + Compares two BsonJavaScriptWithScope values. + + The first BsonJavaScriptWithScope. + The other BsonJavaScriptWithScope. + True if the two BsonJavaScriptWithScope values are equal according to ==. + + + + Gets the BsonType of this BsonValue. + + + + + Gets the scope (a set of variables with values). + + + + + Creates a new BsonJavaScriptWithScope. + + An object to be mapped to a BsonJavaScriptWithScope. + A BsonJavaScriptWithScope or null. + + + + Creates a shallow clone of the BsonJavaScriptWithScope (see also DeepClone). + + A shallow clone of the BsonJavaScriptWithScope. + + + + Creates a deep clone of the BsonJavaScriptWithScope (see also Clone). + + A deep clone of the BsonJavaScriptWithScope. + + + + Compares this BsonJavaScriptWithScope to another BsonJavaScriptWithScope. + + The other BsonJavaScriptWithScope. + A 32-bit signed integer that indicates whether this BsonJavaScriptWithScope is less than, equal to, or greather than the other. + + + + Compares the BsonJavaScriptWithScope to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonJavaScriptWithScope is less than, equal to, or greather than the other BsonValue. + + + + Compares this BsonJavaScriptWithScope to another BsonJavaScriptWithScope. + + The other BsonJavaScriptWithScope. + True if the two BsonJavaScriptWithScope values are equal. + + + + Compares this BsonJavaScriptWithScope to another object. + + The other object. + True if the other object is a BsonJavaScriptWithScope and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Represents the BSON MaxKey value. + + + + + Compares two BsonMaxKey values. + + The first BsonMaxKey. + The other BsonMaxKey. + True if the two BsonMaxKey values are not equal according to ==. + + + + Compares two BsonMaxKey values. + + The first BsonMaxKey. + The other BsonMaxKey. + True if the two BsonMaxKey values are equal according to ==. + + + + Gets the singleton instance of BsonMaxKey. + + + + + Gets the BsonType of this BsonValue. + + + + + Compares this BsonMaxKey to another BsonMaxKey. + + The other BsonMaxKey. + A 32-bit signed integer that indicates whether this BsonMaxKey is less than, equal to, or greather than the other. + + + + Compares the BsonMaxKey to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonMaxKey is less than, equal to, or greather than the other BsonValue. + + + + Compares this BsonMaxKey to another BsonMaxKey. + + The other BsonMaxKey. + True if the two BsonMaxKey values are equal. + + + + Compares this BsonMaxKey to another object. + + The other object. + True if the other object is a BsonMaxKey and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Represents the BSON MinKey value. + + + + + Compares two BsonMinKey values. + + The first BsonMinKey. + The other BsonMinKey. + True if the two BsonMinKey values are not equal according to ==. + + + + Compares two BsonMinKey values. + + The first BsonMinKey. + The other BsonMinKey. + True if the two BsonMinKey values are equal according to ==. + + + + Gets the singleton instance of BsonMinKey. + + + + + Gets the BsonType of this BsonValue. + + + + + Compares this BsonMinKey to another BsonMinKey. + + The other BsonMinKey. + A 32-bit signed integer that indicates whether this BsonMinKey is less than, equal to, or greather than the other. + + + + Compares the BsonMinKey to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonMinKey is less than, equal to, or greather than the other BsonValue. + + + + Compares this BsonMinKey to another BsonMinKey. + + The other BsonMinKey. + True if the two BsonMinKey values are equal. + + + + Compares this BsonMinKey to another object. + + The other object. + True if the other object is a BsonMinKey and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Represents the BSON Null value. + + + + + Compares two BsonNull values. + + The first BsonNull. + The other BsonNull. + True if the two BsonNull values are not equal according to ==. + + + + Compares two BsonNull values. + + The first BsonNull. + The other BsonNull. + True if the two BsonNull values are equal according to ==. + + + + Gets the singleton instance of BsonNull. + + + + + Gets the BsonType of this BsonValue. + + + + + Compares this BsonNull to another BsonNull. + + The other BsonNull. + A 32-bit signed integer that indicates whether this BsonNull is less than, equal to, or greather than the other. + + + + Compares the BsonNull to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonNull is less than, equal to, or greather than the other BsonValue. + + + + Compares this BsonNull to another BsonNull. + + The other BsonNull. + True if the two BsonNull values are equal. + + + + Compares this BsonNull to another object. + + The other object. + True if the other object is a BsonNull and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness). + + A Boolean. + + + + Converts this BsonValue to a DateTime? in local time. + + A DateTime?. + + + + Converts this BsonValue to a DateTime? in UTC. + + A DateTime?. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Represents a BSON ObjectId value (see also ObjectId). + + + + + Initializes a new instance of the BsonObjectId class. + + The value. + + + + Initializes a new instance of the BsonObjectId class. + + The bytes. + + + + Initializes a new instance of the BsonObjectId class. + + The timestamp (expressed as a DateTime). + The machine hash. + The PID. + The increment. + + + + Initializes a new instance of the BsonObjectId class. + + The timestamp. + The machine hash. + The PID. + The increment. + + + + Initializes a new instance of the BsonObjectId class. + + The value. + + + + Gets an instance of BsonObjectId where the value is empty. + + + + + Gets the BsonType of this BsonValue. + + + + + Gets the timestamp. + + + + + Gets the machine. + + + + + Gets the PID. + + + + + Gets the increment. + + + + + Gets the creation time (derived from the timestamp). + + + + + Gets the BsonObjectId as an ObjectId. + + + + + Gets the value of this BsonObjectId. + + + + + Converts an ObjectId to a BsonObjectId. + + An ObjectId. + A BsonObjectId. + + + + Compares two BsonObjectId values. + + The first BsonObjectId. + The other BsonObjectId. + True if the two BsonObjectId values are not equal according to ==. + + + + Compares two BsonObjectId values. + + The first BsonObjectId. + The other BsonObjectId. + True if the two BsonObjectId values are equal according to ==. + + + + Creates a new BsonObjectId. + + An object to be mapped to a BsonObjectId. + A BsonObjectId or null. + + + + Generates a new BsonObjectId with a unique value. + + A BsonObjectId. + + + + Generates a new BsonObjectId with a unique value (with the timestamp component based on a given DateTime). + + The timestamp component (expressed as a DateTime). + A BsonObjectId. + + + + Generates a new BsonObjectId with a unique value (with the given timestamp). + + The timestamp component. + A BsonObjectId. + + + + Parses a string and creates a new BsonObjectId. + + The string value. + A BsonObjectId. + + + + Tries to parse a string and create a new BsonObjectId. + + The string value. + The new BsonObjectId. + True if the string was parsed successfully. + + + + Compares this BsonObjectId to another BsonObjectId. + + The other BsonObjectId. + A 32-bit signed integer that indicates whether this BsonObjectId is less than, equal to, or greather than the other. + + + + Compares the BsonObjectId to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonObjectId is less than, equal to, or greather than the other BsonValue. + + + + Compares this BsonObjectId to another BsonObjectId. + + The other BsonObjectId. + True if the two BsonObjectId values are equal. + + + + Compares this BsonObjectId to another object. + + The other object. + True if the other object is a BsonObjectId and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Converts the BsonObjectId to a byte array. + + A byte array. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + + + + Represents a BSON regular expression value. + + + + + Initializes a new instance of the BsonRegularExpression class. + + A regular expression pattern. + + + + Initializes a new instance of the BsonRegularExpression class. + + A regular expression pattern. + Regular expression options. + + + + Initializes a new instance of the BsonRegularExpression class. + + A Regex. + + + + Gets the BsonType of this BsonValue. + + + + + Gets the regular expression pattern. + + + + + Gets the regular expression options. + + + + + Converts a Regex to a BsonRegularExpression. + + A Regex. + A BsonRegularExpression. + + + + Converts a string to a BsonRegularExpression. + + A string. + A BsonRegularExpression. + + + + Compares two BsonRegularExpression values. + + The first BsonRegularExpression. + The other BsonRegularExpression. + True if the two BsonRegularExpression values are not equal according to ==. + + + + Compares two BsonRegularExpression values. + + The first BsonRegularExpression. + The other BsonRegularExpression. + True if the two BsonRegularExpression values are equal according to ==. + + + + Creates a new BsonRegularExpression. + + An object to be mapped to a BsonRegularExpression. + A BsonRegularExpression or null. + + + + Compares this BsonRegularExpression to another BsonRegularExpression. + + The other BsonRegularExpression. + A 32-bit signed integer that indicates whether this BsonRegularExpression is less than, equal to, or greather than the other. + + + + Compares the BsonRegularExpression to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonRegularExpression is less than, equal to, or greather than the other BsonValue. + + + + Compares this BsonRegularExpression to another BsonRegularExpression. + + The other BsonRegularExpression. + True if the two BsonRegularExpression values are equal. + + + + Compares this BsonRegularExpression to another object. + + The other object. + True if the other object is a BsonRegularExpression and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Converts the BsonRegularExpression to a Regex. + + A Regex. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Represents a BSON string value. + + + + + Initializes a new instance of the BsonString class. + + The value. + + + + Gets an instance of BsonString that represents an empty string. + + + + + Gets the BsonType of this BsonValue. + + + + + Gets the BsonString as a string. + + + + + Gets the value of this BsonString. + + + + + Converts a string to a BsonString. + + A string. + A BsonString. + + + + Compares two BsonString values. + + The first BsonString. + The other BsonString. + True if the two BsonString values are not equal according to ==. + + + + Compares two BsonString values. + + The first BsonString. + The other BsonString. + True if the two BsonString values are equal according to ==. + + + + Creates a new BsonString. + + An object to be mapped to a BsonString. + A BsonString or null. + + + + Compares this BsonString to another BsonString. + + The other BsonString. + A 32-bit signed integer that indicates whether this BsonString is less than, equal to, or greather than the other. + + + + Compares the BsonString to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonString is less than, equal to, or greather than the other BsonValue. + + + + Compares this BsonString to another BsonString. + + The other BsonString. + True if the two BsonString values are equal. + + + + Compares this BsonString to another object. + + The other object. + True if the other object is a BsonString and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness). + + A Boolean. + + + + + + + + + + Converts this BsonValue to a Double. + + A Double. + + + + Converts this BsonValue to an Int32. + + An Int32. + + + + Converts this BsonValue to an Int64. + + An Int32. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Represents a BSON symbol value. + + + + + Gets the BsonType of this BsonValue. + + + + + Gets the name of the symbol. + + + + + Converts a string to a BsonSymbol. + + A string. + A BsonSymbol. + + + + Compares two BsonSymbol values. + + The first BsonSymbol. + The other BsonSymbol. + True if the two BsonSymbol values are not equal according to ==. + + + + Compares two BsonSymbol values. + + The first BsonSymbol. + The other BsonSymbol. + True if the two BsonSymbol values are equal according to ==. + + + + Creates a new BsonSymbol. + + An object to be mapped to a BsonSymbol. + A BsonSymbol or null. + + + + Compares this BsonSymbol to another BsonSymbol. + + The other BsonSymbol. + A 32-bit signed integer that indicates whether this BsonSymbol is less than, equal to, or greather than the other. + + + + Compares the BsonSymbol to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonSymbol is less than, equal to, or greather than the other BsonValue. + + + + Compares this BsonSymbol to another BsonSymbol. + + The other BsonSymbol. + True if the two BsonSymbol values are equal. + + + + Compares this BsonSymbol to another object. + + The other object. + True if the other object is a BsonSymbol and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Represents the symbol table of BsonSymbols. + + + + + Looks up a symbol (and creates a new one if necessary). + + The name of the symbol. + The symbol. + + + + Represents a BSON timestamp value. + + + + + Initializes a new instance of the BsonTimestamp class. + + The combined timestamp/increment value. + + + + Initializes a new instance of the BsonTimestamp class. + + The timestamp. + The increment. + + + + Compares two BsonTimestamp values. + + The first BsonTimestamp. + The other BsonTimestamp. + True if the two BsonTimestamp values are not equal according to ==. + + + + Compares two BsonTimestamp values. + + The first BsonTimestamp. + The other BsonTimestamp. + True if the two BsonTimestamp values are equal according to ==. + + + + Gets the BsonType of this BsonValue. + + + + + Gets the value of this BsonTimestamp. + + + + + Gets the increment. + + + + + Gets the timestamp. + + + + + Creates a new BsonTimestamp. + + An object to be mapped to a BsonTimestamp. + A BsonTimestamp or null. + + + + Compares this BsonTimestamp to another BsonTimestamp. + + The other BsonTimestamp. + A 32-bit signed integer that indicates whether this BsonTimestamp is less than, equal to, or greather than the other. + + + + Compares the BsonTimestamp to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonTimestamp is less than, equal to, or greather than the other BsonValue. + + + + Compares this BsonTimestamp to another BsonTimestamp. + + The other BsonTimestamp. + True if the two BsonTimestamp values are equal. + + + + Compares this BsonTimestamp to another object. + + The other object. + True if the other object is a BsonTimestamp and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Represents the type of a BSON element. + + + + + Not a real BSON type. Used to signal the end of a document. + + + + + A BSON double. + + + + + A BSON string. + + + + + A BSON document. + + + + + A BSON array. + + + + + BSON binary data. + + + + + A BSON undefined value. + + + + + A BSON ObjectId. + + + + + A BSON bool. + + + + + A BSON DateTime. + + + + + A BSON null value. + + + + + A BSON regular expression. + + + + + BSON JavaScript code. + + + + + A BSON symbol. + + + + + BSON JavaScript code with a scope (a set of variables with values). + + + + + A BSON 32-bit integer. + + + + + A BSON timestamp. + + + + + A BSON 64-bit integer. + + + + + A BSON 128-bit decimal. + + + + + A BSON MinKey value. + + + + + A BSON MaxKey value. + + + + + A static class that maps between .NET objects and BsonValues. + + + + + Maps an object to an instance of the closest BsonValue class. + + An object. + A BsonValue. + + + + Maps an object to a specific BsonValue type. + + An object. + The BsonType to map to. + A BsonValue of the desired type (or BsonNull.Value if value is null and bsonType is Null). + + + + Maps a BsonValue to a .NET value using the default BsonTypeMapperOptions. + + The BsonValue. + The mapped .NET value. + + + + Maps a BsonValue to a .NET value. + + The BsonValue. + The BsonTypeMapperOptions. + The mapped .NET value. + + + + Registers a custom type mapper. + + The type. + A custom type mapper. + + + + Tries to map an object to an instance of the closest BsonValue class. + + An object. + The BsonValue. + True if the mapping was successfull. + + + + Compares this Mapping to another object. + + The other object. + True if the other object is a Mapping and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Represents how duplicate names should be handled. + + + + + Overwrite original value with new value. + + + + + Ignore duplicate name and keep original value. + + + + + Throw an exception. + + + + + Represents options used by the BsonTypeMapper. + + + + + Initializes a new instance of the BsonTypeMapperOptions class. + + + + + Gets or sets the default BsonTypeMapperOptions. + + + + + Gets or sets how duplicate names should be handled. + + + + + Gets whether the BsonTypeMapperOptions is frozen. + + + + + Gets or sets the type that a BsonArray should be mapped to. + + + + + Gets or sets the type that a BsonDocument should be mapped to. + + + + + Gets or sets whether binary sub type OldBinary should be mapped to byte[] the way sub type Binary is. + + + + + Clones the BsonTypeMapperOptions. + + The cloned BsonTypeMapperOptions. + + + + Freezes the BsonTypeMapperOptions. + + The frozen BsonTypeMapperOptions. + + + + Represents the BSON undefined value. + + + + + Compares two BsonUndefined values. + + The first BsonUndefined. + The other BsonUndefined. + True if the two BsonUndefined values are not equal according to ==. + + + + Compares two BsonUndefined values. + + The first BsonUndefined. + The other BsonUndefined. + True if the two BsonUndefined values are equal according to ==. + + + + Gets the singleton instance of BsonUndefined. + + + + + Gets the BsonType of this BsonValue. + + + + + Compares this BsonUndefined to another BsonUndefined. + + The other BsonUndefined. + A 32-bit signed integer that indicates whether this BsonUndefined is less than, equal to, or greather than the other. + + + + Compares the BsonUndefined to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonUndefined is less than, equal to, or greather than the other BsonValue. + + + + Compares this BsonUndefined to another BsonUndefined. + + The other BsonUndefined. + True if the two BsonUndefined values are equal. + + + + Compares this BsonUndefined to another object. + + The other object. + True if the other object is a BsonUndefined and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness). + + A Boolean. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Represents a BSON value (this is an abstract class, see the various subclasses). + + + + + Casts the BsonValue to a Boolean (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonArray (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonBinaryData (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonDateTime (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonDocument (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonJavaScript (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonJavaScriptWithScope (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonMaxKey (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonMinKey (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonNull (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonRegularExpression (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonSymbol (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonTimestamp (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonUndefined (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a BsonValue (a way of upcasting subclasses of BsonValue to BsonValue at compile time). + + + + + Casts the BsonValue to a Byte[] (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a DateTime in UTC (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Double (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Guid (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to an Int32 (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a DateTime in the local timezone (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Int64 (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Nullable{Boolean} (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Nullable{DateTime} (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Nullable{Decimal} (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Nullable{Decimal128} (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Nullable{Double} (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Nullable{Guid} (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Nullable{Int32} (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Nullable{Int64} (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Nullable{ObjectId} (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to an ObjectId (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a Regex (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a String (throws an InvalidCastException if the cast is not valid). + + + + + Casts the BsonValue to a DateTime in UTC (throws an InvalidCastException if the cast is not valid). + + + + + Gets the BsonType of this BsonValue. + + + + + Tests whether this BsonValue is a Boolean. + + + + + Tests whether this BsonValue is a BsonArray. + + + + + Tests whether this BsonValue is a BsonBinaryData. + + + + + Tests whether this BsonValue is a BsonDateTime. + + + + + Tests whether this BsonValue is a BsonDocument. + + + + + Tests whether this BsonValue is a BsonJavaScript. + + + + + Tests whether this BsonValue is a BsonJavaScriptWithScope. + + + + + Tests whether this BsonValue is a BsonMaxKey. + + + + + Tests whether this BsonValue is a BsonMinKey. + + + + + Tests whether this BsonValue is a BsonNull. + + + + + Tests whether this BsonValue is a BsonRegularExpression. + + + + + Tests whether this BsonValue is a BsonSymbol . + + + + + Tests whether this BsonValue is a BsonTimestamp. + + + + + Tests whether this BsonValue is a BsonUndefined. + + + + + Tests whether this BsonValue is a DateTime. + + + + + Tests whether this BsonValue is a Decimal128. + + + + + Tests whether this BsonValue is a Double. + + + + + Tests whether this BsonValue is a Guid. + + + + + Tests whether this BsonValue is an Int32. + + + + + Tests whether this BsonValue is an Int64. + + + + + Tests whether this BsonValue is a numeric value. + + + + + Tests whether this BsonValue is an ObjectId . + + + + + Tests whether this BsonValue is a String. + + + + + Tests whether this BsonValue is a valid DateTime. + + + + + Gets the raw value of this BsonValue (or null if this BsonValue doesn't have a single scalar value). + + + + + Casts a BsonValue to a bool. + + The BsonValue. + A bool. + + + + Casts a BsonValue to a bool?. + + The BsonValue. + A bool?. + + + + Converts a bool to a BsonValue. + + A bool. + A BsonValue. + + + + Converts a bool? to a BsonValue. + + A bool?. + A BsonValue. + + + + Converts a byte[] to a BsonValue. + + A byte[]. + A BsonValue. + + + + Converts a DateTime to a BsonValue. + + A DateTime. + A BsonValue. + + + + Converts a DateTime? to a BsonValue. + + A DateTime?. + A BsonValue. + + + + Converts a decimal to a BsonValue. + + A decimal. + A BsonValue. + + + + Converts a decimal? to a BsonValue. + + A decimal?. + A BsonValue. + + + + Converts a to a BsonValue. + + A Decimal128. + A BsonValue. + + + + Converts a nullable to a BsonValue. + + A Decimal128?. + A BsonValue. + + + + Converts a double to a BsonValue. + + A double. + A BsonValue. + + + + Converts a double? to a BsonValue. + + A double?. + A BsonValue. + + + + Converts an Enum to a BsonValue. + + An Enum. + A BsonValue. + + + + Converts a Guid to a BsonValue. + + A Guid. + A BsonValue. + + + + Converts a Guid? to a BsonValue. + + A Guid?. + A BsonValue. + + + + Converts an int to a BsonValue. + + An int. + A BsonValue. + + + + Converts an int? to a BsonValue. + + An int?. + A BsonValue. + + + + Converts a long to a BsonValue. + + A long. + A BsonValue. + + + + Converts a long? to a BsonValue. + + A long?. + A BsonValue. + + + + Converts an ObjectId to a BsonValue. + + An ObjectId. + A BsonValue. + + + + Converts an ObjectId? to a BsonValue. + + An ObjectId?. + A BsonValue. + + + + Converts a Regex to a BsonValue. + + A Regex. + A BsonValue. + + + + Converts a string to a BsonValue. + + A string. + A BsonValue. + + + + Casts a BsonValue to a byte[]. + + The BsonValue. + A byte[]. + + + + Casts a BsonValue to a DateTime. + + The BsonValue. + A DateTime. + + + + Casts a BsonValue to a DateTime?. + + The BsonValue. + A DateTime?. + + + + Casts a BsonValue to a decimal. + + The BsonValue. + A decimal. + + + + Casts a BsonValue to a decimal?. + + The BsonValue. + A decimal?. + + + + Casts a BsonValue to a . + + The BsonValue. + A . + + + + Casts a BsonValue to a nullable ?. + + The BsonValue. + A nullable . + + + + Casts a BsonValue to a double. + + The BsonValue. + A double. + + + + Casts a BsonValue to a double?. + + The BsonValue. + A double?. + + + + Casts a BsonValue to a Guid. + + The BsonValue. + A Guid. + + + + Casts a BsonValue to a Guid?. + + The BsonValue. + A Guid?. + + + + Casts a BsonValue to an int. + + The BsonValue. + An int. + + + + Casts a BsonValue to an int?. + + The BsonValue. + An int?. + + + + Casts a BsonValue to a long. + + The BsonValue. + A long. + + + + Casts a BsonValue to a long?. + + The BsonValue. + A long?. + + + + Casts a BsonValue to an ObjectId. + + The BsonValue. + An ObjectId. + + + + Casts a BsonValue to an ObjectId?. + + The BsonValue. + An ObjectId?. + + + + Casts a BsonValue to a Regex. + + The BsonValue. + A Regex. + + + + Casts a BsonValue to a string. + + The BsonValue. + A string. + + + + Compares two BsonValues. + + The first BsonValue. + The other BsonValue. + True if the first BsonValue is less than the other one. + + + + Compares two BsonValues. + + The first BsonValue. + The other BsonValue. + True if the first BsonValue is less than or equal to the other one. + + + + Compares two BsonValues. + + The first BsonValue. + The other BsonValue. + True if the two BsonValues are not equal according to ==. + + + + Compares two BsonValues. + + The first BsonValue. + The other BsonValue. + True if the two BsonValues are equal according to ==. + + + + Compares two BsonValues. + + The first BsonValue. + The other BsonValue. + True if the first BsonValue is greater than the other one. + + + + Compares two BsonValues. + + The first BsonValue. + The other BsonValue. + True if the first BsonValue is greater than or equal to the other one. + + + + Gets or sets a value by position (only applies to BsonDocument and BsonArray). + + The position. + The value. + + + + Gets or sets a value by name (only applies to BsonDocument). + + The name. + The value. + + + + Creates a new instance of the BsonValue class. + + A value to be mapped to a BsonValue. + A BsonValue. + + + + Creates a shallow clone of the BsonValue (see also DeepClone). + + A shallow clone of the BsonValue. + + + + Compares this BsonValue to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonValue is less than, equal to, or greather than the other BsonValue. + + + + Compares the type of this BsonValue to the type of another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether the type of this BsonValue is less than, equal to, or greather than the type of the other BsonValue. + + + + Creates a deep clone of the BsonValue (see also Clone). + + A deep clone of the BsonValue. + + + + Compares this BsonValue to another BsonValue. + + The other BsonValue. + True if the two BsonValue values are equal. + + + + Compares this BsonValue to another object. + + The other object. + True if the other object is a BsonValue and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness). + + A Boolean. + + + + Converts this BsonValue to a Decimal. + + A Decimal. + + + + Converts this BsonValue to a Decimal128. + + A Decimal128. + + + + Converts this BsonValue to a Double. + + A Double. + + + + Converts this BsonValue to an Int32. + + An Int32. + + + + Converts this BsonValue to an Int64. + + An Int64. + + + + Converts this BsonValue to a DateTime in local time. + + A DateTime. + + + + Converts this BsonValue to a DateTime? in local time. + + A DateTime?. + + + + Converts this BsonValue to a DateTime? in UTC. + + A DateTime?. + + + + Converts this BsonValue to a DateTime in UTC. + + A DateTime. + + + + Implementation of the IConvertible GetTypeCode method. + + The TypeCode. + + + + Implementation of the IConvertible ToBoolean method. + + The format provider. + A bool. + + + + Implementation of the IConvertible ToByte method. + + The format provider. + A byte. + + + + Implementation of the IConvertible ToChar method. + + The format provider. + A char. + + + + Implementation of the IConvertible ToDateTime method. + + The format provider. + A DateTime. + + + + Implementation of the IConvertible ToDecimal method. + + The format provider. + A decimal. + + + + Implementation of the IConvertible ToDouble method. + + The format provider. + A double. + + + + Implementation of the IConvertible ToInt16 method. + + The format provider. + A short. + + + + Implementation of the IConvertible ToInt32 method. + + The format provider. + An int. + + + + Implementation of the IConvertible ToInt64 method. + + The format provider. + A long. + + + + Implementation of the IConvertible ToSByte method. + + The format provider. + An sbyte. + + + + Implementation of the IConvertible ToSingle method. + + The format provider. + A float. + + + + Implementation of the IConvertible ToString method. + + The format provider. + A string. + + + + Implementation of the IConvertible ToUInt16 method. + + The format provider. + A ushort. + + + + Implementation of the IConvertible ToUInt32 method. + + The format provider. + A uint. + + + + Implementation of the IConvertible ToUInt64 method. + + The format provider. + A ulong. + + + + Implementation of operator ==. + + The other BsonValue. + True if the two BsonValues are equal according to ==. + + + + Represents a Decimal128 value. + + + + + Gets the maximum value. + + + + + Gets the minimum value. + + + + + Represents negative infinity. + + + + + Represents one. + + + + + Represents positive infinity. + + + + + Represents a value that is not a number. + + + + + Represents a value that is not a number and raises errors when used in calculations. + + + + + Represents zero. + + + + + Implements the operator ==. + + The LHS. + The RHS. + + The result of the operator. + + + + + Implements the operator !=. + + The LHS. + The RHS. + + The result of the operator. + + + + + Returns a value indicating whether a specified Decimal128 is greater than another specified Decimal128. + + The first value. + The second value. + + true if x > y; otherwise, false. + + + + + Returns a value indicating whether a specified Decimal128 is greater than or equal to another another specified Decimal128. + + The first value. + The second value. + + true if x >= y; otherwise, false. + + + + + Returns a value indicating whether a specified Decimal128 is less than another specified Decimal128. + + The first value. + The second value. + + true if x < y; otherwise, false. + + + + + Returns a value indicating whether a specified Decimal128 is less than or equal to another another specified Decimal128. + + The first value. + The second value. + + true if x <= y; otherwise, false. + + + + + Performs an explicit conversion from to . + + The value to convert. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value to convert. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value to convert. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The value. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The value. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The value. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The value. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The value. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The value. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The value. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The value. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The value. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value to convert. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value to convert. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value to convert. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value to convert. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value to convert. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value to convert. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value to convert. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value to convert. + + The result of the conversion. + + + + + Performs an explicit conversion from to . + + The value to convert. + + The result of the conversion. + + + + + Compares two specified Decimal128 values and returns an integer that indicates whether the first value + is greater than, less than, or equal to the second value. + + The first value. + The second value. + Less than zero if x < y, zero if x == y, and greater than zero if x > y. + + + + Determines whether the specified Decimal128 instances are considered equal. + + The first Decimal128 object to compare. + The second Decimal128 object to compare. + True if the objects are considered equal; otherwise false. If both x and y are null, the method returns true. + + + + Creates a new Decimal128 value from its components. + + if set to true [is negative]. + The exponent. + The signficand high bits. + The significand low bits. + A Decimal128 value. + + + + Creates a new Decimal128 value from the IEEE encoding bits. + + The high bits. + The low bits. + A Decimal128 value. + + + + Gets the exponent of a Decimal128 value. + + The Decimal128 value. + The exponent. + + + + Gets the high bits of the significand of a Decimal128 value. + + The Decimal128 value. + The high bits of the significand. + + + + Gets the high bits of the significand of a Decimal128 value. + + The Decimal128 value. + The high bits of the significand. + + + + Returns a value indicating whether the specified number evaluates to negative or positive infinity. + + A 128-bit decimal. + true if evaluates to negative or positive infinity; otherwise, false. + + + + Returns a value indicating whether the specified number is not a number. + + A 128-bit decimal. + true if is not a number; otherwise, false. + + + + Returns a value indicating whether the specified number is negative. + + A 128-bit decimal. + true if is negative; otherwise, false. + + + + Returns a value indicating whether the specified number evaluates to negative infinity. + + A 128-bit decimal. + true if evaluates to negative infinity; otherwise, false. + + + + Returns a value indicating whether the specified number evaluates to positive infinity. + + A 128-bit decimal. + true if evaluates to positive infinity; otherwise, false. + + + + Returns a value indicating whether the specified number is a quiet not a number. + + A 128-bit decimal. + true if is a quiet not a number; otherwise, false. + + + + Returns a value indicating whether the specified number is a signaled not a number. + + A 128-bit decimal. + true if is a signaled not a number; otherwise, false. + + + + Gets a value indicating whether this instance is zero. + + + true if this instance is zero; otherwise, false. + + + + + Negates the specified x. + + The x. + The result of multiplying the value by negative one. + + + + Converts the string representation of a number to its equivalent. + + The string representation of the number to convert. + + The equivalent to the number contained in . + + + + + Converts the value of the specified to the equivalent 8-bit unsigned integer. + + The number to convert. + A 8-bit unsigned integer equivalent to . + + + + Converts the value of the specified to the equivalent . + + The number to convert. + A equivalent to . + + + + Converts the value of the specified to the equivalent . + + The number to convert. + A equivalent to . + + + + Converts the value of the specified to the equivalent 16-bit signed integer. + + The number to convert. + A 16-bit signed integer equivalent to . + + + + Converts the value of the specified to the equivalent 32-bit signed integer. + + The number to convert. + A 32-bit signed integer equivalent to . + + + + Converts the value of the specified to the equivalent 64-bit signed integer. + + The number to convert. + A 64-bit signed integer equivalent to . + + + + Converts the value of the specified to the equivalent 8-bit signed integer. + + The number to convert. + A 8-bit signed integer equivalent to . + + + + Converts the value of the specified to the equivalent . + + The number to convert. + A equivalent to . + + + + Converts the value of the specified to the equivalent 16-bit unsigned integer. + + The number to convert. + A 16-bit unsigned integer equivalent to . + + + + Converts the value of the specified to the equivalent 32-bit unsigned integer. + + The number to convert. + A 32-bit unsigned integer equivalent to . + + + + Converts the value of the specified to the equivalent 64-bit unsigned integer. + + The number to convert. + A 64-bit unsigned integer equivalent to . + + + + Converts the string representation of a number to its equivalent. A return value indicates whether the conversion succeeded or failed. + + The string representation of the number to convert. + When this method returns, contains the number that is equivalent to the numeric value contained in , if the conversion succeeded, or is zero if the conversion failed. The conversion fails if the parameter is null, is not a number in a valid format, or represents a number less than the min value or greater than the max value. This parameter is passed uninitialized. + + true if was converted successfully; otherwise, false. + + + + + Initializes a new instance of the struct. + + The value. + + + + Initializes a new instance of the struct. + + The value. + + + + Initializes a new instance of the struct. + + The value. + + + + Initializes a new instance of the struct. + + The value. + + + + Initializes a new instance of the struct. + + The value. + + + + Initializes a new instance of the struct. + + The value. + + + + Initializes a new instance of the struct. + + The value. + + + + + + + + + + + + + + + + Gets the high order 64 bits of the binary representation of this instance. + + The high order 64 bits of the binary representation of this instance. + + + + Gets the low order 64 bits of the binary representation of this instance. + + The low order 64 bits of the binary representation of this instance. + + + + + + + A static class containing methods to convert to and from Guids and byte arrays in various byte orders. + + + + + Converts a byte array to a Guid. + + The byte array. + The representation of the Guid in the byte array. + A Guid. + + + + Converts a Guid to a byte array. + + The Guid. + The representation of the Guid in the byte array. + A byte array. + + + + Represents the representation to use when converting a Guid to a BSON binary value. + + + + + The representation for Guids is unspecified, so conversion between Guids and Bson binary data is not possible. + + + + + Use the new standard representation for Guids (binary subtype 4 with bytes in network byte order). + + + + + Use the representation used by older versions of the C# driver (including most community provided C# drivers). + + + + + Use the representation used by older versions of the Java driver. + + + + + Use the representation used by older versions of the Python driver. + + + + + An interface implemented by objects that convert themselves to a BsonDocument. + + + + + Converts this object to a BsonDocument. + + A BsonDocument. + + + + An interface for custom mappers that map an object to a BsonValue. + + + + + Tries to map an object to a BsonValue. + + An object. + The BsonValue. + True if the mapping was successfull. + + + + Represents a BSON array that is deserialized lazily. + + + + + Initializes a new instance of the class. + + The slice. + slice + LazyBsonArray cannot be used with an IByteBuffer that needs disposing. + + + + Gets the slice. + + + The slice. + + + + + Creates a shallow clone of the array (see also DeepClone). + + A shallow clone of the array. + + + + Creates a deep clone of the array (see also Clone). + + A deep clone of the array. + + + + Releases unmanaged and - optionally - managed resources. + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Materializes the BsonArray. + + + The materialized values. + + + + + Informs subclasses that the Materialize process completed so they can free any resources related to the unmaterialized state. + + + + + Represents a BSON document that is deserialized lazily. + + + + + Initializes a new instance of the class. + + The slice. + slice + LazyBsonDocument cannot be used with an IByteBuffer that needs disposing. + + + + Initializes a new instance of the class. + + The bytes. + + + + Gets the slice. + + + The slice. + + + + + Creates a shallow clone of the document (see also DeepClone). + + + A shallow clone of the document. + + + + + Creates a deep clone of the document (see also Clone). + + + A deep clone of the document. + + + + + Releases unmanaged and - optionally - managed resources. + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Materializes the BsonDocument. + + The materialized elements. + + + + Informs subclasses that the Materialize process completed so they can free any resources related to the unmaterialized state. + + + + + Represents a BSON array that is not materialized until you start using it. + + + + + Initializes a new instance of the class. + + + + + Gets or sets the total number of elements the internal data structure can hold without resizing. + + + + + Gets the count of array elements. + + + + + Gets a value indicating whether this instance is disposed. + + + true if this instance is disposed; otherwise, false. + + + + + Gets a value indicating whether this instance is materialized. + + + true if this instance is materialized; otherwise, false. + + + + + Gets the array elements as raw values (see BsonValue.RawValue). + + + + + Gets the array elements. + + + + + Gets or sets a value by position. + + The position. + The value. + + + + Adds an element to the array. + + The value to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Clears the array. + + + + + Creates a shallow clone of the array (see also DeepClone). + + + A shallow clone of the array. + + + + + Compares the array to another array. + + The other array. + A 32-bit signed integer that indicates whether this array is less than, equal to, or greather than the other. + + + + Compares the array to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this array is less than, equal to, or greather than the other BsonValue. + + + + Tests whether the array contains a value. + + The value to test for. + True if the array contains the value. + + + + Copies elements from this array to another array. + + The other array. + The zero based index of the other array at which to start copying. + + + + Copies elements from this array to another array as raw values (see BsonValue.RawValue). + + The other array. + The zero based index of the other array at which to start copying. + + + + Creates a deep clone of the array (see also Clone). + + + A deep clone of the array. + + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + + 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. + + + + + Gets an enumerator that can enumerate the elements of the array. + + An enumerator. + + + + Gets the hash code. + + The hash code. + + + + Gets the index of a value in the array. + + The value to search for. + The zero based index of the value (or -1 if not found). + + + + Gets the index of a value in the array. + + The value to search for. + The zero based index at which to start the search. + The zero based index of the value (or -1 if not found). + + + + Gets the index of a value in the array. + + The value to search for. + The zero based index at which to start the search. + The number of elements to search. + The zero based index of the value (or -1 if not found). + + + + Inserts a new value into the array. + + The zero based index at which to insert the new value. + The new value. + + + + Removes the first occurrence of a value from the array. + + The value to remove. + True if the value was removed. + + + + Removes an element from the array. + + The zero based index of the element to remove. + + + + Converts the BsonArray to an array of BsonValues. + + An array of BsonValues. + + + + Converts the BsonArray to a list of BsonValues. + + A list of BsonValues. + + + + Returns a string representation of the array. + + A string representation of the array. + + + + Releases unmanaged and - optionally - managed resources. + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Materializes the BsonArray. + + The materialized elements. + + + + Informs subclasses that the Materialize process completed so they can free any resources related to the unmaterialized state. + + + + + Throws if disposed. + + + + + + Represents a BSON document that is not materialized until you start using it. + + + + + Initializes a new instance of the class. + + + + + Gets the number of elements. + + + + + Gets the elements. + + + + + Gets a value indicating whether this instance is disposed. + + + true if this instance is disposed; otherwise, false. + + + + + Gets a value indicating whether this instance is materialized. + + + true if this instance is materialized; otherwise, false. + + + + + Gets the element names. + + + + + Gets the raw values (see BsonValue.RawValue). + + + + + Gets the values. + + + + + Gets or sets a value by position. + + The position. + The value. + + + + Gets the value of an element or a default value if the element is not found. + + The name of the element. + The default value to return if the element is not found. + Teh value of the element or a default value if the element is not found. + + + + Gets or sets a value by name. + + The name. + The value. + + + + Adds an element to the document. + + The element to add. + + The document (so method calls can be chained). + + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + Which keys of the hash table to add. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + Which keys of the hash table to add. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + Which keys of the hash table to add. + The document (so method calls can be chained). + + + + Adds a list of elements to the document. + + The list of elements. + The document (so method calls can be chained). + + + + Adds a list of elements to the document. + + The list of elements. + The document (so method calls can be chained). + + + + Creates and adds an element to the document. + + The name of the element. + The value of the element. + + The document (so method calls can be chained). + + + + + Creates and adds an element to the document, but only if the condition is true. + + The name of the element. + The value of the element. + Whether to add the element to the document. + The document (so method calls can be chained). + + + + Creates and adds an element to the document, but only if the condition is true. + If the condition is false the value factory is not called at all. + + The name of the element. + A delegate called to compute the value of the element if condition is true. + Whether to add the element to the document. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + + The document (so method calls can be chained). + + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + + The document (so method calls can be chained). + + + + + Adds a list of elements to the document. + + The list of elements. + + The document (so method calls can be chained). + + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + + The document (so method calls can be chained). + + + + + Clears the document (removes all elements). + + + + + Creates a shallow clone of the document (see also DeepClone). + + + A shallow clone of the document. + + + + + Compares this document to another document. + + The other document. + + A 32-bit signed integer that indicates whether this document is less than, equal to, or greather than the other. + + + + + Compares the BsonDocument to another BsonValue. + + The other BsonValue. + A 32-bit signed integer that indicates whether this BsonDocument is less than, equal to, or greather than the other BsonValue. + + + + Tests whether the document contains an element with the specified name. + + The name of the element to look for. + + True if the document contains an element with the specified name. + + + + + Tests whether the document contains an element with the specified value. + + The value of the element to look for. + + True if the document contains an element with the specified value. + + + + + Creates a deep clone of the document (see also Clone). + + + A deep clone of the document. + + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + + 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. + + + + + Gets an element of this document. + + The zero based index of the element. + + The element. + + + + + Gets an element of this document. + + The name of the element. + + A BsonElement. + + + + + Gets an enumerator that can be used to enumerate the elements of this document. + + + An enumerator. + + + + + Returns a hash code for this instance. + + + A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. + + + + + Gets the value of an element. + + The zero based index of the element. + + The value of the element. + + + + + Gets the value of an element. + + The name of the element. + + The value of the element. + + + + + Gets the value of an element or a default value if the element is not found. + + The name of the element. + The default value returned if the element is not found. + + The value of the element or the default value if the element is not found. + + + + + Inserts a new element at a specified position. + + The position of the new element. + The element. + + + + Merges another document into this one. Existing elements are not overwritten. + + The other document. + + The document (so method calls can be chained). + + + + + Merges another document into this one, specifying whether existing elements are overwritten. + + The other document. + Whether to overwrite existing elements. + + The document (so method calls can be chained). + + + + + Removes an element from this document (if duplicate element names are allowed + then all elements with this name will be removed). + + The name of the element to remove. + + + + Removes an element from this document. + + The zero based index of the element to remove. + + + + Removes an element from this document. + + The element to remove. + + + + Sets the value of an element. + + The zero based index of the element whose value is to be set. + The new value. + + The document (so method calls can be chained). + + + + + Sets the value of an element (an element will be added if no element with this name is found). + + The name of the element whose value is to be set. + The new value. + + The document (so method calls can be chained). + + + + + Sets an element of the document (replaces any existing element with the same name or adds a new element if an element with the same name is not found). + + The new element. + + The document. + + + + + Sets an element of the document (replacing the existing element at that position). + + The zero based index of the element to replace. + The new element. + + The document. + + + + + Tries to get an element of this document. + + The name of the element. + The element. + + True if an element with that name was found. + + + + + Tries to get the value of an element of this document. + + The name of the element. + The value of the element. + + True if an element with that name was found. + + + + + Releases unmanaged and - optionally - managed resources. + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Materializes the BsonDocument. + + The materialized elements. + + + + Informs subclasses that the Materialize process completed so they can free any resources related to the unmaterialized state. + + + + + Throws if disposed. + + + + + + Represents an ObjectId (see also BsonObjectId). + + + + + Initializes a new instance of the ObjectId class. + + The bytes. + + + + Initializes a new instance of the ObjectId class. + + The bytes. + The index into the byte array where the ObjectId starts. + + + + Initializes a new instance of the ObjectId class. + + The timestamp (expressed as a DateTime). + The machine hash. + The PID. + The increment. + + + + Initializes a new instance of the ObjectId class. + + The timestamp. + The machine hash. + The PID. + The increment. + + + + Initializes a new instance of the ObjectId class. + + The value. + + + + Gets an instance of ObjectId where the value is empty. + + + + + Gets the timestamp. + + + + + Gets the machine. + + + + + Gets the PID. + + + + + Gets the increment. + + + + + Gets the creation time (derived from the timestamp). + + + + + Compares two ObjectIds. + + The first ObjectId. + The other ObjectId + True if the first ObjectId is less than the second ObjectId. + + + + Compares two ObjectIds. + + The first ObjectId. + The other ObjectId + True if the first ObjectId is less than or equal to the second ObjectId. + + + + Compares two ObjectIds. + + The first ObjectId. + The other ObjectId. + True if the two ObjectIds are equal. + + + + Compares two ObjectIds. + + The first ObjectId. + The other ObjectId. + True if the two ObjectIds are not equal. + + + + Compares two ObjectIds. + + The first ObjectId. + The other ObjectId + True if the first ObjectId is greather than or equal to the second ObjectId. + + + + Compares two ObjectIds. + + The first ObjectId. + The other ObjectId + True if the first ObjectId is greather than the second ObjectId. + + + + Generates a new ObjectId with a unique value. + + An ObjectId. + + + + Generates a new ObjectId with a unique value (with the timestamp component based on a given DateTime). + + The timestamp component (expressed as a DateTime). + An ObjectId. + + + + Generates a new ObjectId with a unique value (with the given timestamp). + + The timestamp component. + An ObjectId. + + + + Packs the components of an ObjectId into a byte array. + + The timestamp. + The machine hash. + The PID. + The increment. + A byte array. + + + + Parses a string and creates a new ObjectId. + + The string value. + A ObjectId. + + + + Tries to parse a string and create a new ObjectId. + + The string value. + The new ObjectId. + True if the string was parsed successfully. + + + + Unpacks a byte array into the components of an ObjectId. + + A byte array. + The timestamp. + The machine hash. + The PID. + The increment. + + + + Gets the current process id. This method exists because of how CAS operates on the call stack, checking + for permissions before executing the method. Hence, if we inlined this call, the calling method would not execute + before throwing an exception requiring the try/catch at an even higher level that we don't necessarily control. + + + + + Compares this ObjectId to another ObjectId. + + The other ObjectId. + A 32-bit signed integer that indicates whether this ObjectId is less than, equal to, or greather than the other. + + + + Compares this ObjectId to another ObjectId. + + The other ObjectId. + True if the two ObjectIds are equal. + + + + Compares this ObjectId to another object. + + The other object. + True if the other object is an ObjectId and equal to this one. + + + + Gets the hash code. + + The hash code. + + + + Converts the ObjectId to a byte array. + + A byte array. + + + + Converts the ObjectId to a byte array. + + The destination. + The offset. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Represents an immutable BSON array that is represented using only the raw bytes. + + + + + Initializes a new instance of the class. + + The slice. + slice + RawBsonArray cannot be used with an IByteBuffer that needs disposing. + + + + Gets or sets the total number of elements the internal data structure can hold without resizing. + + + + + Gets the count of array elements. + + + + + Gets whether the array is read-only. + + + + + Gets the array elements as raw values (see BsonValue.RawValue). + + + + + Gets the slice. + + + The slice. + + + + + Gets the array elements. + + + + + Gets or sets a value by position. + + The position. + The value. + + + + Adds an element to the array. + + The value to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Adds multiple elements to the array. + + A list of values to add to the array. + The array (so method calls can be chained). + + + + Creates a shallow clone of the array (see also DeepClone). + + A shallow clone of the array. + + + + Clears the array. + + + + + Tests whether the array contains a value. + + The value to test for. + True if the array contains the value. + + + + Copies elements from this array to another array. + + The other array. + The zero based index of the other array at which to start copying. + + + + Copies elements from this array to another array as raw values (see BsonValue.RawValue). + + The other array. + The zero based index of the other array at which to start copying. + + + + Creates a deep clone of the array (see also Clone). + + A deep clone of the array. + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + + Gets an enumerator that can enumerate the elements of the array. + + An enumerator. + + + + Gets the index of a value in the array. + + The value to search for. + The zero based index of the value (or -1 if not found). + + + + Gets the index of a value in the array. + + The value to search for. + The zero based index at which to start the search. + The zero based index of the value (or -1 if not found). + + + + Gets the index of a value in the array. + + The value to search for. + The zero based index at which to start the search. + The number of elements to search. + The zero based index of the value (or -1 if not found). + + + + Inserts a new value into the array. + + The zero based index at which to insert the new value. + The new value. + + + + Removes the first occurrence of a value from the array. + + The value to remove. + True if the value was removed. + + + + Removes an element from the array. + + The zero based index of the element to remove. + + + + Converts the BsonArray to an array of BsonValues. + + An array of BsonValues. + + + + Converts the BsonArray to a list of BsonValues. + + A list of BsonValues. + + + + Returns a string representation of the array. + + A string representation of the array. + + + + Releases unmanaged and - optionally - managed resources. + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Throws if disposed. + + + + + + Represents an immutable BSON document that is represented using only the raw bytes. + + + + + Initializes a new instance of the class. + + The slice. + slice + RawBsonDocument cannot be used with an IByteBuffer that needs disposing. + + + + Initializes a new instance of the class. + + The bytes. + + + + Gets the number of elements. + + + + + Gets the elements. + + + + + Gets the element names. + + + + + Gets the raw values (see BsonValue.RawValue). + + + + + Gets the slice. + + + The slice. + + + + + Gets the values. + + + + + Gets or sets a value by position. + + The position. + The value. + + + + Gets the value of an element or a default value if the element is not found. + + The name of the element. + The default value to return if the element is not found. + Teh value of the element or a default value if the element is not found. + + + + Gets or sets a value by name. + + The name. + The value. + + + + Adds an element to the document. + + The element to add. + + The document (so method calls can be chained). + + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + Which keys of the hash table to add. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + Which keys of the hash table to add. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + Which keys of the hash table to add. + The document (so method calls can be chained). + + + + Adds a list of elements to the document. + + The list of elements. + The document (so method calls can be chained). + + + + Adds a list of elements to the document. + + The list of elements. + The document (so method calls can be chained). + + + + Creates and adds an element to the document. + + The name of the element. + The value of the element. + + The document (so method calls can be chained). + + + + + Creates and adds an element to the document, but only if the condition is true. + + The name of the element. + The value of the element. + Whether to add the element to the document. + The document (so method calls can be chained). + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + + The document (so method calls can be chained). + + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + + The document (so method calls can be chained). + + + + + Adds a list of elements to the document. + + The list of elements. + + The document (so method calls can be chained). + + + + + Adds elements to the document from a dictionary of key/value pairs. + + The dictionary. + + The document (so method calls can be chained). + + + + + Clears the document (removes all elements). + + + + + Creates a shallow clone of the document (see also DeepClone). + + + A shallow clone of the document. + + + + + Tests whether the document contains an element with the specified name. + + The name of the element to look for. + + True if the document contains an element with the specified name. + + + + + Tests whether the document contains an element with the specified value. + + The value of the element to look for. + + True if the document contains an element with the specified value. + + + + + Creates a deep clone of the document (see also Clone). + + + A deep clone of the document. + + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + + Gets an element of this document. + + The zero based index of the element. + + The element. + + + + + Gets an element of this document. + + The name of the element. + + A BsonElement. + + + + + Gets an enumerator that can be used to enumerate the elements of this document. + + + An enumerator. + + + + + Gets the value of an element. + + The zero based index of the element. + + The value of the element. + + + + + Gets the value of an element. + + The name of the element. + + The value of the element. + + + + + Gets the value of an element or a default value if the element is not found. + + The name of the element. + The default value returned if the element is not found. + + The value of the element or the default value if the element is not found. + + + + + Inserts a new element at a specified position. + + The position of the new element. + The element. + + + + Materializes the RawBsonDocument into a regular BsonDocument. + + The binary reader settings. + A BsonDocument. + + + + Merges another document into this one. Existing elements are not overwritten. + + The other document. + + The document (so method calls can be chained). + + + + + Merges another document into this one, specifying whether existing elements are overwritten. + + The other document. + Whether to overwrite existing elements. + + The document (so method calls can be chained). + + + + + Removes an element from this document (if duplicate element names are allowed + then all elements with this name will be removed). + + The name of the element to remove. + + + + Removes an element from this document. + + The zero based index of the element to remove. + + + + Removes an element from this document. + + The element to remove. + + + + Sets the value of an element. + + The zero based index of the element whose value is to be set. + The new value. + + The document (so method calls can be chained). + + + + + Sets the value of an element (an element will be added if no element with this name is found). + + The name of the element whose value is to be set. + The new value. + + The document (so method calls can be chained). + + + + + Sets an element of the document (replaces any existing element with the same name or adds a new element if an element with the same name is not found). + + The new element. + + The document. + + + + + Sets an element of the document (replacing the existing element at that position). + + The zero based index of the element to replace. + The new element. + + The document. + + + + + Tries to get an element of this document. + + The name of the element. + The element. + + True if an element with that name was found. + + + + + Tries to get the value of an element of this document. + + The name of the element. + The value of the element. + + True if an element with that name was found. + + + + + Releases unmanaged and - optionally - managed resources. + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Throws if disposed. + + RawBsonDocument + + + + Provides serializers based on an attribute. + + + + + + + + Represents a mapping between a class and a BSON document. + + + + + Initializes a new instance of the BsonClassMap class. + + The class type. + + + + Initializes a new instance of the class. + + Type of the class. + The base class map. + + + + Gets all the member maps (including maps for inherited members). + + + + + Gets the base class map. + + + + + Gets the class type. + + + + + Gets the constructor maps. + + + + + Gets the conventions used for auto mapping. + + + + + Gets the declared member maps (only for members declared in this class). + + + + + Gets the discriminator. + + + + + Gets whether a discriminator is required when serializing this class. + + + + + Gets the member map of the member used to hold extra elements. + + + + + Gets whether this class map has any creator maps. + + + + + Gets whether this class has a root class ancestor. + + + + + Gets the Id member map (null if none). + + + + + Gets whether extra elements should be ignored when deserializing. + + + + + Gets whether the IgnoreExtraElements value should be inherited by derived classes. + + + + + Gets whether this class is anonymous. + + + + + Gets whether the class map is frozen. + + + + + Gets whether this class is a root class. + + + + + Gets the known types of this class. + + + + + Gets the element name to member index trie. + + + + + Gets the member index of the member used to hold extra elements. + + + + + Gets the type of a member. + + The member info. + The type of the member. + + + + Gets all registered class maps. + + All registered class maps. + + + + Checks whether a class map is registered for a type. + + The type to check. + True if there is a class map registered for the type. + + + + Looks up a class map (will AutoMap the class if no class map is registered). + + The class type. + The class map. + + + + Creates and registers a class map. + + The class. + The class map. + + + + Creates and registers a class map. + + The class. + The class map initializer. + The class map. + + + + Registers a class map. + + The class map. + + + + Automaps the class. + + + + + Creates an instance of the class. + + An object. + + + + Freezes the class map. + + The frozen class map. + + + + Gets a member map (only considers members declared in this class). + + The member name. + The member map (or null if the member was not found). + + + + Gets the member map for a BSON element. + + The name of the element. + The member map. + + + + Creates a creator map for a constructor and adds it to the class map. + + The constructor info. + The creator map (so method calls can be chained). + + + + Creates a creator map for a constructor and adds it to the class map. + + The constructor info. + The argument names. + The creator map (so method calls can be chained). + + + + Creates a creator map and adds it to the class. + + The delegate. + The factory method map (so method calls can be chained). + + + + Creates a creator map and adds it to the class. + + The delegate. + The argument names. + The factory method map (so method calls can be chained). + + + + Creates a member map for the extra elements field and adds it to the class map. + + The name of the extra elements field. + The member map (so method calls can be chained). + + + + Creates a member map for the extra elements member and adds it to the class map. + + The member info for the extra elements member. + The member map (so method calls can be chained). + + + + Creates a member map for the extra elements property and adds it to the class map. + + The name of the property. + The member map (so method calls can be chained). + + + + Creates a creator map for a factory method and adds it to the class. + + The method info. + The creator map (so method calls can be chained). + + + + Creates a creator map for a factory method and adds it to the class. + + The method info. + The argument names. + The creator map (so method calls can be chained). + + + + Creates a member map for a field and adds it to the class map. + + The name of the field. + The member map (so method calls can be chained). + + + + Creates a member map for the Id field and adds it to the class map. + + The name of the Id field. + The member map (so method calls can be chained). + + + + Creates a member map for the Id member and adds it to the class map. + + The member info for the Id member. + The member map (so method calls can be chained). + + + + Creates a member map for the Id property and adds it to the class map. + + The name of the Id property. + The member map (so method calls can be chained). + + + + Creates a member map for a member and adds it to the class map. + + The member info. + The member map (so method calls can be chained). + + + + Creates a member map for a property and adds it to the class map. + + The name of the property. + The member map (so method calls can be chained). + + + + Resets the class map back to its initial state. + + + + + Sets the creator for the object. + + The creator. + The class map (so method calls can be chained). + + + + Sets the discriminator. + + The discriminator. + + + + Sets whether a discriminator is required when serializing this class. + + Whether a discriminator is required. + + + + Sets the member map of the member used to hold extra elements. + + The extra elements member map. + + + + Adds a known type to the class map. + + The known type. + + + + Sets the Id member. + + The Id member (null if none). + + + + Sets whether extra elements should be ignored when deserializing. + + Whether extra elements should be ignored when deserializing. + + + + Sets whether the IgnoreExtraElements value should be inherited by derived classes. + + Whether the IgnoreExtraElements value should be inherited by derived classes. + + + + Sets whether this class is a root class. + + Whether this class is a root class. + + + + Removes a creator map for a constructor from the class map. + + The constructor info. + + + + Removes a creator map for a factory method from the class map. + + The method info. + + + + Removes the member map for a field from the class map. + + The name of the field. + + + + Removes a member map from the class map. + + The member info. + + + + Removes the member map for a property from the class map. + + The name of the property. + + + + Gets the discriminator convention for the class. + + The discriminator convention for the class. + + + + Represents a mapping between a class and a BSON document. + + The class. + + + + Initializes a new instance of the BsonClassMap class. + + + + + Initializes a new instance of the BsonClassMap class. + + The class map initializer. + + + + Creates an instance. + + An instance. + + + + Gets a member map. + + The member type. + A lambda expression specifying the member. + The member map. + + + + Creates a creator map and adds it to the class map. + + Lambda expression specifying the creator code and parameters to use. + The member map. + + + + Creates a member map for the extra elements field and adds it to the class map. + + The member type. + A lambda expression specifying the extra elements field. + The member map. + + + + Creates a member map for the extra elements member and adds it to the class map. + + The member type. + A lambda expression specifying the extra elements member. + The member map. + + + + Creates a member map for the extra elements property and adds it to the class map. + + The member type. + A lambda expression specifying the extra elements property. + The member map. + + + + Creates a member map for a field and adds it to the class map. + + The member type. + A lambda expression specifying the field. + The member map. + + + + Creates a member map for the Id field and adds it to the class map. + + The member type. + A lambda expression specifying the Id field. + The member map. + + + + Creates a member map for the Id member and adds it to the class map. + + The member type. + A lambda expression specifying the Id member. + The member map. + + + + Creates a member map for the Id property and adds it to the class map. + + The member type. + A lambda expression specifying the Id property. + The member map. + + + + Creates a member map and adds it to the class map. + + The member type. + A lambda expression specifying the member. + The member map. + + + + Creates a member map for the Id property and adds it to the class map. + + The member type. + A lambda expression specifying the Id property. + The member map. + + + + Removes the member map for a field from the class map. + + The member type. + A lambda expression specifying the field. + + + + Removes a member map from the class map. + + The member type. + A lambda expression specifying the member. + + + + Removes a member map for a property from the class map. + + The member type. + A lambda expression specifying the property. + + + + Represents the class map serialization provider. + + + + + + + + Represents a mapping to a delegate and its arguments. + + + + + Initializes a new instance of the BsonCreatorMap class. + + The class map. + The member info (null if none). + The delegate. + + + + Gets the arguments. + + + + + Gets the class map that this creator map belongs to. + + + + + Gets the delegeate + + + + + Gets the element names. + + + + + Gets the member info (null if none). + + + + + Freezes the creator map. + + + + + Gets whether there is a default value for a missing element. + + The element name. + True if there is a default value for element name; otherwise, false. + + + + Sets the arguments for the creator map. + + The arguments. + The creator map. + + + + Sets the arguments for the creator map. + + The argument names. + The creator map. + + + + Represents args common to all serializers. + + + + + Gets or sets the nominal type. + + + The nominal type. + + + + + Represents all the contextual information needed by a serializer to deserialize a value. + + + + + Gets a value indicating whether to allow duplicate element names. + + + true if duplicate element names shoud be allowed; otherwise, false. + + + + + Gets the dynamic array serializer. + + + The dynamic array serializer. + + + + + Gets the dynamic document serializer. + + + The dynamic document serializer. + + + + + Gets the reader. + + + The reader. + + + + + Creates a root context. + + The reader. + The configurator. + + A root context. + + + + + Creates a new context with some values changed. + + The configurator. + + A new context. + + + + + Represents a builder for a BsonDeserializationContext. + + + + + Gets or sets a value indicating whether to allow duplicate element names. + + + true if duplicate element names should be allowed; otherwise, false. + + + + + Gets or sets the dynamic array serializer. + + + The dynamic array serializer. + + + + + Gets or sets the dynamic document serializer. + + + The dynamic document serializer. + + + + + Gets the reader. + + + The reader. + + + + + Builds the BsonDeserializationContext instance. + + A BsonDeserializationContext. + + + + A class backed by a BsonDocument. + + + + + Initializes a new instance of the class. + + The serializer. + + + + Initializes a new instance of the class. + + The backing document. + The serializer. + + + + Gets the backing document. + + + + + Gets the value from the backing document. + + The type of the value. + The member name. + The value. + + + + Gets the value from the backing document. + + The type of the value. + The member name. + The default value. + The value. + + + + Sets the value in the backing document. + + The member name. + The value. + + + + Represents the mapping between a field or property and a BSON element. + + + + + Initializes a new instance of the BsonMemberMap class. + + The class map this member map belongs to. + The member info. + + + + Gets the class map that this member map belongs to. + + + + + Gets the name of the member. + + + + + Gets the type of the member. + + + + + Gets whether the member type is a BsonValue. + + + + + Gets the name of the element. + + + + + Gets the serialization order. + + + + + Gets the member info. + + + + + Gets the getter function. + + + + + Gets the setter function. + + + + + Gets the Id generator. + + + + + Gets whether a default value was specified. + + + + + Gets whether an element is required for this member when deserialized. + + + + + Gets the method that will be called to determine whether the member should be serialized. + + + + + Gets whether default values should be ignored when serialized. + + + + + Gets whether null values should be ignored when serialized. + + + + + Gets the default value. + + + + + Gets whether the member is readonly. + + + Readonly indicates that the member is written to the database, but not read from the database. + + + + + Applies the default value to the member of an object. + + The object. + + + + Freezes this instance. + + + + + Gets the serializer. + + The serializer. + + + + Resets the member map back to its initial state. + + The member map. + + + + Sets the default value creator. + + The default value creator (note: the supplied delegate must be thread safe). + The member map. + + + + Sets the default value. + + The default value. + The member map. + + + + Sets the name of the element. + + The name of the element. + The member map. + + + + Sets the Id generator. + + The Id generator. + The member map. + + + + Sets whether default values should be ignored when serialized. + + Whether default values should be ignored when serialized. + The member map. + + + + Sets whether null values should be ignored when serialized. + + Wether null values should be ignored when serialized. + The member map. + + + + Sets whether an element is required for this member when deserialized + + Whether an element is required for this member when deserialized + The member map. + + + + Sets the serialization order. + + The serialization order. + The member map. + + + + Sets the serializer. + + The serializer. + + The member map. + + serializer + serializer + + + + Sets the method that will be called to determine whether the member should be serialized. + + The method. + The member map. + + + + Determines whether a value should be serialized + + The object. + The value. + True if the value should be serialized. + + + + Provides serializers for BsonValue and its derivations. + + + + + + + + Represents args common to all serializers. + + + + + Initializes a new instance of the struct. + + The nominal type. + Whether to serialize as the nominal type. + Whether to serialize the id first. + + + + Gets or sets the nominal type. + + + The nominal type. + + + + + Gets or sets a value indicating whether to serialize the value as if it were an instance of the nominal type. + + + + + Gets or sets a value indicating whether to serialize the id first. + + + + + Represents all the contextual information needed by a serializer to serialize a value. + + + + + Gets a function that, when executed, will indicate whether the type + is a dynamic type. + + + + + Gets the writer. + + + The writer. + + + + + Creates a root context. + + The writer. + The serialization context configurator. + + A root context. + + + + + Creates a new context with some values changed. + + The serialization context configurator. + + A new context. + + + + + Represents a builder for a BsonSerializationContext. + + + + + Gets or sets the function used to determine if a type is a dynamic type. + + + + + Gets the writer. + + + The writer. + + + + + Builds the BsonSerializationContext instance. + + A BsonSerializationContext. + + + + Represents the information needed to serialize a member. + + + + + Initializes a new instance of the BsonSerializationInfo class. + + The element name. + The serializer. + The nominal type. + + + + Gets or sets the dotted element name. + + + + + Gets or sets the serializer. + + + + + Gets or sets the nominal type. + + + + + Deserializes the value. + + The value. + A deserialized value. + + + + Merges the new BsonSerializationInfo by taking its properties and concatenating its ElementName. + + The new info. + A new BsonSerializationInfo. + + + + Serializes the value. + + The value. + The serialized value. + + + + Serializes the values. + + The values. + The serialized values. + + + + Creates a new BsonSerializationInfo object using the elementName provided and copying all other attributes. + + Name of the element. + A new BsonSerializationInfo. + + + + Base class for serialization providers. + + + + + + + + + + + Creates the serializer from a serializer type definition and type arguments. + + The serializer type definition. + The type arguments. + A serializer. + + + + Creates the serializer from a serializer type definition and type arguments. + + The serializer type definition. + The type arguments. + The serializer registry. + + A serializer. + + + + + Creates the serializer. + + The serializer type. + A serializer. + + + + Creates the serializer. + + The serializer type. + The serializer registry. + + A serializer. + + + + + A static class that represents the BSON serialization functionality. + + + + + Gets the serializer registry. + + + + + Gets or sets whether to use the NullIdChecker on reference Id types that don't have an IdGenerator registered. + + + + + Gets or sets whether to use the ZeroIdChecker on value Id types that don't have an IdGenerator registered. + + + + + Deserializes an object from a BsonDocument. + + The nominal type of the object. + The BsonDocument. + The configurator. + A deserialized value. + + + + Deserializes a value. + + The nominal type of the object. + The BsonReader. + The configurator. + A deserialized value. + + + + Deserializes an object from a BSON byte array. + + The nominal type of the object. + The BSON byte array. + The configurator. + A deserialized value. + + + + Deserializes an object from a BSON Stream. + + The nominal type of the object. + The BSON Stream. + The configurator. + A deserialized value. + + + + Deserializes an object from a JSON string. + + The nominal type of the object. + The JSON string. + The configurator. + A deserialized value. + + + + Deserializes an object from a JSON TextReader. + + The nominal type of the object. + The JSON TextReader. + The configurator. + A deserialized value. + + + + Deserializes an object from a BsonDocument. + + The BsonDocument. + The nominal type of the object. + The configurator. + A deserialized value. + + + + Deserializes a value. + + The BsonReader. + The nominal type of the object. + The configurator. + A deserialized value. + + + + Deserializes an object from a BSON byte array. + + The BSON byte array. + The nominal type of the object. + The configurator. + A deserialized value. + + + + Deserializes an object from a BSON Stream. + + The BSON Stream. + The nominal type of the object. + The configurator. + A deserialized value. + + + + Deserializes an object from a JSON string. + + The JSON string. + The nominal type of the object. + The configurator. + A deserialized value. + + + + Deserializes an object from a JSON TextReader. + + The JSON TextReader. + The nominal type of the object. + The configurator. + A deserialized value. + + + + Returns whether the given type has any discriminators registered for any of its subclasses. + + A Type. + True if the type is discriminated. + + + + Looks up the actual type of an object to be deserialized. + + The nominal type of the object. + The discriminator. + The actual type of the object. + + + + Looks up the discriminator convention for a type. + + The type. + A discriminator convention. + + + + Looks up an IdGenerator. + + The Id type. + An IdGenerator for the Id type. + + + + Looks up a serializer for a Type. + + The type. + A serializer for type T. + + + + Looks up a serializer for a Type. + + The Type. + A serializer for the Type. + + + + Registers the discriminator for a type. + + The type. + The discriminator. + + + + Registers the discriminator convention for a type. + + Type type. + The discriminator convention. + + + + Registers a generic serializer definition for a generic type. + + The generic type. + The generic serializer definition. + + + + Registers an IdGenerator for an Id Type. + + The Id Type. + The IdGenerator for the Id Type. + + + + Registers a serialization provider. + + The serialization provider. + + + + Registers a serializer for a type. + + The type. + The serializer. + + + + Registers a serializer for a type. + + The type. + The serializer. + + + + Serializes a value. + + The nominal type of the object. + The BsonWriter. + The object. + The serialization context configurator. + The serialization args. + + + + Serializes a value. + + The BsonWriter. + The nominal type of the object. + The object. + The serialization context configurator. + The serialization args. + + + + Default, global implementation of an . + + + + + Initializes a new instance of the class. + + + + + Gets the serializer for the specified . + + The type. + + The serializer. + + + + + Gets the serializer for the specified . + + + + The serializer. + + + + + Registers the serializer. + + The type. + The serializer. + + + + Registers the serialization provider. This behaves like a stack, so the + last provider registered is the first provider consulted. + + The serialization provider. + + + + Provides serializers for collections. + + + + + + + + A helper class used to create and compile delegates for creator maps. + + + + + Creates and compiles a delegate that calls a constructor. + + The constructor. + A delegate that calls the constructor. + + + + Creates and compiles a delegate from a lambda expression. + + The type of the class. + The lambda expression. + The arguments for the delegate's parameters. + A delegate. + + + + Creates and compiles a delegate that calls a factory method. + + the method. + A delegate that calls the factory method. + + + + Visits a MemberExpression. + + The MemberExpression. + The MemberExpression (possibly modified). + + + + Visits a ParameterExpression. + + The ParameterExpression. + The ParameterExpression (possibly modified). + + + + Provides a serializer for interfaces. + + + + + + + + An abstract base class for an Expression visitor. + + + + + Initializes a new instance of the ExpressionVisitor class. + + + + + Visits an Expression. + + The Expression. + The Expression (posibly modified). + + + + Visits an Expression list. + + The Expression list. + The Expression list (possibly modified). + + + + Visits a BinaryExpression. + + The BinaryExpression. + The BinaryExpression (possibly modified). + + + + Visits a ConditionalExpression. + + The ConditionalExpression. + The ConditionalExpression (possibly modified). + + + + Visits a ConstantExpression. + + The ConstantExpression. + The ConstantExpression (possibly modified). + + + + Visits an ElementInit. + + The ElementInit. + The ElementInit (possibly modified). + + + + Visits an ElementInit list. + + The ElementInit list. + The ElementInit list (possibly modified). + + + + Visits an InvocationExpression. + + The InvocationExpression. + The InvocationExpression (possibly modified). + + + + Visits a LambdaExpression. + + The LambdaExpression. + The LambdaExpression (possibly modified). + + + + Visits a ListInitExpression. + + The ListInitExpression. + The ListInitExpression (possibly modified). + + + + Visits a MemberExpression. + + The MemberExpression. + The MemberExpression (possibly modified). + + + + Visits a MemberAssignment. + + The MemberAssignment. + The MemberAssignment (possibly modified). + + + + Visits a MemberBinding. + + The MemberBinding. + The MemberBinding (possibly modified). + + + + Visits a MemberBinding list. + + The MemberBinding list. + The MemberBinding list (possibly modified). + + + + Visits a MemberInitExpression. + + The MemberInitExpression. + The MemberInitExpression (possibly modified). + + + + Visits a MemberListBinding. + + The MemberListBinding. + The MemberListBinding (possibly modified). + + + + Visits a MemberMemberBinding. + + The MemberMemberBinding. + The MemberMemberBinding (possibly modified). + + + + Visits a MethodCallExpression. + + The MethodCallExpression. + The MethodCallExpression (possibly modified). + + + + Visits a NewExpression. + + The NewExpression. + The NewExpression (possibly modified). + + + + Visits a NewArrayExpression. + + The NewArrayExpression. + The NewArrayExpression (possibly modified). + + + + Visits a ParameterExpression. + + The ParameterExpression. + The ParameterExpression (possibly modified). + + + + Visits a TypeBinaryExpression. + + The TypeBinaryExpression. + The TypeBinaryExpression (possibly modified). + + + + Visits a UnaryExpression. + + The UnaryExpression. + The UnaryExpression (possibly modified). + + + + Contract for serializers to implement if they serialize an array of items. + + + + + Tries to get the serialization info for the individual items of the array. + + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Represents a dictionary serializer that can be used in LINQ queries. + + + + + Gets the dictionary representation. + + + The dictionary representation. + + + + + Gets the key serializer. + + + The key serializer. + + + + + Gets the value serializer. + + + The value serializer. + + + + + Contract for composite serializers that contain a number of named serializers. + + + + + Tries to get the serialization info for a member. + + Name of the member. + The serialization information. + true if the serialization info exists; otherwise false. + + + + Contract for serializers that can get and set Id values. + + + + + Gets the document Id. + + The document. + The Id. + The nominal type of the Id. + The IdGenerator for the Id type. + True if the document has an Id. + + + + Sets the document Id. + + The document. + The Id. + + + + An interface implemented by a polymorphic serializer. + + + + + Gets a value indicating whether this serializer's discriminator is compatible with the object serializer. + + + true if this serializer's discriminator is compatible with the object serializer; otherwise, false. + + + + + An interface implemented by serialization providers. + + + + + Gets a serializer for a type. + + The type. + A serializer. + + + + An interface implemented by serialization providers that are aware of registries. + + + This interface was added to preserve backward compatability (changing IBsonSerializationProvider would have been a backward breaking change). + + + + + Gets a serializer for a type. + + The type. + The serializer registry. + + A serializer. + + + + + An interface implemented by a serializer. + + + + + Gets the type of the value. + + + The type of the value. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + An interface implemented by a serializer for values of type TValue. + + The type that this serializer knows how to serialize. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Extensions methods for IBsonSerializer. + + + + + Deserializes a value. + + The serializer. + The deserialization context. + A deserialized value. + + + + Deserializes a value. + + The type that this serializer knows how to serialize. + The serializer. + The deserialization context. + A deserialized value. + + + + Serializes a value. + + The serializer. + The serialization context. + The value. + + + + Serializes a value. + + The type that this serializer knows how to serialize. + The serializer. + The serialization context. + The value. + + + + Converts a value to a BsonValue by serializing it. + + The serializer. + The value. + The serialized value. + + + + Converts a value to a BsonValue by serializing it. + + The type of the value. + The serializer. + The value. + The serialized value. + + + + A serializer registry. + + + + + Gets the serializer for the specified . + + The type. + The serializer. + + + + Gets the serializer for the specified . + + + The serializer. + + + + Represents a serializer that has a child serializer that configuration attributes can be forwarded to. + + + + + Gets the child serializer. + + + The child serializer. + + + + + Returns a serializer that has been reconfigured with the specified child serializer. + + The child serializer. + The reconfigured serializer. + + + + Represents a serializer that has a DictionaryRepresentation property. + + + + + Gets the dictionary representation. + + + The dictionary representation. + + + + + Returns a serializer that has been reconfigured with the specified dictionary representation. + + The dictionary representation. + The reconfigured serializer. + + + + Represents a serializer that has a DictionaryRepresentation property. + + The type of the serializer. + + + + Returns a serializer that has been reconfigured with the specified dictionary representation. + + The dictionary representation. + The reconfigured serializer. + + + + An interface implemented by Id generators. + + + + + Generates an Id for a document. + + The container of the document (will be a MongoCollection when called from the C# driver). + The document. + An Id. + + + + Tests whether an Id is empty. + + The Id. + True if the Id is empty. + + + + Represents a serializer that has a Representation property. + + + + + Gets the representation. + + + The representation. + + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer that has a Representation property. + + The type of the serializer. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer that has a representation converter. + + + + + Gets the converter. + + + The converter. + + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The converter. + The reconfigured serializer. + + + + Represents a serializer that has a representation converter. + + The type of the serializer. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The converter. + The reconfigured serializer. + + + + Provides serializers for primitive types. + + + + + + + + Represents a serialization provider based on a mapping from value types to serializer types. + + + + + Initializes a new instance of the class. + + + + + + + + Registers the serializer mapping. + + The type. + Type of the serializer. + + + + Supports using type names as discriminators. + + + + + Resolves a type name discriminator. + + The type name. + The type if type type name can be resolved; otherwise, null. + + + + Gets a type name to be used as a discriminator (like AssemblyQualifiedName but shortened for common DLLs). + + The type. + The type name. + + + + Specifies that this constructor should be used for creator-based deserialization. + + + + + Initializes a new instance of the BsonConstructorAttribute class. + + + + + Initializes a new instance of the BsonConstructorAttribute class. + + The names of the members that the creator argument values come from. + + + + Gets the names of the members that the creator arguments values come from. + + + + + Applies a modification to the creator map. + + The creator map. + + + + Specifies serialization options for a DateTime field or property. + + + + + Initializes a new instance of the BsonDateTimeOptionsAttribute class. + + + + + Gets or sets whether the DateTime consists of a Date only. + + + + + Gets or sets the DateTimeKind (Local, Unspecified or Utc). + + + + + Gets or sets the external representation. + + + + + Reconfigures the specified serializer by applying this attribute to it. + + The serializer. + A reconfigured serializer. + + + + Specifies the default value for a field or property. + + + + + Initializes a new instance of the BsonDefaultValueAttribute class. + + The default value. + + + + Gets the default value. + + + + + Gets or sets whether to serialize the default value. + + + + + Applies a modification to the member map. + + The member map. + + + + Specifies serialization options for a Dictionary field or property. + + + + + Initializes a new instance of the BsonDictionaryOptionsAttribute class. + + + + + Initializes a new instance of the BsonDictionaryOptionsAttribute class. + + The representation to use for the Dictionary. + + + + Gets or sets the external representation. + + + + + Reconfigures the specified serializer by applying this attribute to it. + + The serializer. + A reconfigured serializer. + + + + Specifies the discriminator and related options for a class. + + + + + Initializes a new instance of the BsonDiscriminatorAttribute class. + + + + + Initializes a new instance of the BsonDiscriminatorAttribute class. + + The discriminator. + + + + Gets the discriminator. + + + + + Gets or sets whether the discriminator is required. + + + + + Gets or sets whether this is a root class. + + + + + Applies a modification to the class map. + + The class map. + + + + Specifies the element name and related options for a field or property. + + + + + Initializes a new instance of the BsonElementAttribute class. + + + + + Initializes a new instance of the BsonElementAttribute class. + + The name of the element. + + + + Gets the element name. + + + + + Gets the element serialization order. + + + + + Applies a modification to the member map. + + The member map. + + + + Indicates that this property or field will be used to hold any extra elements found during deserialization. + + + + + Applies a modification to the member map. + + The member map. + + + + Specifies that this factory method should be used for creator-based deserialization. + + + + + Initializes a new instance of the BsonFactoryMethodAttribute class. + + + + + Initializes a new instance of the BsonFactoryMethodAttribute class. + + The names of the members that the creator argument values come from. + + + + Gets the names of the members that the creator arguments values come from. + + + + + Applies a modification to the creator map. + + The creator map. + + + + Specifies that this is the Id field or property. + + + + + Initializes a new instance of the BsonIdAttribute class. + + + + + Gets or sets the Id generator for the Id. + + + + + Gets or sets the Id element serialization order. + + + + + Applies a modification to the member map. + + The member map. + + + + Indicates that this field or property should be ignored when this class is serialized. + + + + + Specifies whether extra elements should be ignored when this class is deserialized. + + + + + Initializes a new instance of the BsonIgnoreExtraElementsAttribute class. + + + + + Initializes a new instance of the BsonIgnoreExtraElementsAttribute class. + + Whether extra elements should be ignored when this class is deserialized. + + + + Gets whether extra elements should be ignored when this class is deserialized. + + + + + Gets whether extra elements should also be ignored when any class derived from this one is deserialized. + + + + + Applies a modification to the class map. + + The class map. + + + + Indicates whether a field or property equal to the default value should be ignored when serializing this class. + + + + + Initializes a new instance of the BsonIgnoreIfDefaultAttribute class. + + + + + Initializes a new instance of the BsonIgnoreIfDefaultAttribute class. + + Whether a field or property equal to the default value should be ignored when serializing this class. + + + + Gets whether a field or property equal to the default value should be ignored when serializing this class. + + + + + Applies a modification to the member map. + + The member map. + + + + Indicates whether a field or property equal to null should be ignored when serializing this class. + + + + + Initializes a new instance of the BsonIgnoreIfNullAttribute class. + + + + + Initializes a new instance of the BsonIgnoreIfNullAttribute class. + + Whether a field or property equal to null should be ignored when serializing this class. + + + + Gets whether a field or property equal to null should be ignored when serializing this class. + + + + + Applies a modification to the member map. + + The member map. + + + + Specifies the known types for this class (the derived classes). + + + + + Initializes a new instance of the BsonKnownTypesAttribute class. + + One or more known types. + + + + Initializes a new instance of the BsonKnownTypesAttribute class. + + A known types. + + + + Gets a list of the known types. + + + + + Applies a modification to the class map. + + The class map. + + + + Specifies that the class's IdMember should be null. + + + + + Applies the post processing attribute to the class map. + + The class map. + + + + Specifies the external representation and related options for this field or property. + + + + + Initializes a new instance of the BsonRepresentationAttribute class. + + The external representation. + + + + Gets the external representation. + + + + + Gets or sets whether to allow overflow. + + + + + Gets or sets whether to allow truncation. + + + + + Reconfigures the specified serializer by applying this attribute to it. + + The serializer. + A reconfigured serializer. + + + + Indicates that a field or property is required. + + + + + Applies a modification to the member map. + + The member map. + + + + Abstract base class for serialization options attributes. + + + + + Initializes a new instance of the BsonSerializationOptionsAttribute class. + + + + + Applies a modification to the member map. + + The member map. + + + + Reconfigures the specified serializer by applying this attribute to it. + + The serializer. + A reconfigured serializer. + + + + + Specifies the type of the serializer to use for a class. + + + + + Initializes a new instance of the BsonSerializerAttribute class. + + + + + Initializes a new instance of the BsonSerializerAttribute class. + + The type of the serializer to use for a class. + + + + Gets or sets the type of the serializer to use for a class. + + + + + Applies a modification to the member map. + + The member map. + + + + Creates a serializer for a type based on the serializer type specified by the attribute. + + The type that a serializer should be created for. + A serializer for the type. + + + + Specifies the external representation and related options for this field or property. + + + + + Initializes a new instance of the BsonTimeSpanOptionsAttribute class. + + The external representation. + + + + Initializes a new instance of the BsonTimeSpanOptionsAttribute class. + + The external representation. + The TimeSpanUnits. + + + + Gets the external representation. + + + + + Gets or sets the TimeSpanUnits. + + + + + Reconfigures the specified serializer by applying this attribute to it. + + The serializer. + A reconfigured serializer. + + + + Indicates the usage restrictions for the attribute. + + + + + Initializes a new instance of the class. + + + + + Gets or sets a value indicating whether the attribute this attribute applies to is allowed to be applied + to more than one member. + + + + + Represents an attribute used to modify a class map. + + + + + Applies the attribute to the class map. + + The class map. + + + + Represents an attribute used to modify a creator map. + + + + + Applies the attribute to the creator map. + + The creator map. + + + + Represents an attribute used to modify a member map. + + + + + Applies the attribute to the member map. + + The member map. + + + + Represents an attribute used to post process a class map. + + + + + Applies the post processing attribute to the class map. + + The class map. + + + + Convention pack for applying attributes. + + + + + Initializes a new instance of the class. + + + + + Gets the instance. + + + + + Gets the conventions. + + + + + A convention that sets the element name the same as the member name with the first character lower cased. + + + + + Applies a modification to the member map. + + The member map. + + + + Base class for a convention. + + + + + Initializes a new instance of the ConventionBase class. + + + + + Initializes a new instance of the ConventionBase class. + + The name of the convention. + + + + Gets the name of the convention. + + + + + A mutable pack of conventions. + + + + + Initializes a new instance of the class. + + + + + Gets the conventions. + + + + + Adds the specified convention. + + The convention. + + + + + Adds a class map convention created using the specified action upon a class map. + + The name of the convention. + The action the convention should take upon the class map. + + + + Adds a member map convention created using the specified action upon a member map. + + The name of the convention. + The action the convention should take upon the member map. + + + + Adds a post processing convention created using the specified action upon a class map. + + The name of the convention. + The action the convention should take upon the class map. + + + + Adds a range of conventions. + + The conventions. + + + + + Appends the conventions in another pack to the end of this pack. + + The other pack. + + + + Gets an enumerator for the conventions. + + An enumerator. + + + + Inserts the convention after another convention specified by the name. + + The name. + The convention. + + + + Inserts the convention before another convention specified by the name. + + The name. + The convention. + + + + Removes the named convention. + + The name of the convention. + + + + Represents a registry of conventions. + + + + + Looks up the effective set of conventions that apply to a type. + + The type. + The conventions for that type. + + + + Registers the conventions. + + The name. + The conventions. + The filter. + + + + Removes the conventions specified by the given name. + + The name. + Removing a convention allows the removal of the special __defaults__ conventions + and the __attributes__ conventions for those who want to completely customize the + experience. + + + + Runs the conventions against a BsonClassMap and its BsonMemberMaps. + + + + + Initializes a new instance of the class. + + The conventions. + + + + Applies a modification to the class map. + + The class map. + + + + Convention pack of defaults. + + + + + Initializes a new instance of the class. + + + + + Gets the instance. + + + + + Gets the conventions. + + + + + A class map convention that wraps a delegate. + + + + + Initializes a new instance of the class. + + The name. + The delegate. + + + + Applies a modification to the class map. + + The class map. + + + + A member map convention that wraps a delegate. + + + + + Initializes a new instance of the class. + + The name. + The delegate. + + + + Applies a modification to the member map. + + The member map. + + + + A post processing convention that wraps a delegate. + + + + + Initializes a new instance of the class. + + The name. + The delegate. + + + + Applies a post processing modification to the class map. + + The class map. + + + + A convention that allows you to set the Enum serialization representation + + + + + Initializes a new instance of the class. + + The serialization representation. 0 is used to detect representation + from the enum itself. + + + + Gets the representation. + + + + + Applies a modification to the member map. + + The member map. + + + + Represents a discriminator convention where the discriminator is an array of all the discriminators provided by the class maps of the root class down to the actual type. + + + + + Initializes a new instance of the HierarchicalDiscriminatorConvention class. + + The element name. + + + + Gets the discriminator value for an actual type. + + The nominal type. + The actual type. + The discriminator value. + + + + Represents a convention that applies to a BsonClassMap. + + + + + Applies a modification to the class map. + + The class map. + + + + Represents a convention. + + + + + Gets the name of the convention. + + + + + Represents a grouping of conventions. + + + + + Gets the conventions. + + + + + Represents a convention that applies to a BsonCreatorMap. + + + + + Applies a modification to the creator map. + + The creator map. + + + + Represents a discriminator convention. + + + + + Gets the discriminator element name. + + + + + Gets the actual type of an object by reading the discriminator from a BsonReader. + + The reader. + The nominal type. + The actual type. + + + + Gets the discriminator value for an actual type. + + The nominal type. + The actual type. + The discriminator value. + + + + A convention that sets whether to ignore extra elements encountered during deserialization. + + + + + Initializes a new instance of the class. + + Whether to ignore extra elements encountered during deserialization. + + + + Applies a modification to the class map. + + The class map. + + + + A convention that sets whether to ignore default values during serialization. + + + + + Initializes a new instance of the class. + + Whether to ignore default values during serialization. + + + + Applies a modification to the member map. + + The member map. + + + + A convention that sets whether to ignore nulls during serialization. + + + + + Initializes a new instance of the class. + + Whether to ignore nulls during serialization. + + + + Applies a modification to the member map. + + The member map. + + + + Represents a convention that applies to a BsonMemberMap. + + + + + Applies a modification to the member map. + + The member map. + + + + Maps a fully immutable type. This will include anonymous types. + + + + + + + + Represents a post processing convention that applies to a BsonClassMap. + + + + + Applies a post processing modification to the class map. + + The class map. + + + + A convention that looks up an id generator for the id member. + + + + + Applies a post processing modification to the class map. + + The class map. + + + + A convention that sets the default value for members of a given type. + + + + + Initializes a new instance of the class. + + The type of the member. + The default value for members of this type. + + + + Applies a modification to the member map. + + The member map. + + + + A convention that sets the element name the same as the member name. + + + + + Applies a modification to the member map. + + The member map. + + + + A convention that finds the extra elements member by name (and that is also of type or ). + + + + + Initializes a new instance of the NamedExtraElementsMemberConvention class. + + The name of the extra elements member. + + + + Initializes a new instance of the class. + + The names. + + + + Initializes a new instance of the class. + + The names. + The member types. + + + + Initializes a new instance of the class. + + The names. + The binding flags. + + + + Initializes a new instance of the class. + + The names. + The member types. + The binding flags. + + + + + Applies a modification to the class map. + + The class map. + + + + A convention that finds the id member by name. + + + + + Initializes a new instance of the class. + + The names. + + + + Initializes a new instance of the class. + + The names. + + + + Initializes a new instance of the class. + + The names. + The member types. + + + + Initializes a new instance of the class. + + The names. + The binding flags. + + + + Initializes a new instance of the class. + + The names. + The member types. + The binding flags. + + + + + Applies a modification to the class map. + + The class map. + + + + A convention that uses the names of the creator parameters to find the matching members. + + + + + Applies a modification to the creator map. + + The creator map. + + + + A convention that sets a class's IdMember to null. + + + + + Applies a post processing modification to the class map. + + The class map. + + + + Represents the object discriminator convention. + + + + + Initializes a new instance of the ObjectDiscriminatorConvention class. + + The element name. + + + + Gets an instance of the ObjectDiscriminatorConvention. + + + + + Gets the discriminator element name. + + + + + Gets the actual type of an object by reading the discriminator from a BsonReader. + + The reader. + The nominal type. + The actual type. + + + + Gets the discriminator value for an actual type. + + The nominal type. + The actual type. + The discriminator value. + + + + A convention that finds readable and writeable members and adds them to the class map. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The member types. + + + + Initializes a new instance of the class. + + The binding flags. + + + + Initializes a new instance of the class. + + The member types. + The binding flags. + + + + Applies a modification to the class map. + + The class map. + + + + A convention that resets a class map (resetting any changes that earlier conventions may have applied). + + + + + Applies a modification to the class map. + + The class map. + + + + A convention that resets class members (resetting any changes that earlier conventions may have applied). + + + + + Applies a modification to the member map. + + The member map. + + + + Represents a discriminator convention where the discriminator is provided by the class map of the actual type. + + + + + Initializes a new instance of the ScalarDiscriminatorConvention class. + + The element name. + + + + Gets the discriminator value for an actual type. + + The nominal type. + The actual type. + The discriminator value. + + + + Represents the standard discriminator conventions (see ScalarDiscriminatorConvention and HierarchicalDiscriminatorConvention). + + + + + Initializes a new instance of the StandardDiscriminatorConvention class. + + The element name. + + + + Gets an instance of the ScalarDiscriminatorConvention. + + + + + Gets an instance of the HierarchicalDiscriminatorConvention. + + + + + Gets the discriminator element name. + + + + + Gets the actual type of an object by reading the discriminator from a BsonReader. + + The reader. + The nominal type. + The actual type. + + + + Gets the discriminator value for an actual type. + + The nominal type. + The actual type. + The discriminator value. + + + + A convention that sets the id generator for a string member with a BSON representation of ObjectId. + + + + + Applies a post processing modification to the class map. + + The class map. + + + + A GUID generator that generates GUIDs in ascending order. To enable + an index to make use of the ascending nature make sure to use + GuidRepresentation.Standard + as the storage representation. + Internally the GUID is of the form + 8 bytes: Ticks from DateTime.UtcNow.Ticks + 3 bytes: hash of machine name + 2 bytes: low order bytes of process Id + 3 bytes: increment + + + + + Gets an instance of AscendingGuidGenerator. + + + + + Generates an ascending Guid for a document. Consecutive invocations + should generate Guids that are ascending from a MongoDB perspective + + The container of the document (will be a + MongoCollection when called from the driver). + The document it was generated for. + A Guid. + + + + Generates a Guid for a document. Note - this is purely used for + unit testing + + The time portion of the Guid + A 5 byte array with the first 3 bytes + representing a machine id and the next 2 representing a process + id + The increment portion of the Guid. Used + to distinguish between 2 Guids that have the timestamp. Note + only the least significant 3 bytes are used. + A Guid. + + + + Tests whether an id is empty. + + The id to test. + True if the Id is empty. False otherwise + + + + Gets the current process id. This method exists because of how + CAS operates on the call stack, checking for permissions before + executing the method. Hence, if we inlined this call, the calling + method would not execute before throwing an exception requiring the + try/catch at an even higher level that we don't necessarily control. + + + + + Represents an Id generator for Guids stored in BsonBinaryData values. + + + + + Initializes a new instance of the BsonBinaryDataGuidGenerator class. + + The GuidRepresentation to use when generating new Id values. + + + + Gets an instance of BsonBinaryDataGuidGenerator for CSharpLegacy GuidRepresentation. + + + + + Gets an instance of BsonBinaryDataGuidGenerator for JavaLegacy GuidRepresentation. + + + + + Gets an instance of BsonBinaryDataGuidGenerator for PythonLegacy GuidRepresentation. + + + + + Gets an instance of BsonBinaryDataGuidGenerator for Standard GuidRepresentation. + + + + + Gets an instance of BsonBinaryDataGuidGenerator for Unspecifed GuidRepresentation. + + + + + Gets the instance of BsonBinaryDataGuidGenerator for a GuidRepresentation. + + The GuidRepresentation. + The instance of BsonBinaryDataGuidGenerator for a GuidRepresentation. + + + + Generates an Id for a document. + + The container of the document (will be a MongoCollection when called from the C# driver). + The document. + An Id. + + + + Tests whether an Id is empty. + + The Id. + True if the Id is empty. + + + + Represents an Id generator for BsonObjectIds. + + + + + Initializes a new instance of the BsonObjectIdGenerator class. + + + + + Gets an instance of ObjectIdGenerator. + + + + + Generates an Id for a document. + + The container of the document (will be a MongoCollection when called from the C# driver). + The document. + An Id. + + + + Tests whether an Id is empty. + + The Id. + True if the Id is empty. + + + + Represents an Id generator for Guids using the COMB algorithm. + + + + + Initializes a new instance of the CombGuidGenerator class. + + + + + Gets an instance of CombGuidGenerator. + + + + + Generates an Id for a document. + + The container of the document (will be a MongoCollection when called from the C# driver). + The document. + An Id. + + + + Tests whether an Id is empty. + + The Id. + True if the Id is empty. + + + + Create a new CombGuid from a given Guid and timestamp. + + The base Guid. + The timestamp. + A new CombGuid created by combining the base Guid with the timestamp. + + + + Represents an Id generator for Guids. + + + + + Initializes a new instance of the GuidGenerator class. + + + + + Gets an instance of GuidGenerator. + + + + + Generates an Id for a document. + + The container of the document (will be a MongoCollection when called from the C# driver). + The document. + An Id. + + + + Tests whether an Id is empty. + + The Id. + True if the Id is empty. + + + + Represents an Id generator that only checks that the Id is not null. + + + + + Initializes a new instance of the NullIdChecker class. + + + + + Gets an instance of NullIdChecker. + + + + + Generates an Id for a document. + + The container of the document (will be a MongoCollection when called from the C# driver). + The document. + An Id. + + + + Tests whether an Id is empty. + + The Id. + True if the Id is empty. + + + + Represents an Id generator for ObjectIds. + + + + + Initializes a new instance of the ObjectIdGenerator class. + + + + + Gets an instance of ObjectIdGenerator. + + + + + Generates an Id for a document. + + The container of the document (will be a MongoCollection when called from the C# driver). + The document. + An Id. + + + + Tests whether an Id is empty. + + The Id. + True if the Id is empty. + + + + Represents an Id generator for ObjectIds represented internally as strings. + + + + + Initializes a new instance of the StringObjectIdGenerator class. + + + + + Gets an instance of StringObjectIdGenerator. + + + + + Generates an Id for a document. + + The container of the document (will be a MongoCollection when called from the C# driver). + The document. + An Id. + + + + Tests whether an Id is empty. + + The Id. + True if the Id is empty. + + + + Represents an Id generator that only checks that the Id is not all zeros. + + The type of the Id. + + + + Initializes a new instance of the ZeroIdChecker class. + + + + + Generates an Id for a document. + + The container of the document (will be a MongoCollection when called from the C# driver). + The document. + An Id. + + + + Tests whether an Id is empty. + + The Id. + True if the Id is empty. + + + + Represents the representation to use for dictionaries. + + + + + Represent the dictionary as a Document. + + + + + Represent the dictionary as an array of arrays. + + + + + Represent the dictionary as an array of documents. + + + + + Represents the external representation of a field or property. + + + + + Initializes a new instance of the RepresentationConverter class. + + Whether to allow overflow. + Whether to allow truncation. + + + + Gets whether to allow overflow. + + + + + Gets whether to allow truncation. + + + + + Converts a Decimal128 to a Decimal. + + A Decimal128. + A Decimal. + + + + Converts a Double to a Decimal. + + A Double. + A Decimal. + + + + Converts an Int32 to a Decimal. + + An Int32. + A Decimal. + + + + Converts an Int64 to a Decimal. + + An Int64. + A Decimal. + + + + Converts a decimal to a Decimal128. + + A decimal. + A Decimal128. + + + + Converts a Double to a Decimal128. + + A Double. + A Decimal128. + + + + Converts an Int32 to a Decimal128. + + An Int32. + A Decimal128. + + + + Converts an Int64 to a Decimal128. + + An Int64. + A Decimal128. + + + + Converts a UInt64 to a Decimal128. + + A UInt64. + A Decimal128. + + + + Converts a Decimal to a Double. + + A Decimal. + A Double. + + + + Converts a Decimal128 to a Double. + + A Decimal. + A Double. + + + + Converts a Double to a Double. + + A Double. + A Double. + + + + Converts a Single to a Double. + + A Single. + A Double. + + + + Converts an Int32 to a Double. + + An Int32. + A Double. + + + + Converts an Int64 to a Double. + + An Int64. + A Double. + + + + Converts an Int16 to a Double. + + An Int16. + A Double. + + + + Converts a UInt32 to a Double. + + A UInt32. + A Double. + + + + Converts a UInt64 to a Double. + + A UInt64. + A Double. + + + + Converts a UInt16 to a Double. + + A UInt16. + A Double. + + + + Converts a Decimal128 to an Int16. + + A Decimal128. + An Int16. + + + + Converts a Double to an Int16. + + A Double. + An Int16. + + + + Converts an Int32 to an Int16. + + An Int32. + An Int16. + + + + Converts an Int64 to an Int16. + + An Int64. + An Int16. + + + + Converts a Decimal to an Int32. + + A Decimal. + An Int32. + + + + Converts a Decimal128 to an Int32. + + A Decimal128. + An Int32. + + + + Converts a Double to an Int32. + + A Double. + An Int32. + + + + Converts a Single to an Int32. + + A Single. + An Int32. + + + + Converts an Int32 to an Int32. + + An Int32. + An Int32. + + + + Converts an Int64 to an Int32. + + An Int64. + An Int32. + + + + Converts an Int16 to an Int32. + + An Int16. + An Int32. + + + + Converts a UInt32 to an Int32. + + A UInt32. + An Int32. + + + + Converts a UInt64 to an Int32. + + A UInt64. + An Int32. + + + + Converts a UInt16 to an Int32. + + A UInt16. + An Int32. + + + + Converts a Decimal to an Int64. + + A Decimal. + An Int64. + + + + Converts a Decimal128 to an Int64. + + A Decimal128. + An Int64. + + + + Converts a Double to an Int64. + + A Double. + An Int64. + + + + Converts a Single to an Int64. + + A Single. + An Int64. + + + + Converts an Int32 to an Int64. + + An Int32. + An Int64. + + + + Converts an Int64 to an Int64. + + An Int64. + An Int64. + + + + Converts an Int16 to an Int64. + + An Int16. + An Int64. + + + + Converts a UInt32 to an Int64. + + A UInt32. + An Int64. + + + + Converts a UInt64 to an Int64. + + A UInt64. + An Int64. + + + + Converts a UInt16 to an Int64. + + A UInt16. + An Int64. + + + + Converts a Decimal128 to a Single. + + A Decimal128. + A Single. + + + + Converts a Double to a Single. + + A Double. + A Single. + + + + Converts an Int32 to a Single. + + An Int32. + A Single. + + + + Converts an Int64 to a Single. + + An Int64. + A Single. + + + + Converts a Decimal128 to a UInt16. + + A Decimal128. + A UInt16. + + + + Converts a Double to a UInt16. + + A Double. + A UInt16. + + + + Converts an Int32 to a UInt16. + + An Int32. + A UInt16. + + + + Converts an Int64 to a UInt16. + + An Int64. + A UInt16. + + + + Converts a Decimal128 to a UInt32. + + A Decimal128. + A UInt32. + + + + Converts a Double to a UInt32. + + A Double. + A UInt32. + + + + Converts an Int32 to a UInt32. + + An Int32. + A UInt32. + + + + Converts an Int64 to a UInt32. + + An Int64. + A UInt32. + + + + Converts a Decimal128 to a UInt64. + + A Decimal128. + A UInt64. + + + + Converts a Double to a UInt64. + + A Double. + A UInt64. + + + + Converts an Int32 to a UInt64. + + An Int32. + A UInt64. + + + + Converts an Int64 to a UInt64. + + An Int64. + A UInt64. + + + + Represents the units a TimeSpan is serialized in. + + + + + Use ticks as the units. + + + + + Use days as the units. + + + + + Use hours as the units. + + + + + Use minutes as the units. + + + + + Use seconds as the units. + + + + + Use milliseconds as the units. + + + + + Use microseconds as the units. + + + + + Use nanoseconds as the units. + + + + + Represents a serializer for an abstract class. + + The type of the class. + + + + Represents a serializer for one-dimensional arrays. + + The type of the elements. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The item serializer. + The reconfigured serializer. + + + + Adds the item. + + The accumulator. + The item. + + + + Creates the accumulator. + + The accumulator. + + + + Enumerates the items in serialization order. + + The value. + The items. + + + + Finalizes the result. + + The accumulator. + The result. + + + + Represents a serializer for BitArrays. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Gets the representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for Booleans. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Gets the representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for BsonArrays. + + + + + Initializes a new instance of the BsonArraySerializer class. + + + + + Gets an instance of the BsonArraySerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Tries to get the serialization info for the individual items of the array. + + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonBinaryDatas. + + + + + Initializes a new instance of the BsonBinaryDataSerializer class. + + + + + Gets an instance of the BsonBinaryDataSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonBooleans. + + + + + Initializes a new instance of the BsonBooleanSerializer class. + + + + + Gets an instance of the BsonBooleanSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonDateTimes. + + + + + Initializes a new instance of the BsonDateTimeSerializer class. + + + + + Gets an instance of the BsonDateTimeSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonDecimal128s. + + + + + Initializes a new instance of the BsonBooleanSerializer class. + + + + + Gets an instance of the BsonBooleanSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonDocuments. + + + + + Initializes a new instance of the BsonDocumentSerializer class. + + + + + Gets an instance of the BsonDocumentSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the document Id. + + The document. + The Id. + The nominal type of the Id. + The IdGenerator for the Id type. + True if the document has an Id. + + + + Tries to get the serialization info for a member. + + Name of the member. + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Sets the document Id. + + The document. + The Id. + + + + Represents a serializer for BsonDocumentWrappers. + + + + + Initializes a new instance of the BsonDocumentWrapperSerializer class. + + + + + Gets an instance of the BsonDocumentWrapperSerializer class. + + + + + Deserializes a class. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Deserializes a class. + + The deserialization context. + The deserialization args. + An object. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonDoubles. + + + + + Initializes a new instance of the BsonDoubleSerializer class. + + + + + Gets an instance of the BsonDoubleSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonInt32s. + + + + + Initializes a new instance of the BsonInt32Serializer class. + + + + + Gets an instance of the BsonInt32Serializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonInt64s. + + + + + Initializes a new instance of the BsonInt64Serializer class. + + + + + Gets an instance of the BsonInt64Serializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonJavaScripts. + + + + + Initializes a new instance of the BsonJavaScriptSerializer class. + + + + + Gets an instance of the BsonJavaScriptSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonJavaScriptWithScopes. + + + + + Initializes a new instance of the BsonJavaScriptWithScopeSerializer class. + + + + + Gets an instance of the BsonJavaScriptWithScopeSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonMaxKeys. + + + + + Initializes a new instance of the BsonMaxKeySerializer class. + + + + + Gets an instance of the BsonMaxKeySerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonMinKeys. + + + + + Initializes a new instance of the BsonMinKeySerializer class. + + + + + Gets an instance of the BsonMinKeySerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonNulls. + + + + + Initializes a new instance of the BsonNullSerializer class. + + + + + Gets an instance of the BsonNullSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonObjectIds. + + + + + Initializes a new instance of the BsonObjectIdSerializer class. + + + + + Gets an instance of the BsonObjectIdSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonRegularExpressions. + + + + + Initializes a new instance of the BsonRegularExpressionSerializer class. + + + + + Gets an instance of the BsonRegularExpressionSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonStrings. + + + + + Initializes a new instance of the BsonStringSerializer class. + + + + + Gets an instance of the BsonStringSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonSymbols. + + + + + Initializes a new instance of the BsonSymbolSerializer class. + + + + + Gets an instance of the BsonSymbolSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonTimestamps. + + + + + Initializes a new instance of the BsonTimestampSerializer class. + + + + + Gets an instance of the BsonTimestampSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for BsonUndefineds. + + + + + Initializes a new instance of the BsonUndefinedSerializer class. + + + + + Gets an instance of the BsonUndefinedSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for a BsonValue that can round trip C# null. + + The type of the BsonValue. + + + + Initializes a new instance of the class. + + The wrapped serializer. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for a BsonValue that can round trip C# null and implements IBsonArraySerializer and IBsonDocumentSerializer. + + The type of the bson value. + + + + Initializes a new instance of the class. + + The wrapped serializer. + + + + Tries to get the serialization info for the individual items of the array. + + The serialization information. + + The serialization info for the items. + + + + + Tries to get the serialization info for a member. + + Name of the member. + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Represents a serializer for a BsonValue that can round trip C# null and implements IBsonArraySerializer. + + The type of the bson value. + + + + Initializes a new instance of the class. + + The wrapped serializer. + + + + Tries to get the serialization info for the individual items of the array. + + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Represents a serializer for a BsonValue that can round trip C# null and implements IBsonDocumentSerializer. + + The type of the bson value. + + + + Initializes a new instance of the class. + + The wrapped serializer. + + + + Tries to get the serialization info for a member. + + Name of the member. + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Represents a serializer for BsonValues. + + + + + Initializes a new instance of the BsonValueSerializer class. + + + + + Gets an instance of the BsonValueSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Tries to get the serialization info for a member. + + Name of the member. + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Tries to get the serialization info for the individual items of the array. + + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a base class for BsonValue serializers. + + The type of the BsonValue. + + + + Initializes a new instance of the class. + + The Bson type. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for ByteArrays. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Gets the representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for Bytes. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Gets the representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for Chars. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Gets the representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents an abstract base class for class serializers. + + The type of the value. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Deserializes a class. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Gets the actual type. + + The context. + The actual type. + + + + Serializes a value of type {TValue}. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for CultureInfos. + + + + + Initializes a new instance of the CultureInfoSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for DateTimeOffsets. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Gets the representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for DateTimes. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + if set to true [date only]. + + + + Initializes a new instance of the class. + + if set to true [date only]. + The representation. + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The kind. + + + + Initializes a new instance of the class. + + The kind. + The representation. + + + + Gets an instance of DateTimeSerializer with DateOnly=true. + + + + + Gets an instance of DateTimeSerializer with Kind=Local. + + + + + Gets an instance of DateTimeSerializer with Kind=Utc. + + + + + Gets whether this DateTime consists of a Date only. + + + + + Gets the DateTimeKind (Local, Unspecified or Utc). + + + + + Gets the external representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified dateOnly value. + + if set to true the values will be required to be Date's only (zero time component). + + The reconfigured serializer. + + + + + Returns a serializer that has been reconfigured with the specified dateOnly value and representation. + + if set to true the values will be required to be Date's only (zero time component). + The representation. + + The reconfigured serializer. + + + + + Returns a serializer that has been reconfigured with the specified DateTimeKind value. + + The DateTimeKind. + + The reconfigured serializer. + + + + + Returns a serializer that has been reconfigured with the specified DateTimeKind value and representation. + + The DateTimeKind. + The representation. + + The reconfigured serializer. + + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for Decimal128s. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The representation. + The converter. + + + + Gets the converter. + + + The converter. + + + + + Gets the representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The converter. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for Decimals. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The representation. + The converter. + + + + Gets the converter. + + + The converter. + + + + + Gets the representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The converter. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for a class that implements IDictionary. + + The type of the dictionary. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The dictionary representation. + + + + Initializes a new instance of the class. + + The dictionary representation. + The key serializer. + The value serializer. + + + + Returns a serializer that has been reconfigured with the specified dictionary representation. + + The dictionary representation. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified dictionary representation and key value serializers. + + The dictionary representation. + The key serializer. + The value serializer. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified key serializer. + + The key serializer. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified value serializer. + + The value serializer. + The reconfigured serializer. + + + + Creates the instance. + + The instance. + + + + Represents a serializer for a class that implements . + + The type of the dictionary. + The type of the key. + The type of the value. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The dictionary representation. + + + + Initializes a new instance of the class. + + The dictionary representation. + The key serializer. + The value serializer. + + + + Returns a serializer that has been reconfigured with the specified dictionary representation. + + The dictionary representation. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified dictionary representation and key value serializers. + + The dictionary representation. + The key serializer. + The value serializer. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified key serializer. + + The key serializer. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified value serializer. + + The value serializer. + The reconfigured serializer. + + + + Creates the instance. + + The instance. + + + + Represents a serializer for dictionaries. + + The type of the dictionary. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The dictionary representation. + + + + Initializes a new instance of the class. + + The dictionary representation. + The key serializer. + The value serializer. + + + + Gets the dictionary representation. + + + The dictionary representation. + + + + + Gets the key serializer. + + + The key serializer. + + + + + Gets the value serializer. + + + The value serializer. + + + + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Creates the instance. + + The instance. + + + + Represents a serializer for dictionaries. + + The type of the dictionary. + The type of the keys. + The type of the values. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The dictionary representation. + + + + Initializes a new instance of the class. + + The dictionary representation. + The key serializer. + The value serializer. + + + + Initializes a new instance of the class. + + The dictionary representation. + The serializer registry. + + + + Gets the dictionary representation. + + + The dictionary representation. + + + + + Gets the key serializer. + + + The key serializer. + + + + + Gets the value serializer. + + + The value serializer. + + + + + + + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Creates the instance. + + The instance. + + + + Represents a serializer for Interfaces. + + The type of the interface. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The discriminator convention. + interfaceType + interfaceType + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The document. + + + + Represents a serializer that serializes values as a discriminator/value pair. + + The type of the value. + + + + Initializes a new instance of the class. + + The discriminator convention. + The wrapped serializer. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Determines whether the reader is positioned at a discriminated wrapper. + + The context. + True if the reader is positioned at a discriminated wrapper. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for Doubles. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The representation. + The converter. + + + + Gets the converter. + + + The converter. + + + + + Gets the representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The converter. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Base serializer for dynamic types. + + The dynamic type. + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Configures the deserialization context. + + The builder. + + + + Configures the serialization context. + + The builder. + + + + Creates the document. + + A + + + + Sets the value for the member. + + The document. + Name of the member. + The value. + + + + Tries to get the value for a member. Returns true if the member should be serialized. + + The document. + Name of the member. + The value. + true if the member should be serialized; otherwise false. + + + + Represents a serializer for a class that implements IEnumerable. + + The type of the value. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The item serializer. + The reconfigured serializer. + + + + Creates the accumulator. + + The accumulator. + + + + Represents a serializer for a class that implementes . + + The type of the value. + The type of the item. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The item serializer. + The reconfigured serializer. + + + + Creates the accumulator. + + The accumulator. + + + + Finalizes the result. + + The accumulator. + The final result. + + + + Represents a serializer for enumerable values. + + The type of the value. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Adds the item. + + The accumulator. + The item. + + + + Enumerates the items in serialization order. + + The value. + The items. + + + + Finalizes the result. + + The accumulator. + The result. + + + + Represents a serializer for enumerable values. + + The type of the value. + The type of the items. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Adds the item. + + The accumulator. + The item. + + + + Enumerates the items in serialization order. + + The value. + The items. + + + + Finalizes the result. + + The accumulator. + The result. + + + + Represents a base serializer for enumerable values. + + The type of the value. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Gets the item serializer. + + + The item serializer. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Tries to get the serialization info for the individual items of the array. + + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Adds the item. + + The accumulator. + The item. + + + + Creates the accumulator. + + The accumulator. + + + + Enumerates the items in serialization order. + + The value. + The items. + + + + Finalizes the result. + + The accumulator. + The final result. + + + + Represents a serializer for enumerable values. + + The type of the value. + The type of the items. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Gets the item serializer. + + + The item serializer. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Tries to get the serialization info for the individual items of the array. + + The serialization information. + + The serialization info for the items. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Adds the item. + + The accumulator. + The item. + + + + Creates the accumulator. + + The accumulator. + + + + Enumerates the items in serialization order. + + The value. + The items. + + + + Finalizes the result. + + The accumulator. + The result. + + + + Represents a serializer for enums. + + The type of the enum. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Gets the representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Serializer for . + + + The use of will serialize any without type information. + To get the best experience out of using an , any member wanting to be used + as an array should use . + + + + + Initializes a new instance of the class. + + + + + Configures the deserialization context. + + The builder. + + + + Configures the serialization context. + + The builder. + + + + Creates the document. + + + A . + + + + + Sets the value for the member. + + The document. + Name of the member. + The value. + + + + Tries to get the value for a member. Returns true if the member should be serialized. + + The value. + Name of the member. + The member value. + true if the member should be serialized; otherwise false. + + + + Represents a serializer for Guids. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Gets the representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for Interfaces. + + The type of the interface. + The type of the implementation. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The implementation serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Gets the dictionary representation. + + + The dictionary representation. + + + + + + Gets the key serializer. + + + The key serializer. + + + + + + Gets the implementation serializer. + + + The implementation serializer. + + + + + Gets the value serializer. + + + The value serializer. + + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + + Tries to get the serialization info for the individual items of the array. + + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Tries to get the serialization info for a member. + + Name of the member. + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The document. + + + + Returns a serializer that has been reconfigured with the specified implementation serializer. + + The implementation serializer. + + The reconfigured serializer. + + + + + Represents a serializer for Int16s. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The representation. + The converter. + + + + Gets the converter. + + + The converter. + + + + + Gets the representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The converter. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for Int32. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The representation. + The converter. + + + + Gets the converter. + + + The converter. + + + + + Gets the representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The converter. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for Int64s. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The representation. + The converter. + + + + Gets the converter. + + + The converter. + + + + + Gets the representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The converter. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for IPAddresses. + + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for IPEndPoints. + + + + + Initializes a new instance of the IPEndPointSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for KeyValuePairs. + + The type of the keys. + The type of the values. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The representation. + The key serializer. + The value serializer. + + + + Initializes a new instance of the class. + + The representation. + The serializer registry. + + + + Gets the key serializer. + + + The key serializer. + + + + + Gets the representation. + + + The representation. + + + + + Gets the value serializer. + + + The value serializer. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + + + + Represents a serializer for LazyBsonArrays. + + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for LazyBsonDocuments. + + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for nullable values. + + The underlying type. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified serializer. + + The serializer. + + The reconfigured serializer. + + + + + Represents a serializer for ObjectIds. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Gets the representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for objects. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The discriminator convention. + discriminatorConvention + + + + Gets the standard instance. + + + The standard instance. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for a BsonDocument with some parts raw. + + + + + Initializes a new instance of the class. + + The name. + The raw serializer. + + + + + + + Wraps a serializer and projects using a function. + + The type of from. + The type of to. + + + + Initializes a new instance of the class. + + From serializer. + The projector. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Represents a serializer for Queues. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The item serializer. + The reconfigured serializer. + + + + Adds the item. + + The accumulator. + The item. + + + + Creates the accumulator. + + The accumulator. + + + + Enumerates the items. + + The value. + The items. + + + + Finalizes the result. + + The instance. + The result. + + + + Represents a serializer for Queues. + + The type of the elements. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The item serializer. + The reconfigured serializer. + + + + Adds the item. + + The accumulator. + The item. + + + + Creates the accumulator. + + The accumulator. + + + + Enumerates the items in serialization order. + + The value. + The items. + + + + Finalizes the result. + + The accumulator. + The result. + + + + Represents a serializer for RawBsonArrays. + + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for RawBsonDocuments. + + + + + Initializes a new instance of the class. + + + + + Gets the instance. + + + The instance. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for readonly collection. + + The type of the item. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The item serializer. + The reconfigured serializer. + + + + Creates the accumulator. + + The accumulator. + + + + Finalizes the result. + + The accumulator. + The final result. + + + + Represents a serializer for a subclass of ReadOnlyCollection. + + The type of the value. + The type of the item. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Creates the accumulator. + + The accumulator. + + + + Finalizes the result. + + The accumulator. + The final result. + + + + Represents a serializer for SBytes. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Gets the representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents an abstract base class for sealed class serializers. + + The type of the value. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Deserializes a class. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value of type {TValue}. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a class that will be serialized as if it were one of its base classes. + + The actual type. + The nominal type. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The base class serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents an abstract base class for serializers. + + The type of the value. + + + + Gets the type of the values. + + + The type of the values. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Creates an exception to throw when a type cannot be deserialized. + + An exception. + + + + Creates an exception to throw when a type cannot be deserialized. + + An exception. + + + + Creates an exception to throw when a type cannot be deserialized from a BsonType. + + The BSON type. + An exception. + + + + Ensures that the BsonType equals the expected type. + + The reader. + The expected type. + + + + Represents a helper for serializers. + + + + + Initializes a new instance of the class. + + The members. + + + + Deserializes the members. + + The deserialization context. + The member handler. + The found member flags. + + + + Represents information about a member. + + + + + Initializes a new instance of the class. + + The name of the element. + The flag. + Whether the member is optional. + + + + Gets the flag. + + + The flag. + + + + + Gets the name of the element. + + + The name of the element. + + + + + Gets a value indicating whether this member is optional. + + Whether this member is optional. + + + + Represents a serializer for Singles. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The representation. + The converter. + + + + Gets the converter. + + + The converter. + + + + + Gets the representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The converter. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for Stacks. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The item serializer. + The reconfigured serializer. + + + + Adds the item. + + The accumulator. + The item. + + + + Creates the accumulator. + + The accumulator. + + + + Enumerates the items in serialization order. + + The value. + The items. + + + + Finalizes the result. + + The accumulator. + The result. + + + + Represents a serializer for Stacks. + + The type of the elements. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The item serializer. + The reconfigured serializer. + + + + Adds the item. + + The accumulator. + The item. + + + + Creates the accumulator. + + The accumulator. + + + + Enumerates the items in serialization order. + + The value. + The items. + + + + Finalizes the result. + + The accumulator. + The result. + + + + Represents a serializer for Strings. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Gets the representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents an abstract base class for struct serializers. + + The type of the value. + + + + Represents a serializer for three-dimensional arrays. + + The type of the elements. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Gets the item serializer. + + + The item serializer. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The item serializer. + The reconfigured serializer. + + + + Represents a serializer for Timespans. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The representation. + The units. + + + + Gets the representation. + + + The representation. + + + + + Gets the units. + + + The units. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified representation and units. + + The representation. + The units. + + The reconfigured serializer. + + + + + Represents a serializer for a . + + The type of item 1. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The Item1 serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Gets the Item1 serializer. + + + + + Deserializes the value. + + The context. + The deserialization args. + A deserialized value. + + + + Serializes the value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a . + + The type of item 1. + The type of item 2. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The Item1 serializer. + The Item2 serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Gets the Item1 serializer. + + + + + Gets the Item2 serializer. + + + + + Deserializes the value. + + The context. + The deserialization args. + A deserialized value. + + + + Serializes the value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a . + + The type of item 1. + The type of item 2. + The type of item 3. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The Item1 serializer. + The Item2 serializer. + The Item3 serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Gets the Item1 serializer. + + + + + Gets the Item2 serializer. + + + + + Gets the Item3 serializer. + + + + + Deserializes the value. + + The context. + The deserialization args. + A deserialized value. + + + + Serializes the value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a . + + The type of item 1. + The type of item 2. + The type of item 3. + The type of item 4. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The Item1 serializer. + The Item2 serializer. + The Item3 serializer. + The Item4 serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Gets the Item1 serializer. + + + + + Gets the Item2 serializer. + + + + + Gets the Item3 serializer. + + + + + Gets the Item4 serializer. + + + + + Deserializes the value. + + The context. + The deserialization args. + A deserialized value. + + + + Serializes the value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a . + + The type of item 1. + The type of item 2. + The type of item 3. + The type of item 4. + The type of item 5. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The Item1 serializer. + The Item2 serializer. + The Item3 serializer. + The Item4 serializer. + The Item5 serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Gets the Item1 serializer. + + + + + Gets the Item2 serializer. + + + + + Gets the Item3 serializer. + + + + + Gets the Item4 serializer. + + + + + Gets the Item5 serializer. + + + + + Deserializes the value. + + The context. + The deserialization args. + A deserialized value. + + + + Serializes the value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a . + + The type of item 1. + The type of item 2. + The type of item 3. + The type of item 4. + The type of item 5. + The type of item 6. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The Item1 serializer. + The Item2 serializer. + The Item3 serializer. + The Item4 serializer. + The Item5 serializer. + The Item6 serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Gets the Item1 serializer. + + + + + Gets the Item2 serializer. + + + + + Gets the Item3 serializer. + + + + + Gets the Item4 serializer. + + + + + Gets the Item5 serializer. + + + + + Gets the Item6 serializer. + + + + + Deserializes the value. + + The context. + The deserialization args. + A deserialized value. + + + + Serializes the value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a . + + The type of item 1. + The type of item 2. + The type of item 3. + The type of item 4. + The type of item 5. + The type of item 6. + The type of item 7. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The Item1 serializer. + The Item2 serializer. + The Item3 serializer. + The Item4 serializer. + The Item5 serializer. + The Item6 serializer. + The Item7 serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Gets the Item1 serializer. + + + + + Gets the Item2 serializer. + + + + + Gets the Item3 serializer. + + + + + Gets the Item4 serializer. + + + + + Gets the Item5 serializer. + + + + + Gets the Item6 serializer. + + + + + Gets the Item7 serializer. + + + + + Deserializes the value. + + The context. + The deserialization args. + A deserialized value. + + + + Serializes the value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a . + + The type of item 1. + The type of item 2. + The type of item 3. + The type of item 4. + The type of item 5. + The type of item 6. + The type of item 7. + The type of the rest item. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The Item1 serializer. + The Item2 serializer. + The Item3 serializer. + The Item4 serializer. + The Item5 serializer. + The Item6 serializer. + The Item7 serializer. + The Rest serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Gets the Item1 serializer. + + + + + Gets the Item2 serializer. + + + + + Gets the Item3 serializer. + + + + + Gets the Item4 serializer. + + + + + Gets the Item5 serializer. + + + + + Gets the Item6 serializer. + + + + + Gets the Item7 serializer. + + + + + Gets the Rest serializer. + + + + + Deserializes the value. + + The context. + The deserialization args. + A deserialized value. + + + + Serializes the value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for two-dimensional arrays. + + The type of the elements. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The item serializer. + + + + Initializes a new instance of the class. + + The serializer registry. + + + + Gets the item serializer. + + + The item serializer. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The item serializer. + The reconfigured serializer. + + + + Represents a serializer for UInt16s. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The representation. + The converter. + + + + Gets the converter. + + + The converter. + + + + + Gets the representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The converter. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for UInt32s. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The representation. + The converter. + + + + Gets the converter. + + + The converter. + + + + + Gets the representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The converter. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for UInt64s. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Initializes a new instance of the class. + + The representation. + The converter. + + + + Gets the converter. + + + The converter. + + + + + Gets the representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified item serializer. + + The converter. + The reconfigured serializer. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for interfaces and base classes that delegates to the actual type interface without writing a discriminator. + + Type type of the value. + + + + Initializes a new instance of the class. + + + + + Gets the instance. + + + The instance. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The document. + + + + Represents a serializer for Uris. + + + + + Initializes a new instance of the UriSerializer class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Represents a serializer for Versions. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The representation. + + + + Gets the representation. + + + The representation. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Returns a serializer that has been reconfigured with the specified representation. + + The representation. + The reconfigured serializer. + + + + Represents a serializer for a class map. + + The type of the class. + + + + Initializes a new instance of the BsonClassMapSerializer class. + + The class map. + + + + Gets a value indicating whether this serializer's discriminator is compatible with the object serializer. + + + true if this serializer's discriminator is compatible with the object serializer; otherwise, false. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Deserializes a value. + + The deserialization context. + A deserialized value. + + + + Gets the document Id. + + The document. + The Id. + The nominal type of the Id. + The IdGenerator for the Id type. + True if the document has an Id. + + + + Tries to get the serialization info for a member. + + Name of the member. + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Sets the document Id. + + The document. + The Id. + + + + Represents a serializer for TClass (a subclass of BsonDocumentBackedClass). + + The subclass of BsonDocumentBackedClass. + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Tries to get the serialization info for a member. + + Name of the member. + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Serializes a value. + + The serialization context. + The serialization args. + The object. + + + + Registers a member. + + The member name. + The element name. + The serializer. + + + + Creates the instance. + + The backing document. + An instance of TClass. + + + diff --git a/packages/MongoDB.Driver.2.4.3/License.rtf b/packages/MongoDB.Driver.2.4.3/License.rtf new file mode 100644 index 0000000..5f1d046 Binary files /dev/null and b/packages/MongoDB.Driver.2.4.3/License.rtf differ diff --git a/packages/MongoDB.Driver.2.4.3/MongoDB.Driver.2.4.3.nupkg b/packages/MongoDB.Driver.2.4.3/MongoDB.Driver.2.4.3.nupkg new file mode 100644 index 0000000..0382f86 Binary files /dev/null and b/packages/MongoDB.Driver.2.4.3/MongoDB.Driver.2.4.3.nupkg differ diff --git a/packages/MongoDB.Driver.2.4.3/lib/net45/MongoDB.Driver.XML b/packages/MongoDB.Driver.2.4.3/lib/net45/MongoDB.Driver.XML new file mode 100644 index 0000000..e003015 --- /dev/null +++ b/packages/MongoDB.Driver.2.4.3/lib/net45/MongoDB.Driver.XML @@ -0,0 +1,17863 @@ + + + + MongoDB.Driver + + + + + Represents the granularity value for a $bucketAuto stage. + + + + + Initializes a new instance of the struct. + + The value. + + + + Gets the E12 granularity. + + + + + Gets the E192 granularity. + + + + + Gets the E24 granularity. + + + + + Gets the E48 granularity. + + + + + Gets the E6 granularity. + + + + + Gets the E96 granularity. + + + + + Gets the POWERSOF2 granularity. + + + + + Gets the R10 granularity. + + + + + Gets the R20 granularity. + + + + + Gets the R40 granularity. + + + + + Gets the R5 granularity. + + + + + Gets the R80 granularity. + + + + + Gets the 1-2-5 granularity. + + + + + Gets the value. + + + + + Represents options for the BucketAuto method. + + + + + + + MongoDB.Driver.AggregateBucketAutoOptions + + + + + + + Gets or sets the granularity. + + + + + Represents the result of the $bucketAuto stage. + + The type of the value. + + + + Initializes a new instance of the class. + + The inclusive lower boundary of the bucket. + The count. + + + + Initializes a new instance of the class. + + The minimum. + The maximum. + The count. + + + + Gets the count. + + + + + Gets the inclusive lower boundary of the bucket. + + + + + Gets the maximum. + + + + + Gets the minimum. + + + + + Represents the _id value in the result of a $bucketAuto stage. + + The type of the values. + + + + Initializes a new instance of the class. + + The minimum. + The maximum. + + + + Gets the max value. + + + + + Gets the min value. + + + + + Represents options for the Bucket method. + + The type of the value. + + + + + + MongoDB.Driver.AggregateBucketOptions`1 + + + + + + + Gets or sets the default bucket. + + + + + Represents the result of the $bucket stage. + + The type of the value. + + + + Initializes a new instance of the class. + + The inclusive lower boundary of the bucket. + The count. + + + + Gets the count. + + + + + Gets the inclusive lower boundary of the bucket. + + + + + Result type for the aggregate $count stage. + + + + + Initializes a new instance of the class. + + The count. + + + + Gets the count. + + + + + An aggregation expression. + + The type of the source. + The type of the result. + + + + + + MongoDB.Driver.AggregateExpressionDefinition`2 + + + + + + + Performs an implicit conversion from to . + + The expression. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The expression. + + The result of the conversion. + + + + + Renders the aggregation expression. + + The source serializer. + The serializer registry. + The rendered aggregation expression. + + + + Represents static methods for creating facets. + + + + + Creates a new instance of the class. + + The facet name. + The facet pipeline. + The type of the input documents. + The type of the output documents. + + A new instance of the class + + + + + Represents a facet to be passed to the Facet method. + + The type of the input documents. + + + + Initializes a new instance of the class. + + The facet name. + + + + Gets the facet name. + + + + + Gets the output serializer. + + + + + Gets the type of the output documents. + + + + + Renders the facet pipeline. + + The input serializer. + The serializer registry. + The rendered pipeline. + + + + Represents a facet to be passed to the Facet method. + + The type of the input documents. + The type of the otuput documents. + + + + Initializes a new instance of the class. + + The facet name. + The facet pipeline. + + + + Gets the output serializer. + + + + + Gets the type of the output documents. + + + + + Gets the facet pipeline. + + + + + Renders the facet pipeline. + + The input serializer. + The serializer registry. + The rendered pipeline. + + + + Options for the aggregate $facet stage. + + The type of the output documents. + + + + + + MongoDB.Driver.AggregateFacetOptions`1 + + + + + + + Gets or sets the output serializer. + + + + + Represents an abstract AggregateFacetResult with an arbitrary TOutput type. + + + + + Gets the name of the facet. + + + + + Gets the output of the facet. + + The type of the output documents. + The output of the facet. + + + + Represents the result of a single facet. + + The type of the output. + + + + Initializes a new instance of the class. + + The name. + The output. + + + + Gets or sets the output. + + + + + Represents the results of a $facet stage with an arbitrary number of facets. + + + + + Initializes a new instance of the class. + + The facets. + + + + Gets the facets. + + + + + Base class for implementors of . + + The type of the document. + + + + + + MongoDB.Driver.AggregateFluentBase`1 + + + + + + + Appends the stage to the pipeline. + + The stage. + The type of the result of the stage. + The fluent aggregate interface. + + + + Changes the result type of the pipeline. + + The new result serializer. + The type of the new result. + The fluent aggregate interface. + + + + Appends a $bucket stage to the pipeline. + + The expression providing the value to group by. + The bucket boundaries. + The options. + The type of the value. + The fluent aggregate interface. + + + + Appends a $bucket stage to the pipeline with a custom projection. + + The expression providing the value to group by. + The bucket boundaries. + The output projection. + The options. + The type of the value. + The type of the new result. + The fluent aggregate interface. + + + + Appends a $bucketAuto stage to the pipeline. + + The expression providing the value to group by. + The number of buckets. + The options (optional). + The type of the value. + The fluent aggregate interface. + + + + Appends a $bucketAuto stage to the pipeline with a custom projection. + + The expression providing the value to group by. + The number of buckets. + The output projection. + The options (optional). + The type of the value. + The type of the new result. + The fluent aggregate interface. + + + + Appends a count stage to the pipeline. + + The fluent aggregate interface. + + + + Gets the database. + + + + + Appends a $facet stage to the pipeline. + + The facets. + The options. + The type of the new result. + + The fluent aggregate interface. + + + + + Appends a $graphLookup stage to the pipeline. + + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The depth field. + The options. + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field elements. + The type of the as field. + The type of the new result (must be same as TResult with an additional as field). + The fluent aggregate interface. + + + + Appends a group stage to the pipeline. + + The group projection. + The type of the result of the stage. + The fluent aggregate interface. + + + + Appends a limit stage to the pipeline. + + The limit. + The fluent aggregate interface. + + + + Appends a lookup stage to the pipeline. + + Name of the other collection. + The local field. + The foreign field. + The field in to place the foreign results. + The options. + The type of the foreign document. + The type of the new result. + The fluent aggregate interface. + + + + Appends a match stage to the pipeline. + + The filter. + The fluent aggregate interface. + + + + Appends a match stage to the pipeline that matches derived documents and changes the result type to the derived type. + + The new result serializer. + The type of the derived documents. + The fluent aggregate interface. + + + + Gets the options. + + + + + Appends an out stage to the pipeline and executes it, and then returns a cursor to read the contents of the output collection. + + Name of the collection. + The cancellation token. + A cursor. + + + + Appends an out stage to the pipeline and executes it, and then returns a cursor to read the contents of the output collection. + + Name of the collection. + The cancellation token. + A Task whose result is a cursor. + + + + Appends a project stage to the pipeline. + + The projection. + The type of the result of the stage. + + The fluent aggregate interface. + + + + + Appends a $replaceRoot stage to the pipeline. + + The new root. + The type of the new result. + The fluent aggregate interface. + + + + Appends a skip stage to the pipeline. + + The number of documents to skip. + The fluent aggregate interface. + + + + Appends a sort stage to the pipeline. + + The sort specification. + The fluent aggregate interface. + + + + Appends a sortByCount stage to the pipeline. + + The identifier. + The type of the identifier. + The fluent aggregate interface. + + + + Gets the stages. + + + + + Combines the current sort definition with an additional sort definition. + + The new sort. + The fluent aggregate interface. + + + + Executes the operation and returns a cursor to the results. + + The cancellation token. + A cursor. + + + + Executes the operation and returns a cursor to the results. + + The cancellation token. + A Task whose result is a cursor. + + + + Appends an unwind stage to the pipeline. + + The field. + The new result serializer. + The type of the result of the stage. + + The fluent aggregate interface. + + + + + Appends an unwind stage to the pipeline. + + The field. + The options. + The type of the new result. + The fluent aggregate interface. + + + + Represents options for the GraphLookup method. + + The type of from documents. + The type of the as field elements. + The type of the output documents. + + + + + + MongoDB.Driver.AggregateGraphLookupOptions`3 + + + + + + + Gets or sets the TAsElement serialzier. + + + + + Gets or sets the TFrom serializer. + + + + + Gets or sets the maximum depth. + + + + + Gets or sets the output serializer. + + + + + Gets the filter to restrict the search with. + + + + + Options for the aggregate $lookup stage. + + The type of the foreign document. + The type of the result. + + + + + + MongoDB.Driver.AggregateLookupOptions`2 + + + + + + + Gets or sets the foreign document serializer. + + + + + Gets or sets the result serializer. + + + + + Options for an aggregate operation. + + + + + + + MongoDB.Driver.AggregateOptions + + + + + + + Gets or sets a value indicating whether to allow disk use. + + + + + Gets or sets the size of a batch. + + + + + Gets or sets a value indicating whether to bypass document validation. + + + + + Gets or sets the collation. + + + + + Gets or sets the maximum time. + + + + + Gets or sets the translation options. + + + + + Gets or sets a value indicating whether to use a cursor. + + + + + Result type for the aggregate $sortByCount stage. + + The type of the identifier. + + + + Initializes a new instance of the class. + + The identifier. + The count. + + + + Gets the count. + + + + + Gets the identifier. + + + + + Option for which expression to generate for certain string operations. + + + + + Translate to the byte variation. + + + + + Translate to the code points variation. This is only supported in >= MongoDB 3.4. + + + + + Options for the $unwind aggregation stage. + + The type of the result. + + + + + + MongoDB.Driver.AggregateUnwindOptions`1 + + + + + + + Gets or sets the field with which to include the array index. + + + + + Gets or sets whether to preserve null and empty arrays. + + + + + Gets or sets the result serializer. + + + + + Represents a pipeline consisting of an existing pipeline with one additional stage appended. + + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + + + + Initializes a new instance of the class. + + The pipeline. + The stage. + The output serializer. + + + + Gets the output serializer. + + + + + Renders the pipeline. + + The input serializer. + The serializer registry. + A + + + + Gets the stages. + + + + + A based command. + + The type of the result. + + + + Initializes a new instance of the class. + + The document. + The result serializer. + + + + Gets the document. + + + + + Renders the command to a . + + The serializer registry. + A . + + + + Gets the result serializer. + + + + + A based filter. + + The type of the document. + + + + Initializes a new instance of the class. + + The document. + + + + Gets the document. + + + + + Renders the filter to a . + + The document serializer. + The serializer registry. + A . + + + + A based index keys definition. + + The type of the document. + + + + Initializes a new instance of the class. + + The document. + + + + Gets the document. + + + + + Renders the index keys definition to a . + + The document serializer. + The serializer registry. + A . + + + + A based stage. + + The type of the input. + The type of the output. + + + + Initializes a new instance of the class. + + The document. + The output serializer. + + + + Gets the name of the pipeline operator. + + + + + Renders the specified document serializer. + + The input serializer. + The serializer registry. + A + + + + A based projection whose projection type is not yet known. + + The type of the source. + + + + Initializes a new instance of the class. + + The document. + + + + Gets the document. + + + + + Renders the projection to a . + + The source serializer. + The serializer registry. + A . + + + + A based projection. + + The type of the source. + The type of the projection. + + + + Initializes a new instance of the class. + + The document. + The projection serializer. + + + + Gets the document. + + + + + Gets the projection serializer. + + + + + Renders the projection to a . + + The source serializer. + The serializer registry. + A . + + + + A based sort. + + The type of the document. + + + + Initializes a new instance of the class. + + The document. + + + + Gets the document. + + + + + Renders the sort to a . + + The document serializer. + The serializer registry. + A . + + + + A pipeline composed of instances of . + + The type of the input. + The type of the output. + + + + Initializes a new instance of the class. + + The stages. + The output serializer. + + + + Gets the stages. + + + + + Gets the output serializer. + + + + + Renders the pipeline. + + The input serializer. + The serializer registry. + A + + + + Gets the stages. + + + + + A based update. + + The type of the document. + + + + Initializes a new instance of the class. + + The document. + + + + Gets the document. + + + + + Renders the update to a . + + The document serializer. + The serializer registry. + A . + + + + A based aggregate expression. + + The type of the source. + The type of the result. + + + + Initializes a new instance of the class. + + The expression. + + + + Renders the aggregation expression. + + The source serializer. + The serializer registry. + The rendered aggregation expression. + + + + A static helper class containing various builders. + + The type of the document. + + + + Gets a . + + + + + Gets an . + + + + + Gets a . + + + + + Gets a . + + + + + Gets an . + + + + + Represents the details of a write error for a particular request. + + + + + Gets the index of the request that had an error. + + + + + Options for a bulk write operation. + + + + + Initializes a new instance of the class. + + + + + Gets or sets a value indicating whether to bypass document validation. + + + + + Gets or sets a value indicating whether the requests are fulfilled in order. + + + + + Represents the result of a bulk write operation. + + + + + Initializes a new instance of the class. + + The request count. + + + + Gets the number of documents that were deleted. + + + + + Gets the number of documents that were inserted. + + + + + Gets a value indicating whether the bulk write operation was acknowledged. + + + + + Gets a value indicating whether the modified count is available. + + + + + Gets the number of documents that were matched. + + + + + Gets the number of documents that were actually modified during an update. + + + + + Gets the request count. + + + + + Gets a list with information about each request that resulted in an upsert. + + + + + Represents the result of a bulk write operation. + + The type of the document. + + + + Initializes a new instance of the class. + + The request count. + The processed requests. + + + + Gets the processed requests. + + + + + Result from an acknowledged write concern. + + + + + Initializes a new instance of the class. + + The request count. + The matched count. + The deleted count. + The inserted count. + The modified count. + The processed requests. + The upserts. + + + + Gets the number of documents that were deleted. + + + + + Gets the number of documents that were inserted. + + + + + Gets a value indicating whether the bulk write operation was acknowledged. + + + + + Gets a value indicating whether the modified count is available. + + + + + Gets the number of documents that were matched. + + + + + Gets the number of documents that were actually modified during an update. + + + + + Gets a list with information about each request that resulted in an upsert. + + + + + Result from an unacknowledged write concern. + + + + + Initializes a new instance of the class. + + The request count. + The processed requests. + + + + Gets the number of documents that were deleted. + + + + + Gets the number of documents that were inserted. + + + + + Gets a value indicating whether the bulk write operation was acknowledged. + + + + + Gets a value indicating whether the modified count is available. + + + + + Gets the number of documents that were matched. + + + + + Gets the number of documents that were actually modified during an update. + + + + + Gets a list with information about each request that resulted in an upsert. + + + + + Represents the information about one Upsert. + + + + + Gets the id. + + + + + Gets the index. + + + + + A client side only projection that is implemented solely by deserializing using a different serializer. + + The type of the source. + The type of the projection. + + + + Initializes a new instance of the class. + + The projection serializer. + + + + Renders the projection to a . + + The source serializer. + The serializer registry. + A . + + + + Gets the result serializer. + + + + + Represents a registry of already created clusters. + + + + + + + MongoDB.Driver.ClusterRegistry + + + + + + + Gets the default cluster registry. + + + + + Unregisters and disposes the cluster. + + The cluster. + + + + Base class for commands. + + The type of the result. + + + + + + MongoDB.Driver.Command`1 + + + + + + + Performs an implicit conversion from to . + + The document. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The JSON string. + + The result of the conversion. + + + + + Renders the command to a . + + The serializer registry. + A . + + + + Server connection mode. + + + + + Automatically determine how to connect. + + + + + Connect directly to a server. + + + + + Connect to a replica set. + + + + + Connect to one or more shard routers. + + + + + Connect to a standalone server. + + + + + Options for a count operation. + + + + + + + MongoDB.Driver.CountOptions + + + + + + + Gets or sets the collation. + + + + + Gets or sets the hint. + + + + + Gets or sets the limit. + + + + + Gets or sets the maximum time. + + + + + Gets or sets the skip. + + + + + Options for creating a collection. + + + + + + + MongoDB.Driver.CreateCollectionOptions + + + + + + + Gets or sets a value indicating whether to automatically create an index on the _id. + + + + + Gets or sets a value indicating whether the collection is capped. + + + + + Gets or sets the collation. + + + + + Gets or sets the index option defaults. + + + + + Gets or sets the maximum number of documents (used with capped collections). + + + + + Gets or sets the maximum size of the collection (used with capped collections). + + + + + Gets or sets whether padding should not be used. + + + + + Gets or sets the serializer registry. + + + + + Gets or sets the storage engine options. + + + + + Gets or sets a value indicating whether to use power of 2 sizes. + + + + + Gets or sets the validation action. + + + + + Gets or sets the validation level. + + + + + Options for creating a collection. + + The type of the document. + + + + + + MongoDB.Driver.CreateCollectionOptions`1 + + + + + + + Gets or sets the document serializer. + + + + + Gets or sets the validator. + + + + + Model for creating an index. + + The type of the document. + + + + Initializes a new instance of the class. + + The keys. + The options. + + + + Gets the keys. + + + + + Gets the options. + + + + + Options for creating an index. + + + + + + + MongoDB.Driver.CreateIndexOptions + + + + + + + Gets or sets a value indicating whether to create the index in the background. + + + + + Gets or sets the precision, in bits, used with geohash indexes. + + + + + Gets or sets the size of a geohash bucket. + + + + + Gets or sets the collation. + + + + + Gets or sets the default language. + + + + + Gets or sets when documents expire (used with TTL indexes). + + + + + Gets or sets the language override. + + + + + Gets or sets the max value for 2d indexes. + + + + + Gets or sets the min value for 2d indexes. + + + + + Gets or sets the index name. + + + + + Gets or sets a value indicating whether the index is a sparse index. + + + + + Gets or sets the index version for 2dsphere indexes. + + + + + Gets or sets the storage engine options. + + + + + Gets or sets the index version for text indexes. + + + + + Gets or sets a value indicating whether the index is a unique index. + + + + + Gets or sets the version of the index. + + + + + Gets or sets the weights for text indexes. + + + + + Options for creating an index. + + The type of the document. + + + + + + MongoDB.Driver.CreateIndexOptions`1 + + + + + + + Gets or sets the partial filter expression. + + + + + Options for creating a view. + + The type of the documents. + + + + + + MongoDB.Driver.CreateViewOptions`1 + + + + + + + Gets or sets the collation. + + + + + Gets or sets the document serializer. + + + + + Gets or sets the serializer registry. + + + + + The cursor type. + + + + + A non-tailable cursor. This is sufficient for a vast majority of uses. + + + + + A tailable cursor. + + + + + A tailable cursor with a built-in server sleep. + + + + + Model for deleting many documents. + + The type of the document. + + + + Initializes a new instance of the class. + + The filter. + + + + Gets or sets the collation. + + + + + Gets the filter. + + + + + Gets the type of the model. + + + + + Model for deleting a single document. + + The type of the document. + + + + Initializes a new instance of the class. + + The filter. + + + + Gets or sets the collation. + + + + + Gets the filter. + + + + + Gets the type of the model. + + + + + Options for the Delete methods. + + + + + + + MongoDB.Driver.DeleteOptions + + + + + + + Gets or sets the collation. + + + + + The result of a delete operation. + + + + + Initializes a new instance of the class. + + + + + Gets the deleted count. If IsAcknowledged is false, this will throw an exception. + + + + + Gets a value indicating whether the result is acknowleded. + + + + + The result of an acknowledged delete operation. + + + + + Initializes a new instance of the class. + + The deleted count. + + + + Gets the deleted count. If IsAcknowledged is false, this will throw an exception. + + + + + Gets a value indicating whether the result is acknowleded. + + + + + The result of an unacknowledged delete operation. + + + + + Gets the deleted count. If IsAcknowledged is false, this will throw an exception. + + + + + Gets the instance. + + + + + Gets a value indicating whether the result is acknowleded. + + + + + Options for the distinct command. + + + + + + + MongoDB.Driver.DistinctOptions + + + + + + + Gets or sets the collation. + + + + + Gets or sets the maximum time. + + + + + Represents an empty pipeline. + + The type of the input documents. + + + + Initializes a new instance of the class. + + The output serializer. + + + + Gets the output serializer. + + + + + Renders the pipeline. + + The input serializer. + The serializer registry. + A + + + + Gets the stages. + + + + + A based aggregate expression. + + The type of the source. + The type of the result. + + + + Initializes a new instance of the class. + + The expression. + The translation options. + + + + Renders the aggregation expression. + + The source serializer. + The serializer registry. + The rendered aggregation expression. + + + + An based field. + + The type of the document. + + + + Initializes a new instance of the class. + + The expression. + + + + Gets the expression. + + + + + Renders the field to a . + + The document serializer. + The serializer registry. + A . + + + + An based field. + + The type of the document. + The type of the field. + + + + Initializes a new instance of the class. + + The expression. + + + + Gets the expression. + + + + + Renders the field to a . + + The document serializer. + The serializer registry. + A . + + + + An based filter. + + The type of the document. + + + + Initializes a new instance of the class. + + The expression. + + + + Gets the expression. + + + + + Renders the filter to a . + + The document serializer. + The serializer registry. + A . + + + + Options for controlling translation from .NET expression trees into MongoDB expressions. + + + + + + + MongoDB.Driver.ExpressionTranslationOptions + + + + + + + Gets or sets the string translation mode. + + + + + Evidence of a MongoIdentity via an external mechanism. For example, on windows this may + be the current process' user or, on linux, via kinit. + + + + + Initializes a new instance of the class. + + + + + 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. + + + + + Base class for field names. + + The type of the document. + + + + + + MongoDB.Driver.FieldDefinition`1 + + + + + + + Performs an implicit conversion from to . + + Name of the field. + + The result of the conversion. + + + + + Renders the field to a . + + The document serializer. + The serializer registry. + A . + + + + Base class for field names. + + The type of the document. + The type of the field. + + + + + + MongoDB.Driver.FieldDefinition`2 + + + + + + + Performs an implicit conversion from to . + + The field. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + Name of the field. + + The result of the conversion. + + + + + Renders the field to a . + + The document serializer. + The serializer registry. + A . + + + + Base class for filters. + + The type of the document. + + + + + + MongoDB.Driver.FilterDefinition`1 + + + + + + + Gets an empty filter. An empty filter matches everything. + + + + + Implements the operator &. + + The LHS. + The RHS. + + The result of the operator. + + + + + Implements the operator |. + + The LHS. + The RHS. + + The result of the operator. + + + + + Performs an implicit conversion from to . + + The document. + + The result of the conversion. + + + + + Performs an implicit conversion from a predicate expression to . + + The predicate. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The JSON string. + + The result of the conversion. + + + + + Implements the operator !. + + The op. + + The result of the operator. + + + + + Renders the filter to a . + + The document serializer. + The serializer registry. + A . + + + + A builder for a . + + The type of the document. + + + + + + MongoDB.Driver.FilterDefinitionBuilder`1 + + + + + + + Creates an all filter for an array field. + + The field. + The values. + The type of the item. + An all filter. + + + + Creates an all filter for an array field. + + The field. + The values. + The type of the item. + An all filter. + + + + Creates an and filter. + + The filters. + A filter. + + + + Creates an and filter. + + The filters. + An and filter. + + + + Creates an equality filter for an array field. + + The field. + The value. + The type of the item. + An equality filter. + + + + Creates an equality filter for an array field. + + The field. + The value. + The type of the item. + An equality filter. + + + + Creates a greater than filter for an array field. + + The field. + The value. + The type of the item. + A greater than filter. + + + + Creates a greater than filter for an array field. + + The field. + The value. + The type of the item. + A greater than filter. + + + + Creates a greater than or equal filter for an array field. + + The field. + The value. + The type of the item. + A greater than or equal filter. + + + + Creates a greater than or equal filter for an array field. + + The field. + The value. + The type of the item. + A greater than or equal filter. + + + + Creates an in filter for an array field. + + The field. + The values. + The type of the item. + An in filter. + + + + Creates an in filter for an array field. + + The field. + The values. + The type of the item. + An in filter. + + + + Creates a less than filter for an array field. + + The field. + The value. + The type of the item. + A less than filter. + + + + Creates a less than filter for an array field. + + The field. + The value. + The type of the item. + A less than filter. + + + + Creates a less than or equal filter for an array field. + + The field. + The value. + The type of the item. + A less than or equal filter. + + + + Creates a less than or equal filter for an array field. + + The field. + The value. + The type of the item. + A less than or equal filter. + + + + Creates a not equal filter for an array field. + + The field. + The value. + The type of the item. + A not equal filter. + + + + Creates a not equal filter for an array field. + + The field. + The value. + The type of the item. + A not equal filter. + + + + Creates a not in filter for an array field. + + The field. + The values. + The type of the item. + A not in filter. + + + + Creates a not in filter for an array field. + + The field. + The values. + The type of the item. + A not in filter. + + + + Creates a bits all clear filter. + + The field. + The bitmask. + A bits all clear filter. + + + + Creates a bits all clear filter. + + The field. + The bitmask. + A bits all clear filter. + + + + Creates a bits all set filter. + + The field. + The bitmask. + A bits all set filter. + + + + Creates a bits all set filter. + + The field. + The bitmask. + A bits all set filter. + + + + Creates a bits any clear filter. + + The field. + The bitmask. + A bits any clear filter. + + + + Creates a bits any clear filter. + + The field. + The bitmask. + A bits any clear filter. + + + + Creates a bits any set filter. + + The field. + The bitmask. + A bits any set filter. + + + + Creates a bits any set filter. + + The field. + The bitmask. + A bits any set filter. + + + + Creates an element match filter for an array field. + + The field. + The filter. + The type of the item. + An element match filter. + + + + Creates an element match filter for an array field. + + The field. + The filter. + The type of the item. + An element match filter. + + + + Creates an element match filter for an array field. + + The field. + The filter. + The type of the item. + An element match filter. + + + + Gets an empty filter. An empty filter matches everything. + + + + + Creates an equality filter. + + The field. + The value. + The type of the field. + An equality filter. + + + + Creates an equality filter. + + The field. + The value. + The type of the field. + An equality filter. + + + + Creates an exists filter. + + The field. + if set to true [exists]. + An exists filter. + + + + Creates an exists filter. + + The field. + if set to true [exists]. + An exists filter. + + + + Creates a geo intersects filter. + + The field. + The geometry. + The type of the coordinates. + A geo intersects filter. + + + + Creates a geo intersects filter. + + The field. + The geometry. + The type of the coordinates. + A geo intersects filter. + + + + Creates a geo within filter. + + The field. + The geometry. + The type of the coordinates. + A geo within filter. + + + + Creates a geo within filter. + + The field. + The geometry. + The type of the coordinates. + A geo within filter. + + + + Creates a geo within box filter. + + The field. + The lower left x. + The lower left y. + The upper right x. + The upper right y. + A geo within box filter. + + + + Creates a geo within box filter. + + The field. + The lower left x. + The lower left y. + The upper right x. + The upper right y. + A geo within box filter. + + + + Creates a geo within center filter. + + The field. + The x. + The y. + The radius. + A geo within center filter. + + + + Creates a geo within center filter. + + The field. + The x. + The y. + The radius. + A geo within center filter. + + + + Creates a geo within center sphere filter. + + The field. + The x. + The y. + The radius. + A geo within center sphere filter. + + + + Creates a geo within center sphere filter. + + The field. + The x. + The y. + The radius. + A geo within center sphere filter. + + + + Creates a geo within polygon filter. + + The field. + The points. + A geo within polygon filter. + + + + Creates a geo within polygon filter. + + The field. + The points. + A geo within polygon filter. + + + + Creates a greater than filter for a UInt32 field. + + The field. + The value. + A greater than filter. + + + + Creates a greater than filter for a UInt64 field. + + The field. + The value. + A greater than filter. + + + + Creates a greater than filter. + + The field. + The value. + The type of the field. + A greater than filter. + + + + Creates a greater than filter for a UInt32 field. + + The field. + The value. + A greater than filter. + + + + Creates a greater than filter for a UInt64 field. + + The field. + The value. + A greater than filter. + + + + Creates a greater than filter. + + The field. + The value. + The type of the field. + A greater than filter. + + + + Creates a greater than or equal filter for a UInt32 field. + + The field. + The value. + A greater than or equal filter. + + + + Creates a greater than or equal filter for a UInt64 field. + + The field. + The value. + A greater than or equal filter. + + + + Creates a greater than or equal filter. + + The field. + The value. + The type of the field. + A greater than or equal filter. + + + + Creates a greater than or equal filter for a UInt32 field. + + The field. + The value. + A greater than or equal filter. + + + + Creates a greater than or equal filter for a UInt64 field. + + The field. + The value. + A greater than or equal filter. + + + + Creates a greater than or equal filter. + + The field. + The value. + The type of the field. + A greater than or equal filter. + + + + Creates an in filter. + + The field. + The values. + The type of the field. + An in filter. + + + + Creates an in filter. + + The field. + The values. + The type of the field. + An in filter. + + + + Creates a less than filter for a UInt32 field. + + The field. + The value. + A less than filter. + + + + Creates a less than filter for a UInt64 field. + + The field. + The value. + A less than filter. + + + + Creates a less than filter. + + The field. + The value. + The type of the field. + A less than filter. + + + + Creates a less than filter for a UInt32 field. + + The field. + The value. + A less than filter. + + + + Creates a less than filter for a UInt64 field. + + The field. + The value. + A less than filter. + + + + Creates a less than filter. + + The field. + The value. + The type of the field. + A less than filter. + + + + Creates a less than or equal filter for a UInt32 field. + + The field. + The value. + A less than or equal filter. + + + + Creates a less than or equal filter for a UInt64 field. + + The field. + The value. + A less than or equal filter. + + + + Creates a less than or equal filter. + + The field. + The value. + The type of the field. + A less than or equal filter. + + + + Creates a less than or equal filter for a UInt32 field. + + The field. + The value. + A less than or equal filter. + + + + Creates a less than or equal filter for a UInt64 field. + + The field. + The value. + A less than or equal filter. + + + + Creates a less than or equal filter. + + The field. + The value. + The type of the field. + A less than or equal filter. + + + + Creates a modulo filter. + + The field. + The modulus. + The remainder. + A modulo filter. + + + + Creates a modulo filter. + + The field. + The modulus. + The remainder. + A modulo filter. + + + + Creates a not equal filter. + + The field. + The value. + The type of the field. + A not equal filter. + + + + Creates a not equal filter. + + The field. + The value. + The type of the field. + A not equal filter. + + + + Creates a near filter. + + The field. + The geometry. + The maximum distance. + The minimum distance. + The type of the coordinates. + A near filter. + + + + Creates a near filter. + + The field. + The x. + The y. + The maximum distance. + The minimum distance. + A near filter. + + + + Creates a near filter. + + The field. + The geometry. + The maximum distance. + The minimum distance. + The type of the coordinates. + A near filter. + + + + Creates a near filter. + + The field. + The x. + The y. + The maximum distance. + The minimum distance. + A near filter. + + + + Creates a near sphere filter. + + The field. + The geometry. + The maximum distance. + The minimum distance. + The type of the coordinates. + A near sphere filter. + + + + Creates a near sphere filter. + + The field. + The x. + The y. + The maximum distance. + The minimum distance. + A near sphere filter. + + + + Creates a near sphere filter. + + The field. + The geometry. + The maximum distance. + The minimum distance. + The type of the coordinates. + A near sphere filter. + + + + Creates a near sphere filter. + + The field. + The x. + The y. + The maximum distance. + The minimum distance. + A near sphere filter. + + + + Creates a not in filter. + + The field. + The values. + The type of the field. + A not in filter. + + + + Creates a not in filter. + + The field. + The values. + The type of the field. + A not in filter. + + + + Creates a not filter. + + The filter. + A not filter. + + + + Creates an OfType filter that matches documents of a derived type. + + The type of the matching derived documents. + An OfType filter. + + + + Creates an OfType filter that matches documents with a field of a derived typer. + + The field. + The type of the field. + The type of the matching derived field value. + An OfType filter. + + + + Creates an OfType filter that matches documents with a field of a derived type and that also match a filter on the derived field. + + The field. + A filter on the derived field. + The type of the field. + The type of the matching derived field value. + An OfType filter. + + + + Creates an OfType filter that matches documents of a derived type and that also match a filter on the derived document. + + A filter on the derived document. + The type of the matching derived documents. + An OfType filter. + + + + Creates an OfType filter that matches documents of a derived type and that also match a filter on the derived document. + + A filter on the derived document. + The type of the matching derived documents. + An OfType filter. + + + + Creates an OfType filter that matches documents with a field of a derived type. + + The field. + The type of the field. + The type of the matching derived field value. + An OfType filter. + + + + Creates an OfType filter that matches documents with a field of a derived type and that also match a filter on the derived field. + + The field. + A filter on the derived field. + The type of the field. + The type of the matching derived field value. + An OfType filter. + + + + Creates an or filter. + + The filters. + An or filter. + + + + Creates an or filter. + + The filters. + An or filter. + + + + Creates a regular expression filter. + + The field. + The regex. + A regular expression filter. + + + + Creates a regular expression filter. + + The field. + The regex. + A regular expression filter. + + + + Creates a size filter. + + The field. + The size. + A size filter. + + + + Creates a size filter. + + The field. + The size. + A size filter. + + + + Creates a size greater than filter. + + The field. + The size. + A size greater than filter. + + + + Creates a size greater than filter. + + The field. + The size. + A size greater than filter. + + + + Creates a size greater than or equal filter. + + The field. + The size. + A size greater than or equal filter. + + + + Creates a size greater than or equal filter. + + The field. + The size. + A size greater than or equal filter. + + + + Creates a size less than filter. + + The field. + The size. + A size less than filter. + + + + Creates a size less than filter. + + The field. + The size. + A size less than filter. + + + + Creates a size less than or equal filter. + + The field. + The size. + A size less than or equal filter. + + + + Creates a size less than or equal filter. + + The field. + The size. + A size less than or equal filter. + + + + Creates a text filter. + + The search. + The text search options. + A text filter. + + + + Creates a text filter. + + The search. + The language. + A text filter. + + + + Creates a type filter. + + The field. + The type. + A type filter. + + + + Creates a type filter. + + The field. + The type. + A type filter. + + + + Creates a type filter. + + The field. + The type. + A type filter. + + + + Creates a type filter. + + The field. + The type. + A type filter. + + + + Creates a filter based on the expression. + + The expression. + An expression filter. + + + + A find based projection. + + The type of the source. + The type of the projection. + + + + Initializes a new instance of the class. + + The expression. + + + + Gets the expression. + + + + + Renders the projection to a . + + The source serializer. + The serializer registry. + A . + + + + Base class for implementors of . + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + + + + + + MongoDB.Driver.FindFluentBase`2 + + + + + + + A simplified type of projection that changes the result type by using a different serializer. + + The result serializer. + The type of the result. + The fluent find interface. + + + + Counts the number of documents. + + The cancellation token. + The count. + + + + Counts the number of documents. + + The cancellation token. + A Task whose result is the count. + + + + Gets or sets the filter. + + + + + Limits the number of documents. + + The limit. + The fluent find interface. + + + + Gets the options. + + + + + Projects the the result. + + The projection. + The type of the projection. + The fluent find interface. + + + + Skips the the specified number of documents. + + The skip. + The fluent find interface. + + + + Sorts the the documents. + + The sort. + The fluent find interface. + + + + Executes the operation and returns a cursor to the results. + + The cancellation token. + A cursor. + + + + Executes the operation and returns a cursor to the results. + + The cancellation token. + A Task whose result is a cursor. + + + + Options for a findAndModify command to delete an object. + + The type of the document and the result. + + + + + + MongoDB.Driver.FindOneAndDeleteOptions`1 + + + + + + + Options for a findAndModify command to delete an object. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + + + + + + MongoDB.Driver.FindOneAndDeleteOptions`2 + + + + + + + Gets or sets the collation. + + + + + Gets or sets the maximum time. + + + + + Gets or sets the projection. + + + + + Gets or sets the sort. + + + + + Options for a findAndModify command to replace an object. + + The type of the document and the result. + + + + + + MongoDB.Driver.FindOneAndReplaceOptions`1 + + + + + + + Options for a findAndModify command to replace an object. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + + + + Initializes a new instance of the class. + + + + + Gets or sets a value indicating whether to bypass document validation. + + + + + Gets or sets the collation. + + + + + Gets or sets a value indicating whether to insert the document if it doesn't already exist. + + + + + Gets or sets the maximum time. + + + + + Gets or sets the projection. + + + + + Gets or sets which version of the document to return. + + + + + Gets or sets the sort. + + + + + Options for a findAndModify command to update an object. + + The type of the document and the result. + + + + + + MongoDB.Driver.FindOneAndUpdateOptions`1 + + + + + + + Options for a findAndModify command to update an object. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + + + + Initializes a new instance of the class. + + + + + Gets or sets a value indicating whether to bypass document validation. + + + + + Gets or sets the collation. + + + + + Gets or sets a value indicating whether to insert the document if it doesn't already exist. + + + + + Gets or sets the maximum time. + + + + + Gets or sets the projection. + + + + + Gets or sets which version of the document to return. + + + + + Gets or sets the sort. + + + + + Options for finding documents. + + + + + + + MongoDB.Driver.FindOptions + + + + + + + Options for finding documents. + + The type of the document and the result. + + + + + + MongoDB.Driver.FindOptions`1 + + + + + + + Options for finding documents. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + + + + + + MongoDB.Driver.FindOptions`2 + + + + + + + Gets or sets how many documents to return. + + + + + Gets or sets the projection. + + + + + Gets or sets how many documents to skip before returning the rest. + + + + + Gets or sets the sort. + + + + + Options for a find operation. + + + + + Initializes a new instance of the class. + + + + + Gets or sets a value indicating whether to allow partial results when some shards are unavailable. + + + + + Gets or sets the size of a batch. + + + + + Gets or sets the collation. + + + + + Gets or sets the comment. + + + + + Gets or sets the type of the cursor. + + + + + Gets or sets the maximum await time for TailableAwait cursors. + + + + + Gets or sets the maximum time. + + + + + Gets or sets the modifiers. + + + + + Gets or sets whether a cursor will time out. + + + + + Gets or sets whether the OplogReplay bit will be set. + + + + + Fluent interface for aggregate. + + The type of the result of the pipeline. + + + + Appends the stage to the pipeline. + + The stage. + The type of the result of the stage. + The fluent aggregate interface. + + + + Changes the result type of the pipeline. + + The new result serializer. + The type of the new result. + The fluent aggregate interface. + + + + Appends a $bucket stage to the pipeline. + + The expression providing the value to group by. + The bucket boundaries. + The options. + The type of the value. + The fluent aggregate interface. + + + + Appends a $bucket stage to the pipeline with a custom projection. + + The expression providing the value to group by. + The bucket boundaries. + The output projection. + The options. + The type of the value. + The type of the new result. + The fluent aggregate interface. + + + + Appends a $bucketAuto stage to the pipeline. + + The expression providing the value to group by. + The number of buckets. + The options (optional). + The type of the value. + The fluent aggregate interface. + + + + Appends a $bucketAuto stage to the pipeline with a custom projection. + + The expression providing the value to group by. + The number of buckets. + The output projection. + The options (optional). + The type of the value. + The type of the new result. + The fluent aggregate interface. + + + + Appends a count stage to the pipeline. + + The fluent aggregate interface. + + + + Gets the database. + + + + + Appends a $facet stage to the pipeline. + + The facets. + The options. + The type of the new result. + + The fluent aggregate interface. + + + + + Appends a $graphLookup stage to the pipeline. + + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The depth field. + The options. + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field elements. + The type of the as field. + The type of the new result (must be same as TResult with an additional as field). + The fluent aggregate interface. + + + + Appends a group stage to the pipeline. + + The group projection. + The type of the result of the stage. + The fluent aggregate interface. + + + + Appends a limit stage to the pipeline. + + The limit. + The fluent aggregate interface. + + + + Appends a lookup stage to the pipeline. + + Name of the other collection. + The local field. + The foreign field. + The field in to place the foreign results. + The options. + The type of the foreign document. + The type of the new result. + The fluent aggregate interface. + + + + Appends a match stage to the pipeline. + + The filter. + The fluent aggregate interface. + + + + Appends a match stage to the pipeline that matches derived documents and changes the result type to the derived type. + + The new result serializer. + The type of the derived documents. + The fluent aggregate interface. + + + + Gets the options. + + + + + Appends an out stage to the pipeline and executes it, and then returns a cursor to read the contents of the output collection. + + Name of the collection. + The cancellation token. + A cursor. + + + + Appends an out stage to the pipeline and executes it, and then returns a cursor to read the contents of the output collection. + + Name of the collection. + The cancellation token. + A Task whose result is a cursor. + + + + Appends a project stage to the pipeline. + + The projection. + The type of the result of the stage. + + The fluent aggregate interface. + + + + + Appends a $replaceRoot stage to the pipeline. + + The new root. + The type of the new result. + The fluent aggregate interface. + + + + Appends a skip stage to the pipeline. + + The number of documents to skip. + The fluent aggregate interface. + + + + Appends a sort stage to the pipeline. + + The sort specification. + The fluent aggregate interface. + + + + Appends a sortByCount stage to the pipeline. + + The identifier. + The type of the identifier. + The fluent aggregate interface. + + + + Gets the stages. + + + + + Appends an unwind stage to the pipeline. + + The field. + The new result serializer. + The type of the result of the stage. + + The fluent aggregate interface. + + + + + Appends an unwind stage to the pipeline. + + The field. + The options. + The type of the new result. + The fluent aggregate interface. + + + + Extension methods for + + + + Appends a $bucket stage to the pipeline. + + The aggregate. + The expression providing the value to group by. + The bucket boundaries. + The options. + The type of the result. + The type of the value. + The fluent aggregate interface. + + + + Appends a $bucket stage to the pipeline. + + The aggregate. + The expression providing the value to group by. + The bucket boundaries. + The output projection. + The options. + The type of the result. + The type of the value. + The type of the new result. + The fluent aggregate interface. + + + + Appends a $bucketAuto stage to the pipeline. + + The aggregate. + The expression providing the value to group by. + The number of buckets. + The options (optional). + The type of the result. + The type of the value. + The fluent aggregate interface. + + + + Appends a $bucketAuto stage to the pipeline. + + The aggregate. + The expression providing the value to group by. + The number of buckets. + The output projection. + The options (optional). + The type of the result. + The type of the value. + The type of the new result. + The fluent aggregate interface. + + + + Appends a $facet stage to the pipeline. + + The aggregate. + The facets. + The type of the result. + The fluent aggregate interface. + + + + Appends a $facet stage to the pipeline. + + The aggregate. + The facets. + The type of the result. + The type of the new result. + + The fluent aggregate interface. + + + + + Appends a $facet stage to the pipeline. + + The aggregate. + The facets. + The type of the result. + The fluent aggregate interface. + + + + Returns the first document of the aggregate result. + + The aggregate. + The cancellation token. + The type of the result. + + The fluent aggregate interface. + + + + + Returns the first document of the aggregate result. + + The aggregate. + The cancellation token. + The type of the result. + + The fluent aggregate interface. + + + + + Returns the first document of the aggregate result, or the default value if the result set is empty. + + The aggregate. + The cancellation token. + The type of the result. + + The fluent aggregate interface. + + + + + Returns the first document of the aggregate result, or the default value if the result set is empty. + + The aggregate. + The cancellation token. + The type of the result. + + The fluent aggregate interface. + + + + + Appends a $graphLookup stage to the pipeline. + + The aggregate. + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The depth field. + The type of the result. + The type of the from documents. + The fluent aggregate interface. + + + + Appends a $graphLookup stage to the pipeline. + + The aggregate. + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The options. + The type of the result. + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field. + The type of the new result (must be same as TResult with an additional as field). + The fluent aggregate interface. + + + + Appends a $graphLookup stage to the pipeline. + + The aggregate. + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The options. + The type of the result. + The type of the new result (must be same as TResult with an additional as field). + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field. + The fluent aggregate interface. + + + + Appends a $graphLookup stage to the pipeline. + + The aggregate. + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The depth field. + The options. + The type of the result. + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field elements. + The type of the as field. + The type of the new result (must be same as TResult with an additional as field). + The fluent aggregate interface. + + + + Appends a group stage to the pipeline. + + The aggregate. + The group projection. + The type of the result. + + The fluent aggregate interface. + + + + + Appends a group stage to the pipeline. + + The aggregate. + The id. + The group projection. + The type of the result. + The type of the key. + The type of the new result. + + The fluent aggregate interface. + + + + + Appends a lookup stage to the pipeline. + + The aggregate. + The foreign collection. + The local field. + The foreign field. + The field in the result to place the foreign matches. + The options. + The type of the result. + The type of the foreign collection. + The type of the new result. + The fluent aggregate interface. + + + + Appends a lookup stage to the pipeline. + + The aggregate. + Name of the foreign collection. + The local field. + The foreign field. + The field in the result to place the foreign matches. + The type of the result. + The fluent aggregate interface. + + + + Appends a match stage to the pipeline. + + The aggregate. + The filter. + The type of the result. + + The fluent aggregate interface. + + + + + Appends a project stage to the pipeline. + + The aggregate. + The projection. + The type of the result. + + The fluent aggregate interface. + + + + + Appends a project stage to the pipeline. + + The aggregate. + The projection. + The type of the result. + The type of the new result. + + The fluent aggregate interface. + + + + + Appends a $replaceRoot stage to the pipeline. + + The aggregate. + The new root. + The type of the result. + The type of the new result. + + The fluent aggregate interface. + + + + + Returns the only document of the aggregate result. Throws an exception if the result set does not contain exactly one document. + + The aggregate. + The cancellation token. + The type of the result. + + The fluent aggregate interface. + + + + + Returns the only document of the aggregate result. Throws an exception if the result set does not contain exactly one document. + + The aggregate. + The cancellation token. + The type of the result. + + The fluent aggregate interface. + + + + + Returns the only document of the aggregate result, or the default value if the result set is empty. Throws an exception if the result set contains more than one document. + + The aggregate. + The cancellation token. + The type of the result. + + The fluent aggregate interface. + + + + + Returns the only document of the aggregate result, or the default value if the result set is empty. Throws an exception if the result set contains more than one document. + + The aggregate. + The cancellation token. + The type of the result. + + The fluent aggregate interface. + + + + + Appends an ascending sort stage to the pipeline. + + The aggregate. + The field to sort by. + The type of the result. + + The fluent aggregate interface. + + + + + Appends a sortByCount stage to the pipeline. + + The aggregate. + The id. + The type of the result. + The type of the key. + + The fluent aggregate interface. + + + + + Appends a descending sort stage to the pipeline. + + The aggregate. + The field to sort by. + The type of the result. + + The fluent aggregate interface. + + + + + Modifies the current sort stage by appending an ascending field specification to it. + + The aggregate. + The field to sort by. + The type of the result. + + The fluent aggregate interface. + + + + + Modifies the current sort stage by appending a descending field specification to it. + + The aggregate. + The field to sort by. + The type of the result. + + The fluent aggregate interface. + + + + + Appends an unwind stage to the pipeline. + + The aggregate. + The field to unwind. + The type of the result. + + The fluent aggregate interface. + + + + + Appends an unwind stage to the pipeline. + + The aggregate. + The field to unwind. + The type of the result. + + The fluent aggregate interface. + + + + + Appends an unwind stage to the pipeline. + + The aggregate. + The field to unwind. + The new result serializer. + The type of the result. + The type of the new result. + + The fluent aggregate interface. + + + + + Appends an unwind stage to the pipeline. + + The aggregate. + The field to unwind. + The options. + The type of the result. + The type of the new result. + + The fluent aggregate interface. + + + + + A filtered mongo collection. The filter will be and'ed with all filters. + + The type of the document. + + + + Gets the filter. + + + + + Fluent interface for find. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + + + + A simplified type of projection that changes the result type by using a different serializer. + + The result serializer. + The type of the result. + The fluent find interface. + + + + Counts the number of documents. + + The cancellation token. + The count. + + + + Counts the number of documents. + + The cancellation token. + A Task whose result is the count. + + + + Gets or sets the filter. + + + + + Limits the number of documents. + + The limit. + The fluent find interface. + + + + Gets the options. + + + + + Projects the the result. + + The projection. + The type of the projection. + The fluent find interface. + + + + Skips the the specified number of documents. + + The skip. + The fluent find interface. + + + + Sorts the the documents. + + The sort. + The fluent find interface. + + + + Extension methods for + + + + Get the first result. + + The fluent find. + The cancellation token. + The type of the document. + The type of the projection (same as TDocument if there is no projection). + A Task whose result is the first result. + + + + Get the first result. + + The fluent find. + The cancellation token. + The type of the document. + The type of the projection (same as TDocument if there is no projection). + A Task whose result is the first result. + + + + Get the first result or null. + + The fluent find. + The cancellation token. + The type of the document. + The type of the projection (same as TDocument if there is no projection). + A Task whose result is the first result or null. + + + + Get the first result or null. + + The fluent find. + The cancellation token. + The type of the document. + The type of the projection (same as TDocument if there is no projection). + A Task whose result is the first result or null. + + + + Projects the result. + + The fluent find. + The projection. + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The fluent find interface. + + + + Projects the result. + + The fluent find. + The projection. + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The type of the new projection. + The fluent find interface. + + + + Gets a single result. + + The fluent find. + The cancellation token. + The type of the document. + The type of the projection (same as TDocument if there is no projection). + A Task whose result is the single result. + + + + Gets a single result. + + The fluent find. + The cancellation token. + The type of the document. + The type of the projection (same as TDocument if there is no projection). + A Task whose result is the single result. + + + + Gets a single result or null. + + The fluent find. + The cancellation token. + The type of the document. + The type of the projection (same as TDocument if there is no projection). + A Task whose result is the single result or null. + + + + Gets a single result or null. + + The fluent find. + The cancellation token. + The type of the document. + The type of the projection (same as TDocument if there is no projection). + A Task whose result is the single result or null. + + + + Sorts the results by an ascending field. + + The fluent find. + The field. + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The fluent find interface. + + + + Sorts the results by a descending field. + + The fluent find. + The field. + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The fluent find interface. + + + + Adds an ascending field to the existing sort. + + The fluent find. + The field. + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The fluent find interface. + + + + Adds a descending field to the existing sort. + + The fluent find. + The field. + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The fluent find interface. + + + + The client interface to MongoDB. + + + + + Gets the cluster. + + + + + Drops the database with the specified name. + + The name of the database to drop. + The cancellation token. + + + + Drops the database with the specified name. + + The name of the database to drop. + The cancellation token. + A task. + + + + Gets a database. + + The name of the database. + The database settings. + An implementation of a database. + + + + Lists the databases on the server. + + The cancellation token. + A cursor. + + + + Lists the databases on the server. + + The cancellation token. + A Task whose result is a cursor. + + + + Gets the settings. + + + + + Returns a new IMongoClient instance with a different read concern setting. + + The read concern. + A new IMongoClient instance with a different read concern setting. + + + + Returns a new IMongoClient instance with a different read preference setting. + + The read preference. + A new IMongoClient instance with a different read preference setting. + + + + Returns a new IMongoClient instance with a different write concern setting. + + The write concern. + A new IMongoClient instance with a different write concern setting. + + + + Represents a typed collection in MongoDB. + + The type of the documents stored in the collection. + + + + Runs an aggregation pipeline. + + The pipeline. + The options. + The cancellation token. + The type of the result. + A cursor. + + + + Runs an aggregation pipeline. + + The pipeline. + The options. + The cancellation token. + The type of the result. + A Task whose result is a cursor. + + + + Performs multiple write operations. + + The requests. + The options. + The cancellation token. + The result of writing. + + + + Performs multiple write operations. + + The requests. + The options. + The cancellation token. + The result of writing. + + + + Gets the namespace of the collection. + + + + + Counts the number of documents in the collection. + + The filter. + The options. + The cancellation token. + + The number of documents in the collection. + + + + + Counts the number of documents in the collection. + + The filter. + The options. + The cancellation token. + + The number of documents in the collection. + + + + + Gets the database. + + + + + Deletes multiple documents. + + The filter. + The options. + The cancellation token. + + The result of the delete operation. + + + + + Deletes multiple documents. + + The filter. + The cancellation token. + + The result of the delete operation. + + + + + Deletes multiple documents. + + The filter. + The options. + The cancellation token. + + The result of the delete operation. + + + + + Deletes multiple documents. + + The filter. + The cancellation token. + + The result of the delete operation. + + + + + Deletes a single document. + + The filter. + The options. + The cancellation token. + + The result of the delete operation. + + + + + Deletes a single document. + + The filter. + The cancellation token. + + The result of the delete operation. + + + + + Deletes a single document. + + The filter. + The options. + The cancellation token. + + The result of the delete operation. + + + + + Deletes a single document. + + The filter. + The cancellation token. + + The result of the delete operation. + + + + + Gets the distinct values for a specified field. + + The field. + The filter. + The options. + The cancellation token. + The type of the result. + A cursor. + + + + Gets the distinct values for a specified field. + + The field. + The filter. + The options. + The cancellation token. + The type of the result. + A Task whose result is a cursor. + + + + Gets the document serializer. + + + + + Finds the documents matching the filter. + + The filter. + The options. + The cancellation token. + The type of the projection (same as TDocument if there is no projection). + A Task whose result is a cursor. + + + + Finds a single document and deletes it atomically. + + The filter. + The options. + The cancellation token. + The type of the projection (same as TDocument if there is no projection). + + The returned document. + + + + + Finds a single document and deletes it atomically. + + The filter. + The options. + The cancellation token. + The type of the projection (same as TDocument if there is no projection). + + The returned document. + + + + + Finds a single document and replaces it atomically. + + The filter. + The replacement. + The options. + The cancellation token. + The type of the projection (same as TDocument if there is no projection). + + The returned document. + + + + + Finds a single document and replaces it atomically. + + The filter. + The replacement. + The options. + The cancellation token. + The type of the projection (same as TDocument if there is no projection). + + The returned document. + + + + + Finds a single document and updates it atomically. + + The filter. + The update. + The options. + The cancellation token. + The type of the projection (same as TDocument if there is no projection). + + The returned document. + + + + + Finds a single document and updates it atomically. + + The filter. + The update. + The options. + The cancellation token. + The type of the projection (same as TDocument if there is no projection). + + The returned document. + + + + + Finds the documents matching the filter. + + The filter. + The options. + The cancellation token. + The type of the projection (same as TDocument if there is no projection). + A cursor. + + + + Gets the index manager. + + + + + Inserts many documents. + + The documents. + The options. + The cancellation token. + + + + Inserts many documents. + + The documents. + The options. + The cancellation token. + + The result of the insert operation. + + + + + Inserts a single document. + + The document. + The options. + The cancellation token. + + + + Inserts a single document. + + The document. + The options. + The cancellation token. + + The result of the insert operation. + + + + + Inserts a single document. + + The document. + The cancellation token. + + The result of the insert operation. + + + + + Executes a map-reduce command. + + The map function. + The reduce function. + The options. + The cancellation token. + The type of the result. + A cursor. + + + + Executes a map-reduce command. + + The map function. + The reduce function. + The options. + The cancellation token. + The type of the result. + A Task whose result is a cursor. + + + + Returns a filtered collection that appears to contain only documents of the derived type. + All operations using this filtered collection will automatically use discriminators as necessary. + + The type of the derived document. + A filtered collection. + + + + Replaces a single document. + + The filter. + The replacement. + The options. + The cancellation token. + + The result of the replacement. + + + + + Replaces a single document. + + The filter. + The replacement. + The options. + The cancellation token. + + The result of the replacement. + + + + + Gets the settings. + + + + + Updates many documents. + + The filter. + The update. + The options. + The cancellation token. + + The result of the update operation. + + + + + Updates many documents. + + The filter. + The update. + The options. + The cancellation token. + + The result of the update operation. + + + + + Updates a single document. + + The filter. + The update. + The options. + The cancellation token. + + The result of the update operation. + + + + + Updates a single document. + + The filter. + The update. + The options. + The cancellation token. + + The result of the update operation. + + + + + Returns a new IMongoCollection instance with a different read concern setting. + + The read concern. + A new IMongoCollection instance with a different read concern setting. + + + + Returns a new IMongoCollection instance with a different read preference setting. + + The read preference. + A new IMongoCollection instance with a different read preference setting. + + + + Returns a new IMongoCollection instance with a different write concern setting. + + The write concern. + A new IMongoCollection instance with a different write concern setting. + + + + Extension methods for . + + + + + Begins a fluent aggregation interface. + + The collection. + The options. + The type of the document. + + A fluent aggregate interface. + + + + + Creates a queryable source of documents. + + The collection. + The aggregate options + The type of the document. + A queryable source of documents. + + + + Counts the number of documents in the collection. + + The collection. + The filter. + The options. + The cancellation token. + The type of the document. + + The number of documents in the collection. + + + + + Counts the number of documents in the collection. + + The collection. + The filter. + The options. + The cancellation token. + The type of the document. + + The number of documents in the collection. + + + + + Deletes multiple documents. + + The collection. + The filter. + The options. + The cancellation token. + The type of the document. + + The result of the delete operation. + + + + + Deletes multiple documents. + + The collection. + The filter. + The cancellation token. + The type of the document. + + The result of the delete operation. + + + + + Deletes multiple documents. + + The collection. + The filter. + The options. + The cancellation token. + The type of the document. + + The result of the delete operation. + + + + + Deletes multiple documents. + + The collection. + The filter. + The cancellation token. + The type of the document. + + The result of the delete operation. + + + + + Deletes a single document. + + The collection. + The filter. + The options. + The cancellation token. + The type of the document. + + The result of the delete operation. + + + + + Deletes a single document. + + The collection. + The filter. + The cancellation token. + The type of the document. + + The result of the delete operation. + + + + + Deletes a single document. + + The collection. + The filter. + The options. + The cancellation token. + The type of the document. + + The result of the delete operation. + + + + + Deletes a single document. + + The collection. + The filter. + The cancellation token. + The type of the document. + + The result of the delete operation. + + + + + Gets the distinct values for a specified field. + + The collection. + The field. + The filter. + The options. + The cancellation token. + The type of the document. + The type of the result. + + The distinct values for the specified field. + + + + + Gets the distinct values for a specified field. + + The collection. + The field. + The filter. + The options. + The cancellation token. + The type of the document. + The type of the result. + + The distinct values for the specified field. + + + + + Gets the distinct values for a specified field. + + The collection. + The field. + The filter. + The options. + The cancellation token. + The type of the document. + The type of the result. + + The distinct values for the specified field. + + + + + Gets the distinct values for a specified field. + + The collection. + The field. + The filter. + The options. + The cancellation token. + The type of the document. + The type of the result. + + The distinct values for the specified field. + + + + + Gets the distinct values for a specified field. + + The collection. + The field. + The filter. + The options. + The cancellation token. + The type of the document. + The type of the result. + + The distinct values for the specified field. + + + + + Gets the distinct values for a specified field. + + The collection. + The field. + The filter. + The options. + The cancellation token. + The type of the document. + The type of the result. + + The distinct values for the specified field. + + + + + Begins a fluent find interface. + + The collection. + The filter. + The options. + The type of the document. + + A fluent find interface. + + + + + Begins a fluent find interface. + + The collection. + The filter. + The options. + The type of the document. + + A fluent interface. + + + + + Finds the documents matching the filter. + + The collection. + The filter. + The options. + The cancellation token. + The type of the document. + A Task whose result is a cursor. + + + + Finds the documents matching the filter. + + The collection. + The filter. + The options. + The cancellation token. + The type of the document. + A Task whose result is a cursor. + + + + Finds a single document and deletes it atomically. + + The collection. + The filter. + The options. + The cancellation token. + The type of the document. + + The deleted document if one was deleted. + + + + + Finds a single document and deletes it atomically. + + The collection. + The filter. + The options. + The cancellation token. + The type of the document. + + The deleted document if one was deleted. + + + + + Finds a single document and deletes it atomically. + + The collection. + The filter. + The options. + The cancellation token. + The type of the document. + The type of the projection (same as TDocument if there is no projection). + + The returned document. + + + + + Finds a single document and deletes it atomically. + + The collection. + The filter. + The options. + The cancellation token. + The type of the document. + + The deleted document if one was deleted. + + + + + Finds a single document and deletes it atomically. + + The collection. + The filter. + The options. + The cancellation token. + The type of the document. + + The deleted document if one was deleted. + + + + + Finds a single document and deletes it atomically. + + The collection. + The filter. + The options. + The cancellation token. + The type of the document. + The type of the projection (same as TDocument if there is no projection). + + The returned document. + + + + + Finds a single document and replaces it atomically. + + The collection. + The filter. + The replacement. + The options. + The cancellation token. + The type of the document. + + The returned document. + + + + + Finds a single document and replaces it atomically. + + The collection. + The filter. + The replacement. + The options. + The cancellation token. + The type of the document. + + The returned document. + + + + + Finds a single document and replaces it atomically. + + The collection. + The filter. + The replacement. + The options. + The cancellation token. + The type of the document. + The type of the projection (same as TDocument if there is no projection). + + The returned document. + + + + + Finds a single document and replaces it atomically. + + The collection. + The filter. + The replacement. + The options. + The cancellation token. + The type of the document. + + The returned document. + + + + + Finds a single document and replaces it atomically. + + The collection. + The filter. + The replacement. + The options. + The cancellation token. + The type of the document. + + The returned document. + + + + + Finds a single document and replaces it atomically. + + The collection. + The filter. + The replacement. + The options. + The cancellation token. + The type of the document. + The type of the projection (same as TDocument if there is no projection). + + The returned document. + + + + + Finds a single document and updates it atomically. + + The collection. + The filter. + The update. + The options. + The cancellation token. + The type of the document. + + The returned document. + + + + + Finds a single document and updates it atomically. + + The collection. + The filter. + The update. + The options. + The cancellation token. + The type of the document. + + The returned document. + + + + + Finds a single document and updates it atomically. + + The collection. + The filter. + The update. + The options. + The cancellation token. + The type of the document. + The type of the projection (same as TDocument if there is no projection). + + The returned document. + + + + + Finds a single document and updates it atomically. + + The collection. + The filter. + The update. + The options. + The cancellation token. + The type of the document. + + The returned document. + + + + + Finds a single document and updates it atomically. + + The collection. + The filter. + The update. + The options. + The cancellation token. + The type of the document. + + The returned document. + + + + + Finds a single document and updates it atomically. + + The collection. + The filter. + The update. + The options. + The cancellation token. + The type of the document. + The type of the projection (same as TDocument if there is no projection). + + The returned document. + + + + + Finds the documents matching the filter. + + The collection. + The filter. + The options. + The cancellation token. + The type of the document. + A Task whose result is a cursor. + + + + Finds the documents matching the filter. + + The collection. + The filter. + The options. + The cancellation token. + The type of the document. + A Task whose result is a cursor. + + + + Replaces a single document. + + The collection. + The filter. + The replacement. + The options. + The cancellation token. + The type of the document. + + The result of the replacement. + + + + + Replaces a single document. + + The collection. + The filter. + The replacement. + The options. + The cancellation token. + The type of the document. + + The result of the replacement. + + + + + Updates many documents. + + The collection. + The filter. + The update. + The options. + The cancellation token. + The type of the document. + + The result of the update operation. + + + + + Updates many documents. + + The collection. + The filter. + The update. + The options. + The cancellation token. + The type of the document. + + The result of the update operation. + + + + + Updates a single document. + + The collection. + The filter. + The update. + The options. + The cancellation token. + The type of the document. + + The result of the update operation. + + + + + Updates a single document. + + The collection. + The filter. + The update. + The options. + The cancellation token. + The type of the document. + + The result of the update operation. + + + + + Representats a database in MongoDB. + + + + + Gets the client. + + + + + Creates the collection with the specified name. + + The name. + The options. + The cancellation token. + + + + Creates the collection with the specified name. + + The name. + The options. + The cancellation token. + A task. + + + + Creates a view. + + The name of the view. + The name of the collection that the view is on. + The pipeline. + The options. + The cancellation token. + The type of the input documents. + The type of the pipeline result documents. + + + + Creates a view. + + The name of the view. + The name of the collection that the view is on. + The pipeline. + The options. + The cancellation token. + The type of the input documents. + The type of the pipeline result documents. + A task. + + + + Gets the namespace of the database. + + + + + Drops the collection with the specified name. + + The name of the collection to drop. + The cancellation token. + + + + Drops the collection with the specified name. + + The name of the collection to drop. + The cancellation token. + A task. + + + + Gets a collection. + + The name of the collection. + The settings. + The document type. + An implementation of a collection. + + + + Lists all the collections on the server. + + The options. + The cancellation token. + A cursor. + + + + Lists all the collections on the server. + + The options. + The cancellation token. + A Task whose result is a cursor. + + + + Renames the collection. + + The old name. + The new name. + The options. + The cancellation token. + + + + Renames the collection. + + The old name. + The new name. + The options. + The cancellation token. + A task. + + + + Runs a command. + + The command. + The read preference. + The cancellation token. + The result type of the command. + + The result of the command. + + + + + Runs a command. + + The command. + The read preference. + The cancellation token. + The result type of the command. + + The result of the command. + + + + + Gets the settings. + + + + + Returns a new IMongoDatabase instance with a different read concern setting. + + The read concern. + A new IMongoDatabase instance with a different read concern setting. + + + + Returns a new IMongoDatabase instance with a different read preference setting. + + The read preference. + A new IMongoDatabase instance with a different read preference setting. + + + + Returns a new IMongoDatabase instance with a different write concern setting. + + The write concern. + A new IMongoDatabase instance with a different write concern setting. + + + + An interface representing methods used to create, delete and modify indexes. + + The type of the document. + + + + Gets the namespace of the collection. + + + + + Creates multiple indexes. + + The models defining each of the indexes. + The cancellation token. + + An of the names of the indexes that were created. + + + + + Creates multiple indexes. + + The models defining each of the indexes. + The cancellation token. + + A task whose result is an of the names of the indexes that were created. + + + + + Creates an index. + + The keys. + The options. + The cancellation token. + + The name of the index that was created. + + + + + Creates an index. + + The keys. + The options. + The cancellation token. + + A task whose result is the name of the index that was created. + + + + + Gets the document serializer. + + + + + Drops all the indexes. + + The cancellation token. + + + + Drops all the indexes. + + The cancellation token. + A task. + + + + Drops an index by its name. + + The name. + The cancellation token. + + + + Drops an index by its name. + + The name. + The cancellation token. + A task. + + + + Lists the indexes. + + The cancellation token. + A cursor. + + + + Lists the indexes. + + The cancellation token. + A Task whose result is a cursor. + + + + Gets the collection settings. + + + + + Base class for an index keys definition. + + The type of the document. + + + + + + MongoDB.Driver.IndexKeysDefinition`1 + + + + + + + Performs an implicit conversion from to . + + The document. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The JSON string. + + The result of the conversion. + + + + + Renders the index keys definition to a . + + The document serializer. + The serializer registry. + A . + + + + A builder for an . + + The type of the document. + + + + + + MongoDB.Driver.IndexKeysDefinitionBuilder`1 + + + + + + + Creates an ascending index key definition. + + The field. + An ascending index key definition. + + + + Creates an ascending index key definition. + + The field. + An ascending index key definition. + + + + Creates a combined index keys definition. + + The keys. + A combined index keys definition. + + + + Creates a combined index keys definition. + + The keys. + A combined index keys definition. + + + + Creates a descending index key definition. + + The field. + A descending index key definition. + + + + Creates a descending index key definition. + + The field. + A descending index key definition. + + + + Creates a 2d index key definition. + + The field. + A 2d index key definition. + + + + Creates a 2d index key definition. + + The field. + A 2d index key definition. + + + + Creates a 2dsphere index key definition. + + The field. + A 2dsphere index key definition. + + + + Creates a 2dsphere index key definition. + + The field. + A 2dsphere index key definition. + + + + Creates a geo haystack index key definition. + + The field. + Name of the additional field. + + A geo haystack index key definition. + + + + + Creates a geo haystack index key definition. + + The field. + Name of the additional field. + + A geo haystack index key definition. + + + + + Creates a hashed index key definition. + + The field. + A hashed index key definition. + + + + Creates a hashed index key definition. + + The field. + A hashed index key definition. + + + + Creates a text index key definition. + + The field. + A text index key definition. + + + + Creates a text index key definition. + + The field. + A text index key definition. + + + + Extension methods for an index keys definition. + + + + + Combines an existing index keys definition with an ascending index key definition. + + The keys. + The field. + The type of the document. + + A combined index keys definition. + + + + + Combines an existing index keys definition with an ascending index key definition. + + The keys. + The field. + The type of the document. + + A combined index keys definition. + + + + + Combines an existing index keys definition with a descending index key definition. + + The keys. + The field. + The type of the document. + + A combined index keys definition. + + + + + Combines an existing index keys definition with a descending index key definition. + + The keys. + The field. + The type of the document. + + A combined index keys definition. + + + + + Combines an existing index keys definition with a 2d index key definition. + + The keys. + The field. + The type of the document. + + A combined index keys definition. + + + + + Combines an existing index keys definition with a 2d index key definition. + + The keys. + The field. + The type of the document. + + A combined index keys definition. + + + + + Combines an existing index keys definition with a 2dsphere index key definition. + + The keys. + The field. + The type of the document. + + A combined index keys definition. + + + + + Combines an existing index keys definition with a 2dsphere index key definition. + + The keys. + The field. + The type of the document. + + A combined index keys definition. + + + + + Combines an existing index keys definition with a geo haystack index key definition. + + The keys. + The field. + Name of the additional field. + The type of the document. + + A combined index keys definition. + + + + + Combines an existing index keys definition with a geo haystack index key definition. + + The keys. + The field. + Name of the additional field. + The type of the document. + + A combined index keys definition. + + + + + Combines an existing index keys definition with a hashed index key definition. + + The keys. + The field. + The type of the document. + + A combined index keys definition. + + + + + Combines an existing index keys definition with a hashed index key definition. + + The keys. + The field. + The type of the document. + + A combined index keys definition. + + + + + Combines an existing index keys definition with a text index key definition. + + The keys. + The field. + The type of the document. + + A combined index keys definition. + + + + + Combines an existing index keys definition with a text index key definition. + + The keys. + The field. + The type of the document. + + A combined index keys definition. + + + + + Represents index option defaults. + + + + + + + MongoDB.Driver.IndexOptionDefaults + + + + + + + Gets or sets the storage engine options. + + + + + Options for inserting many documents. + + + + + Initializes a new instance of the class. + + + + + Gets or sets a value indicating whether to bypass document validation. + + + + + Gets or sets a value indicating whether the requests are fulfilled in order. + + + + + Model for inserting a single document. + + The type of the document. + + + + Initializes a new instance of the class. + + The document. + + + + Gets the document. + + + + + Gets the type of the model. + + + + + Options for inserting one document. + + + + + + + MongoDB.Driver.InsertOneOptions + + + + + + + Gets or sets a value indicating whether to bypass document validation. + + + + + Fluent interface for aggregate. + + The type of the result. + + + + Combines the current sort definition with an additional sort definition. + + The new sort. + The fluent aggregate interface. + + + + Fluent interface for find. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + + + + A pipeline stage. + + + + + Gets the type of the input. + + + + + Gets the name of the pipeline operator. + + + + + Gets the type of the output. + + + + + Renders the specified document serializer. + + The input serializer. + The serializer registry. + An + + + + Returns a that represents this instance. + + The input serializer. + The serializer registry. + + A that represents this instance. + + + + + A rendered pipeline stage. + + + + + Gets the document. + + + + + Gets the name of the pipeline operator. + + + + + Gets the output serializer. + + + + + A JSON based command. + + The type of the result. + + + + Initializes a new instance of the class. + + The json. + The result serializer. + + + + Gets the json. + + + + + Renders the command to a . + + The serializer registry. + A . + + + + Gets the result serializer. + + + + + A JSON based filter. + + The type of the document. + + + + Initializes a new instance of the class. + + The json. + + + + Gets the json. + + + + + Renders the filter to a . + + The document serializer. + The serializer registry. + A . + + + + A JSON based index keys definition. + + The type of the document. + + + + Initializes a new instance of the class. + + The json. + + + + Gets the json. + + + + + Renders the index keys definition to a . + + The document serializer. + The serializer registry. + A . + + + + A JSON based pipeline stage. + + The type of the input. + The type of the output. + + + + Initializes a new instance of the class. + + The json. + The output serializer. + + + + Gets the json. + + + + + Gets the name of the pipeline operator. + + + + + Gets the output serializer. + + + + + Renders the specified document serializer. + + The input serializer. + The serializer registry. + A + + + + A JSON based projection whose projection type is not yet known. + + The type of the source. + + + + Initializes a new instance of the class. + + The json. + + + + Gets the json. + + + + + Renders the projection to a . + + The source serializer. + The serializer registry. + A . + + + + A JSON based projection. + + The type of the source. + The type of the projection. + + + + Initializes a new instance of the class. + + The json. + The projection serializer. + + + + Gets the json. + + + + + Gets the projection serializer. + + + + + Renders the projection to a . + + The source serializer. + The serializer registry. + A . + + + + A JSON based sort. + + The type of the document. + + + + Initializes a new instance of the class. + + The json. + + + + Gets the json. + + + + + Renders the sort to a . + + The document serializer. + The serializer registry. + A . + + + + A JSON based update. + + The type of the document. + + + + Initializes a new instance of the class. + + The json. + + + + Gets the json. + + + + + Renders the update to a . + + The document serializer. + The serializer registry. + A . + + + + Options for a list collections operation. + + + + + + + MongoDB.Driver.ListCollectionsOptions + + + + + + + Gets or sets the filter. + + + + + Represents the options for a map-reduce operation. + + The type of the document. + The type of the result. + + + + + + MongoDB.Driver.MapReduceOptions`2 + + + + + + + Gets or sets a value indicating whether to bypass document validation. + + + + + Gets or sets the collation. + + + + + Gets or sets the filter. + + + + + Gets or sets the finalize function. + + + + + Gets or sets the java script mode. + + + + + Gets or sets the limit. + + + + + Gets or sets the maximum time. + + + + + Gets or sets the output options. + + + + + Gets or sets the result serializer. + + + + + Gets or sets the scope. + + + + + Gets or sets the sort. + + + + + Gets or sets whether to include timing information. + + + + + Represents the output options for a map-reduce operation. + + + + + An inline map-reduce output options. + + + + + A merge map-reduce output options. + + The name of the collection. + The name of the database. + Whether the output collection should be sharded. + Whether the server should not lock the database for the duration of the merge. + A merge map-reduce output options. + + + + A reduce map-reduce output options. + + The name of the collection. + The name of the database. + Whether the output collection should be sharded. + Whether the server should not lock the database for the duration of the reduce. + A reduce map-reduce output options. + + + + A replace map-reduce output options. + + The name of the collection. + Name of the database. + Whether the output collection should be sharded. + A replace map-reduce output options. + + + + Represents a bulk write exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The write errors. + The write concern error. + + + + Initializes a new instance of the MongoQueryException class (this overload supports deserialization). + + The SerializationInfo. + The StreamingContext. + + + + Gets the object data. + + The information. + The context. + + + + Gets the write concern error. + + + + + Gets the write errors. + + + + + Represents a bulk write exception. + + The type of the document. + + + + Initializes a new instance of the class. + + The connection identifier. + The result. + The write errors. + The write concern error. + The unprocessed requests. + + + + Initializes a new instance of the MongoQueryException class (this overload supports deserialization). + + The SerializationInfo. + The StreamingContext. + + + + Gets the object data. + + The information. + The context. + + + + Gets the result of the bulk write operation. + + + + + Gets the unprocessed requests. + + + + + Base class for implementors of . + + + + + Initializes a new instance of the MongoClient class. + + + + + Initializes a new instance of the MongoClient class. + + The settings. + + + + Initializes a new instance of the MongoClient class. + + The URL. + + + + Initializes a new instance of the MongoClient class. + + The connection string. + + + + Gets the cluster. + + + + + Drops the database with the specified name. + + The name of the database to drop. + The cancellation token. + + + + Drops the database with the specified name. + + The name of the database to drop. + The cancellation token. + A task. + + + + Gets a database. + + The name of the database. + The database settings. + An implementation of a database. + + + + Lists the databases on the server. + + The cancellation token. + A cursor. + + + + Lists the databases on the server. + + The cancellation token. + A Task whose result is a cursor. + + + + Gets the settings. + + + + + Returns a new IMongoClient instance with a different read concern setting. + + The read concern. + A new IMongoClient instance with a different read concern setting. + + + + Returns a new IMongoClient instance with a different read preference setting. + + The read preference. + A new IMongoClient instance with a different read preference setting. + + + + Returns a new IMongoClient instance with a different write concern setting. + + The write concern. + A new IMongoClient instance with a different write concern setting. + + + + Base class for implementors of . + + + + + + + MongoDB.Driver.MongoClientBase + + + + + + + Gets the cluster. + + + + + Drops the database with the specified name. + + The name of the database to drop. + The cancellation token. + + + + Drops the database with the specified name. + + The name of the database to drop. + The cancellation token. + A task. + + + + Gets a database. + + The name of the database. + The database settings. + An implementation of a database. + + + + Lists the databases on the server. + + The cancellation token. + A cursor. + + + + Lists the databases on the server. + + The cancellation token. + A Task whose result is a cursor. + + + + Gets the settings. + + + + + Returns a new IMongoClient instance with a different read concern setting. + + The read concern. + A new IMongoClient instance with a different read concern setting. + + + + Returns a new IMongoClient instance with a different read preference setting. + + The read preference. + A new IMongoClient instance with a different read preference setting. + + + + Returns a new IMongoClient instance with a different write concern setting. + + The write concern. + A new IMongoClient instance with a different write concern setting. + + + + The settings for a MongoDB client. + + + + + Creates a new instance of MongoClientSettings. Usually you would use a connection string instead. + + + + + Gets or sets the application name. + + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Gets or sets the cluster configurator. + + + + + Gets or sets the connection mode. + + + + + Gets or sets the connect timeout. + + + + + Gets or sets the credentials. + + + + + 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. + + + + + Freezes the settings. + + The frozen settings. + + + + Gets a MongoClientSettings object intialized with values from a MongoURL. + + The MongoURL. + A MongoClientSettings. + + + + Returns a frozen copy of the settings. + + A frozen copy of the settings. + + + + Gets the hash code. + + The hash code. + + + + Gets or sets the representation to use for Guids. + + + + + Gets or sets the heartbeat interval. + + + + + Gets or sets the heartbeat timeout. + + + + + Gets or sets a value indicating whether to use IPv6. + + + + + Gets a value indicating whether the settings have been frozen to prevent further changes. + + + + + Gets or sets the local threshold. + + + + + Gets or sets the max connection idle time. + + + + + Gets or sets the max connection life time. + + + + + Gets or sets the max connection pool size. + + + + + Gets or sets the min connection pool size. + + + + + Determines whether two instances are equal. + + The LHS. + The RHS. + + true if the left hand side is equal to the right hand side; otherwise, false. + + + + + Determines whether two instances are not equal. + + The LHS. + The RHS. + + true if the left hand side is not equal to the right hand side; otherwise, false. + + + + + Gets or sets the read concern. + + + + + Gets or sets the Read Encoding. + + + + + Gets or sets the read preferences. + + + + + Gets or sets the name of the replica set. + + + + + Gets or sets the address of the server (see also Servers if using more than one address). + + + + + Gets or sets the list of server addresses (see also Server if using only one address). + + + + + Gets or sets the server selection timeout. + + + + + Gets or sets the socket timeout. + + + + + Gets or sets the SSL settings. + + + + + Returns a string representation of the settings. + + A string representation of the settings. + + + + Gets or sets a value indicating whether to use SSL. + + + + + Gets or sets a value indicating whether to verify an SSL certificate. + + + + + Gets or sets the wait queue size. + + + + + Gets or sets the wait queue timeout. + + + + + Gets or sets the WriteConcern to use. + + + + + Gets or sets the Write Encoding. + + + + + Base class for implementors of . + + The type of the document. + + + + + + MongoDB.Driver.MongoCollectionBase`1 + + + + + + + Runs an aggregation pipeline. + + The pipeline. + The options. + The cancellation token. + The type of the result. + A cursor. + + + + Runs an aggregation pipeline. + + The pipeline. + The options. + The cancellation token. + The type of the result. + A Task whose result is a cursor. + + + + Performs multiple write operations. + + The requests. + The options. + The cancellation token. + The result of writing. + + + + Performs multiple write operations. + + The requests. + The options. + The cancellation token. + The result of writing. + + + + Gets the namespace of the collection. + + + + + Counts the number of documents in the collection. + + The filter. + The options. + The cancellation token. + + The number of documents in the collection. + + + + + Counts the number of documents in the collection. + + The filter. + The options. + The cancellation token. + + The number of documents in the collection. + + + + + Gets the database. + + + + + Deletes multiple documents. + + The filter. + The options. + The cancellation token. + + The result of the delete operation. + + + + + Deletes multiple documents. + + The filter. + The cancellation token. + + The result of the delete operation. + + + + + Deletes multiple documents. + + The filter. + The options. + The cancellation token. + + The result of the delete operation. + + + + + Deletes multiple documents. + + The filter. + The cancellation token. + + The result of the delete operation. + + + + + Deletes a single document. + + The filter. + The options. + The cancellation token. + + The result of the delete operation. + + + + + Deletes a single document. + + The filter. + The cancellation token. + + The result of the delete operation. + + + + + Deletes a single document. + + The filter. + The options. + The cancellation token. + + The result of the delete operation. + + + + + Deletes a single document. + + The filter. + The cancellation token. + + The result of the delete operation. + + + + + Gets the distinct values for a specified field. + + The field. + The filter. + The options. + The cancellation token. + The type of the result. + A cursor. + + + + Gets the distinct values for a specified field. + + The field. + The filter. + The options. + The cancellation token. + The type of the result. + A Task whose result is a cursor. + + + + Gets the document serializer. + + + + + Finds the documents matching the filter. + + The filter. + The options. + The cancellation token. + The type of the projection (same as TDocument if there is no projection). + A Task whose result is a cursor. + + + + Finds a single document and deletes it atomically. + + The filter. + The options. + The cancellation token. + The type of the projection (same as TDocument if there is no projection). + + The returned document. + + + + + Finds a single document and deletes it atomically. + + The filter. + The options. + The cancellation token. + The type of the projection (same as TDocument if there is no projection). + + The returned document. + + + + + Finds a single document and replaces it atomically. + + The filter. + The replacement. + The options. + The cancellation token. + The type of the projection (same as TDocument if there is no projection). + + The returned document. + + + + + Finds a single document and replaces it atomically. + + The filter. + The replacement. + The options. + The cancellation token. + The type of the projection (same as TDocument if there is no projection). + + The returned document. + + + + + Finds a single document and updates it atomically. + + The filter. + The update. + The options. + The cancellation token. + The type of the projection (same as TDocument if there is no projection). + + The returned document. + + + + + Finds a single document and updates it atomically. + + The filter. + The update. + The options. + The cancellation token. + The type of the projection (same as TDocument if there is no projection). + + The returned document. + + + + + Finds the documents matching the filter. + + The filter. + The options. + The cancellation token. + The type of the projection (same as TDocument if there is no projection). + A cursor. + + + + Gets the index manager. + + + + + Inserts many documents. + + The documents. + The options. + The cancellation token. + + + + Inserts many documents. + + The documents. + The options. + The cancellation token. + + The result of the insert operation. + + + + + Inserts a single document. + + The document. + The options. + The cancellation token. + + + + Inserts a single document. + + The document. + The options. + The cancellation token. + + The result of the insert operation. + + + + + Inserts a single document. + + The document. + The cancellation token. + + The result of the insert operation. + + + + + Executes a map-reduce command. + + The map function. + The reduce function. + The options. + The cancellation token. + The type of the result. + A cursor. + + + + Executes a map-reduce command. + + The map function. + The reduce function. + The options. + The cancellation token. + The type of the result. + A Task whose result is a cursor. + + + + Returns a filtered collection that appears to contain only documents of the derived type. + All operations using this filtered collection will automatically use discriminators as necessary. + + The type of the derived document. + A filtered collection. + + + + Replaces a single document. + + The filter. + The replacement. + The options. + The cancellation token. + + The result of the replacement. + + + + + Replaces a single document. + + The filter. + The replacement. + The options. + The cancellation token. + + The result of the replacement. + + + + + Gets the settings. + + + + + Updates many documents. + + The filter. + The update. + The options. + The cancellation token. + + The result of the update operation. + + + + + Updates many documents. + + The filter. + The update. + The options. + The cancellation token. + + The result of the update operation. + + + + + Updates a single document. + + The filter. + The update. + The options. + The cancellation token. + + The result of the update operation. + + + + + Updates a single document. + + The filter. + The update. + The options. + The cancellation token. + + The result of the update operation. + + + + + Returns a new IMongoCollection instance with a different read concern setting. + + The read concern. + A new IMongoCollection instance with a different read concern setting. + + + + Returns a new IMongoCollection instance with a different read preference setting. + + The read preference. + A new IMongoCollection instance with a different read preference setting. + + + + Returns a new IMongoCollection instance with a different write concern setting. + + The write concern. + A new IMongoCollection instance with a different write concern setting. + + + + The settings used to access a collection. + + + + + Initializes a new instance of the MongoCollectionSettings class. + + + + + Gets or sets a value indicating whether the driver should assign Id values when missing. + + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Compares two MongoCollectionSettings instances. + + The other instance. + True if the two instances are equal. + + + + Freezes the settings. + + The frozen settings. + + + + Returns a frozen copy of the settings. + + A frozen copy of the settings. + + + + Gets the hash code. + + The hash code. + + + + Gets or sets the representation used for Guids. + + + + + Gets a value indicating whether the settings have been frozen to prevent further changes. + + + + + Gets or sets the read concern. + + + + + Gets or sets the Read Encoding. + + + + + Gets or sets the read preference to use. + + + + + Gets the serializer registry. + + + + + Returns a string representation of the settings. + + A string representation of the settings. + + + + Gets or sets the WriteConcern to use. + + + + + Gets or sets the Write Encoding. + + + + + Credential to access a MongoDB database. + + + + + Initializes a new instance of the class. + + Mechanism to authenticate with. + The identity. + The evidence. + + + + Creates a default credential. + + Name of the database. + The username. + The password. + A default credential. + + + + Creates a default credential. + + Name of the database. + The username. + The password. + A default credential. + + + + Creates a GSSAPI credential. + + The username. + A credential for GSSAPI. + + + + Creates a GSSAPI credential. + + The username. + The password. + A credential for GSSAPI. + + + + Creates a GSSAPI credential. + + The username. + The password. + A credential for GSSAPI. + + + + Creates a credential used with MONGODB-CR. + + Name of the database. + The username. + The password. + A credential for MONGODB-CR. + + + + Creates a credential used with MONGODB-CR. + + Name of the database. + The username. + The password. + A credential for MONGODB-CR. + + + + Creates a credential used with MONGODB-CR. + + The username. + A credential for MONGODB-X509. + + + + Creates a PLAIN credential. + + Name of the database. + The username. + The password. + A credential for PLAIN. + + + + Creates a PLAIN credential. + + Name of the database. + The username. + The password. + A credential for PLAIN. + + + + Compares this MongoCredential to another MongoCredential. + + The other credential. + True if the two credentials are equal. + + + + Compares this MongoCredential to another MongoCredential. + + The other credential. + True if the two credentials are equal. + + + + Gets the evidence. + + + + + Gets the hashcode for the credential. + + The hashcode. + + + + Gets the mechanism property. + + The key. + The default value. + The type of the mechanism property. + The mechanism property if one was set; otherwise the default value. + + + + Gets the identity. + + + + + Gets the mechanism to authenticate with. + + + + + Compares two MongoCredentials. + + The first MongoCredential. + The other MongoCredential. + True if the two MongoCredentials are equal (or both null). + + + + Compares two MongoCredentials. + + The first MongoCredential. + The other MongoCredential. + True if the two MongoCredentials are not equal (or one is null and the other is not). + + + + Gets the password. + + + + + Gets the source. + + + + + Returns a string representation of the credential. + + A string representation of the credential. + + + + Gets the username. + + + + + Creates a new MongoCredential with the specified mechanism property. + + The key. + The value. + A new MongoCredential with the specified mechanism property. + + + + Base class for implementors of . + + + + + + + MongoDB.Driver.MongoDatabaseBase + + + + + + + Gets the client. + + + + + Creates the collection with the specified name. + + The name. + The options. + The cancellation token. + + + + Creates the collection with the specified name. + + The name. + The options. + The cancellation token. + A task. + + + + Creates a view. + + The name of the view. + The name of the collection that the view is on. + The pipeline. + The options. + The cancellation token. + The type of the input documents. + The type of the pipeline result documents. + + + + Creates a view. + + The name of the view. + The name of the collection that the view is on. + The pipeline. + The options. + The cancellation token. + The type of the input documents. + The type of the pipeline result documents. + A task. + + + + Gets the namespace of the database. + + + + + Drops the collection with the specified name. + + The name of the collection to drop. + The cancellation token. + + + + Drops the collection with the specified name. + + The name of the collection to drop. + The cancellation token. + A task. + + + + Gets a collection. + + The name of the collection. + The settings. + The document type. + An implementation of a collection. + + + + Lists all the collections on the server. + + The options. + The cancellation token. + A cursor. + + + + Lists all the collections on the server. + + The options. + The cancellation token. + A Task whose result is a cursor. + + + + Renames the collection. + + The old name. + The new name. + The options. + The cancellation token. + + + + Renames the collection. + + The old name. + The new name. + The options. + The cancellation token. + A task. + + + + Runs a command. + + The command. + The read preference. + The cancellation token. + The result type of the command. + + The result of the command. + + + + + Runs a command. + + The command. + The read preference. + The cancellation token. + The result type of the command. + + The result of the command. + + + + + Gets the settings. + + + + + Returns a new IMongoDatabase instance with a different read concern setting. + + The read concern. + A new IMongoDatabase instance with a different read concern setting. + + + + Returns a new IMongoDatabase instance with a different read preference setting. + + The read preference. + A new IMongoDatabase instance with a different read preference setting. + + + + Returns a new IMongoDatabase instance with a different write concern setting. + + The write concern. + A new IMongoDatabase instance with a different write concern setting. + + + + The settings used to access a database. + + + + + Creates a new instance of MongoDatabaseSettings. + + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Compares two MongoDatabaseSettings instances. + + The other instance. + True if the two instances are equal. + + + + Freezes the settings. + + The frozen settings. + + + + Returns a frozen copy of the settings. + + A frozen copy of the settings. + + + + Gets the hash code. + + The hash code. + + + + Gets or sets the representation to use for Guids. + + + + + Gets a value indicating whether the settings have been frozen to prevent further changes. + + + + + Gets or sets the read concern. + + + + + Gets or sets the Read Encoding. + + + + + Gets or sets the read preference. + + + + + Gets the serializer registry. + + + + + Returns a string representation of the settings. + + A string representation of the settings. + + + + Gets or sets the WriteConcern to use. + + + + + Gets or sets the Write Encoding. + + + + + Represents a DBRef (a convenient way to refer to a document). + + + + + Creates a MongoDBRef. + + The name of the collection that contains the document. + The Id of the document. + + + + Creates a MongoDBRef. + + The name of the database that contains the document. + The name of the collection that contains the document. + The Id of the document. + + + + Gets the name of the collection that contains the document. + + + + + Gets the name of the database that contains the document. + + + + + Determines whether this instance and another specified MongoDBRef object have the same value. + + The MongoDBRef object to compare to this instance. + True if the value of the rhs parameter is the same as this instance; otherwise, false. + + + + Determines whether two specified MongoDBRef objects have the same value. + + The first value to compare, or null. + The second value to compare, or null. + True if the value of lhs is the same as the value of rhs; otherwise, false. + + + + Determines whether this instance and a specified object, which must also be a MongoDBRef object, have the same value. + + The MongoDBRef object to compare to this instance. + True if obj is a MongoDBRef object and its value is the same as this instance; otherwise, false. + + + + Returns the hash code for this MongoDBRef object. + + A 32-bit signed integer hash code. + + + + Gets the Id of the document. + + + + + Determines whether two specified MongoDBRef objects have the same value. + + The first value to compare, or null. + The second value to compare, or null. + True if the value of lhs is the same as the value of rhs; otherwise, false. + + + + Determines whether two specified MongoDBRef objects have different values. + + The first value to compare, or null. + The second value to compare, or null. + True if the value of lhs is different from the value of rhs; otherwise, false. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Represents a serializer for MongoDBRefs. + + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Tries to get the serialization info for a member. + + Name of the member. + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Default values for various Mongo settings. + + + + + Gets or sets whether the driver should assign a value to empty Ids on Insert. + + + + + Gets or sets the default authentication mechanism. + + + + + Gets the actual wait queue size (either WaitQueueSize or WaitQueueMultiple x MaxConnectionPoolSize). + + + + + Gets or sets the connect timeout. + + + + + Gets or sets the representation to use for Guids (this is an alias for BsonDefaults.GuidRepresentation). + + + + + Gets or sets the default local threshold. + + + + + Gets or sets the maximum batch count. + + + + + Gets or sets the max connection idle time. + + + + + Gets or sets the max connection life time. + + + + + Gets or sets the max connection pool size. + + + + + Gets or sets the max document size + + + + + Gets or sets the max message length. + + + + + Gets or sets the min connection pool size. + + + + + Gets or sets the operation timeout. + + + + + Gets or sets the Read Encoding. + + + + + Gets or sets the server selection timeout. + + + + + Gets or sets the socket timeout. + + + + + Gets or sets the TCP receive buffer size. + + + + + Gets or sets the TCP send buffer size. + + + + + Gets or sets the wait queue multiple (the actual wait queue size will be WaitQueueMultiple x MaxConnectionPoolSize, see also WaitQueueSize). + + + + + Gets or sets the wait queue size (see also WaitQueueMultiple). + + + + + Gets or sets the wait queue timeout. + + + + + Gets or sets the Write Encoding. + + + + + Represents an identity defined outside of mongodb. + + + + + Initializes a new instance of the class. + + The username. + + + + Initializes a new instance of the class. + + The source. + The username. + + + + Represents an identity in MongoDB. + + + + + Determines whether the specified instance is equal to this instance. + + The right-hand side. + + true if the specified instance 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. + + + + + Compares two MongoIdentity values. + + The first MongoIdentity. + The other MongoIdentity. + True if the two MongoIdentity values are equal (or both null). + + + + Compares two MongoIdentity values. + + The first MongoIdentity. + The other MongoIdentity. + True if the two MongoIdentity values are not equal (or one is null and the other is not). + + + + Gets the source. + + + + + Gets the username. + + + + + Evidence used as proof of a MongoIdentity. + + + + + 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. + + + + + Compares two MongoIdentityEvidences. + + The first MongoIdentityEvidence. + The other MongoIdentityEvidence. + True if the two MongoIdentityEvidences are equal (or both null). + + + + Compares two MongoIdentityEvidences. + + The first MongoIdentityEvidence. + The other MongoIdentityEvidence. + True if the two MongoIdentityEvidences are not equal (or one is null and the other is not). + + + + Base class for implementors of . + + The type of the document. + + + + + + MongoDB.Driver.MongoIndexManagerBase`1 + + + + + + + Gets the namespace of the collection. + + + + + Creates multiple indexes. + + The models defining each of the indexes. + The cancellation token. + + An of the names of the indexes that were created. + + + + + Creates multiple indexes. + + The models defining each of the indexes. + The cancellation token. + + A task whose result is an of the names of the indexes that were created. + + + + + Creates an index. + + The keys. + The options. + The cancellation token. + + The name of the index that was created. + + + + + Creates an index. + + The keys. + The options. + The cancellation token. + + A task whose result is the name of the index that was created. + + + + + Gets the document serializer. + + + + + Drops all the indexes. + + The cancellation token. + + + + Drops all the indexes. + + The cancellation token. + A task. + + + + Drops an index by its name. + + The name. + The cancellation token. + + + + Drops an index by its name. + + The name. + The cancellation token. + A task. + + + + Lists the indexes. + + The cancellation token. + A cursor. + + + + Lists the indexes. + + The cancellation token. + A Task whose result is a cursor. + + + + Gets the collection settings. + + + + + Represents an identity defined inside mongodb. + + + + + Initializes a new instance of the class. + + Name of the database. + The username. + + + + The address of a MongoDB server. + + + + + Initializes a new instance of MongoServerAddress. + + The server's host name. + + + + Initializes a new instance of MongoServerAddress. + + The server's host name. + The server's port number. + + + + Compares two server addresses. + + The other server address. + True if the two server addresses are equal. + + + + Compares two server addresses. + + The other server address. + True if the two server addresses are equal. + + + + Gets the hash code for this object. + + The hash code. + + + + Gets the server's host name. + + + + + Compares two server addresses. + + The first address. + The other address. + True if the two addresses are equal (or both are null). + + + + Compares two server addresses. + + The first address. + The other address. + True if the two addresses are not equal (or one is null and the other is not). + + + + Parses a string representation of a server address. + + The string representation of a server address. + A new instance of MongoServerAddress initialized with values parsed from the string. + + + + Gets the server's port number. + + + + + Returns a string representation of the server address. + + A string representation of the server address. + + + + Tries to parse a string representation of a server address. + + The string representation of a server address. + The server address (set to null if TryParse fails). + True if the string is parsed succesfully. + + + + Represents an immutable URL style connection string. See also MongoUrlBuilder. + + + + + Creates a new instance of MongoUrl. + + The URL containing the settings. + + + + Gets the application name. + + + + + Gets the authentication mechanism. + + + + + Gets the authentication mechanism properties. + + + + + Gets the authentication source. + + + + + Clears the URL cache. When a URL is parsed it is stored in the cache so that it doesn't have to be + parsed again. There is rarely a need to call this method. + + + + + Gets the actual wait queue size (either WaitQueueSize or WaitQueueMultiple x MaxConnectionPoolSize). + + + + + Gets the connection mode. + + + + + Gets the connect timeout. + + + + + Creates an instance of MongoUrl (might be an existing existence if the same URL has been used before). + + The URL containing the settings. + An instance of MongoUrl. + + + + Gets the optional database name. + + + + + Compares two MongoUrls. + + The other URL. + True if the two URLs are equal. + + + + Compares two MongoUrls. + + The other URL. + True if the two URLs are equal. + + + + Gets the FSync component of the write concern. + + + + + Gets the credential. + + The credential (or null if the URL has not authentication settings). + + + + Gets the hash code. + + The hash code. + + + + Returns a WriteConcern value based on this instance's settings and a default enabled value. + + The default enabled value. + A WriteConcern. + + + + Gets the representation to use for Guids. + + + + + Gets a value indicating whether this instance has authentication settings. + + + + + Gets the heartbeat interval. + + + + + Gets the heartbeat timeout. + + + + + Gets a value indicating whether to use IPv6. + + + + + Gets the Journal component of the write concern. + + + + + Gets the local threshold. + + + + + Gets the max connection idle time. + + + + + Gets the max connection life time. + + + + + Gets the max connection pool size. + + + + + Gets the min connection pool size. + + + + + Compares two MongoUrls. + + The first URL. + The other URL. + True if the two URLs are equal (or both null). + + + + Compares two MongoUrls. + + The first URL. + The other URL. + True if the two URLs are not equal (or one is null and the other is not). + + + + Gets the password. + + + + + Gets the read concern level. + + + + + Gets the read preference. + + + + + Gets the name of the replica set. + + + + + Gets the address of the server (see also Servers if using more than one address). + + + + + Gets the list of server addresses (see also Server if using only one address). + + + + + Gets the server selection timeout. + + + + + Gets the socket timeout. + + + + + Returns the canonical URL based on the settings in this MongoUrlBuilder. + + The canonical URL. + + + + Gets the URL (in canonical form). + + + + + Gets the username. + + + + + Gets a value indicating whether to use SSL. + + + + + Gets a value indicating whether to verify an SSL certificate. + + + + + Gets the W component of the write concern. + + + + + Gets the wait queue multiple (the actual wait queue size will be WaitQueueMultiple x MaxConnectionPoolSize). + + + + + Gets the wait queue size. + + + + + Gets the wait queue timeout. + + + + + Gets the WTimeout component of the write concern. + + + + + Represents URL style connection strings. This is the recommended connection string style, but see also + MongoConnectionStringBuilder if you wish to use .NET style connection strings. + + + + + Creates a new instance of MongoUrlBuilder. + + + + + Creates a new instance of MongoUrlBuilder. + + The initial settings. + + + + Gets or sets the application name. + + + + + Gets or sets the authentication mechanism. + + + + + Gets or sets the authentication mechanism properties. + + + + + Gets or sets the authentication source. + + + + + Gets the actual wait queue size (either WaitQueueSize or WaitQueueMultiple x MaxConnectionPoolSize). + + + + + Gets or sets the connection mode. + + + + + Gets or sets the connect timeout. + + + + + Gets or sets the optional database name. + + + + + Gets or sets the FSync component of the write concern. + + + + + Returns a WriteConcern value based on this instance's settings and a default enabled value. + + The default enabled value. + A WriteConcern. + + + + Gets or sets the representation to use for Guids. + + + + + Gets or sets the heartbeat interval. + + + + + Gets or sets the heartbeat timeout. + + + + + Gets or sets a value indicating whether to use IPv6. + + + + + Gets or sets the Journal component of the write concern. + + + + + Gets or sets the local threshold. + + + + + Gets or sets the max connection idle time. + + + + + Gets or sets the max connection life time. + + + + + Gets or sets the max connection pool size. + + + + + Gets or sets the min connection pool size. + + + + + Parses a URL and sets all settings to match the URL. + + The URL. + + + + Gets or sets the password. + + + + + Gets or sets the read concern level. + + + + + Gets or sets the read preference. + + + + + Gets or sets the name of the replica set. + + + + + Gets or sets the address of the server (see also Servers if using more than one address). + + + + + Gets or sets the list of server addresses (see also Server if using only one address). + + + + + Gets or sets the server selection timeout. + + + + + Gets or sets the socket timeout. + + + + + Creates a new instance of MongoUrl based on the settings in this MongoUrlBuilder. + + A new instance of MongoUrl. + + + + Returns the canonical URL based on the settings in this MongoUrlBuilder. + + The canonical URL. + + + + Gets or sets the username. + + + + + Gets or sets a value indicating whether to use SSL. + + + + + Gets or sets a value indicating whether to verify an SSL certificate. + + + + + Gets or sets the W component of the write concern. + + + + + Gets or sets the wait queue multiple (the actual wait queue size will be WaitQueueMultiple x MaxConnectionPoolSize). + + + + + Gets or sets the wait queue size. + + + + + Gets or sets the wait queue timeout. + + + + + Gets or sets the WTimeout component of the write concern. + + + + + Various static utility methods. + + + + + Gets the MD5 hash of a string. + + The string to get the MD5 hash of. + The MD5 hash. + + + + Creates a TimeSpan from microseconds. + + The microseconds. + The TimeSpan. + + + + Converts a string to camel case by lower casing the first letter (only the first letter is modified). + + The string to camel case. + The camel cased string. + + + + Represents a write exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The write error. + The write concern error. + The inner exception. + + + + Initializes a new instance of the MongoQueryException class (this overload supports deserialization). + + The SerializationInfo. + The StreamingContext. + + + + Gets the object data. + + The information. + The context. + + + + Gets the write concern error. + + + + + Gets the write error. + + + + + Represents an identity defined by an X509 certificate. + + + + + Initializes a new instance of the class. + + The username. + + + + An based command. + + The type of the result. + + + + Initializes a new instance of the class. + + The object. + The result serializer. + + + + Gets the object. + + + + + Renders the command to a . + + The serializer registry. + A . + + + + Gets the result serializer. + + + + + An based filter. + + The type of the document. + + + + Initializes a new instance of the class. + + The object. + + + + Gets the object. + + + + + Renders the filter to a . + + The document serializer. + The serializer registry. + A . + + + + An based projection whose projection type is not yet known. + + The type of the source. + + + + Initializes a new instance of the class. + + The object. + + + + Gets the object. + + + + + Renders the projection to a . + + The source serializer. + The serializer registry. + A . + + + + An based projection. + + The type of the source. + The type of the projection. + + + + Initializes a new instance of the class. + + The object. + The projection serializer. + + + + Gets the object. + + + + + Gets the projection serializer. + + + + + Renders the projection to a . + + The source serializer. + The serializer registry. + A . + + + + An based sort. + + The type of the document. + + + + Initializes a new instance of the class. + + The object. + + + + Gets the object. + + + + + Renders the sort to a . + + The document serializer. + The serializer registry. + A . + + + + An based update. + + The type of the document. + + + + Initializes a new instance of the class. + + The object. + + + + Gets the object. + + + + + Renders the update to a . + + The document serializer. + The serializer registry. + A . + + + + Evidence of a MongoIdentity via a shared secret. + + + + + Initializes a new instance of the class. + + The password. + + + + Initializes a new instance of the class. + + The password. + + + + Determines whether the specified is equal to this instance. + + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + + + + + Returns a hash code for this instance. + + + A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. + + + + + Gets the password. + + + + + Base class for a pipeline. + + The type of the input. + The type of the output. + + + + + + MongoDB.Driver.PipelineDefinition`2 + + + + + + + Creates a pipeline. + + The stages. + A . + + + + Creates a pipeline. + + The stages. + The output serializer. + A . + + + + Creates a pipeline. + + The stages. + The output serializer. + A . + + + + Creates a pipeline. + + The stages. + The output serializer. + A . + + + + Creates a pipeline. + + The stages. + A . + + + + Performs an implicit conversion from [] to . + + The stages. + + The result of the conversion. + + + + + Performs an implicit conversion from [] to . + + The stages. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The stages. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The stages. + + The result of the conversion. + + + + + Gets the output serializer. + + + + + Renders the pipeline. + + The input serializer. + The serializer registry. + A + + + + Gets the stages. + + + + Returns a string that represents the current object. + A string that represents the current object. + + + + Returns a that represents this instance. + + The input serializer. + The serializer registry. + + A that represents this instance. + + + + + Extension methods for adding stages to a pipeline. + + + + + Appends a stage to the pipeline. + + The pipeline. + The stage. + The output serializer. + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + A new pipeline with an additional stage. + + + + Changes the output type of the pipeline. + + The pipeline. + The output serializer. + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + + A new pipeline with an additional stage. + + + + + Appends a $bucket stage to the pipeline. + + The pipeline. + The group by expression. + The boundaries. + The options. + The type of the input documents. + The type of the intermediate documents. + The type of the values. + + A new pipeline with an additional stage. + + + + + Appends a $bucket stage to the pipeline. + + The pipeline. + The group by expression. + The boundaries. + The output projection. + The options. + The type of the input documents. + The type of the intermediate documents. + The type of the values. + The type of the output documents. + + A new pipeline with an additional stage. + + + + + Appends a $bucket stage to the pipeline. + + The pipeline. + The group by expression. + The boundaries. + The options. + The translation options. + The type of the input documents. + The type of the intermediate documents. + The type of the values. + + The fluent aggregate interface. + + + + + Appends a $bucket stage to the pipeline. + + The pipeline. + The group by expression. + The boundaries. + The output projection. + The options. + The translation options. + The type of the input documents. + The type of the intermediate documents. + The type of the values. + The type of the output documents. + + The fluent aggregate interface. + + + + + Appends a $bucketAuto stage to the pipeline. + + The pipeline. + The group by expression. + The number of buckets. + The options. + The type of the input documents. + The type of the intermediate documents. + The type of the values. + + A new pipeline with an additional stage. + + + + + Appends a $bucketAuto stage to the pipeline. + + The pipeline. + The group by expression. + The number of buckets. + The output projection. + The options. + The type of the input documents. + The type of the intermediate documents. + The type of the values. + The type of the output documents. + + A new pipeline with an additional stage. + + + + + Appends a $bucketAuto stage to the pipeline. + + The pipeline. + The group by expression. + The number of buckets. + The options (optional). + The translation options. + The type of the input documents. + The type of the intermediate documents. + The type of the value. + + The fluent aggregate interface. + + + + + Appends a $bucketAuto stage to the pipeline. + + The pipeline. + The group by expression. + The number of buckets. + The output projection. + The options (optional). + The translation options. + The type of the input documents. + The type of the intermediate documents. + The type of the value. + The type of the output documents. + + The fluent aggregate interface. + + + + + Appends a $count stage to the pipeline. + + The pipeline. + The type of the input documents. + The type of the intermediate documents. + + A new pipeline with an additional stage. + + + + + Appends a $facet stage to the pipeline. + + The pipeline. + The facets. + The type of the input documents. + The type of the intermediate documents. + + The fluent aggregate interface. + + + + + Appends a $facet stage to the pipeline. + + The pipeline. + The facets. + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + + The fluent aggregate interface. + + + + + Appends a $facet stage to the pipeline. + + The pipeline. + The facets. + The type of the input documents. + The type of the intermediate documents. + + The fluent aggregate interface. + + + + + Appends a $facet stage to the pipeline. + + The pipeline. + The facets. + The options. + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + + A new pipeline with an additional stage. + + + + + Used to start creating a pipeline for {TInput} documents. + + The inputSerializer serializer. + The type of the output. + + The fluent aggregate interface. + + + + + Appends a $graphLookup stage to the pipeline. + + The pipeline. + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The depth field. + The type of the input documents. + The type of the intermediate documents. + The type of the from documents. + The fluent aggregate interface. + + + + Appends a $graphLookup stage to the pipeline. + + The pipeline. + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The options. + The type of the input documents. + The type of the intermediate documents. + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field. + The type of the output documents. + The stage. + + + + Appends a $graphLookup stage to the pipeline. + + The pipeline. + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The depth field. + The options. + The type of the input documents. + The type of the intermediate documents. + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field elements. + The type of the as field. + The type of the output documents. + The fluent aggregate interface. + + + + Appends a $graphLookup stage to the pipeline. + + The pipeline. + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The options. + The translation options. + The type of the input documents. + The type of the intermediate documents. + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field. + The type of the output documents. + The stage. + + + + Appends a $graphLookup stage to the pipeline. + + The pipeline. + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The depth field. + The options. + The translation options. + The type of the input documents. + The type of the intermediate documents. + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field elements. + The type of the as field. + The type of the output documents. + The stage. + + + + Appends a group stage to the pipeline. + + The pipeline. + The group projection. + The type of the input documents. + The type of the intermediate documents. + + The fluent aggregate interface. + + + + + Appends a $group stage to the pipeline. + + The pipeline. + The group projection. + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + + A new pipeline with an additional stage. + + + + + Appends a group stage to the pipeline. + + The pipeline. + The id. + The group projection. + The translation options. + The type of the input documents. + The type of the intermediate documents. + The type of the key. + The type of the output documents. + + The fluent aggregate interface. + + + + + Appends a $limit stage to the pipeline. + + The pipeline. + The limit. + The type of the input documents. + The type of the output documents. + + A new pipeline with an additional stage. + + + + + Appends a $lookup stage to the pipeline. + + The pipeline. + The foreign collection. + The local field. + The foreign field. + The "as" field. + The options. + The type of the input documents. + The type of the intermediate documents. + The type of the foreign collection documents. + The type of the output documents. + + A new pipeline with an additional stage. + + + + + Appends a lookup stage to the pipeline. + + The pipeline. + The foreign collection. + The local field. + The foreign field. + The "as" field. + The options. + The type of the input documents. + The type of the intermediate documents. + The type of the foreign collection documents. + The type of the output documents. + + The fluent aggregate interface. + + + + + Appends a $match stage to the pipeline. + + The pipeline. + The filter. + The type of the input documents. + The type of the output documents. + + A new pipeline with an additional stage. + + + + + Appends a match stage to the pipeline. + + The pipeline. + The filter. + The type of the input documents. + The type of the output documents. + + The fluent aggregate interface. + + + + + Appends a $match stage to the pipeline to select documents of a certain type. + + The pipeline. + The output serializer. + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + + A new pipeline with an additional stage. + + + + + + Appends a $out stage to the pipeline. + + The pipeline. + The output collection. + The type of the input documents. + The type of the output documents. + + A new pipeline with an additional stage. + + + + + + Appends a project stage to the pipeline. + + The pipeline. + The projection. + The type of the input documents. + The type of the intermediate documents. + + The fluent aggregate interface. + + + + + Appends a $project stage to the pipeline. + + The pipeline. + The projection. + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + + A new pipeline with an additional stage. + + + + + + Appends a project stage to the pipeline. + + The pipeline. + The projection. + The translation options. + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + + The fluent aggregate interface. + + + + + Appends a $replaceRoot stage to the pipeline. + + The pipeline. + The new root. + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + + A new pipeline with an additional stage. + + + + + Appends a $replaceRoot stage to the pipeline. + + The pipeline. + The new root. + The translation options. + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + + The fluent aggregate interface. + + + + + Appends a $skip stage to the pipeline. + + The pipeline. + The number of documents to skip. + The type of the input documents. + The type of the output documents. + + A new pipeline with an additional stage. + + + + + Appends a $sort stage to the pipeline. + + The pipeline. + The sort definition. + The type of the input documents. + The type of the output documents. + + A new pipeline with an additional stage. + + + + + Appends a $sortByCount stage to the pipeline. + + The pipeline. + The value expression. + The type of the input documents. + The type of the intermediate documents. + The type of the values. + + A new pipeline with an additional stage. + + + + + Appends a sortByCount stage to the pipeline. + + The pipeline. + The value expression. + The translation options. + The type of the input documents. + The type of the intermediate documents. + The type of the values. + + The fluent aggregate interface. + + + + + Appends an unwind stage to the pipeline. + + The pipeline. + The field to unwind. + The options. + The type of the input documents. + The type of the intermediate documents. + + The fluent aggregate interface. + + + + + Appends an $unwind stage to the pipeline. + + The pipeline. + The field. + The options. + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + + A new pipeline with an additional stage. + + + + + Appends an unwind stage to the pipeline. + + The pipeline. + The field to unwind. + The options. + The type of the input documents. + The type of the intermediate documents. + + The fluent aggregate interface. + + + + + Appends an unwind stage to the pipeline. + + The pipeline. + The field to unwind. + The options. + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + + The fluent aggregate interface. + + + + + Base class for pipeline stages. + + The type of the input. + The type of the output. + + + + + + MongoDB.Driver.PipelineStageDefinition`2 + + + + + + + Gets the type of the input. + + + + + Performs an implicit conversion from to . + + The document. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The JSON string. + + The result of the conversion. + + + + + Gets the name of the pipeline operator. + + + + + Gets the type of the output. + + + + + Renders the specified document serializer. + + The input serializer. + The serializer registry. + A + + + Returns a string that represents the current object. + A string that represents the current object. + + + + Returns a that represents this instance. + + The input serializer. + The serializer registry. + + A that represents this instance. + + + + + Methods for building pipeline stages. + + + + + Creates a $bucket stage. + + The group by expression. + The boundaries. + The options. + The type of the input documents. + The type of the values. + The stage. + + + + Creates a $bucket stage. + + The group by expression. + The boundaries. + The output projection. + The options. + The type of the input documents. + The type of the values. + The type of the output documents. + The stage. + + + + Creates a $bucket stage. + + The group by expression. + The boundaries. + The options. + The translation options. + The type of the input documents. + The type of the values. + The stage. + + + + Creates a $bucket stage. + + The group by expression. + The boundaries. + The output projection. + The options. + The translation options. + The type of the input documents. + The type of the values. + The type of the output documents. + The stage. + + + + Creates a $bucketAuto stage. + + The group by expression. + The number of buckets. + The options. + The type of the input documents. + The type of the values. + The stage. + + + + Creates a $bucketAuto stage. + + The group by expression. + The number of buckets. + The output projection. + The options. + The type of the input documents. + The type of the values. + The type of the output documents. + The stage. + + + + Creates a $bucketAuto stage. + + The group by expression. + The number of buckets. + The options (optional). + The translation options. + The type of the input documents. + The type of the value. + The stage. + + + + Creates a $bucketAuto stage. + + The group by expression. + The number of buckets. + The output projection. + The options (optional). + The translation options. + The type of the input documents. + The type of the output documents. + The type of the output documents. + The stage. + + + + Creates a $count stage. + + The type of the input documents. + The stage. + + + + Creates a $facet stage. + + The facets. + The type of the input documents. + The stage. + + + + Creates a $facet stage. + + The facets. + The type of the input documents. + The type of the output documents. + The stage. + + + + Creates a $facet stage. + + The facets. + The type of the input documents. + The stage. + + + + Creates a $facet stage. + + The facets. + The options. + The type of the input documents. + The type of the output documents. + The stage. + + + + Creates a $graphLookup stage. + + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The depth field. + The type of the input documents. + The type of the from documents. + The fluent aggregate interface. + + + + Creates a $graphLookup stage. + + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The options. + The type of the input documents. + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field. + The type of the output documents. + The stage. + + + + Creates a $graphLookup stage. + + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The depth field. + The options. + The type of the input documents. + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field elements. + The type of the as field. + The type of the output documents. + The stage. + + + + Creates a $graphLookup stage. + + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The options. + The translation options. + The type of the input documents. + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field. + The type of the output documents. + The stage. + + + + Creates a $graphLookup stage. + + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The depth field. + The options. + The translation options. + The type of the input documents. + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field elements. + The type of the as field. + The type of the output documents. + The stage. + + + + Creates a $group stage. + + The group projection. + The type of the input documents. + The stage. + + + + Creates a $group stage. + + The group projection. + The type of the input documents. + The type of the output documents. + The stage. + + + + Creates a $group stage. + + The value field. + The group projection. + The translation options. + The type of the input documents. + The type of the values. + The type of the output documents. + The stage. + + + + Creates a $limit stage. + + The limit. + The type of the input documents. + The stage. + + + + Creates a $lookup stage. + + The foreign collection. + The local field. + The foreign field. + The "as" field. + The options. + The type of the input documents. + The type of the foreign collection documents. + The type of the output documents. + The stage. + + + + Creates a $lookup stage. + + The foreign collection. + The local field. + The foreign field. + The "as" field. + The options. + The type of the input documents. + The type of the foreign collection documents. + The type of the output documents. + The stage. + + + + Creates a $match stage. + + The filter. + The type of the input documents. + The stage. + + + + Creates a $match stage. + + The filter. + The type of the input documents. + The stage. + + + + Create a $match stage that select documents of a sub type. + + The output serializer. + The type of the input documents. + The type of the output documents. + The stage. + + + + Creates a $out stage. + + The output collection. + The type of the input documents. + The stage. + + + + Creates a $project stage. + + The projection. + The type of the input documents. + The stage. + + + + Creates a $project stage. + + The projection. + The type of the input documents. + The type of the output documents. + The stage. + + + + Creates a $project stage. + + The projection. + The translation options. + The type of the input documents. + The type of the output documents. + The stage. + + + + Creates a $replaceRoot stage. + + The new root. + The type of the input documents. + The type of the output documents. + The stage. + + + + Creates a $replaceRoot stage. + + The new root. + The translation options. + The type of the input documents. + The type of the output documents. + The stage. + + + + Creates a $skip stage. + + The skip. + The type of the input documents. + The stage. + + + + Creates a $sort stage. + + The sort. + The type of the input documents. + The stage. + + + + Creates a $sortByCount stage. + + The value expression. + The type of the input documents. + The type of the values. + The stage. + + + + Creates a $sortByCount stage. + + The value. + The translation options. + The type of the input documents. + The type of the values. + The stage. + + + + Creates an $unwind stage. + + The field to unwind. + The options. + The type of the input documents. + The stage. + + + + Creates an $unwind stage. + + The field. + The options. + The type of the input documents. + The type of the output documents. + The stage. + + + + Creates an $unwind stage. + + The field to unwind. + The options. + The type of the input documents. + The stage. + + + + Creates an $unwind stage. + + The field to unwind. + The options. + The type of the input documents. + The type of the output documents. + The stage. + + + + A pipeline composed of instances of . + + The type of the input. + The type of the output. + + + + Initializes a new instance of the class. + + The stages. + The output serializer. + + + + Gets the output serializer. + + + + + Renders the pipeline. + + The input serializer. + The serializer registry. + A + + + + Gets the serializer. + + + + + Gets the stages. + + + + + Represents a pipeline consisting of an existing pipeline with one additional stage prepended. + + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + + + + Initializes a new instance of the class. + + The stage. + The pipeline. + The output serializer. + + + + Gets the output serializer. + + + + + Renders the pipeline. + + The input serializer. + The serializer registry. + A + + + + Gets the stages. + + + + + Base class for projections whose projection type is not yet known. + + The type of the source. + + + + + + MongoDB.Driver.ProjectionDefinition`1 + + + + + + + Performs an implicit conversion from to . + + The document. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The JSON string. + + The result of the conversion. + + + + + Renders the projection to a . + + The source serializer. + The serializer registry. + A . + + + + Base class for projections. + + The type of the source. + The type of the projection. + + + + + + MongoDB.Driver.ProjectionDefinition`2 + + + + + + + Performs an implicit conversion from to . + + The document. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The projection. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The JSON string. + + The result of the conversion. + + + + + Renders the projection to a . + + The source serializer. + The serializer registry. + A . + + + + A builder for a projection. + + The type of the source. + + + + + + MongoDB.Driver.ProjectionDefinitionBuilder`1 + + + + + + + Creates a client side projection that is implemented solely by using a different serializer. + + The projection serializer. + The type of the projection. + A client side deserialization projection. + + + + Combines the specified projections. + + The projections. + + A combined projection. + + + + + Combines the specified projections. + + The projections. + + A combined projection. + + + + + Creates a projection that filters the contents of an array. + + The field. + The filter. + The type of the item. + + An array filtering projection. + + + + + Creates a projection that filters the contents of an array. + + The field. + The filter. + The type of the item. + + An array filtering projection. + + + + + Creates a projection that filters the contents of an array. + + The field. + The filter. + The type of the item. + + An array filtering projection. + + + + + Creates a projection that excludes a field. + + The field. + + An exclusion projection. + + + + + Creates a projection that excludes a field. + + The field. + + An exclusion projection. + + + + + Creates a projection based on the expression. + + The expression. + The type of the result. + + An expression projection. + + + + + Creates a projection that includes a field. + + The field. + + An inclusion projection. + + + + + Creates a projection that includes a field. + + The field. + + An inclusion projection. + + + + + Creates a text score projection. + + The field. + + A text score projection. + + + + + Creates an array slice projection. + + The field. + The skip. + The limit. + + An array slice projection. + + + + + Creates an array slice projection. + + The field. + The skip. + The limit. + + An array slice projection. + + + + + Extension methods for projections. + + + + + Combines an existing projection with a projection that filters the contents of an array. + + The projection. + The field. + The filter. + The type of the document. + The type of the item. + + A combined projection. + + + + + Combines an existing projection with a projection that filters the contents of an array. + + The projection. + The field. + The filter. + The type of the document. + The type of the item. + + A combined projection. + + + + + Combines an existing projection with a projection that filters the contents of an array. + + The projection. + The field. + The filter. + The type of the document. + The type of the item. + + A combined projection. + + + + + Combines an existing projection with a projection that excludes a field. + + The projection. + The field. + The type of the document. + + A combined projection. + + + + + Combines an existing projection with a projection that excludes a field. + + The projection. + The field. + The type of the document. + + A combined projection. + + + + + Combines an existing projection with a projection that includes a field. + + The projection. + The field. + The type of the document. + + A combined projection. + + + + + Combines an existing projection with a projection that includes a field. + + The projection. + The field. + The type of the document. + + A combined projection. + + + + + Combines an existing projection with a text score projection. + + The projection. + The field. + The type of the document. + + A combined projection. + + + + + Combines an existing projection with an array slice projection. + + The projection. + The field. + The skip. + The limit. + The type of the document. + + A combined projection. + + + + + Combines an existing projection with an array slice projection. + + The projection. + The field. + The skip. + The limit. + The type of the document. + + A combined projection. + + + + + Options for renaming a collection. + + + + + + + MongoDB.Driver.RenameCollectionOptions + + + + + + + Gets or sets a value indicating whether to drop the target collection first if it already exists. + + + + + A rendered command. + + The type of the result. + + + + Initializes a new instance of the class. + + The document. + The result serializer. + + + + Gets the document. + + + + + Gets the result serializer. + + + + + A rendered field. + + + + + Initializes a new instance of the class. + + The field name. + The field serializer. + + + + Gets the field name. + + + + + Gets the field serializer. + + + + + A rendered field. + + The type of the field. + + + + Initializes a new instance of the class. + + The field name. + The field serializer. + + + + Initializes a new instance of the class. + + The field name. + The field serializer. + The value serializer. + The underlying serializer. + + + + Gets the field name. + + + + + Gets the field serializer. + + + + + Gets the underlying serializer. + + + + + Gets the value serializer. + + + + + A rendered pipeline. + + The type of the output. + + + + Initializes a new instance of the class. + + The pipeline. + The output serializer. + + + + Gets the documents. + + + + + Gets the serializer. + + + + + A rendered pipeline stage. + + The type of the output. + + + + Initializes a new instance of the class. + + Name of the pipeline operator. + The document. + The output serializer. + + + + Gets the document. + + + + + Gets the name of the pipeline operator. + + + + + Gets the output serializer. + + + + + A rendered projection. + + The type of the projection. + + + + Initializes a new instance of the class. + + The document. + The projection serializer. + + + + Gets the document. + + + + + Gets the serializer. + + + + + Model for replacing a single document. + + The type of the document. + + + + Initializes a new instance of the class. + + The filter. + The replacement. + + + + Gets or sets the collation. + + + + + Gets the filter. + + + + + Gets or sets a value indicating whether to insert the document if it doesn't already exist. + + + + + Gets the type of the model. + + + + + Gets the replacement. + + + + + The result of an update operation. + + + + + Initializes a new instance of the class. + + + + + Gets a value indicating whether the result is acknowleded. + + + + + Gets a value indicating whether the modified count is available. + + + + + Gets the matched count. If IsAcknowledged is false, this will throw an exception. + + + + + Gets the modified count. If IsAcknowledged is false, this will throw an exception. + + + + + Gets the upserted id, if one exists. If IsAcknowledged is false, this will throw an exception. + + + + + The result of an acknowledged update operation. + + + + + Initializes a new instance of the class. + + The matched count. + The modified count. + The upserted id. + + + + Gets a value indicating whether the result is acknowleded. + + + + + Gets a value indicating whether the modified count is available. + + + + + Gets the matched count. If IsAcknowledged is false, this will throw an exception. + + + + + Gets the modified count. If IsAcknowledged is false, this will throw an exception. + + + + + Gets the upserted id, if one exists. If IsAcknowledged is false, this will throw an exception. + + + + + The result of an unacknowledged update operation. + + + + + Gets the instance. + + + + + Gets a value indicating whether the result is acknowleded. + + + + + Gets a value indicating whether the modified count is available. + + + + + Gets the matched count. If IsAcknowledged is false, this will throw an exception. + + + + + Gets the modified count. If IsAcknowledged is false, this will throw an exception. + + + + + Gets the upserted id, if one exists. If IsAcknowledged is false, this will throw an exception. + + + + + Represents a pipeline with the output serializer replaced. + + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + + + + Initializes a new instance of the class. + + The pipeline. + The output serializer. + + + + Gets the output serializer. + + + + + Renders the pipeline. + + The input serializer. + The serializer registry. + A + + + + Gets the stages. + + + + + Which version of the document to return when executing a FindAndModify command. + + + + + Return the document before the modification. + + + + + Return the document after the modification. + + + + + Represents a setting that may or may not have been set. + + The type of the value. + + + + Gets a value indicating whether the setting has been set. + + + + + Resets the setting to the unset state. + + + + + Gets a canonical string representation for this setting. + + A canonical string representation for this setting. + + + + Gets the value of the setting. + + + + + Base class for sorts. + + The type of the document. + + + + + + MongoDB.Driver.SortDefinition`1 + + + + + + + Performs an implicit conversion from to . + + The document. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The JSON string. + + The result of the conversion. + + + + + Renders the sort to a . + + The document serializer. + The serializer registry. + A . + + + + A builder for a . + + The type of the document. + + + + + + MongoDB.Driver.SortDefinitionBuilder`1 + + + + + + + Creates an ascending sort. + + The field. + An ascending sort. + + + + Creates an ascending sort. + + The field. + An ascending sort. + + + + Creates a combined sort. + + The sorts. + A combined sort. + + + + Creates a combined sort. + + The sorts. + A combined sort. + + + + Creates a descending sort. + + The field. + A descending sort. + + + + Creates a descending sort. + + The field. + A descending sort. + + + + Creates a descending sort on the computed relevance score of a text search. + The name of the key should be the name of the projected relevence score field. + + The field. + A meta text score sort. + + + + Extension methods for SortDefinition. + + + + + Combines an existing sort with an ascending field. + + The sort. + The field. + The type of the document. + + A combined sort. + + + + + Combines an existing sort with an ascending field. + + The sort. + The field. + The type of the document. + + A combined sort. + + + + + Combines an existing sort with an descending field. + + The sort. + The field. + The type of the document. + + A combined sort. + + + + + Combines an existing sort with an descending field. + + The sort. + The field. + The type of the document. + + A combined sort. + + + + + Combines an existing sort with a descending sort on the computed relevance score of a text search. + The field name should be the name of the projected relevance score field. + + The sort. + The field. + The type of the document. + + A combined sort. + + + + + The direction of the sort. + + + + + Ascending. + + + + + Descending. + + + + + Represents the settings for using SSL. + + + + + + + MongoDB.Driver.SslSettings + + + + + + + Gets or sets a value indicating whether to check for certificate revocation. + + + + + Gets or sets the client certificates. + + + + + Gets or sets the client certificate selection callback. + + + + + Clones an SslSettings. + + The cloned SslSettings. + + + + Gets or sets the enabled SSL protocols. + + + + + 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. + + + + + Freezes the settings. + + The frozen settings. + + + + 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. + + + + + Determines whether two instances are equal. + + The LHS. + The RHS. + + true if the left hand side is equal to the right hand side; otherwise, false. + + + + + Determines whether two instances are not equal. + + The LHS. + The RHS. + + true if the left hand side is not equal to the right hand side; otherwise, false. + + + + + Gets or sets the server certificate validation callback. + + + + + Returns a string representation of the settings. + + A string representation of the settings. + + + + A based field name. + + The type of the document. + + + + Initializes a new instance of the class. + + Name of the field. + + + + Renders the field to a . + + The document serializer. + The serializer registry. + A . + + + + A based field name. + + The type of the document. + The type of the field. + + + + Initializes a new instance of the class. + + Name of the field. + The field serializer. + + + + Renders the field to a . + + The document serializer. + The serializer registry. + A . + + + + Represents text search options. + + + + + + + MongoDB.Driver.TextSearchOptions + + + + + + + Gets or sets whether a text search should be case sensitive. + + + + + Gets or sets whether a text search should be diacritic sensitive. + + + + + Gets or sets the language for a text search. + + + + + Base class for updates. + + The type of the document. + + + + + + MongoDB.Driver.UpdateDefinition`1 + + + + + + + Performs an implicit conversion from to . + + The document. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The JSON string. + + The result of the conversion. + + + + + Renders the update to a . + + The document serializer. + The serializer registry. + A . + + + + A builder for an . + + The type of the document. + + + + + + MongoDB.Driver.UpdateDefinitionBuilder`1 + + + + + + + Creates an add to set operator. + + The field. + The value. + The type of the item. + An add to set operator. + + + + Creates an add to set operator. + + The field. + The value. + The type of the item. + An add to set operator. + + + + Creates an add to set operator. + + The field. + The values. + The type of the item. + An add to set operator. + + + + Creates an add to set operator. + + The field. + The values. + The type of the item. + An add to set operator. + + + + Creates a bitwise and operator. + + The field. + The value. + The type of the field. + A bitwise and operator. + + + + Creates a bitwise and operator. + + The field. + The value. + The type of the field. + A bitwise and operator. + + + + Creates a bitwise or operator. + + The field. + The value. + The type of the field. + A bitwise or operator. + + + + Creates a bitwise or operator. + + The field. + The value. + The type of the field. + A bitwise or operator. + + + + Creates a bitwise xor operator. + + The field. + The value. + The type of the field. + A bitwise xor operator. + + + + Creates a bitwise xor operator. + + The field. + The value. + The type of the field. + A bitwise xor operator. + + + + Creates a combined update. + + The updates. + A combined update. + + + + Creates a combined update. + + The updates. + A combined update. + + + + Creates a current date operator. + + The field. + The type. + A current date operator. + + + + Creates a current date operator. + + The field. + The type. + A current date operator. + + + + Creates an increment operator. + + The field. + The value. + The type of the field. + An increment operator. + + + + Creates an increment operator. + + The field. + The value. + The type of the field. + An increment operator. + + + + Creates a max operator. + + The field. + The value. + The type of the field. + A max operator. + + + + Creates a max operator. + + The field. + The value. + The type of the field. + A max operator. + + + + Creates a min operator. + + The field. + The value. + The type of the field. + A min operator. + + + + Creates a min operator. + + The field. + The value. + The type of the field. + A min operator. + + + + Creates a multiply operator. + + The field. + The value. + The type of the field. + A multiply operator. + + + + Creates a multiply operator. + + The field. + The value. + The type of the field. + A multiply operator. + + + + Creates a pop operator. + + The field. + A pop operator. + + + + Creates a pop first operator. + + The field. + A pop first operator. + + + + Creates a pop operator. + + The field. + A pop operator. + + + + Creates a pop first operator. + + The field. + A pop first operator. + + + + Creates a pull operator. + + The field. + The value. + The type of the item. + A pull operator. + + + + Creates a pull operator. + + The field. + The value. + The type of the item. + A pull operator. + + + + Creates a pull operator. + + The field. + The values. + The type of the item. + A pull operator. + + + + Creates a pull operator. + + The field. + The values. + The type of the item. + A pull operator. + + + + Creates a pull operator. + + The field. + The filter. + The type of the item. + A pull operator. + + + + Creates a pull operator. + + The field. + The filter. + The type of the item. + A pull operator. + + + + Creates a pull operator. + + The field. + The filter. + The type of the item. + A pull operator. + + + + Creates a push operator. + + The field. + The value. + The type of the item. + A push operator. + + + + Creates a push operator. + + The field. + The value. + The type of the item. + A push operator. + + + + Creates a push operator. + + The field. + The values. + The slice. + The position. + The sort. + The type of the item. + A push operator. + + + + Creates a push operator. + + The field. + The values. + The slice. + The position. + The sort. + The type of the item. + A push operator. + + + + Creates a field renaming operator. + + The field. + The new name. + A field rename operator. + + + + Creates a field renaming operator. + + The field. + The new name. + A field rename operator. + + + + Creates a set operator. + + The field. + The value. + The type of the field. + A set operator. + + + + Creates a set operator. + + The field. + The value. + The type of the field. + A set operator. + + + + Creates a set on insert operator. + + The field. + The value. + The type of the field. + A set on insert operator. + + + + Creates a set on insert operator. + + The field. + The value. + The type of the field. + A set on insert operator. + + + + Creates an unset operator. + + The field. + An unset operator. + + + + Creates an unset operator. + + The field. + An unset operator. + + + + The type to use for a $currentDate operator. + + + + + A date. + + + + + A timestamp. + + + + + Extension methods for UpdateDefinition. + + + + + Combines an existing update with an add to set operator. + + The update. + The field. + The value. + The type of the document. + The type of the item. + + A combined update. + + + + + Combines an existing update with an add to set operator. + + The update. + The field. + The value. + The type of the document. + The type of the item. + + A combined update. + + + + + Combines an existing update with an add to set operator. + + The update. + The field. + The values. + The type of the document. + The type of the item. + + A combined update. + + + + + Combines an existing update with an add to set operator. + + The update. + The field. + The values. + The type of the document. + The type of the item. + + A combined update. + + + + + Combines an existing update with a bitwise and operator. + + The update. + The field. + The value. + The type of the document. + The type of the field. + + A combined update. + + + + + Combines an existing update with a bitwise and operator. + + The update. + The field. + The value. + The type of the document. + The type of the field. + + A combined update. + + + + + Combines an existing update with a bitwise or operator. + + The update. + The field. + The value. + The type of the document. + The type of the field. + + A combined update. + + + + + Combines an existing update with a bitwise or operator. + + The update. + The field. + The value. + The type of the document. + The type of the field. + + A combined update. + + + + + Combines an existing update with a bitwise xor operator. + + The update. + The field. + The value. + The type of the document. + The type of the field. + + A combined update. + + + + + Combines an existing update with a bitwise xor operator. + + The update. + The field. + The value. + The type of the document. + The type of the field. + + A combined update. + + + + + Combines an existing update with a current date operator. + + The update. + The field. + The type. + The type of the document. + + A combined update. + + + + + Combines an existing update with a current date operator. + + The update. + The field. + The type. + The type of the document. + + A combined update. + + + + + Combines an existing update with an increment operator. + + The update. + The field. + The value. + The type of the document. + The type of the field. + + A combined update. + + + + + Combines an existing update with an increment operator. + + The update. + The field. + The value. + The type of the document. + The type of the field. + + A combined update. + + + + + Combines an existing update with a max operator. + + The update. + The field. + The value. + The type of the document. + The type of the field. + + A combined update. + + + + + Combines an existing update with a max operator. + + The update. + The field. + The value. + The type of the document. + The type of the field. + + A combined update. + + + + + Combines an existing update with a min operator. + + The update. + The field. + The value. + The type of the document. + The type of the field. + + A combined update. + + + + + Combines an existing update with a min operator. + + The update. + The field. + The value. + The type of the document. + The type of the field. + + A combined update. + + + + + Combines an existing update with a multiply operator. + + The update. + The field. + The value. + The type of the document. + The type of the field. + + A combined update. + + + + + Combines an existing update with a multiply operator. + + The update. + The field. + The value. + The type of the document. + The type of the field. + + A combined update. + + + + + Combines an existing update with a pop operator. + + The update. + The field. + The type of the document. + + A combined update. + + + + + Combines an existing update with a pop operator. + + The update. + The field. + The type of the document. + + A combined update. + + + + + Combines an existing update with a pop operator. + + The update. + The field. + The type of the document. + + A combined update. + + + + + Combines an existing update with a pop operator. + + The update. + The field. + The type of the document. + + A combined update. + + + + + Combines an existing update with a pull operator. + + The update. + The field. + The value. + The type of the document. + The type of the item. + + A combined update. + + + + + Combines an existing update with a pull operator. + + The update. + The field. + The value. + The type of the document. + The type of the item. + + A combined update. + + + + + Combines an existing update with a pull operator. + + The update. + The field. + The values. + The type of the document. + The type of the item. + + A combined update. + + + + + Combines an existing update with a pull operator. + + The update. + The field. + The values. + The type of the document. + The type of the item. + + A combined update. + + + + + Combines an existing update with a pull operator. + + The update. + The field. + The filter. + The type of the document. + The type of the item. + + A combined update. + + + + + Combines an existing update with a pull operator. + + The update. + The field. + The filter. + The type of the document. + The type of the item. + + A combined update. + + + + + Combines an existing update with a pull operator. + + The update. + The field. + The filter. + The type of the document. + The type of the item. + + A combined update. + + + + + Combines an existing update with a push operator. + + The update. + The field. + The value. + The type of the document. + The type of the item. + + A combined update. + + + + + Combines an existing update with a push operator. + + The update. + The field. + The value. + The type of the document. + The type of the item. + + A combined update. + + + + + Combines an existing update with a push operator. + + The update. + The field. + The values. + The slice. + The position. + The sort. + The type of the document. + The type of the item. + + A combined update. + + + + + Combines an existing update with a push operator. + + The update. + The field. + The values. + The slice. + The position. + The sort. + The type of the document. + The type of the item. + + A combined update. + + + + + Combines an existing update with a field renaming operator. + + The update. + The field. + The new name. + The type of the document. + + A combined update. + + + + + Combines an existing update with a field renaming operator. + + The update. + The field. + The new name. + The type of the document. + + A combined update. + + + + + Combines an existing update with a set operator. + + The update. + The field. + The value. + The type of the document. + The type of the field. + + A combined update. + + + + + Combines an existing update with a set operator. + + The update. + The field. + The value. + The type of the document. + The type of the field. + + A combined update. + + + + + Combines an existing update with a set on insert operator. + + The update. + The field. + The value. + The type of the document. + The type of the field. + + A combined update. + + + + + Combines an existing update with a set on insert operator. + + The update. + The field. + The value. + The type of the document. + The type of the field. + + A combined update. + + + + + Combines an existing update with an unset operator. + + The update. + The field. + The type of the document. + + A combined update. + + + + + Combines an existing update with an unset operator. + + The update. + The field. + The type of the document. + + A combined update. + + + + + Model for updating many documents. + + The type of the document. + + + + Initializes a new instance of the class. + + The filter. + The update. + + + + Gets or sets the collation. + + + + + Gets the filter. + + + + + Gets or sets a value indicating whether to insert the document if it doesn't already exist. + + + + + Gets the type of the model. + + + + + Gets the update. + + + + + Model for updating a single document. + + The type of the document. + + + + Initializes a new instance of the class. + + The filter. + The update. + + + + Gets or sets the collation. + + + + + Gets the filter. + + + + + Gets or sets a value indicating whether to insert the document if it doesn't already exist. + + + + + Gets the type of the model. + + + + + Gets the update. + + + + + Options for updating a single document. + + + + + + + MongoDB.Driver.UpdateOptions + + + + + + + Gets or sets a value indicating whether to bypass document validation. + + + + + Gets or sets the collation. + + + + + Gets or sets a value indicating whether to insert the document if it doesn't already exist. + + + + + The result of an update operation. + + + + + Initializes a new instance of the class. + + + + + Gets a value indicating whether the result is acknowleded. + + + + + Gets a value indicating whether the modified count is available. + + + + + Gets the matched count. If IsAcknowledged is false, this will throw an exception. + + + + + Gets the modified count. If IsAcknowledged is false, this will throw an exception. + + + + + Gets the upserted id, if one exists. If IsAcknowledged is false, this will throw an exception. + + + + + The result of an acknowledgede update operation. + + + + + Initializes a new instance of the class. + + The matched count. + The modified count. + The upserted id. + + + + Gets a value indicating whether the result is acknowleded. + + + + + Gets a value indicating whether the modified count is available. + + + + + Gets the matched count. If IsAcknowledged is false, this will throw an exception. + + + + + Gets the modified count. If IsAcknowledged is false, this will throw an exception. + + + + + Gets the upserted id, if one exists. If IsAcknowledged is false, this will throw an exception. + + + + + The result of an acknowledgede update operation. + + + + + Gets the instance. + + + + + Gets a value indicating whether the result is acknowleded. + + + + + Gets a value indicating whether the modified count is available. + + + + + Gets the matched count. If IsAcknowledged is false, this will throw an exception. + + + + + Gets the modified count. If IsAcknowledged is false, this will throw an exception. + + + + + Gets the upserted id, if one exists. If IsAcknowledged is false, this will throw an exception. + + + + + Represents the details of a write concern error. + + + + + Gets the error code. + + + + + Gets the error information. + + + + + Gets the error message. + + + + + Represents the details of a write error. + + + + + Gets the category. + + + + + Gets the error code. + + + + + Gets the error details. + + + + + Gets the error message. + + + + + Base class for a write model. + + The type of the document. + + + + Gets the type of the model. + + + + + The type of a write model. + + + + + A model to insert a single document. + + + + + A model to delete a single document. + + + + + A model to delete multiple documents. + + + + + A model to replace a single document. + + + + + A model to update a single document. + + + + + A model to update many documents. + + + + + A static class containing helper methods to create GeoJson objects. + + + + + Creates a GeoJson bounding box. + + The min. + The max. + The type of the coordinates. + A GeoJson bounding box. + + + + Creates a GeoJson Feature object. + + The additional args. + The geometry. + The type of the coordinates. + A GeoJson Feature object. + + + + Creates a GeoJson Feature object. + + The geometry. + The type of the coordinates. + A GeoJson Feature object. + + + + Creates a GeoJson FeatureCollection object. + + The features. + The type of the coordinates. + A GeoJson FeatureCollection object. + + + + Creates a GeoJson FeatureCollection object. + + The additional args. + The features. + The type of the coordinates. + A GeoJson FeatureCollection object. + + + + Creates a GeoJson 2D geographic position (longitude, latitude). + + The longitude. + The latitude. + A GeoJson 2D geographic position. + + + + Creates a GeoJson 3D geographic position (longitude, latitude, altitude). + + The longitude. + The latitude. + The altitude. + A GeoJson 3D geographic position. + + + + Creates a GeoJson GeometryCollection object. + + The geometries. + The type of the coordinates. + A GeoJson GeometryCollection object. + + + + Creates a GeoJson GeometryCollection object. + + The additional args. + The geometries. + The type of the coordinates. + A GeoJson GeometryCollection object. + + + + Creates the coordinates of a GeoJson linear ring. + + The positions. + The type of the coordinates. + The coordinates of a GeoJson linear ring. + + + + Creates a GeoJson LineString object. + + The additional args. + The positions. + The type of the coordinates. + A GeoJson LineString object. + + + + Creates a GeoJson LineString object. + + The positions. + The type of the coordinates. + A GeoJson LineString object. + + + + Creates the coordinates of a GeoJson LineString. + + The positions. + The type of the coordinates. + The coordinates of a GeoJson LineString. + + + + Creates a GeoJson MultiLineString object. + + The line strings. + The type of the coordinates. + A GeoJson MultiLineString object. + + + + Creates a GeoJson MultiLineString object. + + The additional args. + The line strings. + The type of the coordinates. + A GeoJson MultiLineString object. + + + + Creates a GeoJson MultiPoint object. + + The additional args. + The positions. + The type of the coordinates. + A GeoJson MultiPoint object. + + + + Creates a GeoJson MultiPoint object. + + The positions. + The type of the coordinates. + A GeoJson MultiPoint object. + + + + Creates a GeoJson MultiPolygon object. + + The additional args. + The polygons. + The type of the coordinates. + A GeoJson MultiPolygon object. + + + + Creates a GeoJson MultiPolygon object. + + The polygons. + The type of the coordinates. + A GeoJson MultiPolygon object. + + + + Creates a GeoJson Point object. + + The additional args. + The coordinates. + The type of the coordinates. + A GeoJson Point object. + + + + Creates a GeoJson Point object. + + The coordinates. + The type of the coordinates. + A GeoJson Point object. + + + + Creates a GeoJson Polygon object. + + The additional args. + The coordinates. + The type of the coordinates. + A GeoJson Polygon object. + + + + Creates a GeoJson Polygon object. + + The additional args. + The positions. + The type of the coordinates. + A GeoJson Polygon object. + + + + Creates a GeoJson Polygon object. + + The coordinates. + The type of the coordinates. + A GeoJson Polygon object. + + + + Creates a GeoJson Polygon object. + + The positions. + The type of the coordinates. + A GeoJson Polygon object. + + + + Creates the coordinates of a GeoJson Polygon object. + + The exterior. + The holes. + The type of the coordinates. + The coordinates of a GeoJson Polygon object. + + + + Creates the coordinates of a GeoJson Polygon object. + + The positions. + The type of the coordinates. + The coordinates of a GeoJson Polygon object. + + + + Creates a GeoJson 2D position (x, y). + + The x. + The y. + A GeoJson 2D position. + + + + Creates a GeoJson 3D position (x, y, z). + + The x. + The y. + The z. + A GeoJson 3D position. + + + + Creates a GeoJson 2D projected position (easting, northing). + + The easting. + The northing. + A GeoJson 2D projected position. + + + + Creates a GeoJson 3D projected position (easting, northing, altitude). + + The easting. + The northing. + The altitude. + A GeoJson 3D projected position. + + + + Represents a GeoJson 2D position (x, y). + + + + + Initializes a new instance of the class. + + The x coordinate. + The y coordinate. + + + + Gets the coordinate values. + + + + + Gets the X coordinate. + + + + + Gets the Y coordinate. + + + + + Represents a GeoJson 2D geographic position (longitude, latitude). + + + + + Initializes a new instance of the class. + + The longitude. + The latitude. + + + + Gets the latitude. + + + + + Gets the longitude. + + + + + Gets the coordinate values. + + + + + Represents a GeoJson 2D projected position (easting, northing). + + + + + Initializes a new instance of the class. + + The easting. + The northing. + + + + Gets the easting. + + + + + Gets the northing. + + + + + Gets the coordinate values. + + + + + Represents a GeoJson 3D position (x, y, z). + + + + + Initializes a new instance of the class. + + The x coordinate. + The y coordinate. + The z coordinate. + + + + Gets the coordinate values. + + + + + Gets the X coordinate. + + + + + Gets the Y coordinate. + + + + + Gets the Z coordinate. + + + + + Represents a GeoJson 3D geographic position (longitude, latitude, altitude). + + + + + Initializes a new instance of the class. + + The longitude. + The latitude. + The altitude. + + + + Gets the altitude. + + + + + Gets the latitude. + + + + + Gets the longitude. + + + + + Gets the coordinate values. + + + + + Represents a GeoJson 3D projected position (easting, northing, altitude). + + + + + Initializes a new instance of the class. + + The easting. + The northing. + The altitude. + + + + Gets the altitude. + + + + + Gets the easting. + + + + + Gets the northing. + + + + + Gets the coordinate values. + + + + + Represents a GeoJson bounding box. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The min. + The max. + + + + Gets the max. + + + + + Gets the min. + + + + + Represents a GeoJson coordinate reference system (see subclasses). + + + + + + + MongoDB.Driver.GeoJsonObjectModel.GeoJsonCoordinateReferenceSystem + + + + + + + Gets the type of the GeoJson coordinate reference system. + + + + + Represents a GeoJson position in some coordinate system (see subclasses). + + + + + + + MongoDB.Driver.GeoJsonObjectModel.GeoJsonCoordinates + + + + + + + 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. + + + + + Determines whether two instances are equal. + + The LHS. + The RHS. + + true if the left hand side is equal to the right hand side; otherwise, false. + + + + + Determines whether two instances are not equal. + + The LHS. + The RHS. + + true if the left hand side is not equal to the right hand side; otherwise, false. + + + + + Gets the coordinate values. + + + + + Represents a GeoJson Feature object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The additional args. + The geometry. + + + + Initializes a new instance of the class. + + The geometry. + + + + Gets the geometry. + + + + + Gets the id. + + + + + Gets the properties. + + + + + Gets the type of the GeoJson object. + + + + + Represents additional arguments for a GeoJson Feature object. + + The type of the coordinates. + + + + + + MongoDB.Driver.GeoJsonObjectModel.GeoJsonFeatureArgs`1 + + + + + + + Gets or sets the id. + + + + + Gets or sets the properties. + + + + + Represents a GeoJson FeatureCollection. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The additional args. + The features. + + + + Initializes a new instance of the class. + + The features. + + + + Gets the features. + + + + + Gets the type of the GeoJson object. + + + + + Represents a GeoJson Geometry object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The additional args. + + + + Represents a GeoJson GeometryCollection object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The additional args. + The geometries. + + + + Initializes a new instance of the class. + + The geometries. + + + + Gets the geometries. + + + + + Gets the type of the GeoJson object. + + + + + Represents the coordinates of a GeoJson linear ring. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The positions. + + + + Represents a GeoJson LineString object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The coordinates. + + + + Initializes a new instance of the class. + + The additional args. + The coordinates. + + + + Gets the coordinates. + + + + + Gets the type of the GeoJson object. + + + + + Represents the coordinates of a GeoJson LineString object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The positions. + + + + Gets the positions. + + + + + Represents a GeoJson linked coordinate reference system. + + + + + Initializes a new instance of the class. + + The href. + + + + Initializes a new instance of the class. + + The href. + Type of the href. + + + + Gets the href. + + + + + Gets the type of the href. + + + + + Gets the type of the GeoJson coordinate reference system. + + + + + Represents a GeoJson MultiLineString object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The coordinates. + + + + Initializes a new instance of the class. + + The additional args. + The coordinates. + + + + Gets the coordinates. + + + + + Gets the type of the GeoJson object. + + + + + Represents the coordinates of a GeoJson MultiLineString object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The line strings. + + + + Gets the LineStrings. + + + + + Represents a GeoJson MultiPoint object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The coordinates. + + + + Initializes a new instance of the class. + + The additional args. + The coordinates. + + + + Gets the coordinates. + + + + + Gets the type of the GeoJson object. + + + + + Represents the coordinates of a GeoJson MultiPoint object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The positions. + + + + Gets the positions. + + + + + Represents a GeoJson MultiPolygon object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The coordinates. + + + + Initializes a new instance of the class. + + The additional args. + The coordinates. + + + + Gets the coordinates. + + + + + Gets the type of the GeoJson object. + + + + + Represents the coordinates of a GeoJson MultiPolygon object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The polygons. + + + + Gets the Polygons. + + + + + Represents a GeoJson named coordinate reference system. + + + + + Initializes a new instance of the class. + + The name. + + + + Gets the name. + + + + + Gets the type of the GeoJson coordinate reference system. + + + + + Represents a GeoJson object (see subclasses). + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The additional args. + + + + Gets the bounding box. + + + + + Gets the coordinate reference system. + + + + + Gets the extra members. + + + + + Gets the type of the GeoJson object. + + + + + Represents additional args provided when creating a GeoJson object. + + The type of the coordinates. + + + + + + MongoDB.Driver.GeoJsonObjectModel.GeoJsonObjectArgs`1 + + + + + + + Gets or sets the bounding box. + + + + + Gets or sets the coordinate reference system. + + + + + Gets or sets the extra members. + + + + + Represents the type of a GeoJson object. + + + + + A Feature. + + + + + A FeatureCollection. + + + + + A GeometryCollection. + + + + + A LineString. + + + + + A MultiLineString. + + + + + A MultiPoint. + + + + + A MultiPolygon. + + + + + A Point. + + + + + A Polygon. + + + + + Represents a GeoJson Point object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The additional args. + The coordinates. + + + + Initializes a new instance of the class. + + The coordinates. + + + + Gets the coordinates. + + + + + Gets the type of the GeoJson object. + + + + + Represents a GeoJson Polygon object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The additional args. + The coordinates. + + + + Initializes a new instance of the class. + + The coordinates. + + + + Gets the coordinates. + + + + + Gets the type of the GeoJson object. + + + + + Represents the coordinates of a GeoJson Polygon object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The exterior. + + + + Initializes a new instance of the class. + + The exterior. + The holes. + + + + Gets the exterior. + + + + + Gets the holes. + + + + + Represents a serializer for a GeoJson2DCoordinates value. + + + + + + + MongoDB.Driver.GeoJsonObjectModel.Serializers.GeoJson2DCoordinatesSerializer + + + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJson2DGeographicCoordinates value. + + + + + + + MongoDB.Driver.GeoJsonObjectModel.Serializers.GeoJson2DGeographicCoordinatesSerializer + + + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJson2DProjectedCoordinates value. + + + + + + + MongoDB.Driver.GeoJsonObjectModel.Serializers.GeoJson2DProjectedCoordinatesSerializer + + + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJson3DCoordinates value. + + + + + + + MongoDB.Driver.GeoJsonObjectModel.Serializers.GeoJson3DCoordinatesSerializer + + + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJson3DGeographicCoordinates value. + + + + + + + MongoDB.Driver.GeoJsonObjectModel.Serializers.GeoJson3DGeographicCoordinatesSerializer + + + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJson3DProjectedCoordinates value. + + + + + + + MongoDB.Driver.GeoJsonObjectModel.Serializers.GeoJson3DProjectedCoordinatesSerializer + + + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonBoundingBox value. + + The type of the coordinates. + + + + + + MongoDB.Driver.GeoJsonObjectModel.Serializers.GeoJsonBoundingBoxSerializer`1 + + + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonCoordinateReferenceSystem value. + + + + + + + MongoDB.Driver.GeoJsonObjectModel.Serializers.GeoJsonCoordinateReferenceSystemSerializer + + + + + + + Gets the actual type. + + The context. + The actual type. + + + + Represents a serializer for a GeoJsonCoordinates value. + + + + + + + MongoDB.Driver.GeoJsonObjectModel.Serializers.GeoJsonCoordinatesSerializer + + + + + + + Gets the actual type. + + The context. + The actual type. + + + + Represents a serializer for a GeoJsonFeatureCollection value. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonFeature value. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonGeometryCollection value. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonGeometry value. + + The type of the coordinates. + + + + + + MongoDB.Driver.GeoJsonObjectModel.Serializers.GeoJsonGeometrySerializer`1 + + + + + + + Gets the actual type. + + The context. + The actual type. + + + + Represents a serializer for a GeoJsonLinearRingCoordinates value. + + The type of the coordinates. + + + + + + MongoDB.Driver.GeoJsonObjectModel.Serializers.GeoJsonLinearRingCoordinatesSerializer`1 + + + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonLineStringCoordinates value. + + The type of the coordinates. + + + + + + MongoDB.Driver.GeoJsonObjectModel.Serializers.GeoJsonLineStringCoordinatesSerializer`1 + + + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonLineString value. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonLinkedCoordinateReferenceSystem value. + + + + + Initializes a new instance of the class. + + + + + Deserializes a class. + + The deserialization context. + The deserialization args. + An object. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonMultiLineStringCoordinates value. + + The type of the coordinates. + + + + + + MongoDB.Driver.GeoJsonObjectModel.Serializers.GeoJsonMultiLineStringCoordinatesSerializer`1 + + + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonMultiLineString value. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonMultiPointCoordinates value. + + The type of the coordinates. + + + + + + MongoDB.Driver.GeoJsonObjectModel.Serializers.GeoJsonMultiPointCoordinatesSerializer`1 + + + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonMultiPoint value. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonMultiPolygonCoordinates value. + + The type of the coordinates. + + + + + + MongoDB.Driver.GeoJsonObjectModel.Serializers.GeoJsonMultiPolygonCoordinatesSerializer`1 + + + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonMultiPolygon value. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonNamedCoordinateReferenceSystem value. + + + + + Initializes a new instance of the class. + + + + + Deserializes a class. + + The deserialization context. + The deserialization args. + An object. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJson object. + + The type of the coordinates. + + + + + + MongoDB.Driver.GeoJsonObjectModel.Serializers.GeoJsonObjectSerializer`1 + + + + + + + Gets the actual type. + + The context. + The actual type. + + + + Represents a serializer helper for GeoJsonObjects. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The type. + The derived members. + + + + Deserializes a base member. + + The context. + The element name. + The flag. + The arguments. + + + + Serializes the members. + + The context. + The value. + The delegate to serialize the derived members. + The type of the value. + + + + Represents a serializer for a GeoJsonPoint value. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonPolygonCoordinates value. + + The type of the coordinates. + + + + + + MongoDB.Driver.GeoJsonObjectModel.Serializers.GeoJsonPolygonCoordinatesSerializer`1 + + + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonPolygon value. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + A model for a queryable to be executed using the aggregation framework. + + The type of the output. + + + + Gets the output serializer. + + + + + Gets the type of the output. + + + + + Gets the stages. + + + + + Returns a that represents this instance. + + + A that represents this instance. + + + + + Provides functionality to evaluate queries against MongoDB. + + + + + Gets the execution model. + + + The execution model. + + + + + Provides functionality to evaluate queries against MongoDB + wherein the type of the data is known. + + + The type of the data in the data source. + This type parameter is covariant. + That is, you can use either the type you specified or any type that is more + derived. For more information about covariance and contravariance, see Covariance + and Contravariance in Generics. + + + + + Represents the result of a sorting operation. + + + The type of the data in the data source. + This type parameter is covariant. + That is, you can use either the type you specified or any type that is more + derived. For more information about covariance and contravariance, see Covariance + and Contravariance in Generics. + + + + + This static class holds methods that can be used to express MongoDB specific operations in LINQ queries. + + + + + Injects a low level FilterDefinition{TDocument} into a LINQ where clause. Can only be used in LINQ queries. + + The filter. + The type of the document. + + Throws an InvalidOperationException if called. + + + + + Enumerable Extensions for MongoDB. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Extension for . + + + + + Determines whether any element of a sequence satisfies a condition. + + A sequence whose elements to test for a condition. + A function to test each element for a condition. + The cancellation token. + The type of the elements of . + + true if any elements in the source sequence pass the test in the specified predicate; otherwise, false. + + + + + Determines whether a sequence contains any elements. + + A sequence to check for being empty. + The cancellation token. + The type of the elements of . + + true if the source sequence contains any elements; otherwise, false. + + + + + Computes the average of a sequence of values. + + A sequence of values to calculate the average of. + The cancellation token. + The average of the values in the sequence. + + + + Computes the average of a sequence of values. + + A sequence of values to calculate the average of. + The cancellation token. + The average of the values in the sequence. + + + + Computes the average of a sequence of values. + + A sequence of values to calculate the average of. + The cancellation token. + The average of the values in the sequence. + + + + Computes the average of a sequence of values. + + A sequence of values to calculate the average of. + The cancellation token. + The average of the values in the sequence. + + + + Computes the average of a sequence of values. + + A sequence of values to calculate the average of. + The cancellation token. + The average of the values in the sequence. + + + + Computes the average of a sequence of values. + + A sequence of values to calculate the average of. + The cancellation token. + The average of the values in the sequence. + + + + Computes the average of a sequence of values. + + A sequence of values to calculate the average of. + The cancellation token. + The average of the values in the sequence. + + + + Computes the average of a sequence of values. + + A sequence of values to calculate the average of. + The cancellation token. + The average of the values in the sequence. + + + + Computes the average of a sequence of values. + + A sequence of values to calculate the average of. + The cancellation token. + The average of the values in the sequence. + + + + Computes the average of a sequence of values. + + A sequence of values to calculate the average of. + The cancellation token. + The average of the values in the sequence. + + + + Computes the average of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + A sequence of values. + A projection function to apply to each element. + The cancellation token. + The type of the elements of . + + The average of the projected values. + + + + + Computes the average of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + A sequence of values. + A projection function to apply to each element. + The cancellation token. + The type of the elements of . + + The average of the projected values. + + + + + Computes the average of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + A sequence of values. + A projection function to apply to each element. + The cancellation token. + The type of the elements of . + + The average of the projected values. + + + + + Computes the average of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + A sequence of values. + A projection function to apply to each element. + The cancellation token. + The type of the elements of . + + The average of the projected values. + + + + + Computes the average of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + A sequence of values. + A projection function to apply to each element. + The cancellation token. + The type of the elements of . + + The average of the projected values. + + + + + Computes the average of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + A sequence of values. + A projection function to apply to each element. + The cancellation token. + The type of the elements of . + + The average of the projected values. + + + + + Computes the average of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + A sequence of values. + A projection function to apply to each element. + The cancellation token. + The type of the elements of . + + The average of the projected values. + + + + + Computes the average of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + A sequence of values. + A projection function to apply to each element. + The cancellation token. + The type of the elements of . + + The average of the projected values. + + + + + Computes the average of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + A sequence of values. + A projection function to apply to each element. + The cancellation token. + The type of the elements of . + + The average of the projected values. + + + + + Computes the average of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + A sequence of values. + A projection function to apply to each element. + The cancellation token. + The type of the elements of . + + The average of the projected values. + + + + + Returns the number of elements in the specified sequence that satisfies a condition. + + An that contains the elements to be counted. + A function to test each element for a condition. + The cancellation token. + The type of the elements of . + + The number of elements in the sequence that satisfies the condition in the predicate function. + + + + + Returns the number of elements in a sequence. + + The that contains the elements to be counted. + The cancellation token. + The type of the elements of . + + The number of elements in the input sequence. + + + + + Returns distinct elements from a sequence by using the default equality comparer to compare values. + + The to remove duplicates from. + The type of the elements of . + + An that contains distinct elements from . + + + + + Returns the first element of a sequence that satisfies a specified condition. + + An to return an element from. + A function to test each element for a condition. + The cancellation token. + The type of the elements of . + + The first element in that passes the test in . + + + + + Returns the first element of a sequence. + + The to return the first element of. + The cancellation token. + The type of the elements of . + + The first element in . + + + + + Returns the first element of a sequence that satisfies a specified condition or a default value if no such element is found. + + An to return an element from. + A function to test each element for a condition. + The cancellation token. + The type of the elements of . + + default() if is empty or if no element passes the test specified by ; otherwise, the first element in that passes the test specified by . + + + + + Returns the first element of a sequence, or a default value if the sequence contains no elements. + + The to return the first element of. + The cancellation token. + The type of the elements of . + + default() if is empty; otherwise, the first element in . + + + + + Groups the elements of a sequence according to a specified key selector function. + + An whose elements to group. + A function to extract the key for each element. + The type of the elements of . + The type of the key returned by the function represented in keySelector. + + An that has a type argument of + and where each object contains a sequence of objects + and a key. + + + + + Groups the elements of a sequence according to a specified key selector function + and creates a result value from each group and its key. + + An whose elements to group. + A function to extract the key for each element. + A function to create a result value from each group. + The type of the elements of . + The type of the key returned by the function represented in keySelector. + The type of the result value returned by resultSelector. + + An that has a type argument of TResult and where + each element represents a projection over a group and its key. + + + + + Correlates the elements of two sequences based on key equality and groups the results. + + The first sequence to join. + The collection to join to the first sequence. + A function to extract the join key from each element of the first sequence. + A function to extract the join key from each element of the second sequence. + A function to create a result element from an element from the first sequence and a collection of matching elements from the second sequence. + The type of the elements of the first sequence. + The type of the elements of the second sequence. + The type of the keys returned by the key selector functions. + The type of the result elements. + + An that contains elements of type obtained by performing a grouped join on two sequences. + + + + + Correlates the elements of two sequences based on key equality and groups the results. + + The first sequence to join. + The sequence to join to the first sequence. + A function to extract the join key from each element of the first sequence. + A function to extract the join key from each element of the second sequence. + A function to create a result element from an element from the first sequence and a collection of matching elements from the second sequence. + The type of the elements of the first sequence. + The type of the elements of the second sequence. + The type of the keys returned by the key selector functions. + The type of the result elements. + + An that contains elements of type obtained by performing a grouped join on two sequences. + + + + + Correlates the elements of two sequences based on matching keys. + + The first sequence to join. + The sequence to join to the first sequence. + A function to extract the join key from each element of the first sequence. + A function to extract the join key from each element of the second sequence. + A function to create a result element from two matching elements. + The type of the elements of the first sequence. + The type of the elements of the second sequence. + The type of the keys returned by the key selector functions. + The type of the result elements. + + An that has elements of type obtained by performing an inner join on two sequences. + + + + + Correlates the elements of two sequences based on matching keys. + + The first sequence to join. + The sequence to join to the first sequence. + A function to extract the join key from each element of the first sequence. + A function to extract the join key from each element of the second sequence. + A function to create a result element from two matching elements. + The type of the elements of the first sequence. + The type of the elements of the second sequence. + The type of the keys returned by the key selector functions. + The type of the result elements. + + An that has elements of type obtained by performing an inner join on two sequences. + + + + + Returns the number of elements in the specified sequence that satisfies a condition. + + An that contains the elements to be counted. + A function to test each element for a condition. + The cancellation token. + The type of the elements of . + + The number of elements in the sequence that satisfies the condition in the predicate function. + + + + + Returns the number of elements in a sequence. + + The that contains the elements to be counted. + The cancellation token. + The type of the elements of . + + The number of elements in the input sequence. + + + + + Invokes a projection function on each element of a generic and returns the maximum resulting value. + + A sequence of values to determine the maximum of. + A projection function to apply to each element. + The cancellation token. + The type of the elements of . + The type of the value returned by the function represented by . + + The maximum value in the sequence. + + + + + Returns the maximum value in a generic . + + A sequence of values to determine the maximum of. + The cancellation token. + The type of the elements of . + + The maximum value in the sequence. + + + + + Invokes a projection function on each element of a generic and returns the minimum resulting value. + + A sequence of values to determine the minimum of. + A projection function to apply to each element. + The cancellation token. + The type of the elements of . + The type of the value returned by the function represented by . + + The minimum value in the sequence. + + + + + Returns the minimum value in a generic . + + A sequence of values to determine the minimum of. + The cancellation token. + The type of the elements of . + + The minimum value in the sequence. + + + + + Filters the elements of an based on a specified type. + + An whose elements to filter. + The type to filter the elements of the sequence on. + + A collection that contains the elements from that have type . + + + + + Sorts the elements of a sequence in ascending order according to a key. + + A sequence of values to order. + A function to extract a key from an element. + The type of the elements of . + The type of the key returned by the function that is represented by keySelector. + + An whose elements are sorted according to a key. + + + + + Sorts the elements of a sequence in descending order according to a key. + + A sequence of values to order. + A function to extract a key from an element. + The type of the elements of . + The type of the key returned by the function that is represented by keySelector. + + An whose elements are sorted in descending order according to a key. + + + + + Returns a sample of the elements in the . + + An to return a sample of. + The number of elements in the sample. + The type of the elements of . + + A sample of the elements in the . + + + + + Projects each element of a sequence into a new form by incorporating the + element's index. + + A sequence of values to project. + A projection function to apply to each element. + The type of the elements of . + The type of the value returned by the function represented by selector. + + An whose elements are the result of invoking a + projection function on each element of source. + + + + + Projects each element of a sequence to an and + invokes a result selector function on each element therein. The resulting values from + each intermediate sequence are combined into a single, one-dimensional sequence and returned. + + A sequence of values to project. + A projection function to apply to each element of the input sequence. + A projection function to apply to each element of each intermediate sequence. + The type of the elements of . + The type of the intermediate elements collected by the function represented by . + The type of the elements of the resulting sequence. + + An whose elements are the result of invoking the one-to-many projection function on each element of and then mapping each of those sequence elements and their corresponding element to a result element. + + + + + Projects each element of a sequence to an and combines the resulting sequences into one sequence. + + A sequence of values to project. + A projection function to apply to each element. + The type of the elements of . + The type of the elements of the sequence returned by the function represented by . + + An whose elements are the result of invoking a one-to-many projection function on each element of the input sequence. + + + + + Returns the only element of a sequence that satisfies a specified condition, and throws an exception if more than one such element exists. + + An to return a single element from. + A function to test an element for a condition. + The cancellation token. + The type of the elements of . + + The single element of the input sequence that satisfies the condition in . + + + + + Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence. + + An to return the single element of. + The cancellation token. + The type of the elements of . + + The single element of the input 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. + + An to return a single element from. + A function to test an element for a condition. + The cancellation token. + The type of the elements of . + + The single element of the input sequence that satisfies the condition in , or default() if no such element is found. + + + + + 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. + + An to return the single element of. + The cancellation token. + The type of the elements of . + + The single element of the input sequence, or default() if the sequence contains no elements. + + + + + Bypasses a specified number of elements in a sequence and then returns the + remaining elements. + + An to return elements from. + The number of elements to skip before returning the remaining elements. + The type of the elements of source + + An that contains elements that occur after the + specified index in the input sequence. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + The type of the elements of . + + The population standard deviation of the sequence of values. + + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The cancellation token. + The sum of the values in the sequence. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The cancellation token. + The sum of the values in the sequence. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The cancellation token. + The sum of the values in the sequence. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The cancellation token. + The sum of the values in the sequence. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The cancellation token. + The sum of the values in the sequence. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The cancellation token. + The sum of the values in the sequence. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The cancellation token. + The sum of the values in the sequence. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The cancellation token. + The sum of the values in the sequence. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The cancellation token. + The sum of the values in the sequence. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The cancellation token. + The sum of the values in the sequence. + + + + Computes the sum of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + A sequence of values. + A projection function to apply to each element. + The cancellation token. + The type of the elements of . + + The sum of the projected values. + + + + + Computes the sum of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + A sequence of values. + A projection function to apply to each element. + The cancellation token. + The type of the elements of . + + The sum of the projected values. + + + + + Computes the sum of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + A sequence of values. + A projection function to apply to each element. + The cancellation token. + The type of the elements of . + + The sum of the projected values. + + + + + Computes the sum of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + A sequence of values. + A projection function to apply to each element. + The cancellation token. + The type of the elements of . + + The sum of the projected values. + + + + + Computes the sum of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + A sequence of values. + A projection function to apply to each element. + The cancellation token. + The type of the elements of . + + The sum of the projected values. + + + + + Computes the sum of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + A sequence of values. + A projection function to apply to each element. + The cancellation token. + The type of the elements of . + + The sum of the projected values. + + + + + Computes the sum of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + A sequence of values. + A projection function to apply to each element. + The cancellation token. + The type of the elements of . + + The sum of the projected values. + + + + + Computes the sum of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + A sequence of values. + A projection function to apply to each element. + The cancellation token. + The type of the elements of . + + The sum of the projected values. + + + + + Computes the sum of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + A sequence of values. + A projection function to apply to each element. + The cancellation token. + The type of the elements of . + + The sum of the projected values. + + + + + Computes the sum of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + A sequence of values. + A projection function to apply to each element. + The cancellation token. + The type of the elements of . + + The sum of the projected values. + + + + + Returns a specified number of contiguous elements from the start of a sequence. + + The sequence to return elements from. + The number of elements to return. + The type of the elements of . + + An that contains the specified number of elements + from the start of source. + + + + + Performs a subsequent ordering of the elements in a sequence in ascending + order according to a key. + + A sequence of values to order. + A function to extract a key from an element. + The type of the elements of . + The type of the key returned by the function that is represented by keySelector. + + An whose elements are sorted according to a key. + + + + + Performs a subsequent ordering of the elements in a sequence in descending + order according to a key. + + A sequence of values to order. + A function to extract a key from an element. + The type of the elements of . + The type of the key returned by the function that is represented by keySelector. + + An whose elements are sorted in descending order according to a key. + + + + + Filters a sequence of values based on a predicate. + + An to return elements from. + A function to test each element for a condition. + The type of the elements of . + + An that contains elements from the input sequence + that satisfy the condition specified by predicate. + + + + + An execution model. + + + + + Gets the type of the output. + + + + \ No newline at end of file diff --git a/packages/MongoDB.Driver.2.4.3/lib/netstandard1.5/MongoDB.Driver.xml b/packages/MongoDB.Driver.2.4.3/lib/netstandard1.5/MongoDB.Driver.xml new file mode 100644 index 0000000..eb0df6f --- /dev/null +++ b/packages/MongoDB.Driver.2.4.3/lib/netstandard1.5/MongoDB.Driver.xml @@ -0,0 +1,16378 @@ + + + + MongoDB.Driver + + + + + Represents the granularity value for a $bucketAuto stage. + + + + + Gets the E6 granularity. + + + + + Gets the E12 granularity. + + + + + Gets the E24 granularity. + + + + + Gets the E48 granularity. + + + + + Gets the E96 granularity. + + + + + Gets the E192 granularity. + + + + + Gets the POWERSOF2 granularity. + + + + + Gets the R5 granularity. + + + + + Gets the R10 granularity. + + + + + Gets the R20 granularity. + + + + + Gets the R40 granularity. + + + + + Gets the R80 granularity. + + + + + Gets the 1-2-5 granularity. + + + + + Initializes a new instance of the struct. + + The value. + + + + Gets the value. + + + + + Represents options for the BucketAuto method. + + + + + Gets or sets the granularity. + + + + + Represents the result of the $bucketAuto stage. + + The type of the value. + + + + Initializes a new instance of the class. + + The inclusive lower boundary of the bucket. + The count. + + + + Initializes a new instance of the class. + + The minimum. + The maximum. + The count. + + + + Gets the inclusive lower boundary of the bucket. + + + The inclusive lower boundary of the bucket. + + + + + Gets the count. + + + The count. + + + + + Gets the maximum. + + + + + Gets the minimum. + + + + + Represents the _id value in the result of a $bucketAuto stage. + + The type of the values. + + + + Initializes a new instance of the class. + + The minimum. + The maximum. + + + + Gets the max value. + + + + + Gets the min value. + + + + + Represents options for the Bucket method. + + The type of the value. + + + + Gets or sets the default bucket. + + + + + Represents the result of the $bucket stage. + + The type of the value. + + + + Initializes a new instance of the class. + + The inclusive lower boundary of the bucket. + The count. + + + + Gets the inclusive lower boundary of the bucket. + + + The inclusive lower boundary of the bucket. + + + + + Gets the count. + + + The count. + + + + + Result type for the aggregate $count stage. + + + + + Initializes a new instance of the class. + + The count. + + + + Gets the count. + + + The count. + + + + + An aggregation expression. + + The type of the source. + The type of the result. + + + + Performs an implicit conversion from to . + + The expression. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The expression. + + The result of the conversion. + + + + + Renders the aggregation expression. + + The source serializer. + The serializer registry. + The rendered aggregation expression. + + + + A based aggregate expression. + + The type of the source. + The type of the result. + + + + + Initializes a new instance of the class. + + The expression. + + + + + + + A based aggregate expression. + + The type of the source. + The type of the result. + + + + + Initializes a new instance of the class. + + The expression. + The translation options. + + + + + + + Represents static methods for creating facets. + + + + + Creates a new instance of the class. + + The type of the input documents. + The type of the output documents. + The facet name. + The facet pipeline. + + A new instance of the class + + + + + Represents a facet to be passed to the Facet method. + + The type of the input documents. + + + + Initializes a new instance of the class. + + The facet name. + + + + Gets the facet name. + + + + + Gets the output serializer. + + + + + Gets the type of the output documents. + + + + + Renders the facet pipeline. + + The input serializer. + The serializer registry. + The rendered pipeline. + + + + Represents a facet to be passed to the Facet method. + + The type of the input documents. + The type of the otuput documents. + + + + Initializes a new instance of the class. + + The facet name. + The facet pipeline. + + + + + + + + + + Gets the facet pipeline. + + + + + + + + Options for the aggregate $facet stage. + + The type of the output documents. + + + + Gets or sets the output serializer. + + + + + Represents an abstract AggregateFacetResult with an arbitrary TOutput type. + + + + + Initializes a new instance of the class. + + The name of the facet. + + + + Gets the name of the facet. + + + + + Gets the output of the facet. + + The type of the output documents. + The output of the facet. + + + + Represents the result of a single facet. + + The type of the output. + + + + Initializes a new instance of the class. + + The name. + The output. + + + + Gets or sets the output. + + + The output. + + + + + Represents the results of a $facet stage with an arbitrary number of facets. + + + + + Initializes a new instance of the class. + + The facets. + + + + Gets the facets. + + + + + Base class for implementors of . + + The type of the document. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Represents options for the GraphLookup method. + + The type of from documents. + The type of the as field elements. + The type of the output documents. + + + + Gets or sets the TAsElement serialzier. + + + + + Gets or sets the TFrom serializer. + + + + + Gets or sets the maximum depth. + + + + + Gets or sets the output serializer. + + + + + Gets the filter to restrict the search with. + + + + + Options for the aggregate $lookup stage. + + The type of the foreign document. + The type of the result. + + + + Gets or sets the foreign document serializer. + + + + + Gets or sets the result serializer. + + + + + Options for an aggregate operation. + + + + + Gets or sets a value indicating whether to allow disk use. + + + + + Gets or sets the size of a batch. + + + + + Gets or sets a value indicating whether to bypass document validation. + + + + + Gets or sets the collation. + + + + + Gets or sets the maximum time. + + + + + Gets or sets the translation options. + + + + + Gets or sets a value indicating whether to use a cursor. + + + + + Result type for the aggregate $sortByCount stage. + + The type of the identifier. + + + + Initializes a new instance of the class. + + The identifier. + The count. + + + + Gets the count. + + + The count. + + + + + Gets the identifier. + + + The identifier. + + + + + Option for which expression to generate for certain string operations. + + + + + Translate to the byte variation. + + + + + Translate to the code points variation. This is only supported in >= MongoDB 3.4. + + + + + Options for the $unwind aggregation stage. + + The type of the result. + + + + Gets or sets the field with which to include the array index. + + + + + Gets or sets whether to preserve null and empty arrays. + + + + + Gets or sets the result serializer. + + + + + A static helper class containing various builders. + + The type of the document. + + + + Gets a . + + + + + Gets an . + + + + + Gets a . + + + + + Gets a . + + + + + Gets an . + + + + + Represents the details of a write error for a particular request. + + + + + Gets the index of the request that had an error. + + + + + Options for a bulk write operation. + + + + + Initializes a new instance of the class. + + + + + Gets or sets a value indicating whether to bypass document validation. + + + + + Gets or sets a value indicating whether the requests are fulfilled in order. + + + + + Represents the result of a bulk write operation. + + + + + Initializes a new instance of the class. + + The request count. + + + + Gets the number of documents that were deleted. + + + + + Gets the number of documents that were inserted. + + + + + Gets a value indicating whether the bulk write operation was acknowledged. + + + + + Gets a value indicating whether the modified count is available. + + + The modified count is only available when all servers have been upgraded to 2.6 or above. + + + + + Gets the number of documents that were matched. + + + + + Gets the number of documents that were actually modified during an update. + + + + + Gets the request count. + + + + + Gets a list with information about each request that resulted in an upsert. + + + + + Represents the result of a bulk write operation. + + The type of the document. + + + + Initializes a new instance of the class. + + The request count. + The processed requests. + + + + Gets the processed requests. + + + + + Result from an acknowledged write concern. + + + + + Initializes a new instance of the class. + + The request count. + The matched count. + The deleted count. + The inserted count. + The modified count. + The processed requests. + The upserts. + + + + + + + + + + + + + + + + + + + + + + + + + Result from an unacknowledged write concern. + + + + + Initializes a new instance of the class. + + The request count. + The processed requests. + + + + + + + + + + + + + + + + + + + + + + + + + Represents the information about one Upsert. + + + + + Gets the id. + + + + + Gets the index. + + + + + Represents a registry of already created clusters. + + + + + Gets the default cluster registry. + + + The default cluster registry. + + + + + Unregisters and disposes the cluster. + + The cluster. + + + + A rendered command. + + The type of the result. + + + + Initializes a new instance of the class. + + The document. + The result serializer. + + + + Gets the document. + + + + + Gets the result serializer. + + + + + Base class for commands. + + The type of the result. + + + + Renders the command to a . + + The serializer registry. + A . + + + + Performs an implicit conversion from to . + + The document. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The JSON string. + + The result of the conversion. + + + + + A based command. + + The type of the result. + + + + Initializes a new instance of the class. + + The document. + The result serializer. + + + + Gets the document. + + + + + Gets the result serializer. + + + + + + + + A JSON based command. + + The type of the result. + + + + Initializes a new instance of the class. + + The json. + The result serializer. + + + + Gets the json. + + + + + Gets the result serializer. + + + + + + + + An based command. + + The type of the result. + + + + Initializes a new instance of the class. + + The object. + The result serializer. + + + + Gets the object. + + + + + Gets the result serializer. + + + + + + + + Server connection mode. + + + + + Automatically determine how to connect. + + + + + Connect directly to a server. + + + + + Connect to a replica set. + + + + + Connect to one or more shard routers. + + + + + Connect to a standalone server. + + + + + Options for a count operation. + + + + + Gets or sets the collation. + + + + + Gets or sets the hint. + + + + + Gets or sets the limit. + + + + + Gets or sets the maximum time. + + + + + Gets or sets the skip. + + + + + Options for creating a collection. + + + + + Gets or sets the collation. + + + + + Gets or sets a value indicating whether to automatically create an index on the _id. + + + + + Gets or sets a value indicating whether the collection is capped. + + + + + Gets or sets the index option defaults. + + + The index option defaults. + + + + + Gets or sets the maximum number of documents (used with capped collections). + + + + + Gets or sets the maximum size of the collection (used with capped collections). + + + + + Gets or sets whether padding should not be used. + + + + + Gets or sets the serializer registry. + + + + + Gets or sets the storage engine options. + + + + + Gets or sets a value indicating whether to use power of 2 sizes. + + + + + Gets or sets the validation action. + + + The validation action. + + + + + Gets or sets the validation level. + + + The validation level. + + + + + Options for creating a collection. + + The type of the document. + + + + Coerces a generic CreateCollectionOptions{TDocument} from a non-generic CreateCollectionOptions. + + The options. + The generic options. + + + + Gets or sets the document serializer. + + + + + Gets or sets the validator. + + + The validator. + + + + + Model for creating an index. + + The type of the document. + + + + Initializes a new instance of the class. + + The keys. + The options. + + + + Gets the keys. + + + + + Gets the options. + + + + + Options for creating an index. + + + + + Gets or sets a value indicating whether to create the index in the background. + + + + + Gets or sets the precision, in bits, used with geohash indexes. + + + + + Gets or sets the size of a geohash bucket. + + + + + Gets or sets the collation. + + + + + Gets or sets the default language. + + + + + Gets or sets when documents expire (used with TTL indexes). + + + + + Gets or sets the language override. + + + + + Gets or sets the max value for 2d indexes. + + + + + Gets or sets the min value for 2d indexes. + + + + + Gets or sets the index name. + + + + + Gets or sets a value indicating whether the index is a sparse index. + + + + + Gets or sets the index version for 2dsphere indexes. + + + + + Gets or sets the storage engine options. + + + + + Gets or sets the index version for text indexes. + + + + + Gets or sets a value indicating whether the index is a unique index. + + + + + Gets or sets the version of the index. + + + + + Gets or sets the weights for text indexes. + + + + + Options for creating an index. + + The type of the document. + + + + Gets or sets the partial filter expression. + + + + + Options for creating a view. + + The type of the documents. + + + + Gets or sets the collation. + + + The collation. + + + + + Gets or sets the document serializer. + + + The document serializer. + + + + + Gets or sets the serializer registry. + + + The serializer registry. + + + + + The cursor type. + + + + + A non-tailable cursor. This is sufficient for a vast majority of uses. + + + + + A tailable cursor. + + + + + A tailable cursor with a built-in server sleep. + + + + + Model for deleting many documents. + + The type of the document. + + + + Initializes a new instance of the class. + + The filter. + + + + Gets or sets the collation. + + + + + Gets the filter. + + + + + Gets the type of the model. + + + + + Model for deleting a single document. + + The type of the document. + + + + Initializes a new instance of the class. + + The filter. + + + + Gets or sets the collation. + + + + + Gets the filter. + + + + + Gets the type of the model. + + + + + Options for the Delete methods. + + + + + Gets or sets the collation. + + + + + The result of a delete operation. + + + + + Gets the deleted count. If IsAcknowledged is false, this will throw an exception. + + + + + Gets a value indicating whether the result is acknowleded. + + + + + Initializes a new instance of the class. + + + + + The result of an acknowledged delete operation. + + + + + Initializes a new instance of the class. + + The deleted count. + + + + + + + + + + The result of an unacknowledged delete operation. + + + + + Gets the instance. + + + + + + + + + + + Options for the distinct command. + + + + + Gets or sets the collation. + + + + + Gets or sets the maximum time. + + + + + Options for controlling translation from .NET expression trees into MongoDB expressions. + + + + + Gets or sets the string translation mode. + + + + + Evidence of a MongoIdentity via an external mechanism. For example, on windows this may + be the current process' user or, on linux, via kinit. + + + + + Initializes a new instance of the class. + + + + + 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. + + + + + A rendered field. + + + + + Initializes a new instance of the class. + + The field name. + The field serializer. + + + + Gets the field name. + + + + + Gets the field serializer. + + + + + A rendered field. + + The type of the field. + + + + Initializes a new instance of the class. + + The field name. + The field serializer. + + + + Initializes a new instance of the class. + + The field name. + The field serializer. + The value serializer. + The underlying serializer. + + + + Gets the field name. + + + + + Gets the field serializer. + + + + + Gets the underlying serializer. + + + + + Gets the value serializer. + + + + + Base class for field names. + + The type of the document. + + + + Renders the field to a . + + The document serializer. + The serializer registry. + A . + + + + Performs an implicit conversion from to . + + Name of the field. + + The result of the conversion. + + + + + Base class for field names. + + The type of the document. + The type of the field. + + + + Renders the field to a . + + The document serializer. + The serializer registry. + A . + + + + Performs an implicit conversion from to . + + Name of the field. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The field. + + The result of the conversion. + + + + + An based field. + + The type of the document. + + + + Initializes a new instance of the class. + + The expression. + + + + Gets the expression. + + + + + + + + An based field. + + The type of the document. + The type of the field. + + + + Initializes a new instance of the class. + + The expression. + + + + Gets the expression. + + + + + + + + A based field name. + + The type of the document. + + + + Initializes a new instance of the class. + + Name of the field. + + + + + + + A based field name. + + The type of the document. + The type of the field. + + + + Initializes a new instance of the class. + + Name of the field. + The field serializer. + + + + + + + Base class for filters. + + The type of the document. + + + + Gets an empty filter. An empty filter matches everything. + + + + + Renders the filter to a . + + The document serializer. + The serializer registry. + A . + + + + Performs an implicit conversion from to . + + The document. + + The result of the conversion. + + + + + Performs an implicit conversion from a predicate expression to . + + The predicate. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The JSON string. + + The result of the conversion. + + + + + Implements the operator &. + + The LHS. + The RHS. + + The result of the operator. + + + + + Implements the operator |. + + The LHS. + The RHS. + + The result of the operator. + + + + + Implements the operator !. + + The op. + + The result of the operator. + + + + + A based filter. + + The type of the document. + + + + Initializes a new instance of the class. + + The document. + + + + Gets the document. + + + + + + + + + + + An based filter. + + The type of the document. + + + + Initializes a new instance of the class. + + The expression. + + + + Gets the expression. + + + + + + + + A JSON based filter. + + The type of the document. + + + + Initializes a new instance of the class. + + The json. + + + + Gets the json. + + + + + + + + An based filter. + + The type of the document. + + + + Initializes a new instance of the class. + + The object. + + + + Gets the object. + + + + + + + + A builder for a . + + The type of the document. + + + + Gets an empty filter. An empty filter matches everything. + + + + + Creates an all filter for an array field. + + The type of the item. + The field. + The values. + An all filter. + + + + Creates an all filter for an array field. + + The type of the item. + The field. + The values. + An all filter. + + + + Creates an and filter. + + The filters. + A filter. + + + + Creates an and filter. + + The filters. + An and filter. + + + + Creates an equality filter for an array field. + + The type of the item. + The field. + The value. + An equality filter. + + + + Creates an equality filter for an array field. + + The type of the item. + The field. + The value. + An equality filter. + + + + Creates a greater than filter for an array field. + + The type of the item. + The field. + The value. + A greater than filter. + + + + Creates a greater than filter for an array field. + + The type of the item. + The field. + The value. + A greater than filter. + + + + Creates a greater than or equal filter for an array field. + + The type of the item. + The field. + The value. + A greater than or equal filter. + + + + Creates a greater than or equal filter for an array field. + + The type of the item. + The field. + The value. + A greater than or equal filter. + + + + Creates a less than filter for an array field. + + The type of the item. + The field. + The value. + A less than filter. + + + + Creates a less than filter for an array field. + + The type of the item. + The field. + The value. + A less than filter. + + + + Creates a less than or equal filter for an array field. + + The type of the item. + The field. + The value. + A less than or equal filter. + + + + Creates a less than or equal filter for an array field. + + The type of the item. + The field. + The value. + A less than or equal filter. + + + + Creates an in filter for an array field. + + The type of the item. + The field. + The values. + An in filter. + + + + Creates an in filter for an array field. + + The type of the item. + The field. + The values. + An in filter. + + + + Creates a not equal filter for an array field. + + The type of the item. + The field. + The value. + A not equal filter. + + + + Creates a not equal filter for an array field. + + The type of the item. + The field. + The value. + A not equal filter. + + + + Creates a not in filter for an array field. + + The type of the item. + The field. + The values. + A not in filter. + + + + Creates a not in filter for an array field. + + The type of the item. + The field. + The values. + A not in filter. + + + + Creates a bits all clear filter. + + The field. + The bitmask. + A bits all clear filter. + + + + Creates a bits all clear filter. + + The field. + The bitmask. + A bits all clear filter. + + + + Creates a bits all set filter. + + The field. + The bitmask. + A bits all set filter. + + + + Creates a bits all set filter. + + The field. + The bitmask. + A bits all set filter. + + + + Creates a bits any clear filter. + + The field. + The bitmask. + A bits any clear filter. + + + + Creates a bits any clear filter. + + The field. + The bitmask. + A bits any clear filter. + + + + Creates a bits any set filter. + + The field. + The bitmask. + A bits any set filter. + + + + Creates a bits any set filter. + + The field. + The bitmask. + A bits any set filter. + + + + Creates an element match filter for an array field. + + The type of the item. + The field. + The filter. + An element match filter. + + + + Creates an element match filter for an array field. + + The type of the item. + The field. + The filter. + An element match filter. + + + + Creates an element match filter for an array field. + + The type of the item. + The field. + The filter. + An element match filter. + + + + Creates an equality filter. + + The type of the field. + The field. + The value. + An equality filter. + + + + Creates an equality filter. + + The type of the field. + The field. + The value. + An equality filter. + + + + Creates an exists filter. + + The field. + if set to true [exists]. + An exists filter. + + + + Creates an exists filter. + + The field. + if set to true [exists]. + An exists filter. + + + + Creates a geo intersects filter. + + The type of the coordinates. + The field. + The geometry. + A geo intersects filter. + + + + Creates a geo intersects filter. + + The type of the coordinates. + The field. + The geometry. + A geo intersects filter. + + + + Creates a geo within filter. + + The type of the coordinates. + The field. + The geometry. + A geo within filter. + + + + Creates a geo within filter. + + The type of the coordinates. + The field. + The geometry. + A geo within filter. + + + + Creates a geo within box filter. + + The field. + The lower left x. + The lower left y. + The upper right x. + The upper right y. + A geo within box filter. + + + + Creates a geo within box filter. + + The field. + The lower left x. + The lower left y. + The upper right x. + The upper right y. + A geo within box filter. + + + + Creates a geo within center filter. + + The field. + The x. + The y. + The radius. + A geo within center filter. + + + + Creates a geo within center filter. + + The field. + The x. + The y. + The radius. + A geo within center filter. + + + + Creates a geo within center sphere filter. + + The field. + The x. + The y. + The radius. + A geo within center sphere filter. + + + + Creates a geo within center sphere filter. + + The field. + The x. + The y. + The radius. + A geo within center sphere filter. + + + + Creates a geo within polygon filter. + + The field. + The points. + A geo within polygon filter. + + + + Creates a geo within polygon filter. + + The field. + The points. + A geo within polygon filter. + + + + Creates a greater than filter for a UInt32 field. + + The field. + The value. + A greater than filter. + + + + Creates a greater than filter for a UInt64 field. + + The field. + The value. + A greater than filter. + + + + Creates a greater than filter. + + The type of the field. + The field. + The value. + A greater than filter. + + + + Creates a greater than filter for a UInt32 field. + + The field. + The value. + A greater than filter. + + + + Creates a greater than filter for a UInt64 field. + + The field. + The value. + A greater than filter. + + + + Creates a greater than filter. + + The type of the field. + The field. + The value. + A greater than filter. + + + + Creates a greater than or equal filter for a UInt32 field. + + The field. + The value. + A greater than or equal filter. + + + + Creates a greater than or equal filter for a UInt64 field. + + The field. + The value. + A greater than or equal filter. + + + + Creates a greater than or equal filter. + + The type of the field. + The field. + The value. + A greater than or equal filter. + + + + Creates a greater than or equal filter for a UInt32 field. + + The field. + The value. + A greater than or equal filter. + + + + Creates a greater than or equal filter for a UInt64 field. + + The field. + The value. + A greater than or equal filter. + + + + Creates a greater than or equal filter. + + The type of the field. + The field. + The value. + A greater than or equal filter. + + + + Creates an in filter. + + The type of the field. + The field. + The values. + An in filter. + + + + Creates an in filter. + + The type of the field. + The field. + The values. + An in filter. + + + + Creates a less than filter for a UInt32 field. + + The field. + The value. + A less than filter. + + + + Creates a less than filter for a UInt64 field. + + The field. + The value. + A less than filter. + + + + Creates a less than filter. + + The type of the field. + The field. + The value. + A less than filter. + + + + Creates a less than filter for a UInt32 field. + + The field. + The value. + A less than filter. + + + + Creates a less than filter for a UInt64 field. + + The field. + The value. + A less than filter. + + + + Creates a less than filter. + + The type of the field. + The field. + The value. + A less than filter. + + + + Creates a less than or equal filter for a UInt32 field. + + The field. + The value. + A less than or equal filter. + + + + Creates a less than or equal filter for a UInt64 field. + + The field. + The value. + A less than or equal filter. + + + + Creates a less than or equal filter. + + The type of the field. + The field. + The value. + A less than or equal filter. + + + + Creates a less than or equal filter for a UInt32 field. + + The field. + The value. + A less than or equal filter. + + + + Creates a less than or equal filter for a UInt64 field. + + The field. + The value. + A less than or equal filter. + + + + Creates a less than or equal filter. + + The type of the field. + The field. + The value. + A less than or equal filter. + + + + Creates a modulo filter. + + The field. + The modulus. + The remainder. + A modulo filter. + + + + Creates a modulo filter. + + The field. + The modulus. + The remainder. + A modulo filter. + + + + Creates a not equal filter. + + The type of the field. + The field. + The value. + A not equal filter. + + + + Creates a not equal filter. + + The type of the field. + The field. + The value. + A not equal filter. + + + + Creates a near filter. + + The field. + The x. + The y. + The maximum distance. + The minimum distance. + A near filter. + + + + Creates a near filter. + + The field. + The x. + The y. + The maximum distance. + The minimum distance. + A near filter. + + + + Creates a near filter. + + The type of the coordinates. + The field. + The geometry. + The maximum distance. + The minimum distance. + A near filter. + + + + Creates a near filter. + + The type of the coordinates. + The field. + The geometry. + The maximum distance. + The minimum distance. + A near filter. + + + + Creates a near sphere filter. + + The field. + The x. + The y. + The maximum distance. + The minimum distance. + A near sphere filter. + + + + Creates a near sphere filter. + + The field. + The x. + The y. + The maximum distance. + The minimum distance. + A near sphere filter. + + + + Creates a near sphere filter. + + The type of the coordinates. + The field. + The geometry. + The maximum distance. + The minimum distance. + A near sphere filter. + + + + Creates a near sphere filter. + + The type of the coordinates. + The field. + The geometry. + The maximum distance. + The minimum distance. + A near sphere filter. + + + + Creates a not in filter. + + The type of the field. + The field. + The values. + A not in filter. + + + + Creates a not in filter. + + The type of the field. + The field. + The values. + A not in filter. + + + + Creates a not filter. + + The filter. + A not filter. + + + + Creates an OfType filter that matches documents of a derived type. + + The type of the matching derived documents. + An OfType filter. + + + + Creates an OfType filter that matches documents of a derived type and that also match a filter on the derived document. + + The type of the matching derived documents. + A filter on the derived document. + An OfType filter. + + + + Creates an OfType filter that matches documents of a derived type and that also match a filter on the derived document. + + The type of the matching derived documents. + A filter on the derived document. + An OfType filter. + + + + Creates an OfType filter that matches documents with a field of a derived typer. + + The type of the field. + The type of the matching derived field value. + The field. + An OfType filter. + + + + Creates an OfType filter that matches documents with a field of a derived type and that also match a filter on the derived field. + + The type of the field. + The type of the matching derived field value. + The field. + A filter on the derived field. + An OfType filter. + + + + Creates an OfType filter that matches documents with a field of a derived type. + + The type of the field. + The type of the matching derived field value. + The field. + An OfType filter. + + + + Creates an OfType filter that matches documents with a field of a derived type and that also match a filter on the derived field. + + The type of the field. + The type of the matching derived field value. + The field. + A filter on the derived field. + An OfType filter. + + + + Creates an or filter. + + The filters. + An or filter. + + + + Creates an or filter. + + The filters. + An or filter. + + + + Creates a regular expression filter. + + The field. + The regex. + A regular expression filter. + + + + Creates a regular expression filter. + + The field. + The regex. + A regular expression filter. + + + + Creates a size filter. + + The field. + The size. + A size filter. + + + + Creates a size filter. + + The field. + The size. + A size filter. + + + + Creates a size greater than filter. + + The field. + The size. + A size greater than filter. + + + + Creates a size greater than filter. + + The field. + The size. + A size greater than filter. + + + + Creates a size greater than or equal filter. + + The field. + The size. + A size greater than or equal filter. + + + + Creates a size greater than or equal filter. + + The field. + The size. + A size greater than or equal filter. + + + + Creates a size less than filter. + + The field. + The size. + A size less than filter. + + + + Creates a size less than filter. + + The field. + The size. + A size less than filter. + + + + Creates a size less than or equal filter. + + The field. + The size. + A size less than or equal filter. + + + + Creates a size less than or equal filter. + + The field. + The size. + A size less than or equal filter. + + + + Creates a text filter. + + The search. + The text search options. + A text filter. + + + + Creates a text filter. + + The search. + The language. + A text filter. + + + + Creates a type filter. + + The field. + The type. + A type filter. + + + + Creates a type filter. + + The field. + The type. + A type filter. + + + + Creates a type filter. + + The field. + The type. + A type filter. + + + + Creates a type filter. + + The field. + The type. + A type filter. + + + + Creates a filter based on the expression. + + The expression. + An expression filter. + + + + Base class for implementors of . + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Options for a findAndModify command to delete an object. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + + + + Gets or sets the collation. + + + + + Gets or sets the maximum time. + + + + + Gets or sets the projection. + + + + + Gets or sets the sort. + + + + + Options for a findAndModify command to delete an object. + + The type of the document and the result. + + + + Options for a findAndModify command to replace an object. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + + + + Initializes a new instance of the class. + + + + + Gets or sets the collation. + + + + + Gets or sets a value indicating whether to bypass document validation. + + + + + Gets or sets a value indicating whether to insert the document if it doesn't already exist. + + + + + Gets or sets the maximum time. + + + + + Gets or sets the projection. + + + + + Gets or sets which version of the document to return. + + + + + Gets or sets the sort. + + + + + Options for a findAndModify command to replace an object. + + The type of the document and the result. + + + + Options for a findAndModify command to update an object. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + + + + Initializes a new instance of the class. + + + + + Gets or sets a value indicating whether to bypass document validation. + + + + + Gets or sets the collation. + + + + + Gets or sets a value indicating whether to insert the document if it doesn't already exist. + + + + + Gets or sets the maximum time. + + + + + Gets or sets the projection. + + + + + Gets or sets which version of the document to return. + + + + + Gets or sets the sort. + + + + + Options for a findAndModify command to update an object. + + The type of the document and the result. + + + + Options for a find operation. + + + + + Initializes a new instance of the class. + + + + + Gets or sets a value indicating whether to allow partial results when some shards are unavailable. + + + + + Gets or sets the size of a batch. + + + + + Gets or sets the collation. + + + + + Gets or sets the comment. + + + + + Gets or sets the type of the cursor. + + + + + Gets or sets the maximum await time for TailableAwait cursors. + + + + + Gets or sets the maximum time. + + + + + Gets or sets the modifiers. + + + + + Gets or sets whether a cursor will time out. + + + + + Gets or sets whether the OplogReplay bit will be set. + + + + + Options for finding documents. + + + + + Options for finding documents. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + + + + Gets or sets how many documents to return. + + + + + Gets or sets the projection. + + + + + Gets or sets how many documents to skip before returning the rest. + + + + + Gets or sets the sort. + + + + + Options for finding documents. + + The type of the document and the result. + + + + Fluent interface for aggregate. + + + This interface is not guaranteed to remain stable. Implementors should use + . + + The type of the result of the pipeline. + + + + Gets the database. + + + + + Gets the options. + + + + + Gets the stages. + + + + + Appends the stage to the pipeline. + + The type of the result of the stage. + The stage. + The fluent aggregate interface. + + + + Changes the result type of the pipeline. + + The type of the new result. + The new result serializer. + The fluent aggregate interface. + + + + Appends a $bucket stage to the pipeline. + + The type of the value. + The expression providing the value to group by. + The bucket boundaries. + The options. + The fluent aggregate interface. + + + + Appends a $bucket stage to the pipeline with a custom projection. + + The type of the value. + The type of the new result. + The expression providing the value to group by. + The bucket boundaries. + The output projection. + The options. + The fluent aggregate interface. + + + + Appends a $bucketAuto stage to the pipeline. + + The type of the value. + The expression providing the value to group by. + The number of buckets. + The options (optional). + The fluent aggregate interface. + + + + Appends a $bucketAuto stage to the pipeline with a custom projection. + + The type of the value. + The type of the new result. + The expression providing the value to group by. + The number of buckets. + The output projection. + The options (optional). + The fluent aggregate interface. + + + + Appends a count stage to the pipeline. + + The fluent aggregate interface. + + + + Appends a $facet stage to the pipeline. + + The type of the new result. + The facets. + The options. + + The fluent aggregate interface. + + + + + Appends a $graphLookup stage to the pipeline. + + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field elements. + The type of the as field. + The type of the new result (must be same as TResult with an additional as field). + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The depth field. + The options. + The fluent aggregate interface. + + + + Appends a group stage to the pipeline. + + The type of the result of the stage. + The group projection. + The fluent aggregate interface. + + + + Appends a limit stage to the pipeline. + + The limit. + The fluent aggregate interface. + + + + Appends a lookup stage to the pipeline. + + The type of the foreign document. + The type of the new result. + Name of the other collection. + The local field. + The foreign field. + The field in to place the foreign results. + The options. + The fluent aggregate interface. + + + + Appends a match stage to the pipeline. + + The filter. + The fluent aggregate interface. + + + + Appends a match stage to the pipeline that matches derived documents and changes the result type to the derived type. + + The type of the derived documents. + The new result serializer. + The fluent aggregate interface. + + + + Appends an out stage to the pipeline and executes it, and then returns a cursor to read the contents of the output collection. + + Name of the collection. + The cancellation token. + A cursor. + + + + Appends an out stage to the pipeline and executes it, and then returns a cursor to read the contents of the output collection. + + Name of the collection. + The cancellation token. + A Task whose result is a cursor. + + + + Appends a project stage to the pipeline. + + The type of the result of the stage. + The projection. + + The fluent aggregate interface. + + + + + Appends a $replaceRoot stage to the pipeline. + + The type of the new result. + The new root. + The fluent aggregate interface. + + + + Appends a skip stage to the pipeline. + + The number of documents to skip. + The fluent aggregate interface. + + + + Appends a sort stage to the pipeline. + + The sort specification. + The fluent aggregate interface. + + + + Appends a sortByCount stage to the pipeline. + + The type of the identifier. + The identifier. + The fluent aggregate interface. + + + + Appends an unwind stage to the pipeline. + + The type of the result of the stage. + The field. + The new result serializer. + + The fluent aggregate interface. + + + + + Appends an unwind stage to the pipeline. + + The type of the new result. + The field. + The options. + The fluent aggregate interface. + + + + Fluent interface for aggregate. + + The type of the result. + + + + Combines the current sort definition with an additional sort definition. + + The new sort. + The fluent aggregate interface. + + + + Extension methods for + + + + + Appends a $bucket stage to the pipeline. + + The type of the result. + The type of the value. + The aggregate. + The expression providing the value to group by. + The bucket boundaries. + The options. + The fluent aggregate interface. + + + + Appends a $bucket stage to the pipeline. + + The type of the result. + The type of the value. + The type of the new result. + The aggregate. + The expression providing the value to group by. + The bucket boundaries. + The output projection. + The options. + The fluent aggregate interface. + + + + Appends a $bucketAuto stage to the pipeline. + + The type of the result. + The type of the value. + The aggregate. + The expression providing the value to group by. + The number of buckets. + The options (optional). + The fluent aggregate interface. + + + + Appends a $bucketAuto stage to the pipeline. + + The type of the result. + The type of the value. + The type of the new result. + The aggregate. + The expression providing the value to group by. + The number of buckets. + The output projection. + The options (optional). + The fluent aggregate interface. + + + + Appends a $facet stage to the pipeline. + + The type of the result. + The aggregate. + The facets. + The fluent aggregate interface. + + + + Appends a $facet stage to the pipeline. + + The type of the result. + The aggregate. + The facets. + The fluent aggregate interface. + + + + Appends a $facet stage to the pipeline. + + The type of the result. + The type of the new result. + The aggregate. + The facets. + + The fluent aggregate interface. + + + + + Appends a $graphLookup stage to the pipeline. + + The type of the result. + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field. + The type of the new result (must be same as TResult with an additional as field). + The aggregate. + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The options. + The fluent aggregate interface. + + + + Appends a $graphLookup stage to the pipeline. + + The type of the result. + The type of the from documents. + The aggregate. + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The depth field. + The fluent aggregate interface. + + + + Appends a $graphLookup stage to the pipeline. + + The type of the result. + The type of the new result (must be same as TResult with an additional as field). + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field. + The aggregate. + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The options. + The fluent aggregate interface. + + + + Appends a $graphLookup stage to the pipeline. + + The type of the result. + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field elements. + The type of the as field. + The type of the new result (must be same as TResult with an additional as field). + The aggregate. + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The depth field. + The options. + The fluent aggregate interface. + + + + Appends a group stage to the pipeline. + + The type of the result. + The aggregate. + The group projection. + + The fluent aggregate interface. + + + + + Appends a group stage to the pipeline. + + The type of the result. + The type of the key. + The type of the new result. + The aggregate. + The id. + The group projection. + + The fluent aggregate interface. + + + + + Appends a lookup stage to the pipeline. + + The type of the result. + The aggregate. + Name of the foreign collection. + The local field. + The foreign field. + The field in the result to place the foreign matches. + The fluent aggregate interface. + + + + Appends a lookup stage to the pipeline. + + The type of the result. + The type of the foreign collection. + The type of the new result. + The aggregate. + The foreign collection. + The local field. + The foreign field. + The field in the result to place the foreign matches. + The options. + The fluent aggregate interface. + + + + Appends a match stage to the pipeline. + + The type of the result. + The aggregate. + The filter. + + The fluent aggregate interface. + + + + + Appends a project stage to the pipeline. + + The type of the result. + The aggregate. + The projection. + + The fluent aggregate interface. + + + + + Appends a project stage to the pipeline. + + The type of the result. + The type of the new result. + The aggregate. + The projection. + + The fluent aggregate interface. + + + + + Appends a $replaceRoot stage to the pipeline. + + The type of the result. + The type of the new result. + The aggregate. + The new root. + + The fluent aggregate interface. + + + + + Appends an ascending sort stage to the pipeline. + + The type of the result. + The aggregate. + The field to sort by. + + The fluent aggregate interface. + + + + + Appends a sortByCount stage to the pipeline. + + The type of the result. + The type of the key. + The aggregate. + The id. + + The fluent aggregate interface. + + + + + Appends a descending sort stage to the pipeline. + + The type of the result. + The aggregate. + The field to sort by. + + The fluent aggregate interface. + + + + + Modifies the current sort stage by appending an ascending field specification to it. + + The type of the result. + The aggregate. + The field to sort by. + + The fluent aggregate interface. + + + + + Modifies the current sort stage by appending a descending field specification to it. + + The type of the result. + The aggregate. + The field to sort by. + + The fluent aggregate interface. + + + + + Appends an unwind stage to the pipeline. + + The type of the result. + The aggregate. + The field to unwind. + + The fluent aggregate interface. + + + + + Appends an unwind stage to the pipeline. + + The type of the result. + The aggregate. + The field to unwind. + + The fluent aggregate interface. + + + + + Appends an unwind stage to the pipeline. + + The type of the result. + The type of the new result. + The aggregate. + The field to unwind. + The new result serializer. + + The fluent aggregate interface. + + + + + Appends an unwind stage to the pipeline. + + The type of the result. + The type of the new result. + The aggregate. + The field to unwind. + The options. + + The fluent aggregate interface. + + + + + Returns the first document of the aggregate result. + + The type of the result. + The aggregate. + The cancellation token. + + The fluent aggregate interface. + + + + + Returns the first document of the aggregate result. + + The type of the result. + The aggregate. + The cancellation token. + + The fluent aggregate interface. + + + + + Returns the first document of the aggregate result, or the default value if the result set is empty. + + The type of the result. + The aggregate. + The cancellation token. + + The fluent aggregate interface. + + + + + Returns the first document of the aggregate result, or the default value if the result set is empty. + + The type of the result. + The aggregate. + The cancellation token. + + The fluent aggregate interface. + + + + + Returns the only document of the aggregate result. Throws an exception if the result set does not contain exactly one document. + + The type of the result. + The aggregate. + The cancellation token. + + The fluent aggregate interface. + + + + + Returns the only document of the aggregate result. Throws an exception if the result set does not contain exactly one document. + + The type of the result. + The aggregate. + The cancellation token. + + The fluent aggregate interface. + + + + + Returns the only document of the aggregate result, or the default value if the result set is empty. Throws an exception if the result set contains more than one document. + + The type of the result. + The aggregate. + The cancellation token. + + The fluent aggregate interface. + + + + + Returns the only document of the aggregate result, or the default value if the result set is empty. Throws an exception if the result set contains more than one document. + + The type of the result. + The aggregate. + The cancellation token. + + The fluent aggregate interface. + + + + + A filtered mongo collection. The filter will be and'ed with all filters. + + The type of the document. + + + + Gets the filter. + + + + + Fluent interface for find. + + + This interface is not guaranteed to remain stable. Implementors should use + . + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + + + + Gets or sets the filter. + + + + + Gets the options. + + + + + A simplified type of projection that changes the result type by using a different serializer. + + The type of the result. + The result serializer. + The fluent find interface. + + + + Counts the number of documents. + + The cancellation token. + The count. + + + + Counts the number of documents. + + The cancellation token. + A Task whose result is the count. + + + + Limits the number of documents. + + The limit. + The fluent find interface. + + + + Projects the the result. + + The type of the projection. + The projection. + The fluent find interface. + + + + Skips the the specified number of documents. + + The skip. + The fluent find interface. + + + + Sorts the the documents. + + The sort. + The fluent find interface. + + + + Fluent interface for find. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + + + + Extension methods for + + + + + Projects the result. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The fluent find. + The projection. + The fluent find interface. + + + + Projects the result. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The type of the new projection. + The fluent find. + The projection. + The fluent find interface. + + + + Sorts the results by an ascending field. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The fluent find. + The field. + The fluent find interface. + + + + Sorts the results by a descending field. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The fluent find. + The field. + The fluent find interface. + + + + Adds an ascending field to the existing sort. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The fluent find. + The field. + The fluent find interface. + + + + Adds a descending field to the existing sort. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The fluent find. + The field. + The fluent find interface. + + + + Get the first result. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The fluent find. + The cancellation token. + A Task whose result is the first result. + + + + Get the first result. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The fluent find. + The cancellation token. + A Task whose result is the first result. + + + + Get the first result or null. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The fluent find. + The cancellation token. + A Task whose result is the first result or null. + + + + Get the first result or null. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The fluent find. + The cancellation token. + A Task whose result is the first result or null. + + + + Gets a single result. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The fluent find. + The cancellation token. + A Task whose result is the single result. + + + + Gets a single result. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The fluent find. + The cancellation token. + A Task whose result is the single result. + + + + Gets a single result or null. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The fluent find. + The cancellation token. + A Task whose result is the single result or null. + + + + Gets a single result or null. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The fluent find. + The cancellation token. + A Task whose result is the single result or null. + + + + The client interface to MongoDB. + + + This interface is not guaranteed to remain stable. Implementors should use + . + + + + + Gets the cluster. + + + The cluster. + + + + + Gets the settings. + + + + + Drops the database with the specified name. + + The name of the database to drop. + The cancellation token. + + + + Drops the database with the specified name. + + The name of the database to drop. + The cancellation token. + A task. + + + + Gets a database. + + The name of the database. + The database settings. + An implementation of a database. + + + + Lists the databases on the server. + + The cancellation token. + A cursor. + + + + Lists the databases on the server. + + The cancellation token. + A Task whose result is a cursor. + + + + Returns a new IMongoClient instance with a different read concern setting. + + The read concern. + A new IMongoClient instance with a different read concern setting. + + + + Returns a new IMongoClient instance with a different read preference setting. + + The read preference. + A new IMongoClient instance with a different read preference setting. + + + + Returns a new IMongoClient instance with a different write concern setting. + + The write concern. + A new IMongoClient instance with a different write concern setting. + + + + Represents a typed collection in MongoDB. + + + This interface is not guaranteed to remain stable. Implementors should use + . + + The type of the documents stored in the collection. + + + + Gets the namespace of the collection. + + + + + Gets the database. + + + + + Gets the document serializer. + + + + + Gets the index manager. + + + + + Gets the settings. + + + + + Runs an aggregation pipeline. + + The type of the result. + The pipeline. + The options. + The cancellation token. + A cursor. + + + + Runs an aggregation pipeline. + + The type of the result. + The pipeline. + The options. + The cancellation token. + A Task whose result is a cursor. + + + + Performs multiple write operations. + + The requests. + The options. + The cancellation token. + The result of writing. + + + + Performs multiple write operations. + + The requests. + The options. + The cancellation token. + The result of writing. + + + + Counts the number of documents in the collection. + + The filter. + The options. + The cancellation token. + + The number of documents in the collection. + + + + + Counts the number of documents in the collection. + + The filter. + The options. + The cancellation token. + + The number of documents in the collection. + + + + + Deletes multiple documents. + + The filter. + The cancellation token. + + The result of the delete operation. + + + + + Deletes multiple documents. + + The filter. + The options. + The cancellation token. + + The result of the delete operation. + + + + + Deletes multiple documents. + + The filter. + The cancellation token. + + The result of the delete operation. + + + + + Deletes multiple documents. + + The filter. + The options. + The cancellation token. + + The result of the delete operation. + + + + + Deletes a single document. + + The filter. + The cancellation token. + + The result of the delete operation. + + + + + Deletes a single document. + + The filter. + The options. + The cancellation token. + + The result of the delete operation. + + + + + Deletes a single document. + + The filter. + The cancellation token. + + The result of the delete operation. + + + + + Deletes a single document. + + The filter. + The options. + The cancellation token. + + The result of the delete operation. + + + + + Gets the distinct values for a specified field. + + The type of the result. + The field. + The filter. + The options. + The cancellation token. + A cursor. + + + + Gets the distinct values for a specified field. + + The type of the result. + The field. + The filter. + The options. + The cancellation token. + A Task whose result is a cursor. + + + + Finds the documents matching the filter. + + The type of the projection (same as TDocument if there is no projection). + The filter. + The options. + The cancellation token. + A cursor. + + + + Finds the documents matching the filter. + + The type of the projection (same as TDocument if there is no projection). + The filter. + The options. + The cancellation token. + A Task whose result is a cursor. + + + + Finds a single document and deletes it atomically. + + The type of the projection (same as TDocument if there is no projection). + The filter. + The options. + The cancellation token. + + The returned document. + + + + + Finds a single document and deletes it atomically. + + The type of the projection (same as TDocument if there is no projection). + The filter. + The options. + The cancellation token. + + The returned document. + + + + + Finds a single document and replaces it atomically. + + The type of the projection (same as TDocument if there is no projection). + The filter. + The replacement. + The options. + The cancellation token. + + The returned document. + + + + + Finds a single document and replaces it atomically. + + The type of the projection (same as TDocument if there is no projection). + The filter. + The replacement. + The options. + The cancellation token. + + The returned document. + + + + + Finds a single document and updates it atomically. + + The type of the projection (same as TDocument if there is no projection). + The filter. + The update. + The options. + The cancellation token. + + The returned document. + + + + + Finds a single document and updates it atomically. + + The type of the projection (same as TDocument if there is no projection). + The filter. + The update. + The options. + The cancellation token. + + The returned document. + + + + + Inserts a single document. + + The document. + The options. + The cancellation token. + + + + Inserts a single document. + + The document. + The cancellation token. + + The result of the insert operation. + + + + + Inserts a single document. + + The document. + The options. + The cancellation token. + + The result of the insert operation. + + + + + Inserts many documents. + + The documents. + The options. + The cancellation token. + + + + Inserts many documents. + + The documents. + The options. + The cancellation token. + + The result of the insert operation. + + + + + Executes a map-reduce command. + + The type of the result. + The map function. + The reduce function. + The options. + The cancellation token. + A cursor. + + + + Executes a map-reduce command. + + The type of the result. + The map function. + The reduce function. + The options. + The cancellation token. + A Task whose result is a cursor. + + + + Returns a filtered collection that appears to contain only documents of the derived type. + All operations using this filtered collection will automatically use discriminators as necessary. + + The type of the derived document. + A filtered collection. + + + + Replaces a single document. + + The filter. + The replacement. + The options. + The cancellation token. + + The result of the replacement. + + + + + Replaces a single document. + + The filter. + The replacement. + The options. + The cancellation token. + + The result of the replacement. + + + + + Updates many documents. + + The filter. + The update. + The options. + The cancellation token. + + The result of the update operation. + + + + + Updates many documents. + + The filter. + The update. + The options. + The cancellation token. + + The result of the update operation. + + + + + Updates a single document. + + The filter. + The update. + The options. + The cancellation token. + + The result of the update operation. + + + + + Updates a single document. + + The filter. + The update. + The options. + The cancellation token. + + The result of the update operation. + + + + + Returns a new IMongoCollection instance with a different read concern setting. + + The read concern. + A new IMongoCollection instance with a different read concern setting. + + + + Returns a new IMongoCollection instance with a different read preference setting. + + The read preference. + A new IMongoCollection instance with a different read preference setting. + + + + Returns a new IMongoCollection instance with a different write concern setting. + + The write concern. + A new IMongoCollection instance with a different write concern setting. + + + + Extension methods for . + + + + + Begins a fluent aggregation interface. + + The type of the document. + The collection. + The options. + + A fluent aggregate interface. + + + + + Creates a queryable source of documents. + + The type of the document. + The collection. + The aggregate options + A queryable source of documents. + + + + Counts the number of documents in the collection. + + The type of the document. + The collection. + The filter. + The options. + The cancellation token. + + The number of documents in the collection. + + + + + Counts the number of documents in the collection. + + The type of the document. + The collection. + The filter. + The options. + The cancellation token. + + The number of documents in the collection. + + + + + Deletes multiple documents. + + The type of the document. + The collection. + The filter. + The cancellation token. + + The result of the delete operation. + + + + + Deletes multiple documents. + + The type of the document. + The collection. + The filter. + The options. + The cancellation token. + + The result of the delete operation. + + + + + Deletes multiple documents. + + The type of the document. + The collection. + The filter. + The cancellation token. + + The result of the delete operation. + + + + + Deletes multiple documents. + + The type of the document. + The collection. + The filter. + The options. + The cancellation token. + + The result of the delete operation. + + + + + Deletes a single document. + + The type of the document. + The collection. + The filter. + The cancellation token. + + The result of the delete operation. + + + + + Deletes a single document. + + The type of the document. + The collection. + The filter. + The options. + The cancellation token. + + The result of the delete operation. + + + + + Deletes a single document. + + The type of the document. + The collection. + The filter. + The cancellation token. + + The result of the delete operation. + + + + + Deletes a single document. + + The type of the document. + The collection. + The filter. + The options. + The cancellation token. + + The result of the delete operation. + + + + + Gets the distinct values for a specified field. + + The type of the document. + The type of the result. + The collection. + The field. + The filter. + The options. + The cancellation token. + + The distinct values for the specified field. + + + + + Gets the distinct values for a specified field. + + The type of the document. + The type of the result. + The collection. + The field. + The filter. + The options. + The cancellation token. + + The distinct values for the specified field. + + + + + Gets the distinct values for a specified field. + + The type of the document. + The type of the result. + The collection. + The field. + The filter. + The options. + The cancellation token. + + The distinct values for the specified field. + + + + + Gets the distinct values for a specified field. + + The type of the document. + The type of the result. + The collection. + The field. + The filter. + The options. + The cancellation token. + + The distinct values for the specified field. + + + + + Gets the distinct values for a specified field. + + The type of the document. + The type of the result. + The collection. + The field. + The filter. + The options. + The cancellation token. + + The distinct values for the specified field. + + + + + Gets the distinct values for a specified field. + + The type of the document. + The type of the result. + The collection. + The field. + The filter. + The options. + The cancellation token. + + The distinct values for the specified field. + + + + + Begins a fluent find interface. + + The type of the document. + The collection. + The filter. + The options. + + A fluent find interface. + + + + + Begins a fluent find interface. + + The type of the document. + The collection. + The filter. + The options. + + A fluent interface. + + + + + Finds the documents matching the filter. + + The type of the document. + The collection. + The filter. + The options. + The cancellation token. + A Task whose result is a cursor. + + + + Finds the documents matching the filter. + + The type of the document. + The collection. + The filter. + The options. + The cancellation token. + A Task whose result is a cursor. + + + + Finds the documents matching the filter. + + The type of the document. + The collection. + The filter. + The options. + The cancellation token. + A Task whose result is a cursor. + + + + Finds the documents matching the filter. + + The type of the document. + The collection. + The filter. + The options. + The cancellation token. + A Task whose result is a cursor. + + + + Finds a single document and deletes it atomically. + + The type of the document. + The collection. + The filter. + The options. + The cancellation token. + + The deleted document if one was deleted. + + + + + Finds a single document and deletes it atomically. + + The type of the document. + The collection. + The filter. + The options. + The cancellation token. + + The deleted document if one was deleted. + + + + + Finds a single document and deletes it atomically. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The collection. + The filter. + The options. + The cancellation token. + + The returned document. + + + + + Finds a single document and deletes it atomically. + + The type of the document. + The collection. + The filter. + The options. + The cancellation token. + + The deleted document if one was deleted. + + + + + Finds a single document and deletes it atomically. + + The type of the document. + The collection. + The filter. + The options. + The cancellation token. + + The deleted document if one was deleted. + + + + + Finds a single document and deletes it atomically. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The collection. + The filter. + The options. + The cancellation token. + + The returned document. + + + + + Finds a single document and replaces it atomically. + + The type of the document. + The collection. + The filter. + The replacement. + The options. + The cancellation token. + + The returned document. + + + + + Finds a single document and replaces it atomically. + + The type of the document. + The collection. + The filter. + The replacement. + The options. + The cancellation token. + + The returned document. + + + + + Finds a single document and replaces it atomically. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The collection. + The filter. + The replacement. + The options. + The cancellation token. + + The returned document. + + + + + Finds a single document and replaces it atomically. + + The type of the document. + The collection. + The filter. + The replacement. + The options. + The cancellation token. + + The returned document. + + + + + Finds a single document and replaces it atomically. + + The type of the document. + The collection. + The filter. + The replacement. + The options. + The cancellation token. + + The returned document. + + + + + Finds a single document and replaces it atomically. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The collection. + The filter. + The replacement. + The options. + The cancellation token. + + The returned document. + + + + + Finds a single document and updates it atomically. + + The type of the document. + The collection. + The filter. + The update. + The options. + The cancellation token. + + The returned document. + + + + + Finds a single document and updates it atomically. + + The type of the document. + The collection. + The filter. + The update. + The options. + The cancellation token. + + The returned document. + + + + + Finds a single document and updates it atomically. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The collection. + The filter. + The update. + The options. + The cancellation token. + + The returned document. + + + + + Finds a single document and updates it atomically. + + The type of the document. + The collection. + The filter. + The update. + The options. + The cancellation token. + + The returned document. + + + + + Finds a single document and updates it atomically. + + The type of the document. + The collection. + The filter. + The update. + The options. + The cancellation token. + + The returned document. + + + + + Finds a single document and updates it atomically. + + The type of the document. + The type of the projection (same as TDocument if there is no projection). + The collection. + The filter. + The update. + The options. + The cancellation token. + + The returned document. + + + + + Replaces a single document. + + The type of the document. + The collection. + The filter. + The replacement. + The options. + The cancellation token. + + The result of the replacement. + + + + + Replaces a single document. + + The type of the document. + The collection. + The filter. + The replacement. + The options. + The cancellation token. + + The result of the replacement. + + + + + Updates many documents. + + The type of the document. + The collection. + The filter. + The update. + The options. + The cancellation token. + + The result of the update operation. + + + + + Updates many documents. + + The type of the document. + The collection. + The filter. + The update. + The options. + The cancellation token. + + The result of the update operation. + + + + + Updates a single document. + + The type of the document. + The collection. + The filter. + The update. + The options. + The cancellation token. + + The result of the update operation. + + + + + Updates a single document. + + The type of the document. + The collection. + The filter. + The update. + The options. + The cancellation token. + + The result of the update operation. + + + + + Representats a database in MongoDB. + + + This interface is not guaranteed to remain stable. Implementors should use + . + + + + + Gets the client. + + + + + Gets the namespace of the database. + + + + + Gets the settings. + + + + + Creates the collection with the specified name. + + The name. + The options. + The cancellation token. + + + + Creates the collection with the specified name. + + The name. + The options. + The cancellation token. + A task. + + + + Creates a view. + + The type of the input documents. + The type of the pipeline result documents. + The name of the view. + The name of the collection that the view is on. + The pipeline. + The options. + The cancellation token. + + + + Creates a view. + + The type of the input documents. + The type of the pipeline result documents. + The name of the view. + The name of the collection that the view is on. + The pipeline. + The options. + The cancellation token. + A task. + + + + Drops the collection with the specified name. + + The name of the collection to drop. + The cancellation token. + + + + Drops the collection with the specified name. + + The name of the collection to drop. + The cancellation token. + A task. + + + + Gets a collection. + + The document type. + The name of the collection. + The settings. + An implementation of a collection. + + + + Lists all the collections on the server. + + The options. + The cancellation token. + A cursor. + + + + Lists all the collections on the server. + + The options. + The cancellation token. + A Task whose result is a cursor. + + + + Renames the collection. + + The old name. + The new name. + The options. + The cancellation token. + + + + Renames the collection. + + The old name. + The new name. + The options. + The cancellation token. + A task. + + + + Runs a command. + + The result type of the command. + The command. + The read preference. + The cancellation token. + + The result of the command. + + + + + Runs a command. + + The result type of the command. + The command. + The read preference. + The cancellation token. + + The result of the command. + + + + + Returns a new IMongoDatabase instance with a different read concern setting. + + The read concern. + A new IMongoDatabase instance with a different read concern setting. + + + + Returns a new IMongoDatabase instance with a different read preference setting. + + The read preference. + A new IMongoDatabase instance with a different read preference setting. + + + + Returns a new IMongoDatabase instance with a different write concern setting. + + The write concern. + A new IMongoDatabase instance with a different write concern setting. + + + + An interface representing methods used to create, delete and modify indexes. + + + This interface is not guaranteed to remain stable. Implementors should use + . + + The type of the document. + + + + Gets the namespace of the collection. + + + + + Gets the document serializer. + + + + + Gets the collection settings. + + + + + Creates an index. + + The keys. + The options. + The cancellation token. + + The name of the index that was created. + + + + + Creates an index. + + The keys. + The options. + The cancellation token. + + A task whose result is the name of the index that was created. + + + + + Creates multiple indexes. + + The models defining each of the indexes. + The cancellation token. + + An of the names of the indexes that were created. + + + + + Creates multiple indexes. + + The models defining each of the indexes. + The cancellation token. + + A task whose result is an of the names of the indexes that were created. + + + + + Drops all the indexes. + + The cancellation token. + + + + Drops all the indexes. + + The cancellation token. + A task. + + + + Drops an index by its name. + + The name. + The cancellation token. + + + + Drops an index by its name. + + The name. + The cancellation token. + A task. + + + + Lists the indexes. + + The cancellation token. + A cursor. + + + + Lists the indexes. + + The cancellation token. + A Task whose result is a cursor. + + + + Base class for an index keys definition. + + The type of the document. + + + + Renders the index keys definition to a . + + The document serializer. + The serializer registry. + A . + + + + Performs an implicit conversion from to . + + The document. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The JSON string. + + The result of the conversion. + + + + + A based index keys definition. + + The type of the document. + + + + Initializes a new instance of the class. + + The document. + + + + Gets the document. + + + + + + + + A JSON based index keys definition. + + The type of the document. + + + + Initializes a new instance of the class. + + The json. + + + + Gets the json. + + + + + + + + Extension methods for an index keys definition. + + + + + Combines an existing index keys definition with an ascending index key definition. + + The type of the document. + The keys. + The field. + + A combined index keys definition. + + + + + Combines an existing index keys definition with an ascending index key definition. + + The type of the document. + The keys. + The field. + + A combined index keys definition. + + + + + Combines an existing index keys definition with a descending index key definition. + + The type of the document. + The keys. + The field. + + A combined index keys definition. + + + + + Combines an existing index keys definition with a descending index key definition. + + The type of the document. + The keys. + The field. + + A combined index keys definition. + + + + + Combines an existing index keys definition with a 2d index key definition. + + The type of the document. + The keys. + The field. + + A combined index keys definition. + + + + + Combines an existing index keys definition with a 2d index key definition. + + The type of the document. + The keys. + The field. + + A combined index keys definition. + + + + + Combines an existing index keys definition with a geo haystack index key definition. + + The type of the document. + The keys. + The field. + Name of the additional field. + + A combined index keys definition. + + + + + Combines an existing index keys definition with a geo haystack index key definition. + + The type of the document. + The keys. + The field. + Name of the additional field. + + A combined index keys definition. + + + + + Combines an existing index keys definition with a 2dsphere index key definition. + + The type of the document. + The keys. + The field. + + A combined index keys definition. + + + + + Combines an existing index keys definition with a 2dsphere index key definition. + + The type of the document. + The keys. + The field. + + A combined index keys definition. + + + + + Combines an existing index keys definition with a hashed index key definition. + + The type of the document. + The keys. + The field. + + A combined index keys definition. + + + + + Combines an existing index keys definition with a hashed index key definition. + + The type of the document. + The keys. + The field. + + A combined index keys definition. + + + + + Combines an existing index keys definition with a text index key definition. + + The type of the document. + The keys. + The field. + + A combined index keys definition. + + + + + Combines an existing index keys definition with a text index key definition. + + The type of the document. + The keys. + The field. + + A combined index keys definition. + + + + + A builder for an . + + The type of the document. + + + + Creates an ascending index key definition. + + The field. + An ascending index key definition. + + + + Creates an ascending index key definition. + + The field. + An ascending index key definition. + + + + Creates a combined index keys definition. + + The keys. + A combined index keys definition. + + + + Creates a combined index keys definition. + + The keys. + A combined index keys definition. + + + + Creates a descending index key definition. + + The field. + A descending index key definition. + + + + Creates a descending index key definition. + + The field. + A descending index key definition. + + + + Creates a 2d index key definition. + + The field. + A 2d index key definition. + + + + Creates a 2d index key definition. + + The field. + A 2d index key definition. + + + + Creates a geo haystack index key definition. + + The field. + Name of the additional field. + + A geo haystack index key definition. + + + + + Creates a geo haystack index key definition. + + The field. + Name of the additional field. + + A geo haystack index key definition. + + + + + Creates a 2dsphere index key definition. + + The field. + A 2dsphere index key definition. + + + + Creates a 2dsphere index key definition. + + The field. + A 2dsphere index key definition. + + + + Creates a hashed index key definition. + + The field. + A hashed index key definition. + + + + Creates a hashed index key definition. + + The field. + A hashed index key definition. + + + + Creates a text index key definition. + + The field. + A text index key definition. + + + + Creates a text index key definition. + + The field. + A text index key definition. + + + + Represents index option defaults. + + + + + Gets or sets the storage engine options. + + + + + Returns this instance represented as a BsonDocument. + + A BsonDocument. + + + + Options for inserting many documents. + + + + + Initializes a new instance of the class. + + + + + Gets or sets a value indicating whether to bypass document validation. + + + + + Gets or sets a value indicating whether the requests are fulfilled in order. + + + + + Model for inserting a single document. + + The type of the document. + + + + Initializes a new instance of the class. + + The document. + + + + Gets the document. + + + + + Gets the type of the model. + + + + + Options for inserting one document. + + + + + Gets or sets a value indicating whether to bypass document validation. + + + + + Options for a list collections operation. + + + + + Gets or sets the filter. + + + + + Represents the options for a map-reduce operation. + + The type of the document. + The type of the result. + + + + Gets or sets a value indicating whether to bypass document validation. + + + + + Gets or sets the collation. + + + + + Gets or sets the filter. + + + + + Gets or sets the finalize function. + + + + + Gets or sets the java script mode. + + + + + Gets or sets the limit. + + + + + Gets or sets the maximum time. + + + + + Gets or sets the output options. + + + + + Gets or sets the result serializer. + + + + + Gets or sets the scope. + + + + + Gets or sets the sort. + + + + + Gets or sets whether to include timing information. + + + + + Represents the output options for a map-reduce operation. + + + + + An inline map-reduce output options. + + + + + A merge map-reduce output options. + + The name of the collection. + The name of the database. + Whether the output collection should be sharded. + Whether the server should not lock the database for the duration of the merge. + A merge map-reduce output options. + + + + A reduce map-reduce output options. + + The name of the collection. + The name of the database. + Whether the output collection should be sharded. + Whether the server should not lock the database for the duration of the reduce. + A reduce map-reduce output options. + + + + A replace map-reduce output options. + + The name of the collection. + Name of the database. + Whether the output collection should be sharded. + A replace map-reduce output options. + + + + Represents a bulk write exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The write errors. + The write concern error. + + + + Gets the write concern error. + + + + + Gets the write errors. + + + + + Represents a bulk write exception. + + The type of the document. + + + + Initializes a new instance of the class. + + The connection identifier. + The result. + The write errors. + The write concern error. + The unprocessed requests. + + + + Gets the result of the bulk write operation. + + + + + Gets the unprocessed requests. + + + + + + + + Initializes a new instance of the MongoClient class. + + + + + Initializes a new instance of the MongoClient class. + + The settings. + + + + Initializes a new instance of the MongoClient class. + + The URL. + + + + Initializes a new instance of the MongoClient class. + + The connection string. + + + + Gets the cluster. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Base class for implementors of . + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The settings for a MongoDB client. + + + + + Creates a new instance of MongoClientSettings. Usually you would use a connection string instead. + + + + + Gets or sets the application name. + + + + + Gets or sets the cluster configurator. + + + + + Gets or sets the connection mode. + + + + + Gets or sets the connect timeout. + + + + + Gets or sets the credentials. + + + + + Gets or sets the representation to use for Guids. + + + + + Gets a value indicating whether the settings have been frozen to prevent further changes. + + + + + Gets or sets the heartbeat interval. + + + + + Gets or sets the heartbeat timeout. + + + + + Gets or sets a value indicating whether to use IPv6. + + + + + Gets or sets the local threshold. + + + + + Gets or sets the max connection idle time. + + + + + Gets or sets the max connection life time. + + + + + Gets or sets the max connection pool size. + + + + + Gets or sets the min connection pool size. + + + + + Gets or sets the read concern. + + + + + Gets or sets the Read Encoding. + + + + + Gets or sets the read preferences. + + + + + Gets or sets the name of the replica set. + + + + + Gets or sets the address of the server (see also Servers if using more than one address). + + + + + Gets or sets the list of server addresses (see also Server if using only one address). + + + + + Gets or sets the server selection timeout. + + + + + Gets or sets the socket timeout. + + + + + Gets or sets the SSL settings. + + + + + Gets or sets a value indicating whether to use SSL. + + + + + Gets or sets a value indicating whether to verify an SSL certificate. + + + + + Gets or sets the wait queue size. + + + + + Gets or sets the wait queue timeout. + + + + + Gets or sets the WriteConcern to use. + + + + + Gets or sets the Write Encoding. + + + + + Determines whether two instances are equal. + + The LHS. + The RHS. + + true if the left hand side is equal to the right hand side; otherwise, false. + + + + + Determines whether two instances are not equal. + + The LHS. + The RHS. + + true if the left hand side is not equal to the right hand side; otherwise, false. + + + + + Gets a MongoClientSettings object intialized with values from a MongoURL. + + The MongoURL. + A MongoClientSettings. + + + + Creates a clone of the settings. + + A clone of the settings. + + + + 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. + + + + + Freezes the settings. + + The frozen settings. + + + + Returns a frozen copy of the settings. + + A frozen copy of the settings. + + + + Gets the hash code. + + The hash code. + + + + Returns a string representation of the settings. + + A string representation of the settings. + + + + Base class for implementors of . + + The type of the document. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The settings used to access a collection. + + + + + Initializes a new instance of the MongoCollectionSettings class. + + + + + Gets or sets a value indicating whether the driver should assign Id values when missing. + + + + + Gets or sets the representation used for Guids. + + + + + Gets a value indicating whether the settings have been frozen to prevent further changes. + + + + + Gets or sets the read concern. + + + + + Gets or sets the Read Encoding. + + + + + Gets or sets the read preference to use. + + + + + Gets the serializer registry. + + + + + Gets or sets the WriteConcern to use. + + + + + Gets or sets the Write Encoding. + + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Compares two MongoCollectionSettings instances. + + The other instance. + True if the two instances are equal. + + + + Freezes the settings. + + The frozen settings. + + + + Returns a frozen copy of the settings. + + A frozen copy of the settings. + + + + Gets the hash code. + + The hash code. + + + + Returns a string representation of the settings. + + A string representation of the settings. + + + + Credential to access a MongoDB database. + + + + + Initializes a new instance of the class. + + Mechanism to authenticate with. + The identity. + The evidence. + + + + Gets the evidence. + + + + + Gets the identity. + + + + + Gets the mechanism to authenticate with. + + + + + Gets the password. + + + + + Gets the source. + + + + + Gets the username. + + + + + Compares two MongoCredentials. + + The first MongoCredential. + The other MongoCredential. + True if the two MongoCredentials are equal (or both null). + + + + Compares two MongoCredentials. + + The first MongoCredential. + The other MongoCredential. + True if the two MongoCredentials are not equal (or one is null and the other is not). + + + + Creates a default credential. + + Name of the database. + The username. + The password. + A default credential. + + + + Creates a default credential. + + Name of the database. + The username. + The password. + A default credential. + + + + Creates a GSSAPI credential. + + The username. + A credential for GSSAPI. + This overload is used primarily on linux. + + + + Creates a GSSAPI credential. + + The username. + The password. + A credential for GSSAPI. + + + + Creates a GSSAPI credential. + + The username. + The password. + A credential for GSSAPI. + + + + Creates a credential used with MONGODB-CR. + + Name of the database. + The username. + The password. + A credential for MONGODB-CR. + + + + Creates a credential used with MONGODB-CR. + + Name of the database. + The username. + The password. + A credential for MONGODB-CR. + + + + Creates a credential used with MONGODB-CR. + + The username. + A credential for MONGODB-X509. + + + + Creates a PLAIN credential. + + Name of the database. + The username. + The password. + A credential for PLAIN. + + + + Creates a PLAIN credential. + + Name of the database. + The username. + The password. + A credential for PLAIN. + + + + Gets the mechanism property. + + The type of the mechanism property. + The key. + The default value. + The mechanism property if one was set; otherwise the default value. + + + + Compares this MongoCredential to another MongoCredential. + + The other credential. + True if the two credentials are equal. + + + + Compares this MongoCredential to another MongoCredential. + + The other credential. + True if the two credentials are equal. + + + + Gets the hashcode for the credential. + + The hashcode. + + + + Returns a string representation of the credential. + + A string representation of the credential. + + + + Creates a new MongoCredential with the specified mechanism property. + + The key. + The value. + A new MongoCredential with the specified mechanism property. + + + + Represents a list of credentials and the rules about how credentials can be used together. + + + + + Creates a new instance of the MongoCredentialStore class. + + The credentials. + + + + Determines whether two instances are equal. + + The LHS. + The RHS. + + true if the left hand side is equal to the right hand side; otherwise, false. + + + + + Determines whether two instances are not equal. + + The LHS. + The RHS. + + true if the left hand side is not equal to the right hand side; 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. + + + + + 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. + + + + + Gets the enumerator. + + + + + + Gets the hashcode for the credential store. + + The hashcode. + + + + Returns a string representation of the credential store. + + A string representation of the credential store. + + + + Returns an enumerator that iterates through a collection. + + + An object that can be used to iterate through the collection. + + + + + Base class for implementors of . + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The settings used to access a database. + + + + + Creates a new instance of MongoDatabaseSettings. + + + + + Gets or sets the representation to use for Guids. + + + + + Gets a value indicating whether the settings have been frozen to prevent further changes. + + + + + Gets or sets the read concern. + + + + + Gets or sets the Read Encoding. + + + + + Gets or sets the read preference. + + + + + Gets the serializer registry. + + + + + Gets or sets the WriteConcern to use. + + + + + Gets or sets the Write Encoding. + + + + + Creates a clone of the settings. + + A clone of the settings. + + + + Compares two MongoDatabaseSettings instances. + + The other instance. + True if the two instances are equal. + + + + Freezes the settings. + + The frozen settings. + + + + Returns a frozen copy of the settings. + + A frozen copy of the settings. + + + + Gets the hash code. + + The hash code. + + + + Returns a string representation of the settings. + + A string representation of the settings. + + + + Represents a DBRef (a convenient way to refer to a document). + + + + + Creates a MongoDBRef. + + The name of the collection that contains the document. + The Id of the document. + + + + Creates a MongoDBRef. + + The name of the database that contains the document. + The name of the collection that contains the document. + The Id of the document. + + + + Gets the name of the database that contains the document. + + + + + Gets the name of the collection that contains the document. + + + + + Gets the Id of the document. + + + + + Determines whether two specified MongoDBRef objects have different values. + + The first value to compare, or null. + The second value to compare, or null. + True if the value of lhs is different from the value of rhs; otherwise, false. + + + + Determines whether two specified MongoDBRef objects have the same value. + + The first value to compare, or null. + The second value to compare, or null. + True if the value of lhs is the same as the value of rhs; otherwise, false. + + + + Determines whether two specified MongoDBRef objects have the same value. + + The first value to compare, or null. + The second value to compare, or null. + True if the value of lhs is the same as the value of rhs; otherwise, false. + + + + Determines whether this instance and another specified MongoDBRef object have the same value. + + The MongoDBRef object to compare to this instance. + True if the value of the rhs parameter is the same as this instance; otherwise, false. + + + + Determines whether this instance and a specified object, which must also be a MongoDBRef object, have the same value. + + The MongoDBRef object to compare to this instance. + True if obj is a MongoDBRef object and its value is the same as this instance; otherwise, false. + + + + Returns the hash code for this MongoDBRef object. + + A 32-bit signed integer hash code. + + + + Returns a string representation of the value. + + A string representation of the value. + + + + Represents a serializer for MongoDBRefs. + + + + + Initializes a new instance of the class. + + + + + Tries to get the serialization info for a member. + + Name of the member. + The serialization information. + + true if the serialization info exists; otherwise false. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Default values for various Mongo settings. + + + + + Gets or sets whether the driver should assign a value to empty Ids on Insert. + + + + + Gets or sets the default authentication mechanism. + + + + + Gets the actual wait queue size (either WaitQueueSize or WaitQueueMultiple x MaxConnectionPoolSize). + + + + + Gets or sets the connect timeout. + + + + + Gets or sets the representation to use for Guids (this is an alias for BsonDefaults.GuidRepresentation). + + + + + Gets or sets the default local threshold. + + + + + Gets or sets the maximum batch count. + + + + + Gets or sets the max connection idle time. + + + + + Gets or sets the max connection life time. + + + + + Gets or sets the max connection pool size. + + + + + Gets or sets the max document size + + + + + Gets or sets the max message length. + + + + + Gets or sets the min connection pool size. + + + + + Gets or sets the operation timeout. + + + + + Gets or sets the Read Encoding. + + + + + Gets or sets the server selection timeout. + + + + + Gets or sets the socket timeout. + + + + + Gets or sets the TCP receive buffer size. + + + + + Gets or sets the TCP send buffer size. + + + + + Gets or sets the wait queue multiple (the actual wait queue size will be WaitQueueMultiple x MaxConnectionPoolSize, see also WaitQueueSize). + + + + + Gets or sets the wait queue size (see also WaitQueueMultiple). + + + + + Gets or sets the wait queue timeout. + + + + + Gets or sets the Write Encoding. + + + + + Represents an identity defined outside of mongodb. + + + + + Initializes a new instance of the class. + + The username. + + + + Initializes a new instance of the class. + + The source. + The username. + + + + Represents an identity in MongoDB. + + + + + Initializes a new instance of the class. + + The source. + The username. + Whether to allow null usernames. + + + + Gets the source. + + + + + Gets the username. + + + + + Compares two MongoIdentity values. + + The first MongoIdentity. + The other MongoIdentity. + True if the two MongoIdentity values are equal (or both null). + + + + Compares two MongoIdentity values. + + The first MongoIdentity. + The other MongoIdentity. + True if the two MongoIdentity values are not equal (or one is null and the other is not). + + + + 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 instance is equal to this instance. + + The right-hand side. + + true if the specified instance 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. + + + + + Evidence used as proof of a MongoIdentity. + + + + + Initializes a new instance of the class. + + + + + Compares two MongoIdentityEvidences. + + The first MongoIdentityEvidence. + The other MongoIdentityEvidence. + True if the two MongoIdentityEvidences are equal (or both null). + + + + Compares two MongoIdentityEvidences. + + The first MongoIdentityEvidence. + The other MongoIdentityEvidence. + True if the two MongoIdentityEvidences are not equal (or one is null and the other is not). + + + + 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. + + + + + Base class for implementors of . + + The type of the document. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Represents an identity defined inside mongodb. + + + + + Initializes a new instance of the class. + + Name of the database. + The username. + + + + The address of a MongoDB server. + + + + + Initializes a new instance of MongoServerAddress. + + The server's host name. + + + + Initializes a new instance of MongoServerAddress. + + The server's host name. + The server's port number. + + + + Parses a string representation of a server address. + + The string representation of a server address. + A new instance of MongoServerAddress initialized with values parsed from the string. + + + + Tries to parse a string representation of a server address. + + The string representation of a server address. + The server address (set to null if TryParse fails). + True if the string is parsed succesfully. + + + + Gets the server's host name. + + + + + Gets the server's port number. + + + + + Compares two server addresses. + + The first address. + The other address. + True if the two addresses are equal (or both are null). + + + + Compares two server addresses. + + The first address. + The other address. + True if the two addresses are not equal (or one is null and the other is not). + + + + Compares two server addresses. + + The other server address. + True if the two server addresses are equal. + + + + Compares two server addresses. + + The other server address. + True if the two server addresses are equal. + + + + Gets the hash code for this object. + + The hash code. + + + + Returns a string representation of the server address. + + A string representation of the server address. + + + + Represents an immutable URL style connection string. See also MongoUrlBuilder. + + + + + Creates a new instance of MongoUrl. + + The URL containing the settings. + + + + Gets the application name. + + + + + Gets the authentication mechanism. + + + + + Gets the authentication mechanism properties. + + + + + Gets the authentication source. + + + + + Gets the actual wait queue size (either WaitQueueSize or WaitQueueMultiple x MaxConnectionPoolSize). + + + + + Gets the connection mode. + + + + + Gets the connect timeout. + + + + + Gets the optional database name. + + + + + Gets the FSync component of the write concern. + + + + + Gets the representation to use for Guids. + + + + + Gets a value indicating whether this instance has authentication settings. + + + + + Gets the heartbeat interval. + + + + + Gets the heartbeat timeout. + + + + + Gets a value indicating whether to use IPv6. + + + + + Gets the Journal component of the write concern. + + + + + Gets the local threshold. + + + + + Gets the max connection idle time. + + + + + Gets the max connection life time. + + + + + Gets the max connection pool size. + + + + + Gets the min connection pool size. + + + + + Gets the password. + + + + + Gets the read concern level. + + + + + Gets the read preference. + + + + + Gets the name of the replica set. + + + + + Gets the address of the server (see also Servers if using more than one address). + + + + + Gets the list of server addresses (see also Server if using only one address). + + + + + Gets the server selection timeout. + + + + + Gets the socket timeout. + + + + + Gets the URL (in canonical form). + + + + + Gets the username. + + + + + Gets a value indicating whether to use SSL. + + + + + Gets a value indicating whether to verify an SSL certificate. + + + + + Gets the W component of the write concern. + + + + + Gets the wait queue multiple (the actual wait queue size will be WaitQueueMultiple x MaxConnectionPoolSize). + + + + + Gets the wait queue size. + + + + + Gets the wait queue timeout. + + + + + Gets the WTimeout component of the write concern. + + + + + Compares two MongoUrls. + + The first URL. + The other URL. + True if the two URLs are equal (or both null). + + + + Compares two MongoUrls. + + The first URL. + The other URL. + True if the two URLs are not equal (or one is null and the other is not). + + + + Clears the URL cache. When a URL is parsed it is stored in the cache so that it doesn't have to be + parsed again. There is rarely a need to call this method. + + + + + Creates an instance of MongoUrl (might be an existing existence if the same URL has been used before). + + The URL containing the settings. + An instance of MongoUrl. + + + + Compares two MongoUrls. + + The other URL. + True if the two URLs are equal. + + + + Compares two MongoUrls. + + The other URL. + True if the two URLs are equal. + + + + Gets the credential. + + The credential (or null if the URL has not authentication settings). + + + + Gets the hash code. + + The hash code. + + + + Returns a WriteConcern value based on this instance's settings and a default enabled value. + + The default enabled value. + A WriteConcern. + + + + Returns the canonical URL based on the settings in this MongoUrlBuilder. + + The canonical URL. + + + + Represents URL style connection strings. This is the recommended connection string style, but see also + MongoConnectionStringBuilder if you wish to use .NET style connection strings. + + + + + Creates a new instance of MongoUrlBuilder. + + + + + Creates a new instance of MongoUrlBuilder. + + The initial settings. + + + + Gets or sets the application name. + + + + + Gets or sets the authentication mechanism. + + + + + Gets or sets the authentication mechanism properties. + + + + + Gets or sets the authentication source. + + + + + Gets the actual wait queue size (either WaitQueueSize or WaitQueueMultiple x MaxConnectionPoolSize). + + + + + Gets or sets the connection mode. + + + + + Gets or sets the connect timeout. + + + + + Gets or sets the optional database name. + + + + + Gets or sets the FSync component of the write concern. + + + + + Gets or sets the representation to use for Guids. + + + + + Gets or sets the heartbeat interval. + + + + + Gets or sets the heartbeat timeout. + + + + + Gets or sets a value indicating whether to use IPv6. + + + + + Gets or sets the Journal component of the write concern. + + + + + Gets or sets the local threshold. + + + + + Gets or sets the max connection idle time. + + + + + Gets or sets the max connection life time. + + + + + Gets or sets the max connection pool size. + + + + + Gets or sets the min connection pool size. + + + + + Gets or sets the password. + + + + + Gets or sets the read concern level. + + + + + Gets or sets the read preference. + + + + + Gets or sets the name of the replica set. + + + + + Gets or sets the address of the server (see also Servers if using more than one address). + + + + + Gets or sets the list of server addresses (see also Server if using only one address). + + + + + Gets or sets the server selection timeout. + + + + + Gets or sets the socket timeout. + + + + + Gets or sets the username. + + + + + Gets or sets a value indicating whether to use SSL. + + + + + Gets or sets a value indicating whether to verify an SSL certificate. + + + + + Gets or sets the W component of the write concern. + + + + + Gets or sets the wait queue multiple (the actual wait queue size will be WaitQueueMultiple x MaxConnectionPoolSize). + + + + + Gets or sets the wait queue size. + + + + + Gets or sets the wait queue timeout. + + + + + Gets or sets the WTimeout component of the write concern. + + + + + Returns a WriteConcern value based on this instance's settings and a default enabled value. + + The default enabled value. + A WriteConcern. + + + + Parses a URL and sets all settings to match the URL. + + The URL. + + + + Creates a new instance of MongoUrl based on the settings in this MongoUrlBuilder. + + A new instance of MongoUrl. + + + + Returns the canonical URL based on the settings in this MongoUrlBuilder. + + The canonical URL. + + + + Various static utility methods. + + + + + Gets the MD5 hash of a string. + + The string to get the MD5 hash of. + The MD5 hash. + + + + Creates a TimeSpan from microseconds. + + The microseconds. + The TimeSpan. + + + + Converts a string to camel case by lower casing the first letter (only the first letter is modified). + + The string to camel case. + The camel cased string. + + + + Should only be used when the safety of the data cannot be guaranteed. For instance, + when the secure string is a password used in a plain text protocol. + + The secure string. + The CLR string. + + + + Represents a write exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The write error. + The write concern error. + The inner exception. + + + + Gets the write concern error. + + + + + Gets the write error. + + + + + Represents an identity defined by an X509 certificate. + + + + + Initializes a new instance of the class. + + The username. + + + + Evidence of a MongoIdentity via a shared secret. + + + + + Initializes a new instance of the class. + + The password. + + + + Initializes a new instance of the class. + + The password. + + + + Gets the password. + + + + + 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. + + + + + Computes the MONGODB-CR password digest. + + The username. + + + + + Computes the hash value of the secured string + + + + + A rendered pipeline. + + The type of the output. + + + + Initializes a new instance of the class. + + The pipeline. + The output serializer. + + + + Gets the documents. + + + + + Gets the serializer. + + + + + Base class for a pipeline. + + The type of the input. + The type of the output. + + + + Gets the output serializer. + + + + + Gets the stages. + + + + + Renders the pipeline. + + The input serializer. + The serializer registry. + A + + + + + + + Returns a that represents this instance. + + The input serializer. + The serializer registry. + + A that represents this instance. + + + + + Creates a pipeline. + + The stages. + The output serializer. + A . + + + + Creates a pipeline. + + The stages. + The output serializer. + A . + + + + Creates a pipeline. + + The stages. + The output serializer. + A . + + + + Creates a pipeline. + + The stages. + A . + + + + Creates a pipeline. + + The stages. + A . + + + + Performs an implicit conversion from [] to . + + The stages. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The stages. + + The result of the conversion. + + + + + Performs an implicit conversion from [] to . + + The stages. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The stages. + + The result of the conversion. + + + + + A pipeline composed of instances of . + + The type of the input. + The type of the output. + + + + Initializes a new instance of the class. + + The stages. + The output serializer. + + + + + + + Gets the stages. + + + + + + + + + + + A pipeline composed of instances of . + + The type of the input. + The type of the output. + + + + Initializes a new instance of the class. + + The stages. + The output serializer. + + + + + + + Gets the serializer. + + + + + Gets the stages. + + + + + + + + + + + + + + Extension methods for adding stages to a pipeline. + + + + + Appends a stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + The pipeline. + The stage. + The output serializer. + A new pipeline with an additional stage. + + + + Changes the output type of the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + The pipeline. + The output serializer. + + A new pipeline with an additional stage. + + + + + Appends a $bucket stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the values. + The pipeline. + The group by expression. + The boundaries. + The options. + + A new pipeline with an additional stage. + + + + + Appends a $bucket stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the values. + The type of the output documents. + The pipeline. + The group by expression. + The boundaries. + The output projection. + The options. + + A new pipeline with an additional stage. + + + + + Appends a $bucket stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the values. + The pipeline. + The group by expression. + The boundaries. + The options. + The translation options. + + The fluent aggregate interface. + + + + + Appends a $bucket stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the values. + The type of the output documents. + The pipeline. + The group by expression. + The boundaries. + The output projection. + The options. + The translation options. + + The fluent aggregate interface. + + + + + Appends a $bucketAuto stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the values. + The pipeline. + The group by expression. + The number of buckets. + The options. + + A new pipeline with an additional stage. + + + + + Appends a $bucketAuto stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the values. + The type of the output documents. + The pipeline. + The group by expression. + The number of buckets. + The output projection. + The options. + + A new pipeline with an additional stage. + + + + + Appends a $bucketAuto stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the value. + The pipeline. + The group by expression. + The number of buckets. + The options (optional). + The translation options. + + The fluent aggregate interface. + + + + + Appends a $bucketAuto stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the value. + The type of the output documents. + The pipeline. + The group by expression. + The number of buckets. + The output projection. + The options (optional). + The translation options. + + The fluent aggregate interface. + + + + + Appends a $count stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The pipeline. + + A new pipeline with an additional stage. + + + + + Appends a $facet stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + The pipeline. + The facets. + The options. + + A new pipeline with an additional stage. + + + + + Appends a $facet stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The pipeline. + The facets. + + The fluent aggregate interface. + + + + + Appends a $facet stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The pipeline. + The facets. + + The fluent aggregate interface. + + + + + Appends a $facet stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + The pipeline. + The facets. + + The fluent aggregate interface. + + + + + Used to start creating a pipeline for {TInput} documents. + + The type of the output. + The inputSerializer serializer. + + The fluent aggregate interface. + + + + + Appends a $graphLookup stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field elements. + The type of the as field. + The type of the output documents. + The pipeline. + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The depth field. + The options. + The fluent aggregate interface. + + + + Appends a $graphLookup stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field. + The type of the output documents. + The pipeline. + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The options. + The stage. + + + + Appends a $graphLookup stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the from documents. + The pipeline. + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The depth field. + The fluent aggregate interface. + + + + Appends a $graphLookup stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field. + The type of the output documents. + The pipeline. + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The options. + The translation options. + The stage. + + + + Appends a $graphLookup stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field elements. + The type of the as field. + The type of the output documents. + The pipeline. + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The depth field. + The options. + The translation options. + The stage. + + + + Appends a $group stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + The pipeline. + The group projection. + + A new pipeline with an additional stage. + + + + + Appends a group stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The pipeline. + The group projection. + + The fluent aggregate interface. + + + + + Appends a group stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the key. + The type of the output documents. + The pipeline. + The id. + The group projection. + The translation options. + + The fluent aggregate interface. + + + + + Appends a $limit stage to the pipeline. + + The type of the input documents. + The type of the output documents. + The pipeline. + The limit. + + A new pipeline with an additional stage. + + + + + Appends a $lookup stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the foreign collection documents. + The type of the output documents. + The pipeline. + The foreign collection. + The local field. + The foreign field. + The "as" field. + The options. + + A new pipeline with an additional stage. + + + + + Appends a lookup stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the foreign collection documents. + The type of the output documents. + The pipeline. + The foreign collection. + The local field. + The foreign field. + The "as" field. + The options. + + The fluent aggregate interface. + + + + + Appends a $match stage to the pipeline. + + The type of the input documents. + The type of the output documents. + The pipeline. + The filter. + + A new pipeline with an additional stage. + + + + + Appends a match stage to the pipeline. + + The type of the input documents. + The type of the output documents. + The pipeline. + The filter. + + The fluent aggregate interface. + + + + + Appends a $match stage to the pipeline to select documents of a certain type. + + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + The pipeline. + The output serializer. + + A new pipeline with an additional stage. + + + + + + Appends a $out stage to the pipeline. + + The type of the input documents. + The type of the output documents. + The pipeline. + The output collection. + + A new pipeline with an additional stage. + + + + + + Appends a $project stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + The pipeline. + The projection. + + A new pipeline with an additional stage. + + + + + + Appends a project stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The pipeline. + The projection. + + The fluent aggregate interface. + + + + + Appends a project stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + The pipeline. + The projection. + The translation options. + + The fluent aggregate interface. + + + + + Appends a $replaceRoot stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + The pipeline. + The new root. + + A new pipeline with an additional stage. + + + + + Appends a $replaceRoot stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + The pipeline. + The new root. + The translation options. + + The fluent aggregate interface. + + + + + Appends a $skip stage to the pipeline. + + The type of the input documents. + The type of the output documents. + The pipeline. + The number of documents to skip. + + A new pipeline with an additional stage. + + + + + Appends a $sort stage to the pipeline. + + The type of the input documents. + The type of the output documents. + The pipeline. + The sort definition. + + A new pipeline with an additional stage. + + + + + Appends a $sortByCount stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the values. + The pipeline. + The value expression. + + A new pipeline with an additional stage. + + + + + Appends a sortByCount stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the values. + The pipeline. + The value expression. + The translation options. + + The fluent aggregate interface. + + + + + Appends an $unwind stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + The pipeline. + The field. + The options. + + A new pipeline with an additional stage. + + + + + Appends an unwind stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The pipeline. + The field to unwind. + The options. + + The fluent aggregate interface. + + + + + Appends an unwind stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The pipeline. + The field to unwind. + The options. + + The fluent aggregate interface. + + + + + Appends an unwind stage to the pipeline. + + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + The pipeline. + The field to unwind. + The options. + + The fluent aggregate interface. + + + + + Represents a pipeline consisting of an existing pipeline with one additional stage appended. + + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + + + + Initializes a new instance of the class. + + The pipeline. + The stage. + The output serializer. + + + + + + + + + + + + + Represents an empty pipeline. + + The type of the input documents. + + + + Initializes a new instance of the class. + + The output serializer. + + + + + + + + + + + + + Represents a pipeline consisting of an existing pipeline with one additional stage prepended. + + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + + + + Initializes a new instance of the class. + + The stage. + The pipeline. + The output serializer. + + + + + + + + + + + + + Represents a pipeline with the output serializer replaced. + + The type of the input documents. + The type of the intermediate documents. + The type of the output documents. + + + + + Initializes a new instance of the class. + + The pipeline. + The output serializer. + + + + + + + + + + + + + A rendered pipeline stage. + + + + + Gets the name of the pipeline operator. + + + The name of the pipeline operator. + + + + + Gets the document. + + + + + Gets the output serializer. + + + + + A rendered pipeline stage. + + The type of the output. + + + + Initializes a new instance of the class. + + Name of the pipeline operator. + The document. + The output serializer. + + + + + + + Gets the output serializer. + + + + + + + + + + + A pipeline stage. + + + + + Gets the type of the input. + + + + + Gets the name of the pipeline operator. + + + + + Gets the type of the output. + + + + + Renders the specified document serializer. + + The input serializer. + The serializer registry. + An + + + + Returns a that represents this instance. + + The input serializer. + The serializer registry. + + A that represents this instance. + + + + + Base class for pipeline stages. + + The type of the input. + The type of the output. + + + + Gets the type of the input. + + + + + + + + Gets the type of the output. + + + + + Renders the specified document serializer. + + The input serializer. + The serializer registry. + A + + + + + + + Returns a that represents this instance. + + The input serializer. + The serializer registry. + + A that represents this instance. + + + + + Performs an implicit conversion from to . + + The document. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The JSON string. + + The result of the conversion. + + + + + + + + A based stage. + + The type of the input. + The type of the output. + + + + Initializes a new instance of the class. + + The document. + The output serializer. + + + + + + + + + + A JSON based pipeline stage. + + The type of the input. + The type of the output. + + + + Initializes a new instance of the class. + + The json. + The output serializer. + + + + Gets the json. + + + + + + + + Gets the output serializer. + + + + + + + + Methods for building pipeline stages. + + + + + Creates a $bucket stage. + + The type of the input documents. + The type of the values. + The group by expression. + The boundaries. + The options. + The stage. + + + + Creates a $bucket stage. + + The type of the input documents. + The type of the values. + The type of the output documents. + The group by expression. + The boundaries. + The output projection. + The options. + The stage. + + + + Creates a $bucket stage. + + The type of the input documents. + The type of the values. + The group by expression. + The boundaries. + The options. + The translation options. + The stage. + + + + Creates a $bucket stage. + + The type of the input documents. + The type of the values. + The type of the output documents. + The group by expression. + The boundaries. + The output projection. + The options. + The translation options. + The stage. + + + + Creates a $bucketAuto stage. + + The type of the input documents. + The type of the values. + The group by expression. + The number of buckets. + The options. + The stage. + + + + Creates a $bucketAuto stage. + + The type of the input documents. + The type of the values. + The type of the output documents. + The group by expression. + The number of buckets. + The output projection. + The options. + The stage. + + + + Creates a $bucketAuto stage. + + The type of the input documents. + The type of the value. + The group by expression. + The number of buckets. + The options (optional). + The translation options. + The stage. + + + + Creates a $bucketAuto stage. + + The type of the input documents. + The type of the output documents. + The type of the output documents. + The group by expression. + The number of buckets. + The output projection. + The options (optional). + The translation options. + The stage. + + + + Creates a $count stage. + + The type of the input documents. + The stage. + + + + Creates a $facet stage. + + The type of the input documents. + The type of the output documents. + The facets. + The options. + The stage. + + + + Creates a $facet stage. + + The type of the input documents. + The facets. + The stage. + + + + Creates a $facet stage. + + The type of the input documents. + The facets. + The stage. + + + + Creates a $facet stage. + + The type of the input documents. + The type of the output documents. + The facets. + The stage. + + + + Creates a $graphLookup stage. + + The type of the input documents. + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field elements. + The type of the as field. + The type of the output documents. + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The depth field. + The options. + The stage. + + + + Creates a $graphLookup stage. + + The type of the input documents. + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field. + The type of the output documents. + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The options. + The stage. + + + + Creates a $graphLookup stage. + + The type of the input documents. + The type of the from documents. + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The depth field. + The fluent aggregate interface. + + + + Creates a $graphLookup stage. + + The type of the input documents. + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field. + The type of the output documents. + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The options. + The translation options. + The stage. + + + + Creates a $graphLookup stage. + + The type of the input documents. + The type of the from documents. + The type of the connect from field (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the connect to field. + The type of the start with expression (must be either TConnectTo or a type that implements IEnumerable{TConnectTo}). + The type of the as field elements. + The type of the as field. + The type of the output documents. + The from collection. + The connect from field. + The connect to field. + The start with value. + The as field. + The depth field. + The options. + The translation options. + The stage. + + + + Creates a $group stage. + + The type of the input documents. + The type of the output documents. + The group projection. + The stage. + + + + Creates a $group stage. + + The type of the input documents. + The group projection. + The stage. + + + + Creates a $group stage. + + The type of the input documents. + The type of the values. + The type of the output documents. + The value field. + The group projection. + The translation options. + The stage. + + + + Creates a $limit stage. + + The type of the input documents. + The limit. + The stage. + + + + Creates a $lookup stage. + + The type of the input documents. + The type of the foreign collection documents. + The type of the output documents. + The foreign collection. + The local field. + The foreign field. + The "as" field. + The options. + The stage. + + + + Creates a $lookup stage. + + The type of the input documents. + The type of the foreign collection documents. + The type of the output documents. + The foreign collection. + The local field. + The foreign field. + The "as" field. + The options. + The stage. + + + + Creates a $match stage. + + The type of the input documents. + The filter. + The stage. + + + + Creates a $match stage. + + The type of the input documents. + The filter. + The stage. + + + + Create a $match stage that select documents of a sub type. + + The type of the input documents. + The type of the output documents. + The output serializer. + The stage. + + + + Creates a $out stage. + + The type of the input documents. + The output collection. + The stage. + + + + Creates a $project stage. + + The type of the input documents. + The type of the output documents. + The projection. + The stage. + + + + Creates a $project stage. + + The type of the input documents. + The projection. + The stage. + + + + Creates a $project stage. + + The type of the input documents. + The type of the output documents. + The projection. + The translation options. + The stage. + + + + Creates a $replaceRoot stage. + + The type of the input documents. + The type of the output documents. + The new root. + The stage. + + + + Creates a $replaceRoot stage. + + The type of the input documents. + The type of the output documents. + The new root. + The translation options. + The stage. + + + + Creates a $skip stage. + + The type of the input documents. + The skip. + The stage. + + + + Creates a $sort stage. + + The type of the input documents. + The sort. + The stage. + + + + Creates a $sortByCount stage. + + The type of the input documents. + The type of the values. + The value expression. + The stage. + + + + Creates a $sortByCount stage. + + The type of the input documents. + The type of the values. + The value. + The translation options. + The stage. + + + + Creates an $unwind stage. + + The type of the input documents. + The type of the output documents. + The field. + The options. + The stage. + + + + Creates an $unwind stage. + + The type of the input documents. + The field to unwind. + The options. + The stage. + + + + Creates an $unwind stage. + + The type of the input documents. + The field to unwind. + The options. + The stage. + + + + Creates an $unwind stage. + + The type of the input documents. + The type of the output documents. + The field to unwind. + The options. + The stage. + + + + A rendered projection. + + The type of the projection. + + + + Initializes a new instance of the class. + + The document. + The projection serializer. + + + + Gets the document. + + + + + Gets the serializer. + + + + + Base class for projections whose projection type is not yet known. + + The type of the source. + + + + Renders the projection to a . + + The source serializer. + The serializer registry. + A . + + + + Performs an implicit conversion from to . + + The document. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The JSON string. + + The result of the conversion. + + + + + Base class for projections. + + The type of the source. + The type of the projection. + + + + Renders the projection to a . + + The source serializer. + The serializer registry. + A . + + + + Performs an implicit conversion from to . + + The document. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The JSON string. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The projection. + + The result of the conversion. + + + + + A based projection whose projection type is not yet known. + + The type of the source. + + + + Initializes a new instance of the class. + + The document. + + + + Gets the document. + + + + + + + + A based projection. + + The type of the source. + The type of the projection. + + + + Initializes a new instance of the class. + + The document. + The projection serializer. + + + + Gets the document. + + + + + Gets the projection serializer. + + + + + + + + A find based projection. + + The type of the source. + The type of the projection. + + + + Initializes a new instance of the class. + + The expression. + + + + Gets the expression. + + + + + + + + A JSON based projection whose projection type is not yet known. + + The type of the source. + + + + Initializes a new instance of the class. + + The json. + + + + Gets the json. + + + + + + + + A JSON based projection. + + The type of the source. + The type of the projection. + + + + Initializes a new instance of the class. + + The json. + The projection serializer. + + + + Gets the json. + + + + + Gets the projection serializer. + + + + + + + + An based projection whose projection type is not yet known. + + The type of the source. + + + + Initializes a new instance of the class. + + The object. + + + + Gets the object. + + + + + + + + An based projection. + + The type of the source. + The type of the projection. + + + + Initializes a new instance of the class. + + The object. + The projection serializer. + + + + Gets the object. + + + + + Gets the projection serializer. + + + + + + + + A client side only projection that is implemented solely by deserializing using a different serializer. + + The type of the source. + The type of the projection. + + + + Initializes a new instance of the class. + + The projection serializer. + + + + Gets the result serializer. + + + The result serializer. + + + + + + + + Extension methods for projections. + + + + + Combines an existing projection with a projection that filters the contents of an array. + + The type of the document. + The type of the item. + The projection. + The field. + The filter. + + A combined projection. + + + + + Combines an existing projection with a projection that filters the contents of an array. + + The type of the document. + The type of the item. + The projection. + The field. + The filter. + + A combined projection. + + + + + Combines an existing projection with a projection that filters the contents of an array. + + The type of the document. + The type of the item. + The projection. + The field. + The filter. + + A combined projection. + + + + + Combines an existing projection with a projection that excludes a field. + + The type of the document. + The projection. + The field. + + A combined projection. + + + + + Combines an existing projection with a projection that excludes a field. + + The type of the document. + The projection. + The field. + + A combined projection. + + + + + Combines an existing projection with a projection that includes a field. + + The type of the document. + The projection. + The field. + + A combined projection. + + + + + Combines an existing projection with a projection that includes a field. + + The type of the document. + The projection. + The field. + + A combined projection. + + + + + Combines an existing projection with a text score projection. + + The type of the document. + The projection. + The field. + + A combined projection. + + + + + Combines an existing projection with an array slice projection. + + The type of the document. + The projection. + The field. + The skip. + The limit. + + A combined projection. + + + + + Combines an existing projection with an array slice projection. + + The type of the document. + The projection. + The field. + The skip. + The limit. + + A combined projection. + + + + + A builder for a projection. + + The type of the source. + + + + Creates a client side projection that is implemented solely by using a different serializer. + + The type of the projection. + The projection serializer. + A client side deserialization projection. + + + + Combines the specified projections. + + The projections. + + A combined projection. + + + + + Combines the specified projections. + + The projections. + + A combined projection. + + + + + Creates a projection that filters the contents of an array. + + The type of the item. + The field. + The filter. + + An array filtering projection. + + + + + Creates a projection that filters the contents of an array. + + The type of the item. + The field. + The filter. + + An array filtering projection. + + + + + Creates a projection that filters the contents of an array. + + The type of the item. + The field. + The filter. + + An array filtering projection. + + + + + Creates a projection that excludes a field. + + The field. + + An exclusion projection. + + + + + Creates a projection that excludes a field. + + The field. + + An exclusion projection. + + + + + Creates a projection based on the expression. + + The type of the result. + The expression. + + An expression projection. + + + + + Creates a projection that includes a field. + + The field. + + An inclusion projection. + + + + + Creates a projection that includes a field. + + The field. + + An inclusion projection. + + + + + Creates a text score projection. + + The field. + + A text score projection. + + + + + Creates an array slice projection. + + The field. + The skip. + The limit. + + An array slice projection. + + + + + Creates an array slice projection. + + The field. + The skip. + The limit. + + An array slice projection. + + + + + Options for renaming a collection. + + + + + Gets or sets a value indicating whether to drop the target collection first if it already exists. + + + + + Model for replacing a single document. + + The type of the document. + + + + Initializes a new instance of the class. + + The filter. + The replacement. + + + + Gets or sets the collation. + + + + + Gets the filter. + + + + + Gets or sets a value indicating whether to insert the document if it doesn't already exist. + + + + + Gets the replacement. + + + + + Gets the type of the model. + + + + + The result of an update operation. + + + + + Gets a value indicating whether the result is acknowleded. + + + + + Gets a value indicating whether the modified count is available. + + + The modified count is only available when all servers have been upgraded to 2.6 or above. + + + + + Gets the matched count. If IsAcknowledged is false, this will throw an exception. + + + + + Gets the modified count. If IsAcknowledged is false, this will throw an exception. + + + + + Gets the upserted id, if one exists. If IsAcknowledged is false, this will throw an exception. + + + + + Initializes a new instance of the class. + + + + + The result of an acknowledged update operation. + + + + + Initializes a new instance of the class. + + The matched count. + The modified count. + The upserted id. + + + + + + + + + + + + + + + + + + + The result of an unacknowledged update operation. + + + + + Gets the instance. + + + + + + + + + + + + + + + + + + + + Which version of the document to return when executing a FindAndModify command. + + + + + Return the document before the modification. + + + + + Return the document after the modification. + + + + + Represents a setting that may or may not have been set. + + The type of the value. + + + + Gets the value of the setting. + + + + + Gets a value indicating whether the setting has been set. + + + + + Resets the setting to the unset state. + + + + + Gets a canonical string representation for this setting. + + A canonical string representation for this setting. + + + + The direction of the sort. + + + + + Ascending. + + + + + Descending. + + + + + Base class for sorts. + + The type of the document. + + + + Renders the sort to a . + + The document serializer. + The serializer registry. + A . + + + + Performs an implicit conversion from to . + + The document. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The JSON string. + + The result of the conversion. + + + + + A based sort. + + The type of the document. + + + + Initializes a new instance of the class. + + The document. + + + + Gets the document. + + + + + + + + A JSON based sort. + + The type of the document. + + + + Initializes a new instance of the class. + + The json. + + + + Gets the json. + + + + + + + + An based sort. + + The type of the document. + + + + Initializes a new instance of the class. + + The object. + + + + Gets the object. + + + + + + + + Extension methods for SortDefinition. + + + + + Combines an existing sort with an ascending field. + + The type of the document. + The sort. + The field. + + A combined sort. + + + + + Combines an existing sort with an ascending field. + + The type of the document. + The sort. + The field. + + A combined sort. + + + + + Combines an existing sort with an descending field. + + The type of the document. + The sort. + The field. + + A combined sort. + + + + + Combines an existing sort with an descending field. + + The type of the document. + The sort. + The field. + + A combined sort. + + + + + Combines an existing sort with a descending sort on the computed relevance score of a text search. + The field name should be the name of the projected relevance score field. + + The type of the document. + The sort. + The field. + + A combined sort. + + + + + A builder for a . + + The type of the document. + + + + Creates an ascending sort. + + The field. + An ascending sort. + + + + Creates an ascending sort. + + The field. + An ascending sort. + + + + Creates a combined sort. + + The sorts. + A combined sort. + + + + Creates a combined sort. + + The sorts. + A combined sort. + + + + Creates a descending sort. + + The field. + A descending sort. + + + + Creates a descending sort. + + The field. + A descending sort. + + + + Creates a descending sort on the computed relevance score of a text search. + The name of the key should be the name of the projected relevence score field. + + The field. + A meta text score sort. + + + + Represents the settings for using SSL. + + + + + Gets or sets a value indicating whether to check for certificate revocation. + + + + + Gets or sets the client certificates. + + + + + Gets or sets the client certificate selection callback. + + + + + Gets or sets the enabled SSL protocols. + + + + + Gets or sets the server certificate validation callback. + + + + + Determines whether two instances are equal. + + The LHS. + The RHS. + + true if the left hand side is equal to the right hand side; otherwise, false. + + + + + Determines whether two instances are not equal. + + The LHS. + The RHS. + + true if the left hand side is not equal to the right hand side; otherwise, false. + + + + + Clones an SslSettings. + + The cloned SslSettings. + + + + 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. + + + + + Freezes the settings. + + The frozen settings. + + + + 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. + + + + + Returns a string representation of the settings. + + A string representation of the settings. + + + + Represents text search options. + + + + + Gets or sets whether a text search should be case sensitive. + + + + + Gets or sets whether a text search should be diacritic sensitive. + + + + + Gets or sets the language for a text search. + + + + + Base class for updates. + + The type of the document. + + + + Renders the update to a . + + The document serializer. + The serializer registry. + A . + + + + Performs an implicit conversion from to . + + The document. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The JSON string. + + The result of the conversion. + + + + + A based update. + + The type of the document. + + + + Initializes a new instance of the class. + + The document. + + + + Gets the document. + + + + + + + + A JSON based update. + + The type of the document. + + + + Initializes a new instance of the class. + + The json. + + + + Gets the json. + + + + + + + + An based update. + + The type of the document. + + + + Initializes a new instance of the class. + + The object. + + + + Gets the object. + + + + + + + + Extension methods for UpdateDefinition. + + + + + Combines an existing update with an add to set operator. + + The type of the document. + The type of the item. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with an add to set operator. + + The type of the document. + The type of the item. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with an add to set operator. + + The type of the document. + The type of the item. + The update. + The field. + The values. + + A combined update. + + + + + Combines an existing update with an add to set operator. + + The type of the document. + The type of the item. + The update. + The field. + The values. + + A combined update. + + + + + Combines an existing update with a bitwise and operator. + + The type of the document. + The type of the field. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with a bitwise and operator. + + The type of the document. + The type of the field. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with a bitwise or operator. + + The type of the document. + The type of the field. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with a bitwise or operator. + + The type of the document. + The type of the field. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with a bitwise xor operator. + + The type of the document. + The type of the field. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with a bitwise xor operator. + + The type of the document. + The type of the field. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with a current date operator. + + The type of the document. + The update. + The field. + The type. + + A combined update. + + + + + Combines an existing update with a current date operator. + + The type of the document. + The update. + The field. + The type. + + A combined update. + + + + + Combines an existing update with an increment operator. + + The type of the document. + The type of the field. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with an increment operator. + + The type of the document. + The type of the field. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with a max operator. + + The type of the document. + The type of the field. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with a max operator. + + The type of the document. + The type of the field. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with a min operator. + + The type of the document. + The type of the field. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with a min operator. + + The type of the document. + The type of the field. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with a multiply operator. + + The type of the document. + The type of the field. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with a multiply operator. + + The type of the document. + The type of the field. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with a pop operator. + + The type of the document. + The update. + The field. + + A combined update. + + + + + Combines an existing update with a pop operator. + + The type of the document. + The update. + The field. + + A combined update. + + + + + Combines an existing update with a pop operator. + + The type of the document. + The update. + The field. + + A combined update. + + + + + Combines an existing update with a pop operator. + + The type of the document. + The update. + The field. + + A combined update. + + + + + Combines an existing update with a pull operator. + + The type of the document. + The type of the item. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with a pull operator. + + The type of the document. + The type of the item. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with a pull operator. + + The type of the document. + The type of the item. + The update. + The field. + The values. + + A combined update. + + + + + Combines an existing update with a pull operator. + + The type of the document. + The type of the item. + The update. + The field. + The values. + + A combined update. + + + + + Combines an existing update with a pull operator. + + The type of the document. + The type of the item. + The update. + The field. + The filter. + + A combined update. + + + + + Combines an existing update with a pull operator. + + The type of the document. + The type of the item. + The update. + The field. + The filter. + + A combined update. + + + + + Combines an existing update with a pull operator. + + The type of the document. + The type of the item. + The update. + The field. + The filter. + + A combined update. + + + + + Combines an existing update with a push operator. + + The type of the document. + The type of the item. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with a push operator. + + The type of the document. + The type of the item. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with a push operator. + + The type of the document. + The type of the item. + The update. + The field. + The values. + The slice. + The position. + The sort. + + A combined update. + + + + + Combines an existing update with a push operator. + + The type of the document. + The type of the item. + The update. + The field. + The values. + The slice. + The position. + The sort. + + A combined update. + + + + + Combines an existing update with a field renaming operator. + + The type of the document. + The update. + The field. + The new name. + + A combined update. + + + + + Combines an existing update with a field renaming operator. + + The type of the document. + The update. + The field. + The new name. + + A combined update. + + + + + Combines an existing update with a set operator. + + The type of the document. + The type of the field. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with a set operator. + + The type of the document. + The type of the field. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with a set on insert operator. + + The type of the document. + The type of the field. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with a set on insert operator. + + The type of the document. + The type of the field. + The update. + The field. + The value. + + A combined update. + + + + + Combines an existing update with an unset operator. + + The type of the document. + The update. + The field. + + A combined update. + + + + + Combines an existing update with an unset operator. + + The type of the document. + The update. + The field. + + A combined update. + + + + + The type to use for a $currentDate operator. + + + + + A date. + + + + + A timestamp. + + + + + A builder for an . + + The type of the document. + + + + Creates an add to set operator. + + The type of the item. + The field. + The value. + An add to set operator. + + + + Creates an add to set operator. + + The type of the item. + The field. + The value. + An add to set operator. + + + + Creates an add to set operator. + + The type of the item. + The field. + The values. + An add to set operator. + + + + Creates an add to set operator. + + The type of the item. + The field. + The values. + An add to set operator. + + + + Creates a bitwise and operator. + + The type of the field. + The field. + The value. + A bitwise and operator. + + + + Creates a bitwise and operator. + + The type of the field. + The field. + The value. + A bitwise and operator. + + + + Creates a bitwise or operator. + + The type of the field. + The field. + The value. + A bitwise or operator. + + + + Creates a bitwise or operator. + + The type of the field. + The field. + The value. + A bitwise or operator. + + + + Creates a bitwise xor operator. + + The type of the field. + The field. + The value. + A bitwise xor operator. + + + + Creates a bitwise xor operator. + + The type of the field. + The field. + The value. + A bitwise xor operator. + + + + Creates a combined update. + + The updates. + A combined update. + + + + Creates a combined update. + + The updates. + A combined update. + + + + Creates a current date operator. + + The field. + The type. + A current date operator. + + + + Creates a current date operator. + + The field. + The type. + A current date operator. + + + + Creates an increment operator. + + The type of the field. + The field. + The value. + An increment operator. + + + + Creates an increment operator. + + The type of the field. + The field. + The value. + An increment operator. + + + + Creates a max operator. + + The type of the field. + The field. + The value. + A max operator. + + + + Creates a max operator. + + The type of the field. + The field. + The value. + A max operator. + + + + Creates a min operator. + + The type of the field. + The field. + The value. + A min operator. + + + + Creates a min operator. + + The type of the field. + The field. + The value. + A min operator. + + + + Creates a multiply operator. + + The type of the field. + The field. + The value. + A multiply operator. + + + + Creates a multiply operator. + + The type of the field. + The field. + The value. + A multiply operator. + + + + Creates a pop operator. + + The field. + A pop operator. + + + + Creates a pop first operator. + + The field. + A pop first operator. + + + + Creates a pop operator. + + The field. + A pop operator. + + + + Creates a pop first operator. + + The field. + A pop first operator. + + + + Creates a pull operator. + + The type of the item. + The field. + The value. + A pull operator. + + + + Creates a pull operator. + + The type of the item. + The field. + The value. + A pull operator. + + + + Creates a pull operator. + + The type of the item. + The field. + The values. + A pull operator. + + + + Creates a pull operator. + + The type of the item. + The field. + The values. + A pull operator. + + + + Creates a pull operator. + + The type of the item. + The field. + The filter. + A pull operator. + + + + Creates a pull operator. + + The type of the item. + The field. + The filter. + A pull operator. + + + + Creates a pull operator. + + The type of the item. + The field. + The filter. + A pull operator. + + + + Creates a push operator. + + The type of the item. + The field. + The value. + A push operator. + + + + Creates a push operator. + + The type of the item. + The field. + The value. + A push operator. + + + + Creates a push operator. + + The type of the item. + The field. + The values. + The slice. + The position. + The sort. + A push operator. + + + + Creates a push operator. + + The type of the item. + The field. + The values. + The slice. + The position. + The sort. + A push operator. + + + + Creates a field renaming operator. + + The field. + The new name. + A field rename operator. + + + + Creates a field renaming operator. + + The field. + The new name. + A field rename operator. + + + + Creates a set operator. + + The type of the field. + The field. + The value. + A set operator. + + + + Creates a set operator. + + The type of the field. + The field. + The value. + A set operator. + + + + Creates a set on insert operator. + + The type of the field. + The field. + The value. + A set on insert operator. + + + + Creates a set on insert operator. + + The type of the field. + The field. + The value. + A set on insert operator. + + + + Creates an unset operator. + + The field. + An unset operator. + + + + Creates an unset operator. + + The field. + An unset operator. + + + + Model for updating many documents. + + The type of the document. + + + + Initializes a new instance of the class. + + The filter. + The update. + + + + Gets or sets the collation. + + + + + Gets the filter. + + + + + Gets or sets a value indicating whether to insert the document if it doesn't already exist. + + + + + Gets the update. + + + + + + + + Model for updating a single document. + + The type of the document. + + + + Initializes a new instance of the class. + + The filter. + The update. + + + + Gets or sets the collation. + + + + + Gets the filter. + + + + + Gets or sets a value indicating whether to insert the document if it doesn't already exist. + + + + + Gets the update. + + + + + + + + Options for updating a single document. + + + + + Gets or sets a value indicating whether to bypass document validation. + + + + + Gets or sets the collation. + + + + + Gets or sets a value indicating whether to insert the document if it doesn't already exist. + + + + + The result of an update operation. + + + + + Gets a value indicating whether the result is acknowleded. + + + + + Gets a value indicating whether the modified count is available. + + + The modified count is only available when all servers have been upgraded to 2.6 or above. + + + + + Gets the matched count. If IsAcknowledged is false, this will throw an exception. + + + + + Gets the modified count. If IsAcknowledged is false, this will throw an exception. + + + + + Gets the upserted id, if one exists. If IsAcknowledged is false, this will throw an exception. + + + + + Initializes a new instance of the class. + + + + + The result of an acknowledgede update operation. + + + + + Initializes a new instance of the class. + + The matched count. + The modified count. + The upserted id. + + + + + + + + + + + + + + + + + + + The result of an acknowledgede update operation. + + + + + Gets the instance. + + + + + + + + + + + + + + + + + + + + Represents the details of a write concern error. + + + + + Gets the error code. + + + + + Gets the error information. + + + + + Gets the error message. + + + + + Represents the details of a write error. + + + + + Gets the category. + + + + + Gets the error code. + + + + + Gets the error details. + + + + + Gets the error message. + + + + + Base class for a write model. + + The type of the document. + + + + Gets the type of the model. + + + + + The type of a write model. + + + + + A model to insert a single document. + + + + + A model to delete a single document. + + + + + A model to delete multiple documents. + + + + + A model to replace a single document. + + + + + A model to update a single document. + + + + + A model to update many documents. + + + + + A static class containing helper methods to create GeoJson objects. + + + + + Creates a GeoJson bounding box. + + The type of the coordinates. + The min. + The max. + A GeoJson bounding box. + + + + Creates a GeoJson Feature object. + + The type of the coordinates. + The geometry. + A GeoJson Feature object. + + + + Creates a GeoJson Feature object. + + The type of the coordinates. + The additional args. + The geometry. + A GeoJson Feature object. + + + + Creates a GeoJson FeatureCollection object. + + The type of the coordinates. + The additional args. + The features. + A GeoJson FeatureCollection object. + + + + Creates a GeoJson FeatureCollection object. + + The type of the coordinates. + The features. + A GeoJson FeatureCollection object. + + + + Creates a GeoJson 2D geographic position (longitude, latitude). + + The longitude. + The latitude. + A GeoJson 2D geographic position. + + + + Creates a GeoJson 3D geographic position (longitude, latitude, altitude). + + The longitude. + The latitude. + The altitude. + A GeoJson 3D geographic position. + + + + Creates a GeoJson GeometryCollection object. + + The type of the coordinates. + The additional args. + The geometries. + A GeoJson GeometryCollection object. + + + + Creates a GeoJson GeometryCollection object. + + The type of the coordinates. + The geometries. + A GeoJson GeometryCollection object. + + + + Creates the coordinates of a GeoJson linear ring. + + The type of the coordinates. + The positions. + The coordinates of a GeoJson linear ring. + + + + Creates a GeoJson LineString object. + + The type of the coordinates. + The additional args. + The positions. + A GeoJson LineString object. + + + + Creates a GeoJson LineString object. + + The type of the coordinates. + The positions. + A GeoJson LineString object. + + + + Creates the coordinates of a GeoJson LineString. + + The type of the coordinates. + The positions. + The coordinates of a GeoJson LineString. + + + + Creates a GeoJson MultiLineString object. + + The type of the coordinates. + The additional args. + The line strings. + A GeoJson MultiLineString object. + + + + Creates a GeoJson MultiLineString object. + + The type of the coordinates. + The line strings. + A GeoJson MultiLineString object. + + + + Creates a GeoJson MultiPoint object. + + The type of the coordinates. + The additional args. + The positions. + A GeoJson MultiPoint object. + + + + Creates a GeoJson MultiPoint object. + + The type of the coordinates. + The positions. + A GeoJson MultiPoint object. + + + + Creates a GeoJson MultiPolygon object. + + The type of the coordinates. + The additional args. + The polygons. + A GeoJson MultiPolygon object. + + + + Creates a GeoJson MultiPolygon object. + + The type of the coordinates. + The polygons. + A GeoJson MultiPolygon object. + + + + Creates a GeoJson Point object. + + The type of the coordinates. + The additional args. + The coordinates. + A GeoJson Point object. + + + + Creates a GeoJson Point object. + + The type of the coordinates. + The coordinates. + A GeoJson Point object. + + + + Creates a GeoJson Polygon object. + + The type of the coordinates. + The additional args. + The positions. + A GeoJson Polygon object. + + + + Creates a GeoJson Polygon object. + + The type of the coordinates. + The additional args. + The coordinates. + A GeoJson Polygon object. + + + + Creates a GeoJson Polygon object. + + The type of the coordinates. + The coordinates. + A GeoJson Polygon object. + + + + Creates a GeoJson Polygon object. + + The type of the coordinates. + The positions. + A GeoJson Polygon object. + + + + Creates the coordinates of a GeoJson Polygon object. + + The type of the coordinates. + The positions. + The coordinates of a GeoJson Polygon object. + + + + Creates the coordinates of a GeoJson Polygon object. + + The type of the coordinates. + The exterior. + The holes. + The coordinates of a GeoJson Polygon object. + + + + Creates a GeoJson 2D position (x, y). + + The x. + The y. + A GeoJson 2D position. + + + + Creates a GeoJson 3D position (x, y, z). + + The x. + The y. + The z. + A GeoJson 3D position. + + + + Creates a GeoJson 2D projected position (easting, northing). + + The easting. + The northing. + A GeoJson 2D projected position. + + + + Creates a GeoJson 3D projected position (easting, northing, altitude). + + The easting. + The northing. + The altitude. + A GeoJson 3D projected position. + + + + Represents a GeoJson 2D position (x, y). + + + + + Initializes a new instance of the class. + + The x coordinate. + The y coordinate. + + + + Gets the coordinate values. + + + + + Gets the X coordinate. + + + + + Gets the Y coordinate. + + + + + Represents a GeoJson 2D geographic position (longitude, latitude). + + + + + Initializes a new instance of the class. + + The longitude. + The latitude. + + + + Gets the coordinate values. + + + + + Gets the longitude. + + + + + Gets the latitude. + + + + + Represents a GeoJson 2D projected position (easting, northing). + + + + + Initializes a new instance of the class. + + The easting. + The northing. + + + + Gets the coordinate values. + + + + + Gets the easting. + + + + + Gets the northing. + + + + + Represents a GeoJson 3D position (x, y, z). + + + + + Initializes a new instance of the class. + + The x coordinate. + The y coordinate. + The z coordinate. + + + + Gets the coordinate values. + + + + + Gets the X coordinate. + + + + + Gets the Y coordinate. + + + + + Gets the Z coordinate. + + + + + Represents a GeoJson 3D geographic position (longitude, latitude, altitude). + + + + + Initializes a new instance of the class. + + The longitude. + The latitude. + The altitude. + + + + Gets the coordinate values. + + + + + Gets the longitude. + + + + + Gets the latitude. + + + + + Gets the altitude. + + + + + Represents a GeoJson 3D projected position (easting, northing, altitude). + + + + + Initializes a new instance of the class. + + The easting. + The northing. + The altitude. + + + + Gets the coordinate values. + + + + + Gets the easting. + + + + + Gets the northing. + + + + + Gets the altitude. + + + + + Represents a GeoJson bounding box. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The min. + The max. + + + + Gets the max. + + + + + Gets the min. + + + + + Represents a GeoJson coordinate reference system (see subclasses). + + + + + Gets the type of the GeoJson coordinate reference system. + + + + + Represents a GeoJson position in some coordinate system (see subclasses). + + + + + Gets the coordinate values. + + + + + Determines whether two instances are equal. + + The LHS. + The RHS. + + true if the left hand side is equal to the right hand side; otherwise, false. + + + + + Determines whether two instances are not equal. + + The LHS. + The RHS. + + true if the left hand side is not equal to the right hand side; 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. + + + + + 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 GeoJson Feature object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The geometry. + + + + Initializes a new instance of the class. + + The additional args. + The geometry. + + + + Gets the geometry. + + + + + Gets the id. + + + + + Gets the properties. + + + + + Gets the type of the GeoJson object. + + + + + Represents additional arguments for a GeoJson Feature object. + + The type of the coordinates. + + + + Gets or sets the id. + + + + + Gets or sets the properties. + + + + + Represents a GeoJson FeatureCollection. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The features. + + + + Initializes a new instance of the class. + + The additional args. + The features. + + + + Gets the features. + + + + + Gets the type of the GeoJson object. + + + + + Represents a GeoJson Geometry object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The additional args. + + + + Represents a GeoJson GeometryCollection object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The geometries. + + + + Initializes a new instance of the class. + + The additional args. + The geometries. + + + + Gets the geometries. + + + + + Gets the type of the GeoJson object. + + + + + Represents the coordinates of a GeoJson linear ring. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The positions. + + + + Represents a GeoJson LineString object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The coordinates. + + + + Initializes a new instance of the class. + + The additional args. + The coordinates. + + + + Gets the coordinates. + + + + + Gets the type of the GeoJson object. + + + + + Represents the coordinates of a GeoJson LineString object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The positions. + + + + Gets the positions. + + + + + Represents a GeoJson linked coordinate reference system. + + + + + Initializes a new instance of the class. + + The href. + + + + Initializes a new instance of the class. + + The href. + Type of the href. + + + + Gets the href. + + + + + Gets the type of the href. + + + + + Gets the type of the GeoJson coordinate reference system. + + + + + Represents a GeoJson MultiLineString object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The coordinates. + + + + Initializes a new instance of the class. + + The additional args. + The coordinates. + + + + Gets the coordinates. + + + + + Gets the type of the GeoJson object. + + + + + Represents the coordinates of a GeoJson MultiLineString object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The line strings. + + + + Gets the LineStrings. + + + + + Represents a GeoJson MultiPoint object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The coordinates. + + + + Initializes a new instance of the class. + + The additional args. + The coordinates. + + + + Gets the coordinates. + + + + + Gets the type of the GeoJson object. + + + + + Represents the coordinates of a GeoJson MultiPoint object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The positions. + + + + Gets the positions. + + + + + Represents a GeoJson MultiPolygon object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The coordinates. + + + + Initializes a new instance of the class. + + The additional args. + The coordinates. + + + + Gets the coordinates. + + + + + Gets the type of the GeoJson object. + + + + + Represents the coordinates of a GeoJson MultiPolygon object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The polygons. + + + + Gets the Polygons. + + + + + Represents a GeoJson named coordinate reference system. + + + + + Initializes a new instance of the class. + + The name. + + + + Gets the name. + + + + + Gets the type of the GeoJson coordinate reference system. + + + + + Represents a GeoJson object (see subclasses). + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The additional args. + + + + Gets the bounding box. + + + + + Gets the coordinate reference system. + + + + + Gets the extra members. + + + + + Gets the type of the GeoJson object. + + + + + Represents additional args provided when creating a GeoJson object. + + The type of the coordinates. + + + + Gets or sets the bounding box. + + + + + Gets or sets the coordinate reference system. + + + + + Gets or sets the extra members. + + + + + Represents the type of a GeoJson object. + + + + + A Feature. + + + + + A FeatureCollection. + + + + + A GeometryCollection. + + + + + A LineString. + + + + + A MultiLineString. + + + + + A MultiPoint. + + + + + A MultiPolygon. + + + + + A Point. + + + + + A Polygon. + + + + + Represents a GeoJson Point object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The coordinates. + + + + Initializes a new instance of the class. + + The additional args. + The coordinates. + + + + Gets the coordinates. + + + + + Gets the type of the GeoJson object. + + + + + Represents a GeoJson Polygon object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The coordinates. + + + + Initializes a new instance of the class. + + The additional args. + The coordinates. + + + + Gets the coordinates. + + + + + Gets the type of the GeoJson object. + + + + + Represents the coordinates of a GeoJson Polygon object. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The exterior. + + + + Initializes a new instance of the class. + + The exterior. + The holes. + + + + Gets the exterior. + + + + + Gets the holes. + + + + + Represents a serializer for a GeoJson2DCoordinates value. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJson2DGeographicCoordinates value. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJson2DProjectedCoordinates value. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJson3DCoordinates value. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJson3DGeographicCoordinates value. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJson3DProjectedCoordinates value. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonBoundingBox value. + + The type of the coordinates. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonCoordinateReferenceSystem value. + + + + + Gets the actual type. + + The context. + The actual type. + + + + Represents a serializer for a GeoJsonCoordinates value. + + + + + Gets the actual type. + + The context. + The actual type. + + + + Represents a serializer for a GeoJsonFeatureCollection value. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonFeature value. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonGeometryCollection value. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonGeometry value. + + The type of the coordinates. + + + + Gets the actual type. + + The context. + The actual type. + + + + Represents a serializer for a GeoJsonLinearRingCoordinates value. + + The type of the coordinates. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonLineStringCoordinates value. + + The type of the coordinates. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonLineString value. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonLinkedCoordinateReferenceSystem value. + + + + + Initializes a new instance of the class. + + + + + Deserializes a class. + + The deserialization context. + The deserialization args. + An object. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonMultiLineStringCoordinates value. + + The type of the coordinates. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonMultiLineString value. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonMultiPointCoordinates value. + + The type of the coordinates. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonMultiPoint value. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonMultiPolygonCoordinates value. + + The type of the coordinates. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonMultiPolygon value. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonNamedCoordinateReferenceSystem value. + + + + + Initializes a new instance of the class. + + + + + Deserializes a class. + + The deserialization context. + The deserialization args. + An object. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJson object. + + The type of the coordinates. + + + + Gets the actual type. + + The context. + The actual type. + + + + Represents a serializer helper for GeoJsonObjects. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The type. + The derived members. + + + + Deserializes a base member. + + The context. + The element name. + The flag. + The arguments. + + + + Serializes the members. + + The type of the value. + The context. + The value. + The delegate to serialize the derived members. + + + + Represents a serializer for a GeoJsonPoint value. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonPolygonCoordinates value. + + The type of the coordinates. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + Represents a serializer for a GeoJsonPolygon value. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + The value. + + + + Serializes a value. + + The serialization context. + The serialization args. + The value. + + + + A model for a queryable to be executed using the aggregation framework. + + The type of the output. + + + + Gets the stages. + + + + + Gets the output serializer. + + + + + Gets the type of the output. + + + + + Returns a that represents this instance. + + + A that represents this instance. + + + + + Provides functionality to evaluate queries against MongoDB. + + + + + Gets the execution model. + + + The execution model. + + + + + Provides functionality to evaluate queries against MongoDB + wherein the type of the data is known. + + + The type of the data in the data source. + This type parameter is covariant. + That is, you can use either the type you specified or any type that is more + derived. For more information about covariance and contravariance, see Covariance + and Contravariance in Generics. + + + + + Represents the result of a sorting operation. + + + The type of the data in the data source. + This type parameter is covariant. + That is, you can use either the type you specified or any type that is more + derived. For more information about covariance and contravariance, see Covariance + and Contravariance in Generics. + + + + + An implementation of for MongoDB. + + + + + Gets the collection namespace. + + + + + Gets the collection document serializer. + + + + + Gets the execution model. + + The expression. + The execution model. + + + + Executes the strongly-typed query represented by a specified expression tree. + + The type of the result. + An expression tree that represents a LINQ query. + The cancellation token. + The value that results from executing the specified query. + + + + This static class holds methods that can be used to express MongoDB specific operations in LINQ queries. + + + + + Injects a low level FilterDefinition{TDocument} into a LINQ where clause. Can only be used in LINQ queries. + + The type of the document. + The filter. + + Throws an InvalidOperationException if called. + + + + + Enumerable Extensions for MongoDB. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Extension for . + + + + + Determines whether a sequence contains any elements. + + The type of the elements of . + A sequence to check for being empty. + The cancellation token. + + true if the source sequence contains any elements; otherwise, false. + + + + + Determines whether any element of a sequence satisfies a condition. + + The type of the elements of . + A sequence whose elements to test for a condition. + A function to test each element for a condition. + The cancellation token. + + true if any elements in the source sequence pass the test in the specified predicate; otherwise, false. + + + + + Computes the average of a sequence of values. + + A sequence of values to calculate the average of. + The cancellation token. + The average of the values in the sequence. + + + + Computes the average of a sequence of values. + + A sequence of values to calculate the average of. + The cancellation token. + The average of the values in the sequence. + + + + Computes the average of a sequence of values. + + A sequence of values to calculate the average of. + The cancellation token. + The average of the values in the sequence. + + + + Computes the average of a sequence of values. + + A sequence of values to calculate the average of. + The cancellation token. + The average of the values in the sequence. + + + + Computes the average of a sequence of values. + + A sequence of values to calculate the average of. + The cancellation token. + The average of the values in the sequence. + + + + Computes the average of a sequence of values. + + A sequence of values to calculate the average of. + The cancellation token. + The average of the values in the sequence. + + + + Computes the average of a sequence of values. + + A sequence of values to calculate the average of. + The cancellation token. + The average of the values in the sequence. + + + + Computes the average of a sequence of values. + + A sequence of values to calculate the average of. + The cancellation token. + The average of the values in the sequence. + + + + Computes the average of a sequence of values. + + A sequence of values to calculate the average of. + The cancellation token. + The average of the values in the sequence. + + + + Computes the average of a sequence of values. + + A sequence of values to calculate the average of. + The cancellation token. + The average of the values in the sequence. + + + + Computes the average of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + The type of the elements of . + A sequence of values. + A projection function to apply to each element. + The cancellation token. + + The average of the projected values. + + + + + Computes the average of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + The type of the elements of . + A sequence of values. + A projection function to apply to each element. + The cancellation token. + + The average of the projected values. + + + + + Computes the average of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + The type of the elements of . + A sequence of values. + A projection function to apply to each element. + The cancellation token. + + The average of the projected values. + + + + + Computes the average of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + The type of the elements of . + A sequence of values. + A projection function to apply to each element. + The cancellation token. + + The average of the projected values. + + + + + Computes the average of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + The type of the elements of . + A sequence of values. + A projection function to apply to each element. + The cancellation token. + + The average of the projected values. + + + + + Computes the average of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + The type of the elements of . + A sequence of values. + A projection function to apply to each element. + The cancellation token. + + The average of the projected values. + + + + + Computes the average of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + The type of the elements of . + A sequence of values. + A projection function to apply to each element. + The cancellation token. + + The average of the projected values. + + + + + Computes the average of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + The type of the elements of . + A sequence of values. + A projection function to apply to each element. + The cancellation token. + + The average of the projected values. + + + + + Computes the average of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + The type of the elements of . + A sequence of values. + A projection function to apply to each element. + The cancellation token. + + The average of the projected values. + + + + + Computes the average of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + The type of the elements of . + A sequence of values. + A projection function to apply to each element. + The cancellation token. + + The average of the projected values. + + + + + Returns the number of elements in a sequence. + + The type of the elements of . + The that contains the elements to be counted. + The cancellation token. + + The number of elements in the input sequence. + + + + + Returns the number of elements in the specified sequence that satisfies a condition. + + The type of the elements of . + An that contains the elements to be counted. + A function to test each element for a condition. + The cancellation token. + + The number of elements in the sequence that satisfies the condition in the predicate function. + + + + + Returns distinct elements from a sequence by using the default equality comparer to compare values. + + The type of the elements of . + The to remove duplicates from. + + An that contains distinct elements from . + + + + + Returns the first element of a sequence. + + The type of the elements of . + The to return the first element of. + The cancellation token. + + The first element in . + + + + + Returns the first element of a sequence that satisfies a specified condition. + + The type of the elements of . + An to return an element from. + A function to test each element for a condition. + The cancellation token. + + The first element in that passes the test in . + + + + + Returns the first element of a sequence, or a default value if the sequence contains no elements. + + The type of the elements of . + The to return the first element of. + The cancellation token. + + default() if is empty; otherwise, the first element in . + + + + + Returns the first element of a sequence that satisfies a specified condition or a default value if no such element is found. + + The type of the elements of . + An to return an element from. + A function to test each element for a condition. + The cancellation token. + + default() if is empty or if no element passes the test specified by ; otherwise, the first element in that passes the test specified by . + + + + + Groups the elements of a sequence according to a specified key selector function. + + The type of the elements of . + The type of the key returned by the function represented in keySelector. + An whose elements to group. + A function to extract the key for each element. + + An that has a type argument of + and where each object contains a sequence of objects + and a key. + + + + + 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 type of the elements of . + The type of the key returned by the function represented in keySelector. + The type of the result value returned by resultSelector. + An whose elements to group. + A function to extract the key for each element. + A function to create a result value from each group. + + An that has a type argument of TResult and where + each element represents a projection over a group and its key. + + + + + Correlates the elements of two sequences based on key equality and groups the results. + + The type of the elements of the first sequence. + The type of the elements of the second sequence. + The type of the keys returned by the key selector functions. + The type of the result elements. + The first sequence to join. + The sequence to join to the first sequence. + A function to extract the join key from each element of the first sequence. + A function to extract the join key from each element of the second sequence. + A function to create a result element from an element from the first sequence and a collection of matching elements from the second sequence. + + An that contains elements of type obtained by performing a grouped join on two sequences. + + + + + Correlates the elements of two sequences based on key equality and groups the results. + + The type of the elements of the first sequence. + The type of the elements of the second sequence. + The type of the keys returned by the key selector functions. + The type of the result elements. + The first sequence to join. + The collection to join to the first sequence. + A function to extract the join key from each element of the first sequence. + A function to extract the join key from each element of the second sequence. + A function to create a result element from an element from the first sequence and a collection of matching elements from the second sequence. + + An that contains elements of type obtained by performing a grouped join on two sequences. + + + + + Correlates the elements of two sequences based on matching keys. + + The type of the elements of the first sequence. + The type of the elements of the second sequence. + The type of the keys returned by the key selector functions. + The type of the result elements. + The first sequence to join. + The sequence to join to the first sequence. + A function to extract the join key from each element of the first sequence. + A function to extract the join key from each element of the second sequence. + A function to create a result element from two matching elements. + + An that has elements of type obtained by performing an inner join on two sequences. + + + + + Correlates the elements of two sequences based on matching keys. + + The type of the elements of the first sequence. + The type of the elements of the second sequence. + The type of the keys returned by the key selector functions. + The type of the result elements. + The first sequence to join. + The sequence to join to the first sequence. + A function to extract the join key from each element of the first sequence. + A function to extract the join key from each element of the second sequence. + A function to create a result element from two matching elements. + + An that has elements of type obtained by performing an inner join on two sequences. + + + + + Returns the number of elements in a sequence. + + The type of the elements of . + The that contains the elements to be counted. + The cancellation token. + + The number of elements in the input sequence. + + + + + Returns the number of elements in the specified sequence that satisfies a condition. + + The type of the elements of . + An that contains the elements to be counted. + A function to test each element for a condition. + The cancellation token. + + The number of elements in the sequence that satisfies the condition in the predicate function. + + + + + Returns the maximum value in a generic . + + The type of the elements of . + A sequence of values to determine the maximum of. + The cancellation token. + + The maximum value in the sequence. + + + + + Invokes a projection function on each element of a generic and returns the maximum resulting value. + + The type of the elements of . + The type of the value returned by the function represented by . + A sequence of values to determine the maximum of. + A projection function to apply to each element. + The cancellation token. + + The maximum value in the sequence. + + + + + Returns the minimum value in a generic . + + The type of the elements of . + A sequence of values to determine the minimum of. + The cancellation token. + + The minimum value in the sequence. + + + + + Invokes a projection function on each element of a generic and returns the minimum resulting value. + + The type of the elements of . + The type of the value returned by the function represented by . + A sequence of values to determine the minimum of. + A projection function to apply to each element. + The cancellation token. + + The minimum value in the sequence. + + + + + Filters the elements of an based on a specified type. + + The type to filter the elements of the sequence on. + An whose elements to filter. + + A collection that contains the elements from that have type . + + + + + Sorts the elements of a sequence in ascending order according to a key. + + The type of the elements of . + The type of the key returned by the function that is represented by keySelector. + A sequence of values to order. + A function to extract a key from an element. + + An whose elements are sorted according to a key. + + + + + Sorts the elements of a sequence in descending order according to a key. + + The type of the elements of . + The type of the key returned by the function that is represented by keySelector. + A sequence of values to order. + A function to extract a key from an element. + + An whose elements are sorted in descending order according to a key. + + + + + Returns a sample of the elements in the . + + The type of the elements of . + An to return a sample of. + The number of elements in the sample. + + A sample of the elements in the . + + + + + Projects each element of a sequence into a new form by incorporating the + element's index. + + The type of the elements of . + The type of the value returned by the function represented by selector. + A sequence of values to project. + A projection function to apply to each element. + + An whose elements are the result of invoking a + projection function on each element of source. + + + + + Projects each element of a sequence to an and combines the resulting sequences into one sequence. + + The type of the elements of . + The type of the elements of the sequence returned by the function represented by . + A sequence of values to project. + A projection function to apply to each element. + + An whose elements are the result of invoking a one-to-many projection function on each element of the input sequence. + + + + + Projects each element of a sequence to an and + invokes a result selector function on each element therein. The resulting values from + each intermediate sequence are combined into a single, one-dimensional sequence and returned. + + The type of the elements of . + The type of the intermediate elements collected by the function represented by . + The type of the elements of the resulting sequence. + A sequence of values to project. + A projection function to apply to each element of the input sequence. + A projection function to apply to each element of each intermediate sequence. + + An whose elements are the result of invoking the one-to-many projection function on each element of and then mapping each of those sequence elements and their corresponding element to a result element. + + + + + Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence. + + The type of the elements of . + An to return the single element of. + The cancellation token. + + The single element of the input sequence. + + + + + Returns the only element of a sequence that satisfies a specified condition, and throws an exception if more than one such element exists. + + The type of the elements of . + An to return a single element from. + A function to test an element for a condition. + The cancellation token. + + The single element of the input sequence that satisfies the condition in . + + + + + 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. + + The type of the elements of . + An to return the single element of. + The cancellation token. + + The single element of the input sequence, or default() if the sequence contains no elements. + + + + + Returns the only element of a sequence that satisfies a specified condition or a default value if no such element exists; this method throws an exception if more than one element satisfies the condition. + + The type of the elements of . + An to return a single element from. + A function to test an element for a condition. + The cancellation token. + + The single element of the input sequence that satisfies the condition in , or default() if no such element is found. + + + + + Bypasses a specified number of elements in a sequence and then returns the + remaining elements. + + The type of the elements of source + An to return elements from. + The number of elements to skip before returning the remaining elements. + + An that contains elements that occur after the + specified index in the input sequence. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values. + + A sequence of values to calculate the population standard deviation of. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements of . + A sequence of values to calculate the population standard deviation of. + A transform function to apply to each element. + The cancellation token. + + The population standard deviation of the sequence of values. + + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The cancellation token. + The sum of the values in the sequence. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The cancellation token. + The sum of the values in the sequence. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The cancellation token. + The sum of the values in the sequence. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The cancellation token. + The sum of the values in the sequence. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The cancellation token. + The sum of the values in the sequence. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The cancellation token. + The sum of the values in the sequence. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The cancellation token. + The sum of the values in the sequence. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The cancellation token. + The sum of the values in the sequence. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The cancellation token. + The sum of the values in the sequence. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The cancellation token. + The sum of the values in the sequence. + + + + Computes the sum of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + The type of the elements of . + A sequence of values. + A projection function to apply to each element. + The cancellation token. + + The sum of the projected values. + + + + + Computes the sum of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + The type of the elements of . + A sequence of values. + A projection function to apply to each element. + The cancellation token. + + The sum of the projected values. + + + + + Computes the sum of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + The type of the elements of . + A sequence of values. + A projection function to apply to each element. + The cancellation token. + + The sum of the projected values. + + + + + Computes the sum of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + The type of the elements of . + A sequence of values. + A projection function to apply to each element. + The cancellation token. + + The sum of the projected values. + + + + + Computes the sum of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + The type of the elements of . + A sequence of values. + A projection function to apply to each element. + The cancellation token. + + The sum of the projected values. + + + + + Computes the sum of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + The type of the elements of . + A sequence of values. + A projection function to apply to each element. + The cancellation token. + + The sum of the projected values. + + + + + Computes the sum of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + The type of the elements of . + A sequence of values. + A projection function to apply to each element. + The cancellation token. + + The sum of the projected values. + + + + + Computes the sum of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + The type of the elements of . + A sequence of values. + A projection function to apply to each element. + The cancellation token. + + The sum of the projected values. + + + + + Computes the sum of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + The type of the elements of . + A sequence of values. + A projection function to apply to each element. + The cancellation token. + + The sum of the projected values. + + + + + Computes the sum of the sequence of values that is obtained + by invoking a projection function on each element of the input sequence. + + The type of the elements of . + A sequence of values. + A projection function to apply to each element. + The cancellation token. + + The sum of the projected values. + + + + + Returns a specified number of contiguous elements from the start of a sequence. + + The type of the elements of . + The sequence to return elements from. + The number of elements to return. + + An that contains the specified number of elements + from the start of source. + + + + + Performs a subsequent ordering of the elements in a sequence in ascending + order according to a key. + + The type of the elements of . + The type of the key returned by the function that is represented by keySelector. + A sequence of values to order. + A function to extract a key from an element. + + An whose elements are sorted according to a key. + + + + + Performs a subsequent ordering of the elements in a sequence in descending + order according to a key. + + The type of the elements of . + The type of the key returned by the function that is represented by keySelector. + A sequence of values to order. + A function to extract a key from an element. + + An whose elements are sorted in descending order according to a key. + + + + + Filters a sequence of values based on a predicate. + + The type of the elements of . + An to return elements from. + A function to test each element for a condition. + + An that contains elements from the input sequence + that satisfy the condition specified by predicate. + + + + + An execution model. + + + + + Gets the type of the output. + + + + + Compare two expressions to determine if they are equivalent. + + + + + MongoDB only supports constants on the RHS for certain expressions, so we'll move them around + to make it easier to generate MongoDB syntax. + + + + + VB creates coalescing operations when dealing with nullable value comparisons, so we try and make this look like C# + + + + + VB uses a method for string comparisons, so we'll convert this into a BinaryExpression. + + + + + VB creates an IsNothing comparison using a method call. We'll translate this to a simple + null comparison. + + + + + VB introduces a Convert on the LHS with a Nothing comparison, so we make it look like + C# which does not have one with a comparison to null. + + + + + VB creates string index expressions using character comparison whereas C# uses ascii value comparison + we make VB's string index comparison look like C#. + + + + + This guy is going to replace calls like store.GetValue("d.y") with nestedStore.GetValue("y"). + + + + diff --git a/packages/MongoDB.Driver.Core.2.4.3/License.rtf b/packages/MongoDB.Driver.Core.2.4.3/License.rtf new file mode 100644 index 0000000..5f1d046 Binary files /dev/null and b/packages/MongoDB.Driver.Core.2.4.3/License.rtf differ diff --git a/packages/MongoDB.Driver.Core.2.4.3/MongoDB.Driver.Core.2.4.3.nupkg b/packages/MongoDB.Driver.Core.2.4.3/MongoDB.Driver.Core.2.4.3.nupkg new file mode 100644 index 0000000..d6bed7b Binary files /dev/null and b/packages/MongoDB.Driver.Core.2.4.3/MongoDB.Driver.Core.2.4.3.nupkg differ diff --git a/packages/MongoDB.Driver.Core.2.4.3/lib/net45/MongoDB.Driver.Core.XML b/packages/MongoDB.Driver.Core.2.4.3/lib/net45/MongoDB.Driver.Core.XML new file mode 100644 index 0000000..870a648 --- /dev/null +++ b/packages/MongoDB.Driver.Core.2.4.3/lib/net45/MongoDB.Driver.Core.XML @@ -0,0 +1,13336 @@ + + + + MongoDB.Driver.Core + + + + + Represents a cursor that wraps another cursor with a transformation function on the documents. + + The type of from document. + The type of to document. + + + + Initializes a new instance of the class. + + The wrapped. + The transformer. + + + + Gets the current batch of documents. + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + Moves to the next batch of documents. + + The cancellation token. + Whether any more documents are available. + + + + Moves to the next batch of documents. + + The cancellation token. + A Task whose result indicates whether any more documents are available. + + + + Represents a MongoDB collation. + + + + + Initializes a new instance of the class. + + The locale. + The case level. + The case that is ordered first. + The strength. + Whether numbers are ordered numerically. + The alternate. + The maximum variable. + The normalization. + Whether secondary differences are to be considered in reverse order. + + + + Gets whether spaces and punctuation are considered base characters. + + + + + Gets whether secondary differencs are to be considered in reverse order. + + + + + Gets whether upper case or lower case is ordered first. + + + + + Gets whether the collation is case sensitive at strength 1 and 2. + + + + + Indicates whether the current object is equal to another object of the same type. + + An object to compare with this object. + + true if the current object is equal to the parameter; otherwise, false. + + + + Determines whether the specified object is equal to the current object. + The object to compare with the current object. + true if the specified object is equal to the current object; otherwise, false. + + + + Creates a Collation instance from a BsonDocument. + + The document. + A Collation instance. + + + Serves as the default hash function. + A hash code for the current object. + + + + Gets the locale. + + + + + Gets which characters are affected by the alternate: "Shifted". + + + + + Gets the normalization. + + + + + Gets whether numbers are ordered numerically. + + + + + Gets the simple binary compare collation. + + + + + Gets the strength. + + + + + Converts this object to a BsonDocument. + + A BsonDocument. + + + Returns a string that represents the current object. + A string that represents the current object. + + + + Creates a new Collation instance with some properties changed. + + The new locale. + The new case level. + The new case first. + The new strength. + The new numeric ordering. + The new alternate. + The new maximum variable. + The new normalization. + The new backwards. + A new Collation instance. + + + + Controls whether spaces and punctuation are considered base characters. + + + + + Spaces and punctuation are considered base characters (the default). + + + + + Spaces and characters are not considered base characters, and are only distinguised at strength > 3. + + + + + Uppercase or lowercase first. + + + + + Off (the default). + + + + + Uppercase first. + + + + + Lowercase first. + + + + + Controls which characters are affected by alternate: "Shifted". + + + + + Punctuation and spaces are affected (the default). + + + + + Only spaces. + + + + + Prioritizes the comparison properties. + + + + + Primary. + + + + + Secondary. + + + + + Tertiary (the default). + + + + + Quaternary. + + + + + Identical. + + + + + Represents a collection namespace. + + + + + Initializes a new instance of the class. + + The database namespace. + The name of the collection. + + + + Initializes a new instance of the class. + + The name of the database. + The name of the collection. + + + + Gets the name of the collection. + + + + + Gets the database namespace. + + + + Indicates whether the current object is equal to another object of the same type. + An object to compare with this object. + true if the current object is equal to the parameter; otherwise, false. + + + Determines whether the specified object is equal to the current object. + The object to compare with the current object. + true if the specified object is equal to the current object; otherwise, false. + + + + Creates a new instance of the class from a collection full name. + + The collection full name. + A CollectionNamespace. + + + + Gets the collection full name. + + + + Serves as the default hash function. + A hash code for the current object. + + + + Determines whether the specified collection name is valid. + + The name of the collection. + Whether the specified collection name is valid. + + + Returns a string that represents the current object. + A string that represents the current object. + + + + Represents a database namespace. + + + + + Initializes a new instance of the class. + + The name of the database. + + + + Gets the admin database namespace. + + + + + Gets the name of the database. + + + + Indicates whether the current object is equal to another object of the same type. + An object to compare with this object. + true if the current object is equal to the parameter; otherwise, false. + + + Determines whether the specified object is equal to the current object. + The object to compare with the current object. + true if the specified object is equal to the current object; otherwise, false. + + + Serves as the default hash function. + A hash code for the current object. + + + + Determines whether the specified database name is valid. + + The database name. + True if the database name is valid. + + + Returns a string that represents the current object. + A string that represents the current object. + + + + Represents a cursor for an operation that is not actually executed until MoveNextAsync is called for the first time. + + The type of the document. + + + + Initializes a new instance of the class. + + The delegate to execute the first time MoveNext is called. + The delegate to execute the first time MoveNextAsync is called. + + + + Gets the current batch of documents. + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + Moves to the next batch of documents. + + The cancellation token. + Whether any more documents are available. + + + + Moves to the next batch of documents. + + The cancellation token. + A Task whose result indicates whether any more documents are available. + + + + Represents the document validation action. + + + + + Validation failures result in an error. + + + + + Validation failures result in a warning. + + + + + Represents the document validation level. + + + + + Strict document validation. + + + + + Moderate document validation. + + + + + No document validation. + + + + + Represents an asynchronous cursor. + + The type of the document. + + + + Gets the current batch of documents. + + + + + Moves to the next batch of documents. + + The cancellation token. + Whether any more documents are available. + + + + Moves to the next batch of documents. + + The cancellation token. + A Task whose result indicates whether any more documents are available. + + + + Represents extension methods for IAsyncCursor. + + + + + Determines whether the cursor contains any documents. + + The cursor. + The cancellation token. + The type of the document. + True if the cursor contains any documents. + + + + Determines whether the cursor contains any documents. + + The cursor. + The cancellation token. + The type of the document. + A Task whose result is true if the cursor contains any documents. + + + + Returns the first document of a cursor. + + The cursor. + The cancellation token. + The type of the document. + The first document. + + + + Returns the first document of a cursor. + + The cursor. + The cancellation token. + The type of the document. + A Task whose result is the first document. + + + + Returns the first document of a cursor, or a default value if the cursor contains no documents. + + The cursor. + The cancellation token. + The type of the document. + The first document of the cursor, or a default value if the cursor contains no documents. + + + + Returns the first document of the cursor, or a default value if the cursor contains no documents. + + The cursor. + The cancellation token. + The type of the document. + A task whose result is the first document of the cursor, or a default value if the cursor contains no documents. + + + + Calls a delegate for each document returned by the cursor. + + The source. + The processor. + The cancellation token. + The type of the document. + A Task that completes when all the documents have been processed. + + + + Calls a delegate for each document returned by the cursor. + + The source. + The processor. + The cancellation token. + The type of the document. + A Task that completes when all the documents have been processed. + + + + Calls a delegate for each document returned by the cursor. + + The source. + The processor. + The cancellation token. + The type of the document. + A Task that completes when all the documents have been processed. + + + + Calls a delegate for each document returned by the cursor. + + The source. + The processor. + The cancellation token. + The type of the document. + A Task that completes when all the documents have been processed. + + + + Returns the only document of a cursor. This method throws an exception if the cursor does not contain exactly one document. + + The cursor. + The cancellation token. + The type of the document. + The only document of a cursor. + + + + Returns the only document of a cursor. This method throws an exception if the cursor does not contain exactly one document. + + The cursor. + The cancellation token. + The type of the document. + A Task whose result is the only document of a cursor. + + + + Returns the only document of a cursor, or a default value if the cursor contains no documents. + This method throws an exception if the cursor contains more than one document. + + The cursor. + The cancellation token. + The type of the document. + The only document of a cursor, or a default value if the cursor contains no documents. + + + + Returns the only document of a cursor, or a default value if the cursor contains no documents. + This method throws an exception if the cursor contains more than one document. + + The cursor. + The cancellation token. + The type of the document. + A Task whose result is the only document of a cursor, or a default value if the cursor contains no documents. + + + + Wraps a cursor in an IEnumerable that can be enumerated one time. + + The cursor. + The cancellation token. + The type of the document. + An IEnumerable + + + + Returns a list containing all the documents returned by a cursor. + + The source. + The cancellation token. + The type of the document. + The list of documents. + + + + Returns a list containing all the documents returned by a cursor. + + The source. + The cancellation token. + The type of the document. + A Task whose value is the list of documents. + + + + Represents an operation that will return a cursor when executed. + + The type of the document. + + + + Executes the operation and returns a cursor to the results. + + The cancellation token. + A cursor. + + + + Executes the operation and returns a cursor to the results. + + The cancellation token. + A Task whose result is a cursor. + + + + Represents extension methods for IAsyncCursorSource. + + + + + Determines whether the cursor returned by a cursor source contains any documents. + + The source. + The cancellation token. + The type of the document. + True if the cursor contains any documents. + + + + Determines whether the cursor returned by a cursor source contains any documents. + + The source. + The cancellation token. + The type of the document. + A Task whose result is true if the cursor contains any documents. + + + + Returns the first document of a cursor returned by a cursor source. + + The source. + The cancellation token. + The type of the document. + The first document. + + + + Returns the first document of a cursor returned by a cursor source. + + The source. + The cancellation token. + The type of the document. + A Task whose result is the first document. + + + + Returns the first document of a cursor returned by a cursor source, or a default value if the cursor contains no documents. + + The source. + The cancellation token. + The type of the document. + The first document of the cursor, or a default value if the cursor contains no documents. + + + + Returns the first document of a cursor returned by a cursor source, or a default value if the cursor contains no documents. + + The source. + The cancellation token. + The type of the document. + A Task whose result is the first document of the cursor, or a default value if the cursor contains no documents. + + + + Calls a delegate for each document returned by the cursor. + + The source. + The processor. + The cancellation token. + The type of the document. + A Task that completes when all the documents have been processed. + + + + Calls a delegate for each document returned by the cursor. + + The source. + The processor. + The cancellation token. + The type of the document. + A Task that completes when all the documents have been processed. + + + + Calls a delegate for each document returned by the cursor. + + The source. + The processor. + The cancellation token. + The type of the document. + A Task that completes when all the documents have been processed. + + + + Calls a delegate for each document returned by the cursor. + + The source. + The processor. + The cancellation token. + The type of the document. + A Task that completes when all the documents have been processed. + + + + Returns the only document of a cursor returned by a cursor source. This method throws an exception if the cursor does not contain exactly one document. + + The source. + The cancellation token. + The type of the document. + The only document of a cursor. + + + + Returns the only document of a cursor returned by a cursor source. This method throws an exception if the cursor does not contain exactly one document. + + The source. + The cancellation token. + The type of the document. + A Task whose result is the only document of a cursor. + + + + Returns the only document of a cursor returned by a cursor source, or a default value if the cursor contains no documents. + This method throws an exception if the cursor contains more than one document. + + The source. + The cancellation token. + The type of the document. + The only document of a cursor, or a default value if the cursor contains no documents. + + + + Returns the only document of a cursor returned by a cursor source, or a default value if the cursor contains no documents. + This method throws an exception if the cursor contains more than one document. + + The source. + The cancellation token. + The type of the document. + A Task whose result is the only document of a cursor, or a default value if the cursor contains no documents. + + + + Wraps a cursor source in an IEnumerable. Each time GetEnumerator is called a new cursor is fetched from the cursor source. + + The source. + The cancellation token. + The type of the document. + An IEnumerable. + + + + Returns a list containing all the documents returned by the cursor returned by a cursor source. + + The source. + The cancellation token. + The type of the document. + The list of documents. + + + + Returns a list containing all the documents returned by the cursor returned by a cursor source. + + The source. + The cancellation token. + The type of the document. + A Task whose value is the list of documents. + + + + Represents a MongoDB authentication exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The error message. + + + + Initializes a new instance of the class. + + The connection identifier. + The error message. + The inner exception. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Represents a MongoDB client exception. + + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Initializes a new instance of the class. + + The error message. + + + + Initializes a new instance of the class. + + The error message. + The inner exception. + + + + Represents a MongoDB command exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The message. + The command. + + + + Initializes a new instance of the class. + + The connection identifier. + The message. + The command. + The command result. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Gets the error code. + + + + + Gets the command. + + + + + Gets the error message. + + + + When overridden in a derived class, sets the with information about the exception. + The that holds the serialized object data about the exception being thrown. + The that contains contextual information about the source or destination. + The parameter is a null reference (Nothing in Visual Basic). + The caller does not have the required permission. + + + + Gets the command result. + + + + + Represents a MongoDB configuration exception. + + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Initializes a new instance of the class. + + The error message. + + + + Initializes a new instance of the class. + + The error message. + The inner exception. + + + + Represents a MongoDB connection failed exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Represents a MongoDB connection exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The error message. + + + + Initializes a new instance of the class. + + The connection identifier. + The error message. + The inner exception. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Gets the connection identifier. + + + + When overridden in a derived class, sets the with information about the exception. + The that holds the serialized object data about the exception being thrown. + The that contains contextual information about the source or destination. + The parameter is a null reference (Nothing in Visual Basic). + The caller does not have the required permission. + + + + Represents a MongoDB cursor not found exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The cursor identifier. + The query. + + + + Initializes a new instance of the class. + + The information. + The context. + + + + Gets the cursor identifier. + + + + When overridden in a derived class, sets the with information about the exception. + The that holds the serialized object data about the exception being thrown. + The that contains contextual information about the source or destination. + The parameter is a null reference (Nothing in Visual Basic). + The caller does not have the required permission. + + + + Represents a MongoDB duplicate key exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The error message. + The command result. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Represents a MongoDB exception. + + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Initializes a new instance of the class. + + The error message. + + + + Initializes a new instance of the class. + + The error message. + The inner exception. + + + + Represents a MongoDB execution timeout exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The error message. + + + + Initializes a new instance of the class. + + The connection identifier. + The error message. + The inner exception. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Represents a MongoDB incompatible driver exception. + + + + + Initializes a new instance of the class. + + The cluster description. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Represents a MongoDB internal exception (almost surely the result of a bug). + + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Initializes a new instance of the class. + + The error message. + + + + Initializes a new instance of the class. + + The error message. + The inner exception. + + + + Represents a MongoDB node is recovering exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The result. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + When overridden in a derived class, sets the with information about the exception. + The that holds the serialized object data about the exception being thrown. + The that contains contextual information about the source or destination. + The parameter is a null reference (Nothing in Visual Basic). + The caller does not have the required permission. + + + + Gets the result from the server. + + + + + Represents a MongoDB not primary exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The result. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + When overridden in a derived class, sets the with information about the exception. + The that holds the serialized object data about the exception being thrown. + The that contains contextual information about the source or destination. + The parameter is a null reference (Nothing in Visual Basic). + The caller does not have the required permission. + + + + Gets the result from the server. + + + + + Represents a MongoDB query exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The message. + The query. + The query result. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + When overridden in a derived class, sets the with information about the exception. + The that holds the serialized object data about the exception being thrown. + The that contains contextual information about the source or destination. + The parameter is a null reference (Nothing in Visual Basic). + The caller does not have the required permission. + + + + Gets the query. + + + + + Gets the query result. + + + + + Represents a MongoDB server exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The error message. + + + + Initializes a new instance of the class. + + The connection identifier. + The error message. + The inner exception. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Gets the connection identifier. + + + + When overridden in a derived class, sets the with information about the exception. + The that holds the serialized object data about the exception being thrown. + The that contains contextual information about the source or destination. + The parameter is a null reference (Nothing in Visual Basic). + The caller does not have the required permission. + + + + Represents a MongoDB connection pool wait queue full exception. + + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + + Initializes a new instance of the class. + + The error message. + + + + Represents a MongoDB write concern exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The error message. + The command result. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + When overridden in a derived class, sets the with information about the exception. + The that holds the serialized object data about the exception being thrown. + The that contains contextual information about the source or destination. + The parameter is a null reference (Nothing in Visual Basic). + The caller does not have the required permission. + + + + Gets the write concern result. + + + + + Represents helper methods for use with the struct. + + + + + Creates an instance of an optional parameter with a value. + + The value. + The type of the optional parameter. + An instance of an optional parameter with a value. + + + + Creates an instance of an optional parameter with an enumerable value. + + The value. + The type of the items of the optional paramater. + An instance of an optional parameter with an enumerable value. + + + + Represents an optional parameter that might or might not have a value. + + The type of the parameter. + + + + Initializes a new instance of the struct with a value. + + The value of the parameter. + + + + Gets a value indicating whether the optional parameter has a value. + + + + + Performs an implicit conversion from to an with a value. + + The value. + + The result of the conversion. + + + + + Returns a value indicating whether this optional parameter contains a value that is not equal to an existing value. + + The value. + True if this optional parameter contains a value that is not equal to an existing value. + + + + Gets the value of the optional parameter. + + + + + Returns either the value of this optional parameter if it has a value, otherwise a default value. + + The default value. + Either the value of this optional parameter if it has a value, otherwise a default value. + + + + Represents a read concern. + + + + + Initializes a new instance of the class. + + The level. + + + + Gets a default read concern. + + + + Indicates whether the current object is equal to another object of the same type. + An object to compare with this object. + true if the current object is equal to the parameter; otherwise, false. + + + Determines whether the specified object is equal to the current object. + The object to compare with the current object. + true if the specified object is equal to the current object; otherwise, false. + + + + Creates a read concern from a document. + + The document. + A read concern. + + + Serves as the default hash function. + A hash code for the current object. + + + + Gets a value indicating whether this is the server's default read concern. + + + + + Gets the level. + + + + + Gets a linearizable read concern. + + + + + Gets a local read concern. + + + + + Gets a majority read concern. + + + + + Converts this read concern to a BsonDocument suitable to be sent to the server. + + + A BsonDocument. + + + + + Returns a that represents this instance. + + + A that represents this instance. + + + + + Returns a new instance of ReadConcern with some values changed. + + The level. + + A ReadConcern. + + + + + The leve of the read concern. + + + + + Reads data committed locally. + + + + + Reads data committed to a majority of nodes. + + + + + Avoids returning data from a "stale" primary + (one that has already been superseded by a new primary but doesn't know it yet). + It is important to note that readConcern level linearizable does not by itself + produce linearizable reads; they must be issued in conjunction with w:majority + writes to the same document(s) in order to be linearizable. + + + + + Represents a read preference. + + + + + Initializes a new instance of the class. + + The read preference mode. + The tag sets. + The maximum staleness. + + + Indicates whether the current object is equal to another object of the same type. + An object to compare with this object. + true if the current object is equal to the parameter; otherwise, false. + + + Determines whether the specified object is equal to the current object. + The object to compare with the current object. + true if the specified object is equal to the current object; otherwise, false. + + + Serves as the default hash function. + A hash code for the current object. + + + + Gets the maximum staleness. + + + + + Gets an instance of ReadPreference that represents a Nearest read preference. + + + + + Gets an instance of ReadPreference that represents a Primary read preference. + + + + + Gets an instance of ReadPreference that represents a PrimaryPreferred read preference. + + + + + Gets the read preference mode. + + + + + Gets an instance of ReadPreference that represents a Secondary read preference. + + + + + Gets an instance of ReadPreference that represents a SecondaryPreferred read preference. + + + + + Gets the tag sets. + + + + Returns a string that represents the current object. + A string that represents the current object. + + + + Returns a new instance of ReadPreference with some values changed. + + The read preference mode. + A new instance of ReadPreference. + + + + Returns a new instance of ReadPreference with some values changed. + + The tag sets. + A new instance of ReadPreference. + + + + Returns a new instance of ReadPreference with some values changed. + + The maximum staleness. + A new instance of ReadPreference. + + + + Represents the read preference mode. + + + + + Reads should be from the primary. + + + + + Reads should be from the primary if possible, otherwise from a secondary. + + + + + Reads should be from a secondary. + + + + + Reads should be from a secondary if possible, otherwise from the primary. + + + + + Reads should be from any server that is within the latency threshold window. + + + + + Represents the category for an error from the server. + + + + + An error without a category. + + + + + A duplicate key error. + + + + + An execution timeout error. + + + + + Represents a replica set member tag. + + + + + Initializes a new instance of the class. + + The name. + The value. + + + Indicates whether the current object is equal to another object of the same type. + An object to compare with this object. + true if the current object is equal to the parameter; otherwise, false. + + + Determines whether the specified object is equal to the current object. + The object to compare with the current object. + true if the specified object is equal to the current object; otherwise, false. + + + Serves as the default hash function. + A hash code for the current object. + + + + Gets the name. + + + + Returns a string that represents the current object. + A string that represents the current object. + + + + Gets the value. + + + + + Represents a replica set member tag set. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The tags. + + + + Determines whether the tag set contains all of the required tags. + + The required tags. + True if the tag set contains all of the required tags. + + + Indicates whether the current object is equal to another object of the same type. + An object to compare with this object. + true if the current object is equal to the parameter; otherwise, false. + + + Determines whether the specified object is equal to the current object. + The object to compare with the current object. + true if the specified object is equal to the current object; otherwise, false. + + + Serves as the default hash function. + A hash code for the current object. + + + + Gets a value indicating whether the tag set is empty. + + + + + Gets the tags. + + + + Returns a string that represents the current object. + A string that represents the current object. + + + + Represents a write concern. + + + + + Initializes a new instance of the class. + + The w value. + The wtimeout value. + The fsync value . + The journal value. + + + + Initializes a new instance of the class. + + The w value. + The wtimeout value. + The fsync value . + The journal value. + + + + Initializes a new instance of the class. + + The mode. + The wtimeout value. + The fsync value . + The journal value. + + + + Gets an instance of WriteConcern that represents an acknowledged write concern. + + + + Indicates whether the current object is equal to another object of the same type. + An object to compare with this object. + true if the current object is equal to the parameter; otherwise, false. + + + Determines whether the specified object is equal to the current object. + The object to compare with the current object. + true if the specified object is equal to the current object; otherwise, false. + + + + Creates a write concern from a document. + + The document. + A write concern. + + + + Gets the fsync value. + + + + Serves as the default hash function. + A hash code for the current object. + + + + Gets a value indicating whether this instance is an acknowledged write concern. + + + + + Gets a value indicating whether this write concern will use the default on the server. + + + + + Gets the journal value. + + + + + Converts this write concern to a BsonDocument suitable to be sent to the server. + + + A BsonDocument. + + + + Returns a string that represents the current object. + A string that represents the current object. + + + + Gets an instance of WriteConcern that represents an unacknowledged write concern. + + + + + Gets the w value. + + + + + Gets an instance of WriteConcern that represents a W1 write concern. + + + + + Gets an instance of WriteConcern that represents a W2 write concern. + + + + + Gets an instance of WriteConcern that represents a W3 write concern. + + + + + Returns a new instance of WriteConcern with some values changed. + + The w value. + The wtimeout value. + The fsync value. + The journal value. + A WriteConcern. + + + + Returns a new instance of WriteConcern with some values changed. + + The w value. + The wtimeout value. + The fsync value. + The journal value. + A WriteConcern. + + + + Returns a new instance of WriteConcern with some values changed. + + The mode. + The wtimeout value. + The fsync value. + The journal value. + A WriteConcern. + + + + Gets an instance of WriteConcern that represents a majority write concern. + + + + + Gets the wtimeout value. + + + + + Represents a numeric WValue. + + + + + Initializes a new instance of the class. + + The w value. + + + Indicates whether the current object is equal to another object of the same type. + An object to compare with this object. + true if the current object is equal to the parameter; otherwise, false. + + + Determines whether the specified object is equal to the current object. + The object to compare with the current object. + true if the specified object is equal to the current object; otherwise, false. + + + Serves as the default hash function. + A hash code for the current object. + + + + Converts this WValue to a BsonValue suitable to be included in a BsonDocument representing a write concern. + + A BsonValue. + + + Returns a string that represents the current object. + A string that represents the current object. + + + + Gets the value. + + + + + Represents a mode string WValue. + + + + + Initializes a new instance of the class. + + The mode. + + + Indicates whether the current object is equal to another object of the same type. + An object to compare with this object. + true if the current object is equal to the parameter; otherwise, false. + + + Determines whether the specified object is equal to the current object. + The object to compare with the current object. + true if the specified object is equal to the current object; otherwise, false. + + + Serves as the default hash function. + A hash code for the current object. + + + + Gets an instance of WValue that represents the majority mode. + + + + + Converts this WValue to a BsonValue suitable to be included in a BsonDocument representing a write concern. + + A BsonValue. + + + Returns a string that represents the current object. + A string that represents the current object. + + + + Gets the value. + + + + + Represents the base class for w values. + + + + Indicates whether the current object is equal to another object of the same type. + An object to compare with this object. + true if the current object is equal to the parameter; otherwise, false. + + + + Performs an implicit conversion from to . + + The value. + + The result of the conversion. + + + + + Performs an implicit conversion from Nullable{Int32} to . + + The value. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The value. + + The result of the conversion. + + + + + Parses the specified value. + + The value. + A WValue. + + + + Converts this WValue to a BsonValue suitable to be included in a BsonDocument representing a write concern. + + A BsonValue. + + + + Represents the results of an operation performed with an acknowledged WriteConcern. + + + + + Initializes a new instance of the class. + + The response. + + + + Gets the number of documents affected. + + + + + Gets whether the result has a LastErrorMessage. + + + + + Gets the last error message (null if none). + + + + + Gets the wrapped result. + + + + + Gets whether the last command updated an existing document. + + + + + Gets the _id of an upsert that resulted in an insert. + + + + + The default authenticator (uses SCRAM-SHA1 if possible, falls back to MONGODB-CR otherwise). + + + + + Initializes a new instance of the class. + + The credential. + + + + Authenticates the connection. + + The connection. + The connection description. + The cancellation token. + + + + Authenticates the connection. + + The connection. + The connection description. + The cancellation token. + A Task. + + + + Gets the name of the authenticator. + + + + + A GSSAPI SASL authenticator. + + + + + Initializes a new instance of the class. + + The credential. + The properties. + + + + Initializes a new instance of the class. + + The username. + The properties. + + + + Gets the name of the canonicalize host name property. + + + + + Gets the name of the database. + + + + + Gets the default service name. + + + + + Gets the name of the mechanism. + + + + + Gets the name of the realm property. + + + + + Gets the name of the service name property. + + + + + Gets the name of the service realm property. + + + + + Represents a connection authenticator. + + + + + Authenticates the connection. + + The connection. + The connection description. + The cancellation token. + + + + Authenticates the connection. + + The connection. + The connection description. + The cancellation token. + A Task. + + + + Gets the name of the authenticator. + + + + + A MONGODB-CR authenticator. + + + + + Initializes a new instance of the class. + + The credential. + + + + Authenticates the connection. + + The connection. + The connection description. + The cancellation token. + + + + Authenticates the connection. + + The connection. + The connection description. + The cancellation token. + A Task. + + + + Gets the name of the mechanism. + + + + + Gets the name of the authenticator. + + + + + A MongoDB-X509 authenticator. + + + + + Initializes a new instance of the class. + + The username. + + + + Authenticates the connection. + + The connection. + The connection description. + The cancellation token. + + + + Authenticates the connection. + + The connection. + The connection description. + The cancellation token. + A Task. + + + + Gets the name of the mechanism. + + + + + Gets the name of the authenticator. + + + + + A PLAIN SASL authenticator. + + + + + Initializes a new instance of the class. + + The credential. + + + + Gets the name of the database. + + + + + Gets the name of the mechanism. + + + + + Base class for a SASL authenticator. + + + + + Initializes a new instance of the class. + + The mechanism. + + + + Authenticates the connection. + + The connection. + The connection description. + The cancellation token. + + + + Authenticates the connection. + + The connection. + The connection description. + The cancellation token. + A Task. + + + + Gets the name of the database. + + + + + Gets the name of the authenticator. + + + + + Represents a completed SASL step. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The bytes to send to server. + + + + Gets the bytes to send to server. + + + + + Gets a value indicating whether this instance is complete. + + + + + Transitions the SASL conversation to the next step. + + The SASL conversation. + The bytes received from server. + The next SASL step. + + + + Represents a SASL mechanism. + + + + + Initializes the mechanism. + + The connection. + The connection description. + The initial SASL step. + + + + Gets the name of the mechanism. + + + + + Represents a SASL step. + + + + + Gets the bytes to send to server. + + + + + Gets a value indicating whether this instance is complete. + + + + + Transitions the SASL conversation to the next step. + + The SASL conversation. + The bytes received from server. + The next SASL step. + + + + Represents a SASL conversation. + + + + + Initializes a new instance of the class. + + The connection identifier. + + + + Gets the connection identifier. + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + Registers the item for disposal. + + The disposable item. + + + + A SCRAM-SHA1 SASL authenticator. + + + + + Initializes a new instance of the class. + + The credential. + + + + Gets the name of the database. + + + + + Gets the name of the mechanism. + + + + + Represents a username/password credential. + + + + + Initializes a new instance of the class. + + The source. + The username. + The password. + + + + Initializes a new instance of the class. + + The source. + The username. + The password. + + + + Gets the password (converts the password from a SecureString to a regular string). + + The password. + + + + Gets the password. + + + + + Gets the source. + + + + + Gets the username. + + + + + Represents a read binding that is bound to a channel. + + + + + Initializes a new instance of the class. + + The server. + The channel. + The read preference. + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + Gets a channel source for read operations. + + The cancellation token. + A channel source. + + + + Gets a channel source for read operations. + + The cancellation token. + A channel source. + + + + Gets the read preference. + + + + + Represents a read-write binding that is bound to a channel. + + + + + Initializes a new instance of the class. + + The server. + The channel. + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + Gets a channel source for read operations. + + The cancellation token. + A channel source. + + + + Gets a channel source for read operations. + + The cancellation token. + A channel source. + + + + Gets a channel source for write operations. + + The cancellation token. + A channel source. + + + + Gets a channel source for write operations. + + The cancellation token. + A channel source. + + + + Gets the read preference. + + + + + Represents a handle to a channel source. + + + + + Initializes a new instance of the class. + + The channel source. + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + Returns a new handle to the underlying channel source. + + A handle to a channel source. + + + + Gets a channel. + + The cancellation token. + A channel. + + + + Gets a channel. + + The cancellation token. + A Task whose result is a channel. + + + + Gets the server. + + + + + Gets the server description. + + + + + Represents a read-write binding to a channel source. + + + + + Initializes a new instance of the class. + + The channel source. + The read preference. + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + Gets a channel source for read operations. + + The cancellation token. + A channel source. + + + + Gets a channel source for read operations. + + The cancellation token. + A channel source. + + + + Gets a channel source for write operations. + + The cancellation token. + A channel source. + + + + Gets a channel source for write operations. + + The cancellation token. + A channel source. + + + + Gets the read preference. + + + + + Represents a channel (similar to a connection but operates at the level of protocols rather than messages). + + + + + Executes a Command protocol. + + The database namespace. + The command. + The command validator. + The response handling. + if set to true sets the SlaveOk bit to true in the command message sent to the server. + The result serializer. + The message encoder settings. + The cancellation token. + The type of the result. + The result of the Command protocol. + + + + Executes a Command protocol. + + The database namespace. + The command. + The command validator. + The response handling. + if set to true sets the SlaveOk bit to true in the command message sent to the server. + The result serializer. + The message encoder settings. + The cancellation token. + The type of the result. + A Task whose result is the result of the Command protocol. + + + + Gets the connection description. + + + + + Executes a Delete protocol. + + The collection namespace. + The query. + if set to true all matching documents are deleted. + The message encoder settings. + The write concern. + The cancellation token. + The result of the Delete protocol. + + + + Executes a Delete protocol. + + The collection namespace. + The query. + if set to true all matching documents are deleted. + The message encoder settings. + The write concern. + The cancellation token. + A Task whose result is the result of the Delete protocol. + + + + Executes a GetMore protocol. + + The collection namespace. + The query. + The cursor identifier. + Size of the batch. + The serializer. + The message encoder settings. + The cancellation token. + The type of the document. + The result of the GetMore protocol. + + + + Executes a GetMore protocol. + + The collection namespace. + The query. + The cursor identifier. + Size of the batch. + The serializer. + The message encoder settings. + The cancellation token. + The type of the document. + A Task whose result is the result of the GetMore protocol. + + + + Executes an Insert protocol. + + The collection namespace. + The write concern. + The serializer. + The message encoder settings. + The document source. + The maximum batch count. + Maximum size of the message. + if set to true the server will continue with subsequent Inserts even if errors occur. + A delegate that determines whether to piggy-back a GetLastError messsage with the Insert message. + The cancellation token. + The type of the document. + The result of the Insert protocol. + + + + Executes an Insert protocol. + + The collection namespace. + The write concern. + The serializer. + The message encoder settings. + The document source. + The maximum batch count. + Maximum size of the message. + if set to true the server will continue with subsequent Inserts even if errors occur. + A delegate that determines whether to piggy-back a GetLastError messsage with the Insert message. + The cancellation token. + The type of the document. + A Task whose result is the result of the Insert protocol. + + + + Executes a KillCursors protocol. + + The cursor ids. + The message encoder settings. + The cancellation token. + + + + Executes a KillCursors protocol. + + The cursor ids. + The message encoder settings. + The cancellation token. + A Task that represents the KillCursors protocol. + + + + Executes a Query protocol. + + The collection namespace. + The query. + The fields. + The query validator. + The number of documents to skip. + The size of a batch. + if set to true sets the SlaveOk bit to true in the query message sent to the server. + if set to true the server is allowed to return partial results if any shards are unavailable. + if set to true the server will not timeout the cursor. + if set to true the OplogReplay bit will be set. + if set to true the query should return a tailable cursor. + if set to true the server should await awhile before returning an empty batch for a tailable cursor. + The serializer. + The message encoder settings. + The cancellation token. + The type of the document. + The result of the Insert protocol. + + + + Executes a Query protocol. + + The collection namespace. + The query. + The fields. + The query validator. + The number of documents to skip. + The size of a batch. + if set to true sets the SlaveOk bit to true in the query message sent to the server. + if set to true the server is allowed to return partial results if any shards are unavailable. + if set to true the server will not timeout the cursor. + if set to true the OplogReplay bit will be set. + if set to true the query should return a tailable cursor. + if set to true the server should await awhile before returning an empty batch for a tailable cursor. + The serializer. + The message encoder settings. + The cancellation token. + The type of the document. + A Task whose result is the result of the Insert protocol. + + + + Executes an Update protocol. + + The collection namespace. + The message encoder settings. + The write concern. + The query. + The update. + The update validator. + if set to true the Update can affect multiple documents. + if set to true the document will be inserted if it is not found. + The cancellation token. + The result of the Update protocol. + + + + Executes an Update protocol. + + The collection namespace. + The message encoder settings. + The write concern. + The query. + The update. + The update validator. + if set to true the Update can affect multiple documents. + if set to true the document will be inserted if it is not found. + The cancellation token. + A Task whose result is the result of the Update protocol. + + + + Represents a handle to a channel. + + + + + Returns a new handle to the underlying channel. + + A channel handle. + + + + Represents a channel source. + + + + + Gets a channel. + + The cancellation token. + A channel. + + + + Gets a channel. + + The cancellation token. + A Task whose result is a channel. + + + + Gets the server. + + + + + Gets the server description. + + + + + Represents a handle to a channel source. + + + + + Returns a new handle to the underlying channel source. + + A handle to a channel source. + + + + Represents a binding that determines which channel source gets used for read operations. + + + + + Gets a channel source for read operations. + + The cancellation token. + A channel source. + + + + Gets a channel source for read operations. + + The cancellation token. + A channel source. + + + + Gets the read preference. + + + + + Represents a handle to a read binding. + + + + + Returns a new handle to the underlying read binding. + + A read binding handle. + + + + Represents a binding that can be used for both read and write operations. + + + + + Represents a handle to a read-write binding. + + + + + Returns a new handle to the underlying read-write binding. + + A read-write binding handle. + + + + Represents a binding that determines which channel source gets used for write operations. + + + + + Gets a channel source for write operations. + + The cancellation token. + A channel source. + + + + Gets a channel source for write operations. + + The cancellation token. + A channel source. + + + + Represents a handle to a write binding. + + + + + Returns a new handle to the underlying write binding. + + A write binding handle. + + + + Represents a handle to a read binding. + + + + + Initializes a new instance of the class. + + The read binding. + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + Returns a new handle to the underlying read binding. + + A read binding handle. + + + + Gets a channel source for read operations. + + The cancellation token. + A channel source. + + + + Gets a channel source for read operations. + + The cancellation token. + A channel source. + + + + Gets the read preference. + + + + + Represents a read binding to a cluster using a ReadPreference to select the server. + + + + + Initializes a new instance of the class. + + The cluster. + The read preference. + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + Gets a channel source for read operations. + + The cancellation token. + A channel source. + + + + Gets a channel source for read operations. + + The cancellation token. + A channel source. + + + + Gets the read preference. + + + + + Represents a handle to a read-write binding. + + + + + Initializes a new instance of the class. + + The write binding. + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + Returns a new handle to the underlying read-write binding. + + A read-write binding handle. + + + + Gets a channel source for read operations. + + The cancellation token. + A channel source. + + + + Gets a channel source for read operations. + + The cancellation token. + A channel source. + + + + Gets a channel source for write operations. + + The cancellation token. + A channel source. + + + + Gets a channel source for write operations. + + The cancellation token. + A channel source. + + + + Gets the read preference. + + + + + Represents a channel source that is bound to a server. + + + + + Initializes a new instance of the class. + + The server. + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + Gets a channel. + + The cancellation token. + A channel. + + + + Gets a channel. + + The cancellation token. + A Task whose result is a channel. + + + + Gets the server. + + + + + Gets the server description. + + + + + Represents a read binding to a single server; + + + + + Initializes a new instance of the class. + + The server. + The read preference. + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + Gets a channel source for read operations. + + The cancellation token. + A channel source. + + + + Gets a channel source for read operations. + + The cancellation token. + A channel source. + + + + Gets the read preference. + + + + + Represents a read/write binding to a single server. + + + + + Initializes a new instance of the class. + + The server. + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + Gets a channel source for read operations. + + The cancellation token. + A channel source. + + + + Gets a channel source for read operations. + + The cancellation token. + A channel source. + + + + Gets a channel source for write operations. + + The cancellation token. + A channel source. + + + + Gets a channel source for write operations. + + The cancellation token. + A channel source. + + + + Gets the read preference. + + + + + Represents a split read-write binding, where the reads use one binding and the writes use another. + + + + + Initializes a new instance of the class. + + The read binding. + The write binding. + + + + Initializes a new instance of the class. + + The cluster. + The read preference. + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + Gets a channel source for read operations. + + The cancellation token. + A channel source. + + + + Gets a channel source for read operations. + + The cancellation token. + A channel source. + + + + Gets a channel source for write operations. + + The cancellation token. + A channel source. + + + + Gets a channel source for write operations. + + The cancellation token. + A channel source. + + + + Gets the read preference. + + + + + Represents a write binding to a writable server. + + + + + Initializes a new instance of the class. + + The cluster. + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + Gets a channel source for read operations. + + The cancellation token. + A channel source. + + + + Gets a channel source for read operations. + + The cancellation token. + A channel source. + + + + Gets a channel source for write operations. + + The cancellation token. + A channel source. + + + + Gets a channel source for write operations. + + The cancellation token. + A channel source. + + + + Gets the read preference. + + + + + Represents the cluster connection mode. + + + + + Determine the cluster type automatically. + + + + + Connect directly to a single server of any type. + + + + + Connect directly to a Standalone server. + + + + + Connect to a replica set. + + + + + Connect to one or more shard routers. + + + + + Represents information about a cluster. + + + + + Initializes a new instance of the class. + + The cluster identifier. + The connection mode. + The type. + The servers. + + + + Gets the cluster identifier. + + + + + Gets the connection mode. + + + + Indicates whether the current object is equal to another object of the same type. + An object to compare with this object. + true if the current object is equal to the parameter; otherwise, false. + + + Determines whether the specified object is equal to the current object. + The object to compare with the current object. + true if the specified object is equal to the current object; otherwise, false. + + + Serves as the default hash function. + A hash code for the current object. + + + + Gets the servers. + + + + + Gets the cluster state. + + + + Returns a string that represents the current object. + A string that represents the current object. + + + + Gets the cluster type. + + + + + Returns a new ClusterDescription with a ServerDescription removed. + + The end point of the server description to remove. + A ClusterDescription. + + + + Returns a new ClusterDescription with a changed ServerDescription. + + The server description. + A ClusterDescription. + + + + Returns a new ClusterDescription with a changed ClusterType. + + The value. + A ClusterDescription. + + + + Represents the data for the event that fires when a cluster description changes. + + + + + Initializes a new instance of the class. + + The old cluster description. + The new cluster description. + + + + Gets the new cluster description. + + + + + Gets the old cluster description. + + + + + Represents a cluster identifier. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The value. + + + Indicates whether the current object is equal to another object of the same type. + An object to compare with this object. + true if the current object is equal to the parameter; otherwise, false. + + + Determines whether the specified object is equal to the current object. + The object to compare with the current object. + true if the specified object is equal to the current object; otherwise, false. + + + Serves as the default hash function. + A hash code for the current object. + + + Returns a string that represents the current object. + A string that represents the current object. + + + + Gets the value. + + + + + Represents the state of a cluster. + + + + + The cluster is disconnected. + + + + + The cluster is connected. + + + + + Represents the type of a cluster. + + + + + The type of the cluster is unknown. + + + + + The cluster is a standalone cluster. + + + + + The cluster is a replica set. + + + + + The cluster is a sharded cluster. + + + + + An election id from the server. + + + + + Initializes a new instance of the class. + + The identifier. + + + + Compares the current object with another object of the same type. + + An object to compare with this object. + + A value that indicates the relative order of the objects being compared. The return value has the following meanings: Value Meaning Less than zero This object is less than the parameter.Zero This object is equal to . Greater than zero This object is greater than . + + + + + Indicates whether the current object is equal to another object of the same type. + + An object to compare with this object. + + true if the current object is equal to the parameter; 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. + + + + + Returns a that represents this instance. + + + A that represents this instance. + + + + + Represents a MongoDB cluster. + + + + + Gets the cluster identifier. + + + + + Gets the cluster description. + + + + + Occurs when the cluster description has changed. + + + + + Initializes the cluster. + + + + + Selects a server from the cluster. + + The server selector. + The cancellation token. + The selected server. + + + + Selects a server from the cluster. + + The server selector. + The cancellation token. + A Task representing the operation. The result of the Task is the selected server. + + + + Gets the cluster settings. + + + + + Represents a cluster factory. + + + + + Creates a cluster. + + A cluster. + + + + Represents the config of a replica set (as reported by one of the members of the replica set). + + + + + Initializes a new instance of the class. + + The members. + The name. + The primary. + The version. + + + + Gets an empty replica set config. + + + + Indicates whether the current object is equal to another object of the same type. + An object to compare with this object. + true if the current object is equal to the parameter; otherwise, false. + + + Determines whether the specified object is equal to the current object. + The object to compare with the current object. + true if the specified object is equal to the current object; otherwise, false. + + + Serves as the default hash function. + A hash code for the current object. + + + + Gets the members. + + + + + Gets the name of the replica set. + + + + + Gets the primary. + + + + + Gets the replica set config version. + + + + + Represents a selector that selects servers based on multiple partial selectors + + + + + Initializes a new instance of the class. + + The selectors. + + + + Selects the servers. + + The cluster. + The servers. + The selected servers. + + + Returns a string that represents the current object. + A string that represents the current object. + + + + Represents a server selector that wraps a delegate. + + + + + Initializes a new instance of the class. + + The selector. + + + + Selects the servers. + + The cluster. + The servers. + The selected servers. + + + Returns a string that represents the current object. + A string that represents the current object. + + + + Represents a selector that selects servers based on an end point. + + + + + Initializes a new instance of the class. + + The end point. + + + + Selects the servers. + + The cluster. + The servers. + The selected servers. + + + Returns a string that represents the current object. + A string that represents the current object. + + + + Represents a selector that selects servers. + + + + + Selects the servers. + + The cluster. + The servers. + The selected servers. + + + + Represents a selector that selects servers within an acceptable latency range. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The allowed latency range. + + + + Selects the servers. + + The cluster. + The servers. + The selected servers. + + + Returns a string that represents the current object. + A string that represents the current object. + + + + Represents a selector that selects a random server. + + + + + Initializes a new instance of the class. + + + + + Selects the servers. + + The cluster. + The servers. + The selected servers. + + + Returns a string that represents the current object. + A string that represents the current object. + + + + Represents a selector that selects servers based on a read preference. + + + + + Initializes a new instance of the class. + + The read preference. + + + + Gets a ReadPreferenceServerSelector that selects the Primary. + + + + + Selects the servers. + + The cluster. + The servers. + The selected servers. + + + Returns a string that represents the current object. + A string that represents the current object. + + + + Represents a server selector that selects writable servers. + + + + + Gets a WritableServerSelector. + + + + + Selects the servers. + + The cluster. + The servers. + The selected servers. + + + Returns a string that represents the current object. + A string that represents the current object. + + + + Represents a cluster builder. + + + + + Initializes a new instance of the class. + + + + + Builds the cluster. + + A cluster. + + + + Configures the cluster settings. + + The cluster settings configurator delegate. + A reconfigured cluster builder. + + + + Configures the connection settings. + + The connection settings configurator delegate. + A reconfigured cluster builder. + + + + Configures the connection pool settings. + + The connection pool settings configurator delegate. + A reconfigured cluster builder. + + + + Configures the server settings. + + The server settings configurator delegate. + A reconfigured cluster builder. + + + + Configures the SSL stream settings. + + The SSL stream settings configurator delegate. + A reconfigured cluster builder. + + + + Configures the TCP stream settings. + + The TCP stream settings configurator delegate. + A reconfigured cluster builder. + + + + Registers a stream factory wrapper. + + The stream factory wrapper. + A reconfigured cluster builder. + + + + Subscribes the specified subscriber. + + The subscriber. + A reconfigured cluster builder. + + + + Subscribes to events of type . + + The handler. + The type of the event. + A reconfigured cluster builder. + + + + Extension methods for a ClusterBuilder. + + + + + Configures a cluster builder from a connection string. + + The cluster builder. + The connection string. + A reconfigured cluster builder. + + + + Configures a cluster builder from a connection string. + + The cluster builder. + The connection string. + A reconfigured cluster builder. + + + + Configures the cluster to trace command events to the specified . + + The builder. + The trace source. + A reconfigured cluster builder. + + + + Configures the cluster to trace events to the specified . + + The builder. + The trace source. + A reconfigured cluster builder. + + + + Configures the cluster to write performance counters. + + The cluster builder. + The name of the application. + if set to true install the performance counters first. + A reconfigured cluster builder. + + + + Represents settings for a cluster. + + + + + Initializes a new instance of the class. + + The connection mode. + The end points. + Maximum size of the server selection wait queue. + Name of the replica set. + The server selection timeout. + The pre server selector. + The post server selector. + + + + Gets the connection mode. + + + + + Gets the end points. + + + + + Gets the maximum size of the server selection wait queue. + + + + + Gets the post server selector. + + + + + Gets the pre server selector. + + + + + Gets the name of the replica set. + + + + + Gets the server selection timeout. + + + + + Returns a new ClusterSettings instance with some settings changed. + + The connection mode. + The end points. + Maximum size of the server selection wait queue. + Name of the replica set. + The server selection timeout. + The pre server selector. + The post server selector. + A new ClusterSettings instance. + + + + Represents settings for a connection pool. + + + + + Initializes a new instance of the class. + + The maintenance interval. + The maximum number of connections. + The minimum number of connections. + Size of the wait queue. + The wait queue timeout. + + + + Gets the maintenance interval. + + + + + Gets the maximum number of connections. + + + + + Gets the minimum number of connections. + + + + + Gets the size of the wait queue. + + + + + Gets the wait queue timeout. + + + + + Returns a new ConnectionPoolSettings instance with some settings changed. + + The maintenance interval. + The maximum connections. + The minimum connections. + Size of the wait queue. + The wait queue timeout. + A new ConnectionPoolSettings instance. + + + + Represents settings for a connection. + + + + + Initializes a new instance of the class. + + The authenticators. + The maximum idle time. + The maximum life time. + The application name. + + + + Gets the name of the application. + + + + + Gets the authenticators. + + + + + Gets the maximum idle time. + + + + + Gets the maximum life time. + + + + + Returns a new ConnectionSettings instance with some settings changed. + + The authenticators. + The maximum idle time. + The maximum life time. + The application name. + A new ConnectionSettings instance. + + + + Represents a connection string. + + + + + Initializes a new instance of the class. + + The connection string. + + + + Gets all the option names. + + + + + Gets all the unknown option names. + + + + + Gets the application name. + + + + + Gets the auth mechanism. + + + + + Gets the auth mechanism properties. + + + + + Gets the auth source. + + + + + Gets the connection mode. + + + + + Gets the connect timeout. + + + + + Gets the name of the database. + + + + + Gets the fsync value of the write concern. + + + + + Gets the option. + + The name. + The option with the specified name. + + + + Gets the heartbeat interval. + + + + + Gets the heartbeat timeout. + + + + + Gets the hosts. + + + + + Gets whether to use IPv6. + + + + + Gets the journal value of the write concern. + + + + + Gets the local threshold. + + + + + Gets the max idle time. + + + + + Gets the max life time. + + + + + Gets the max size of the connection pool. + + + + + Gets the max staleness. + + + + + Gets the min size of the connection pool. + + + + + Gets the password. + + + + + Gets the read concern level. + + + + + Gets the read preference. + + + + + Gets the read preference tags. + + + + + Gets the replica set name. + + + + + Gets the server selection timeout. + + + + + Gets the socket timeout. + + + + + Gets whether to use SSL. + + + + + Gets whether to verify SSL certificates. + + + + Returns a string that represents the current object. + A string that represents the current object. + + + + Gets the username. + + + + + Gets the UUID representation. + + + + + Gets the w value of the write concern. + + + + + Gets the wait queue multiple. + + + + + Gets the wait queue size. + + + + + Gets the wait queue timeout. + + + + + Gets the wtimeout value of the write concern. + + + + + Represents settings for a server. + + + + + Initializes a new instance of the class. + + The heartbeat interval. + The heartbeat timeout. + + + + Gets the default heartbeat interval. + + + + + Gets the default heartbeat timeout. + + + + + Gets the heartbeat interval. + + + + + Gets the heartbeat timeout. + + + + + Returns a new ServerSettings instance with some settings changed. + + The heartbeat interval. + The heartbeat timeout. + A new ServerSettings instance. + + + + Represents settings for an SSL stream. + + + + + Initializes a new instance of the class. + + Whether to check for certificate revocation. + The client certificates. + The client certificate selection callback. + The enabled protocols. + The server certificate validation callback. + + + + Gets a value indicating whether to check for certificate revocation. + + + + + Gets the client certificates. + + + + + Gets the client certificate selection callback. + + + + + Gets the enabled SSL protocols. + + + + + Gets the server certificate validation callback. + + + + + Returns a new SsslStreamSettings instance with some settings changed. + + Whether to check certificate revocation. + The client certificates. + The client certificate selection callback. + The enabled protocols. + The server certificate validation callback. + A new SsslStreamSettings instance. + + + + Represents settings for a TCP stream. + + + + + Initializes a new instance of the class. + + The address family. + The connect timeout. + The read timeout. + Size of the receive buffer. + Size of the send buffer. + The socket configurator. + The write timeout. + + + + Gets the address family. + + + + + Gets the connect timeout. + + + + + Gets the read timeout. + + + + + Gets the size of the receive buffer. + + + + + Gets the size of the send buffer. + + + + + Gets the socket configurator. + + + + + Returns a new TcpStreamSettings instance with some settings changed. + + The address family. + The connect timeout. + The read timeout. + Size of the receive buffer. + Size of the send buffer. + The socket configurator. + The write timeout. + A new TcpStreamSettings instance. + + + + Gets the write timeout. + + + + + Represents a connection pool. + + + + + Acquires a connection. + + The cancellation token. + A connection. + + + + Acquires a connection. + + The cancellation token. + A Task whose result is a connection. + + + + Clears the connection pool. + + + + + Initializes the connection pool. + + + + + Gets the server identifier. + + + + + Represents a connection pool factory. + + + + + Creates a connection pool. + + The server identifier. + The end point. + A connection pool. + + + + Represents the result of a buildInfo command. + + + + + Initializes a new instance of the class. + + The wrapped result document. + + + Indicates whether the current object is equal to another object of the same type. + An object to compare with this object. + true if the current object is equal to the parameter; otherwise, false. + + + Determines whether the specified object is equal to the current object. + The object to compare with the current object. + true if the specified object is equal to the current object; otherwise, false. + + + Serves as the default hash function. + A hash code for the current object. + + + + Gets the server version. + + + + + Gets the wrapped result document. + + + + + Represents information describing a connection. + + + + + Initializes a new instance of the class. + + The connection identifier. + The issMaster result. + The buildInfo result. + + + + Gets the buildInfo result. + + + + + Gets the connection identifier. + + + + Indicates whether the current object is equal to another object of the same type. + An object to compare with this object. + true if the current object is equal to the parameter; otherwise, false. + + + Determines whether the specified object is equal to the current object. + The object to compare with the current object. + true if the specified object is equal to the current object; otherwise, false. + + + Serves as the default hash function. + A hash code for the current object. + + + + Gets the isMaster result. + + + + + Gets the maximum number of documents in a batch. + + + + + Gets the maximum size of a document. + + + + + Gets the maximum size of a message. + + + + + Gets the maximum size of a wire document. + + + + + Gets the server version. + + + + + Returns a new instance of ConnectionDescription with a different connection identifier. + + The value. + A connection description. + + + + Represents a connection identifier. + + + + + Initializes a new instance of the class. + + The server identifier. + + + + Initializes a new instance of the class. + + The server identifier. + The local value. + + + Indicates whether the current object is equal to another object of the same type. + An object to compare with this object. + true if the current object is equal to the parameter; otherwise, false. + + + Determines whether the specified object is equal to the current object. + The object to compare with the current object. + true if the specified object is equal to the current object; otherwise, false. + + + Serves as the default hash function. + A hash code for the current object. + + + + Gets the local value. + + + + + Gets the server identifier. + + + + + Gets the server value. + + + + + Compares all fields of two ConnectionId instances (Equals ignores the ServerValue). + + The other ConnectionId. + True if both instances are equal. + + + Returns a string that represents the current object. + A string that represents the current object. + + + + Returns a new instance of ConnectionId with a new server value. + + The server value. + A ConnectionId. + + + + Represents a connection. + + + + + Gets the connection identifier. + + + + + Gets the connection description. + + + + + Gets the end point. + + + + + Gets a value indicating whether this instance is expired. + + + + + Opens the connection. + + The cancellation token. + + + + Opens the connection. + + The cancellation token. + A Task. + + + + Receives a message. + + The id of the sent message for which a response is to be received. + The encoder selector. + The message encoder settings. + The cancellation token. + + The response message. + + + + + Receives a message. + + The id of the sent message for which a response is to be received. + The encoder selector. + The message encoder settings. + The cancellation token. + + A Task whose result is the response message. + + + + + Sends the messages. + + The messages. + The message encoder settings. + The cancellation token. + + + + Sends the messages. + + The messages. + The message encoder settings. + The cancellation token. + A Task. + + + + Gets the connection settings. + + + + + Represents a connection factory. + + + + + Creates the connection. + + The server identifier. + The end point. + A connection. + + + + Represents a handle to a connection. + + + + + A new handle to the underlying connection. + + A connection handle. + + + + Represents the result of an isMaster command. + + + + + Initializes a new instance of the class. + + The wrapped result document. + + + + Gets the election identifier. + + + + Indicates whether the current object is equal to another object of the same type. + An object to compare with this object. + true if the current object is equal to the parameter; otherwise, false. + + + Determines whether the specified object is equal to the current object. + The object to compare with the current object. + true if the specified object is equal to the current object; otherwise, false. + + + Serves as the default hash function. + A hash code for the current object. + + + + Gets the replica set configuration. + + The replica set configuration. + + + + Gets a value indicating whether this instance is an arbiter. + + + + + Gets a value indicating whether this instance is a replica set member. + + + + + Gets the last write timestamp. + + + + + Gets the maximum number of documents in a batch. + + + + + Gets the maximum size of a document. + + + + + Gets the maximum size of a message. + + + + + Gets the maximum wire version. + + + + + Gets the endpoint the server is claiming it is known as. + + + + + Gets the minimum wire version. + + + + + Gets the type of the server. + + + + + Gets the replica set tags. + + + + + Gets the wrapped result document. + + + + + Represents a stream factory. + + + + + Creates a stream. + + The end point. + The cancellation token. + A Stream. + + + + Creates a stream. + + The end point. + The cancellation token. + A Task whose result is the Stream. + + + + Occurs after a server is added to the cluster. + + + + + Initializes a new instance of the struct. + + The server identifier. + The duration of time it took to add the server. + + + + Gets the cluster identifier. + + + + + Gets the duration of time it took to add a server, + + + + + Gets the server identifier. + + + + + Occurs before a server is added to the cluster. + + + + + Initializes a new instance of the struct. + + The cluster identifier. + The end point. + + + + Gets the cluster identifier. + + + + + Gets the end point. + + + + + Occurs after a cluster is closed. + + + + + Initializes a new instance of the struct. + + The cluster identifier. + The duration of time it took to close the cluster. + + + + Gets the cluster identifier. + + + + + Gets the duration of time it took to close the cluster. + + + + + Occurs before a cluster is closed. + + + + + Initializes a new instance of the struct. + + The cluster identifier. + + + + Gets the cluster identifier. + + + + + Occurs when a cluster has changed. + + + + + Initializes a new instance of the struct. + + The old description. + The new description. + + + + Gets the cluster identifier. + + + + + Gets the new description. + + + + + Gets the old description. + + + + + Occurs after a cluster is opened. + + + + + Initializes a new instance of the struct. + + The cluster identifier. + The cluster settings. + The duration of time it took to open the cluster. + + + + Gets the cluster identifier. + + + + + Gets the cluster settings. + + + + + Gets the duration of time it took to open the cluster. + + + + + Occurs before a cluster is opened. + + + + + Initializes a new instance of the struct. + + The cluster identifier. + The cluster settings. + + + + Gets the cluster identifier. + + + + + Gets the cluster settings. + + + + + Occurs after a server has been removed from the cluster. + + + + + Initializes a new instance of the struct. + + The server identifier. + The reason. + The duration of time it took to remove the server. + + + + Gets the cluster identifier. + + + + + Gets the duration of time it took to remove the server. + + + + + Gets the reason the server was removed. + + + + + Gets the server identifier. + + + + + Occurs before a server is removed from the cluster. + + + + + Initializes a new instance of the struct. + + The server identifier. + The reason the server is being removed. + + + + Gets the cluster identifier. + + + + + Gets the reason the server is being removed. + + + + + Gets the server identifier. + + + + + Occurs after a server is selected. + + + + + Initializes a new instance of the struct. + + The cluster description. + The server selector. + The selected server. + The duration of time it took to select the server. + The operation identifier. + + + + Gets the cluster description. + + + + + Gets the cluster identifier. + + + + + Gets the duration of time it took to select the server. + + + + + Gets the operation identifier. + + + + + Gets the selected server. + + + + + Gets the server selector. + + + + + Occurs before a server is selected. + + + + + Initializes a new instance of the struct. + + The cluster description. + The server selector. + The operation identifier. + + + + Gets the cluster description. + + + + + Gets the cluster identifier. + + + + + Gets the operation identifier. + + + + + Gets the server selector. + + + + + Occurs when selecting a server fails. + + + + + Initializes a new instance of the struct. + + The cluster description. + The server selector. + The exception. + The operation identifier. + + + + Gets the cluster description. + + + + + Gets the cluster identifier. + + + + + Gets the exception. + + + + + Gets the operation identifier. + + + + + Gets the server selector. + + + + + Occurs when a command has failed. + + + + + Initializes a new instance of the struct. + + Name of the command. + The exception. + The operation identifier. + The request identifier. + The connection identifier. + The duration. + + + + Gets the name of the command. + + + + + Gets the connection identifier. + + + + + Gets the duration. + + + + + Gets the exception. + + + + + Gets the operation identifier. + + + + + Gets the request identifier. + + + + + Occurs when a command has started. + + + + + Initializes a new instance of the class. + + Name of the command. + The command. + The database namespace. + The operation identifier. + The request identifier. + The connection identifier. + + + + Gets the command. + + + + + Gets the name of the command. + + + + + Gets the connection identifier. + + + + + Gets the database namespace. + + + + + Gets the operation identifier. + + + + + Gets the request identifier. + + + + + Occurs when a command has succeeded. + + + + + Initializes a new instance of the struct. + + Name of the command. + The reply. + The operation identifier. + The request identifier. + The connection identifier. + The duration. + + + + Gets the name of the command. + + + + + Gets the connection identifier. + + + + + Gets the duration. + + + + + Gets the operation identifier. + + + + + Gets the reply. + + + + + Gets the request identifier. + + + + + Occurs after a connection is closed. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The duration of time it took to close the connection. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the duration of time it took to close the connection. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + Occurs before a connection is closed. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + Occurs when a connection fails. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The exception. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the exception. + + + + + Gets the server identifier. + + + + + Occurs after a connection is opened. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The connection settings. + The duration of time it took to open the connection. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the connection settings. + + + + + Gets the duration of time it took to open the connection. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + Occurs before a connection is opened. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The connection settings. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the connection settings. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + Occurs when a connection fails to open. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The connection settings. + The exception. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the connection settings. + + + + + Gets the exception. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + Occurs after a connection is added to the pool. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The duration of time it took to add the connection to the pool. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the duration of time it took to add the server to the pool. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + Occurs before a connection is added to the pool. + + + + + Initializes a new instance of the struct. + + The server identifier. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + Occurs after a connection is checked in to the pool. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The duration of time it took to check in the connection. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the duration of time it took to check in the connection. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + Occurs after a connection is checked out of the pool. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The duration of time it took to check out the connection. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the duration of time it took to check out the connection. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + Occurs before a connection is checked in to the pool. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + Occurs before a connection is checking out of the pool. + + + + + Initializes a new instance of the struct. + + The server identifier. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + Occurs when a connection could not be checked out of the pool. + + + + + Initializes a new instance of the struct. + + The server identifier. + The exception. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the exception. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + Occurs after the pool is closed. + + + + + Initializes a new instance of the struct. + + The server identifier. + + + + Gets the cluster identifier. + + + + + Gets the server identifier. + + + + + Occurs before the pool is closed. + + + + + Initializes a new instance of the struct. + + The server identifier. + + + + Gets the cluster identifier. + + + + + Gets the server identifier. + + + + + Occurs after the pool is opened. + + + + + Initializes a new instance of the struct. + + The server identifier. + The connection pool settings. + + + + Gets the cluster identifier. + + + + + Gets the connection pool settings. + + + + + Gets the server identifier. + + + + + Occurs before the pool is opened. + + + + + Initializes a new instance of the struct. + + The server identifier. + The connection pool settings. + + + + Gets the cluster identifier. + + + + + Gets the connection pool settings. + + + + + Gets the server identifier. + + + + + Occurs after a connection is removed from the pool. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The duration of time it took to remove the connection from the pool. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the duration of time it took to remove the connection from the pool. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + Occurs before a connection is removed from the pool. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + Occurs after a message is received. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The id of the message we received a response to. + The length of the received message. + The duration of network time it took to receive the message. + The duration of deserialization time it took to receive the message. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the duration of deserialization time it took to receive the message. + + + + + Gets the duration of time it took to receive the message. + + + + + Gets the length of the received message. + + + + + Gets the duration of network time it took to receive the message. + + + + + Gets the operation identifier. + + + + + Gets the id of the message we received a response to. + + + + + Gets the server identifier. + + + + + Occurs before a message is received. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The id of the message we are receiving a response to. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the operation identifier. + + + + + Gets the id of the message we are receiving a response to. + + + + + Gets the server identifier. + + + + + Occurs when a message was unable to be received. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The id of the message we were receiving a response to. + The exception. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the exception. + + + + + Gets the operation identifier. + + + + + Gets id of the message we were receiving a response to. + + + + + Gets the server identifier. + + + + + Occurs before a message is sent. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The request ids. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the operation identifier. + + + + + Gets the request ids. + + + + + Gets the server identifier. + + + + + Occurs when a message could not be sent. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The request ids. + The exception. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the exception. + + + + + Gets the operation identifier. + + + + + Gets the request ids. + + + + + Gets the server identifier. + + + + + Occurs after a message has been sent. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The request ids. + The length. + The duration of time spent on the network. + The duration of time spent serializing the messages. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the duration of time it took to send the message. + + + + + Gets the combined length of the messages. + + + + + Gets the duration of time spent on the network. + + + + + Gets the operation identifier. + + + + + Gets the request ids. + + + + + Gets the duration of time spent serializing the messages. + + + + + Gets the server identifier. + + + + + A subscriber to events. + + + + + Tries to get an event handler for an event of type . + + The handler. + The type of the event. + + true if this subscriber has provided an event handler; otherwise false. + + + + Subscribes methods with a single argument to events + of that single argument's type. + + + + + Initializes a new instance of the class. + + The instance. + Name of the method to match against. + The binding flags. + + + + Tries to get an event handler for an event of type . + + The handler. + The type of the event. + + true if this subscriber has provided an event handler; otherwise false. + + + + Occurs after a server is closed. + + + + + Initializes a new instance of the struct. + + The server identifier. + The duration of time it took to close the server. + + + + Gets the cluster identifier. + + + + + Gets the duration of time it took to close the server. + + + + + Gets the server identifier. + + + + + Occurs before a server is closed. + + + + + Initializes a new instance of the struct. + + The server identifier. + + + + Gets the cluster identifier. + + + + + Gets the server identifier. + + + + + Occurs after a server's description has changed. + + + + + Initializes a new instance of the struct. + + The old description. + The new description. + + + + Gets the cluster identifier. + + + + + Gets the new description. + + + + + Gets the old description. + + + + + Gets the server identifier. + + + + + Occurs when a heartbeat failed. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The exception. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the exception. + + + + + Gets the server identifier. + + + + + Occurs when a heartbeat succeeded. + + + + + Initializes a new instance of the struct. + + The connection identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the server identifier. + + + + + Occurs before heartbeat is issued. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The duration of time it took to complete the heartbeat. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the duration of time it took to complete the heartbeat. + + + + + Gets the server identifier. + + + + + Occurs after a server is opened. + + + + + Initializes a new instance of the struct. + + The server identifier. + The server settings. + The duration of time it took to open the server. + + + + Gets the cluster identifier. + + + + + Gets the duration of time it took to open the server. + + + + + Gets the server identifier. + + + + + Gets the server settings. + + + + + Occurs before a server is opened. + + + + + Initializes a new instance of the struct. + + The server identifier. + The server settings. + + + + Gets the cluster identifier. + + + + + Gets the server identifier. + + + + + Gets the server settings. + + + + + Subscriber for a single type of event. + + The type of the single event. + + + + Initializes a new instance of the class. + + The handler. + + + + Tries to get an event handler for an event of type . + + The handler. + The type of the event. + + true if this subscriber has provided an event handler; otherwise false. + + + + Represents an event subscriber that records certain events to Windows performance counters. + + + + + Initializes a new instance of the class. + + The name of the application. + + + + Installs the performance counters. + + + + + Tries to get an event handler for an event of type . + + The handler. + The type of the event. + + true if this subscriber has provided an event handler; otherwise false. + + + + An event subscriber that writes command events to a trace source. + + + + + Initializes a new instance of the class. + + The trace source. + + + + Tries to get an event handler for an event of type . + + The handler. + The type of the event. + + true if this subscriber has provided an event handler; otherwise false. + + + + An event subscriber that writes to a trace source. + + + + + Initializes a new instance of the class. + + The trace source. + + + + Tries to get an event handler for an event of type . + + The handler. + The type of the event. + + true if this subscriber has provided an event handler; otherwise false. + + + + Represents a source of items that can be broken into batches. + + The type of the items. + + + + Initializes a new instance of the class. + + The single batch. + + + + Initializes a new instance of the class. + + The enumerator that will provide the items for the batch. + + + + Gets the most recent batch. + + + + + Clears the most recent batch. + + + + + Gets the current item. + + + + + Called when the last batch is complete. + + The batch. + + + + Called when an intermediate batch is complete. + + The batch. + The overflow item. + + + + Gets all the remaining items that haven't been previously consumed. + + The remaining items. + + + + Gets a value indicating whether there are more items. + + + + + Moves to the next item in the source. + + True if there are more items. + + + + Starts a new batch. + + The overflow item of the previous batch if there is one; otherwise, null. + + + + Represents an overflow item that did not fit in the most recent batch and will be become the first item in the next batch. + + + + + + + MongoDB.Driver.Core.Misc.BatchableSource`1.Overflow + + + + + + + The item. + + + + + The state information, if any, that the consumer wishes to associate with the overflow item. + + + + + Represents the collation feature. + + + + + Initializes a new instance of the class. + + The name of the feature. + The first server version that supports the feature. + + + + Throws if collation value is not null and collations are not supported. + + The server version. + The value. + + + + Represents the commands that write accept write concern concern feature. + + + + + Initializes a new instance of the class. + + The name of the feature. + The first server version that supports the feature. + + + + Returns true if the write concern value supplied is one that should be sent to the server and the server version supports the commands that write accept write concern feature. + + The server version. + The write concern value. + Whether the write concern should be sent to the server. + + + + Represents helper methods for EndPoints. + + + + + Determines whether a list of end points contains a specific end point. + + The list of end points. + The specific end point to search for. + True if the list of end points contains the specific end point. + + + + Gets an end point equality comparer. + + + + + Compares two end points. + + The first end point. + The second end point. + True if both end points are equal, or if both are null. + + + + Creates an end point from object data saved during serialization. + + The object data. + An end point. + + + + Gets the object data required to serialize an end point. + + The end point. + The object data. + + + + Parses the string representation of an end point. + + The value to parse. + An end point. + + + + Compares two sequences of end points. + + The first sequence of end points. + The second sequence of end points. + True if both sequences contain the same end points in the same order, or if both sequences are null. + + + + Returns a that represents the end point. + + The end point. + + A that represents the end point. + + + + + Tries to parse the string representation of an end point. + + The value to parse. + The result. + True if the string representation was parsed successfully. + + + + Represents methods that can be used to ensure that parameter values meet expected conditions. + + + + + Ensures that the value of a parameter is between a minimum and a maximum value. + + The value of the parameter. + The minimum value. + The maximum value. + The name of the parameter. + Type type of the value. + The value of the parameter. + + + + Ensures that the value of a parameter is equal to a comparand. + + The value of the parameter. + The comparand. + The name of the parameter. + Type type of the value. + The value of the parameter. + + + + Ensures that the value of a parameter is greater than or equal to a comparand. + + The value of the parameter. + The comparand. + The name of the parameter. + Type type of the value. + The value of the parameter. + + + + Ensures that the value of a parameter is greater than or equal to zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is greater than or equal to zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is greater than or equal to zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is greater than zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is greater than zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is greater than zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is infinite or greater than or equal to zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is infinite or greater than zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is not null. + + The value of the parameter. + The name of the parameter. + Type type of the value. + The value of the parameter. + + + + Ensures that the value of a parameter is not null or empty. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is null. + + The value of the parameter. + The name of the parameter. + Type type of the value. + The value of the parameter. + + + + Ensures that the value of a parameter is null or greater than or equal to zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is null or greater than or equal to zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is null or greater than zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is null or greater than zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is null or greater than zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is null, or infinite, or greater than or equal to zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is null or not empty. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is null or a valid timeout. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is a valid timeout. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that an assertion is true. + + The assertion. + The message to use with the exception that is thrown if the assertion is false. + + + + Ensures that an assertion is true. + + The assertion. + The message to use with the exception that is thrown if the assertion is false. + The parameter name. + + + + Ensures that the value of a parameter meets an assertion. + + The value of the parameter. + The assertion. + The name of the parameter. + The message to use with the exception that is thrown if the assertion is false. + Type type of the value. + The value of the parameter. + + + + Represents a feature that is not supported by all versions of the server. + + + + + Initializes a new instance of the class. + + The name of the feature. + The first server version that supports the feature. + + + + Gets the aggregate feature. + + + + + Gets the aggregate allow disk use feature. + + + + + Gets the aggregate bucket stage feature. + + + + + Gets the aggregate count stage feature. + + + + + Gets the aggregate cursor result feature. + + + + + Gets the aggregate explain feature. + + + + + Gets the aggregate $facet stage feature. + + + + + Gets the aggregate $graphLookup stage feature. + + + + + Gets the aggregate out feature. + + + + + Gets the bypass document validation feature. + + + + + Gets the collation feature. + + + + + Gets the commands that write accept write concern feature. + + + + + Gets the create indexes command feature. + + + + + Gets the current op command feature. + + + + + Gets the document validation feature. + + + + + Gets the explain command feature. + + + + + Gets the fail points feature. + + + + + Gets the find and modify write concern feature. + + + + + Gets the find command feature. + + + + + Gets the first server version that supports the feature. + + + + + Gets the index options defaults feature. + + + + + Determines whether a feature is supported by a version of the server. + + The server version. + Whether a feature is supported by a version of the server. + + + + Gets the last server version that does not support the feature. + + + + + Gets the list collections command feature. + + + + + Gets the list indexes command feature. + + + + + Gets the maximum staleness feature. + + + + + Gets the maximum time feature. + + + + + Gets the name of the feature. + + + + + Gets the partial indexes feature. + + + + + Gets the read concern feature. + + + + + Gets the scram sha1 authentication feature. + + + + + Gets the server extracts username from X509 certificate feature. + + + + + Returns a version of the server where the feature is or is not supported. + + Whether the feature is supported or not. + A version of the server where the feature is or is not supported. + + + + Throws if the feature is not supported by a version of the server. + + The server version. + + + + Gets the user management commands feature. + + + + + Gets the views feature. + + + + + Gets the write commands feature. + + + + + Represents a range between a minimum and a maximum value. + + The type of the value. + + + + Initializes a new instance of the class. + + The minimum value. + The maximum value. + + + Indicates whether the current object is equal to another object of the same type. + An object to compare with this object. + true if the current object is equal to the parameter; otherwise, false. + + + Determines whether the specified object is equal to the current object. + The object to compare with the current object. + true if the specified object is equal to the current object; otherwise, false. + + + Serves as the default hash function. + A hash code for the current object. + + + + Gets the maximum value. + + + + + Gets the minimum value. + + + + + Determines whether this range overlaps with another range. + + The other range. + True if this range overlaps with the other + + + Returns a string that represents the current object. + A string that represents the current object. + + + + Represents the read concern feature. + + + + + Initializes a new instance of the class. + + The name of the feature. + The first server version that supports the feature. + + + + Throws if the read concern value is not the server default and read concern is not supported. + + The server version. + The value. + + + + Represents a semantic version number. + + + + + Initializes a new instance of the class. + + The major version. + The minor version. + The patch version. + + + + Initializes a new instance of the class. + + The major version. + The minor version. + The patch version. + The pre release version. + + + Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. + An object to compare with this instance. + A value that indicates the relative order of the objects being compared. The return value has these meanings: Value Meaning Less than zero This instance precedes in the sort order. Zero This instance occurs in the same position in the sort order as . Greater than zero This instance follows in the sort order. + + + Indicates whether the current object is equal to another object of the same type. + An object to compare with this object. + true if the current object is equal to the parameter; otherwise, false. + + + Determines whether the specified object is equal to the current object. + The object to compare with the current object. + true if the specified object is equal to the current object; otherwise, false. + + + Serves as the default hash function. + A hash code for the current object. + + + + Gets the major version. + + + + + Gets the minor version. + + + + + Determines whether two specified semantic versions have the same value. + + The first semantic version to compare, or null. + The second semantic version to compare, or null. + + True if the value of a is the same as the value of b; otherwise false. + + + + + Determines whether the first specified SemanticVersion is greater than the second specified SemanticVersion. + + The first semantic version to compare, or null. + The second semantic version to compare, or null. + + True if the value of a is greater than b; otherwise false. + + + + + Determines whether the first specified SemanticVersion is greater than or equal to the second specified SemanticVersion. + + The first semantic version to compare, or null. + The second semantic version to compare, or null. + + True if the value of a is greater than or equal to b; otherwise false. + + + + + Determines whether two specified semantic versions have different values. + + The first semantic version to compare, or null. + The second semantic version to compare, or null. + + True if the value of a is different from the value of b; otherwise false. + + + + + Determines whether the first specified SemanticVersion is less than the second specified SemanticVersion. + + The first semantic version to compare, or null. + The second semantic version to compare, or null. + + True if the value of a is less than b; otherwise false. + + + + + Determines whether the first specified SemanticVersion is less than or equal to the second specified SemanticVersion. + + The first semantic version to compare, or null. + The second semantic version to compare, or null. + + True if the value of a is less than or equal to b; otherwise false. + + + + + Parses a string representation of a semantic version. + + The string value to parse. + A semantic version. + + + + Gets the patch version. + + + + + Gets the pre release version. + + + + Returns a string that represents the current object. + A string that represents the current object. + + + + Tries to parse a string representation of a semantic version. + + The string value to parse. + The result. + True if the string representation was parsed successfully; otherwise false. + + + + Represents a tentative request to acquire a SemaphoreSlim. + + + + + Initializes a new instance of the class. + + The semaphore. + The cancellation token. + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + Gets the semaphore wait task. + + + + + Represents an aggregate explain operations. + + + + + Initializes a new instance of the class. + + The collection namespace. + The pipeline. + The message encoder settings. + + + + Gets or sets a value indicating whether the server is allowed to use the disk. + + + + + Gets or sets the collation. + + + + + Gets the collection namespace. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets or sets the maximum time the server should spend on this operation. + + + + + Gets the message encoder settings. + + + + + Gets the pipeline. + + + + + Represents an aggregate operation. + + The type of the result values. + + + + Initializes a new instance of the class. + + The collection namespace. + The pipeline. + The result value serializer. + The message encoder settings. + + + + Gets or sets a value indicating whether the server is allowed to use the disk. + + + + + Gets or sets the size of a batch. + + + + + Gets or sets the collation. + + + + + Gets the collection namespace. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets or sets the maximum time the server should spend on this operation. + + + + + Gets the message encoder settings. + + + + + Gets the pipeline. + + + + + Gets or sets the read concern. + + + + + Gets the result value serializer. + + + + + Returns an AggregateExplainOperation for this AggregateOperation. + + The verbosity. + An AggregateExplainOperation. + + + + Gets or sets a value indicating whether the server should use a cursor to return the results. + + + + + Represents an aggregate operation that writes the results to an output collection. + + + + + Initializes a new instance of the class. + + The collection namespace. + The pipeline. + The message encoder settings. + + + + Gets or sets a value indicating whether the server is allowed to use the disk. + + + + + Gets or sets a value indicating whether to bypass document validation. + + + + + Gets or sets the collation. + + + + + Gets the collection namespace. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets or sets the maximum time the server should spend on this operation. + + + + + Gets the message encoder settings. + + + + + Gets the pipeline. + + + + + Gets or sets the write concern. + + + + + Represents an async cursor. + + The type of the documents. + + + + Initializes a new instance of the class. + + The channel source. + The collection namespace. + The query. + The first batch. + The cursor identifier. + The size of a batch. + The limit. + The serializer. + The message encoder settings. + The maxTime for each batch. + + + + Gets the current batch of documents. + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + + Releases unmanaged and - optionally - managed resources. + + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Moves to the next batch of documents. + + The cancellation token. + Whether any more documents are available. + + + + Moves to the next batch of documents. + + The cancellation token. + A Task whose result indicates whether any more documents are available. + + + + Represents a mixed write bulk operation. + + + + + Initializes a new instance of the class. + + The collection namespace. + The requests. + The message encoder settings. + + + + Gets or sets a value indicating whether to bypass document validation. + + + + + Gets the collection namespace. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets or sets a value indicating whether the writes must be performed in order. + + + + + Gets or sets the maximum number of documents in a batch. + + + + + Gets or sets the maximum length of a batch. + + + + + Gets or sets the maximum size of a document. + + + + + Gets or sets the maximum size of a wire document. + + + + + Gets the message encoder settings. + + + + + Gets the requests. + + + + + Gets or sets the write concern. + + + + + Represents the details of a write concern error. + + + + + Initializes a new instance of the class. + + The code. + The message. + The details. + + + + Gets the error code. + + + + + Gets the error details. + + + + + Gets the error message. + + + + + Represents the details of a write error for a particular request. + + + + + Initializes a new instance of the class. + + The index. + The code. + The message. + The details. + + + + Gets the error category. + + + + + Gets the error code. + + + + + Gets the error details. + + + + + Gets the index of the request that had an error. + + + + + Gets the error message. + + + + + Represents the result of a bulk write operation. + + + + + Initializes a new instance of the class. + + The request count. + The processed requests. + + + + Gets the number of documents that were deleted. + + + + + Gets the number of documents that were inserted. + + + + + Gets a value indicating whether the bulk write operation was acknowledged. + + + + + Gets a value indicating whether the modified count is available. + + + + + Gets the number of documents that were matched. + + + + + Gets the number of documents that were actually modified during an update. + + + + + Gets the processed requests. + + + + + Gets the request count. + + + + + Gets a list with information about each request that resulted in an upsert. + + + + + Represents the result of an acknowledged bulk write operation. + + + + + Initializes a new instance of the class. + + The request count. + The matched count. + The deleted count. + The inserted count. + The modified count. + The processed requests. + The upserts. + + + + Gets the number of documents that were deleted. + + + + + Gets the number of documents that were inserted. + + + + + Gets a value indicating whether the bulk write operation was acknowledged. + + + + + Gets a value indicating whether the modified count is available. + + + + + Gets the number of documents that were matched. + + + + + Gets the number of documents that were actually modified during an update. + + + + + Gets a list with information about each request that resulted in an upsert. + + + + + Represents the result of an unacknowledged BulkWrite operation. + + + + + Initializes a new instance of the class. + + The request count. + The processed requests. + + + + Gets the number of documents that were deleted. + + + + + Gets the number of documents that were inserted. + + + + + Gets a value indicating whether the bulk write operation was acknowledged. + + + + + Gets a value indicating whether the modified count is available. + + + + + Gets the number of documents that were matched. + + + + + Gets the number of documents that were actually modified during an update. + + + + + Gets a list with information about each request that resulted in an upsert. + + + + + Represents the information about one Upsert. + + + + + Gets the identifier. + + + + + Gets the index. + + + + + Represents the base class for a command operation. + + The type of the command result. + + + + Initializes a new instance of the class. + + The database namespace. + The command. + The result serializer. + The message encoder settings. + + + + Gets or sets the additional options. + + + + + Gets the command. + + + + + Gets or sets the command validator. + + + + + Gets or sets the comment. + + + + + Gets the database namespace. + + + + + Executes the protocol. + + The channel source. + The read preference. + The cancellation token. + A Task whose result is the command result. + + + + Executes the protocol. + + The channel source. + The read preference. + The cancellation token. + A Task whose result is the command result. + + + + Gets the message encoder settings. + + + + + Gets the result serializer. + + + + + Represents a count operation. + + + + + Initializes a new instance of the class. + + The collection namespace. + The message encoder settings. + + + + Gets or sets the collation. + + + + + Gets the collection namespace. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets or sets the filter. + + + + + Gets or sets the index hint. + + + + + Gets or sets a limit on the number of matching documents to count. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + + + Gets the message encoder settings. + + + + + Gets or sets the read concern. + + + + + Gets or sets the number of documents to skip before counting the remaining matching documents. + + + + + Represents a create collection operation. + + + + + Initializes a new instance of the class. + + The collection namespace. + The message encoder settings. + + + + Gets or sets a value indicating whether an index on _id should be created automatically. + + + + + Gets or sets a value indicating whether the collection is a capped collection. + + + + + Gets or sets the collation. + + + + + Gets the collection namespace. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets or sets the index option defaults. + + + + + Gets or sets the maximum number of documents in a capped collection. + + + + + Gets or sets the maximum size of a capped collection. + + + + + Gets the message encoder settings. + + + + + Gets or sets whether padding should not be used. + + + + + Gets or sets the storage engine options. + + + + + Gets or sets a value indicating whether the collection should use power of 2 sizes. + + + + + Gets or sets the validation action. + + + + + Gets or sets the validation level. + + + + + Gets or sets the validator. + + + + + Gets or sets the write concern. + + + + + Represents a create indexes operation. + + + + + Initializes a new instance of the class. + + The collection namespace. + The requests. + The message encoder settings. + + + + Gets the collection namespace. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets the message encoder settings. + + + + + Gets the create index requests. + + + + + Gets or sets the write concern. + + + + + Represents a create indexes operation that uses the createIndexes command. + + + + + Initializes a new instance of the class. + + The collection namespace. + The requests. + The message encoder settings. + + + + Gets the collection namespace. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets the message encoder settings. + + + + + Gets the create index requests. + + + + + Gets or sets the write concern. + + + + + Represents a create indexes operation that inserts into the system.indexes collection (used with older server versions). + + + + + Initializes a new instance of the class. + + The collection namespace. + The requests. + The message encoder settings. + + + + Gets the collection namespace. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets the message encoder settings. + + + + + Gets the create index requests. + + + + + Represents a create index request. + + + + + Initializes a new instance of the class. + + The keys. + + + + Gets or sets the additional options. + + + + + Gets or sets a value indicating whether the index should be created in the background. + + + + + Gets or sets the bits of precision of the geohash values for 2d geo indexes. + + + + + Gets or sets the size of the bucket for geo haystack indexes. + + + + + Gets or sets the collation. + + + + + Gets or sets the default language for text indexes. + + + + + Gets or sets when documents in a TTL collection expire. + + + + + Gets the name of the index. + + The name of the index. + + + + Gets the keys. + + + + + Gets or sets the language override for text indexes. + + + + + Gets or sets the maximum coordinate value for 2d indexes. + + + + + Gets or sets the minimum coordinate value for 2d indexes. + + + + + Gets or sets the index name. + + + + + Gets or sets the partial filter expression. + + + + + Gets or sets a value indicating whether the index is a sparse index. + + + + + Gets or sets the 2dsphere index version. + + + + + Gets or sets the storage engine options. + + + + + Gets or sets the text index version. + + + + + Gets or sets a value indicating whether the index enforces the uniqueness of the key values. + + + + + Gets or sets the index version. + + + + + Gets or sets the weights for text indexes. + + + + + Represents a create view operation. + + + + + Initializes a new instance of the class. + + The name of the database. + The name of the view. + The name of the collection that the view is on. + The pipeline. + The message encoder settings. + + + + Gets or sets the collation. + + + + + Gets the namespace of the database. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets the message encoder settings. + + + + + Gets the pipeline. + + + + + Gets the name of the view. + + + + + Gets the name of the collection that the view is on. + + + + + Gets or sets the write concern. + + + + + The cursor type. + + + + + A non-tailable cursor. This is sufficient for most uses. + + + + + A tailable cursor. + + + + + A tailable cursor with a built-in server sleep. + + + + + Represents a database exists operation. + + + + + Initializes a new instance of the class. + + The database namespace. + The message encoder settings. + + + + Gets the database namespace. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets the message encoder settings. + + + + + Represents a delete operation using the delete opcode. + + + + + Initializes a new instance of the class. + + The collection namespace. + The request. + The message encoder settings. + + + + Gets the collection namespace. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets the message encoder settings. + + + + + Gets the request. + + + + + Gets or sets the write concern. + + + + + Represents a request to delete one or more documents. + + + + + Initializes a new instance of the class. + + The filter. + + + + Gets or sets the collation. + + + + + Gets or sets the filter. + + + + + Gets or sets a limit on the number of documents that should be deleted. + + + + + Represents a distinct operation. + + The type of the value. + + + + Initializes a new instance of the class. + + The collection namespace. + The value serializer. + The name of the field. + The message encoder settings. + + + + Gets or sets the collation. + + + + + Gets the collection namespace. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets the name of the field. + + + + + Gets or sets the filter. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + + + Gets the message encoder settings. + + + + + Gets or sets the read concern. + + + + + Gets the value serializer. + + + + + Represents a drop collection operation. + + + + + Initializes a new instance of the class. + + The collection namespace. + The message encoder settings. + + + + Gets the collection namespace. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets the message encoder settings. + + + + + Gets or sets the write concern. + + + + + Represents a drop database operation. + + + + + Initializes a new instance of the class. + + The database namespace. + The message encoder settings. + + + + Gets the database namespace. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets the message encoder settings. + + + + + Gets or sets the write concern. + + + + + Represents a drop index operation. + + + + + Initializes a new instance of the class. + + The collection namespace. + The keys. + The message encoder settings. + + + + Initializes a new instance of the class. + + The collection namespace. + The name of the index. + The message encoder settings. + + + + Gets the collection namespace. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets the name of the index. + + + + + Gets the message encoder settings. + + + + + Gets or sets the write concern. + + + + + Represents an eval operation. + + + + + Initializes a new instance of the class. + + The database namespace. + The JavaScript function. + The message encoder settings. + + + + Gets or sets the arguments to the JavaScript function. + + + + + Gets the database namespace. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets the JavaScript function. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + + + Gets the message encoder settings. + + + + + Gets or sets a value indicating whether the server should not take a global write lock before evaluating the JavaScript function. + + + + + Represents an explain operation. + + + + + Initializes a new instance of the class. + + The database namespace. + The command. + The message encoder settings. + + + + Gets the command to be explained. + + + + + Gets the database namespace. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets the message encoder settings. + + + + + Gets or sets the verbosity. + + + + + The verbosity of an explanation. + + + + + Runs the query planner and chooses the winning plan, but does not actually execute it. + + + + + Runs the query optimizer, and then runs the winning plan to completion. In addition to the + planner information, this makes execution stats available. + + + + + Runs the query optimizer and chooses the winning plan, but then runs all generated plans + to completion. This makes execution stats available for all of the query plans. + + + + + Represents a base class for find and modify operations. + + The type of the result. + + + + Initializes a new instance of the class. + + The collection namespace. + The result serializer. + The message encoder settings. + + + + Gets or sets the collation. + + + + + Gets the collection namespace. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets the command validator. + + An element name validator for the command. + + + + Gets the message encoder settings. + + + + + Gets the result serializer. + + + + + Gets or sets the write concern. + + + + + Represents a deserializer for find and modify result values. + + The type of the result. + + + + Initializes a new instance of the class. + + The value serializer. + + + + Deserializes a value. + + The deserialization context. + The deserialization args. + A deserialized value. + + + + Represents a Find command operation. + + The type of the document. + + + + Initializes a new instance of the class. + + The collection namespace. + The result serializer. + The message encoder settings. + + + + Gets or sets a value indicating whether the server is allowed to return partial results if any shards are unavailable. + + + + + Gets or sets the size of a batch. + + + + + Gets or sets the collation. + + + + + Gets the collection namespace. + + + + + Gets or sets the comment. + + + + + Gets or sets the type of the cursor. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets or sets the filter. + + + + + Gets or sets the size of the first batch. + + + + + Gets or sets the hint. + + + + + Gets or sets the limit. + + + + + Gets or sets the max key value. + + + + + Gets or sets the maximum await time for TailableAwait cursors. + + + + + Gets or sets the max scan. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + + + Gets the message encoder settings. + + + + + Gets or sets the min key value. + + + + + Gets or sets a value indicating whether the server will not timeout the cursor. + + + + + Gets or sets a value indicating whether the OplogReplay bit will be set. + + + + + Gets or sets the projection. + + + + + Gets or sets the read concern. + + + + + Gets the result serializer. + + + + + Gets or sets whether to only return the key values. + + + + + Gets or sets whether the record Id should be added to the result document. + + + + + Gets or sets whether to return only a single batch. + + + + + Gets or sets the number of documents skip. + + + + + Gets or sets whether to use snapshot behavior. + + + + + Gets or sets the sort specification. + + + + + Represents a find one and delete operation. + + The type of the result. + + + + Initializes a new instance of the class. + + The collection namespace. + The filter. + The result serializer. + The message encoder settings. + + + + Gets the filter. + + + + + Gets the command validator. + + An element name validator for the command. + + + + Gets or sets the maximum time the server should spend on this operation. + + + + + Gets or sets the projection. + + + + + Gets or sets the sort specification. + + + + + Represents a find one and replace operation. + + The type of the result. + + + + Initializes a new instance of the class. + + The collection namespace. + The filter. + The replacement. + The result serializer. + The message encoder settings. + + + + Gets or sets a value indicating whether to bypass document validation. + + + + + Gets the filter. + + + + + Gets the command validator. + + An element name validator for the command. + + + + Gets a value indicating whether a document should be inserted if no matching document is found. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + + + Gets or sets the projection. + + + + + Gets the replacement document. + + + + + Gets or sets which version of the modified document to return. + + + + + Gets or sets the sort specification. + + + + + Represents a find one and update operation. + + The type of the result. + + + + Initializes a new instance of the class. + + The collection namespace. + The filter. + The update. + The result serializer. + The message encoder settings. + + + + Gets or sets a value indicating whether to bypass document validation. + + + + + Gets the filter. + + + + + Gets the command validator. + + An element name validator for the command. + + + + Gets a value indicating whether a document should be inserted if no matching document is found. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + + + Gets or sets the projection. + + + + + Gets or sets which version of the modified document to return. + + + + + Gets or sets the sort specification. + + + + + Gets or sets the update specification. + + + + + Represents a Find opcode operation. + + The type of the returned documents. + + + + Initializes a new instance of the class. + + The collection namespace. + The result serializer. + The message encoder settings. + + + + Gets or sets a value indicating whether the server is allowed to return partial results if any shards are unavailable. + + + + + Gets or sets the size of a batch. + + + + + Gets the collection namespace. + + + + + Gets or sets the comment. + + + + + Gets or sets the type of the cursor. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets or sets the filter. + + + + + Gets or sets the size of the first batch. + + + + + Gets or sets the hint. + + + + + Gets or sets the limit. + + + + + Gets or sets the max key value. + + + + + Gets or sets the max scan. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + + + Gets the message encoder settings. + + + + + Gets or sets the min key value. + + + + + Gets or sets any additional query modifiers. + + + + + Gets or sets a value indicating whether the server will not timeout the cursor. + + + + + Gets or sets a value indicating whether the OplogReplay bit will be set. + + + + + Gets or sets the projection. + + + + + Gets the result serializer. + + + + + Gets or sets whether the record Id should be added to the result document. + + + + + Gets or sets the number of documents skip. + + + + + Gets or sets whether to use snapshot behavior. + + + + + Gets or sets the sort specification. + + + + + Returns an explain operation for this find operation. + + The verbosity. + An explain operation. + + + + Represents a Find operation. + + The type of the returned documents. + + + + Initializes a new instance of the class. + + The collection namespace. + The result serializer. + The message encoder settings. + + + + Gets or sets a value indicating whether the server is allowed to return partial results if any shards are unavailable. + + + + + Gets or sets the size of a batch. + + + + + Gets or sets the collation. + + + + + Gets the collection namespace. + + + + + Gets or sets the comment. + + + + + Gets or sets the type of the cursor. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets or sets the filter. + + + + + Gets or sets the size of the first batch. + + + + + Gets or sets the hint. + + + + + Gets or sets the limit. + + + + + Gets or sets the max key value. + + + + + Gets or sets the maximum await time for TailableAwait cursors. + + + + + Gets or sets the max scan. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + + + Gets the message encoder settings. + + + + + Gets or sets the min key value. + + + + + Gets or sets any additional query modifiers. + + + + + Gets or sets a value indicating whether the server will not timeout the cursor. + + + + + Gets or sets a value indicating whether the OplogReplay bit will be set. + + + + + Gets or sets the projection. + + + + + Gets or sets the read concern. + + + + + Gets the result serializer. + + + + + Gets or sets whether to only return the key values. + + + + + Gets or sets whether the record Id should be added to the result document. + + + + + Gets or sets whether to return only a single batch. + + + + + Gets or sets the number of documents skip. + + + + + Gets or sets whether to use snapshot behavior. + + + + + Gets or sets the sort specification. + + + + + Represents the geoNear command. + + The type of the result. + + + + Initializes a new instance of the class. + + The collection namespace. + The point for which to find the closest documents. + The result serializer. + The message encoder settings. + + + + Gets or sets the collation. + + + + + Gets the collection namespace. + + + + + Gets or sets the distance multiplier. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets or sets the filter. + + + + + Gets or sets whether to include the locations of the matching documents. + + + + + Gets or sets the limit. + + + + + Gets or sets the maximum distance. + + + + + Gets or sets the maximum time. + + + + + Gets the message encoder settings. + + + + + Gets the point for which to find the closest documents. + + + + + Gets or sets the read concern. + + + + + Gets the result serializer. + + + + + Gets or sets whether to use spherical geometry. + + + + + Gets or sets whether to return a document only once. + + + + + Represents the geoSearch command. + + The type of the result. + + + + Initializes a new instance of the class. + + The collection namespace. + The point for which to find the closest documents. + The result serializer. + The message encoder settings. + + + + Gets the collection namespace. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets or sets the limit. + + + + + Gets or sets the maximum distance. + + + + + Gets or sets the maximum time. + + + + + Gets the message encoder settings. + + + + + Gets the point for which to find the closest documents. + + + + + Gets or sets the read concern. + + + + + Gets the result serializer. + + + + + Gets or sets the search. + + + + + Represents a group operation. + + The type of the result. + + + + Initializes a new instance of the class. + + The collection namespace. + The key. + The initial aggregation result for each group. + The reduce function. + The filter. + The message encoder settings. + + + + Initializes a new instance of the class. + + The collection namespace. + The key function. + The initial aggregation result for each group. + The reduce function. + The filter. + The message encoder settings. + + + + Gets or sets the collation. + + + + + Gets the collection namespace. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets the filter. + + + + + Gets or sets the finalize function. + + + + + Gets the initial aggregation result for each group. + + + + + Gets the key. + + + + + Gets the key function. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + + + Gets the message encoder settings. + + + + + Gets the reduce function. + + + + + Gets or sets the result serializer. + + + + + Represents helper methods for index names. + + + + + Gets the name of the index derived from the keys specification. + + The keys specification. + The name of the index. + + + + Gets the name of the index derived from the key names. + + The key names. + The name of the index. + + + + Represents an insert operation using the insert opcode. + + The type of the document. + + + + Initializes a new instance of the class. + + The collection namespace. + The document source. + The serializer. + The message encoder settings. + + + + Gets or sets a value indicating whether to bypass document validation. + + + + + Gets the collection namespace. + + + + + Gets a value indicating whether the server should continue on error. + + + + + Gets the document source. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets or sets the maximum number of documents in a batch. + + + + + Gets or sets the maximum size of a document. + + + + + Gets or sets the maximum size of a message. + + + + + Gets the message encoder settings. + + + + + Gets the serializer. + + + + + Gets or sets the write concern. + + + + + Represents a request to insert a document. + + + + + Initializes a new instance of the class. + + The document. + + + + Gets or sets the document. + + + + + Represents a database read operation. + + The type of the result. + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Represents a database write operation. + + The type of the result. + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Represents a list collections operation. + + + + + Initializes a new instance of the class. + + The database namespace. + The message encoder settings. + + + + Gets the database namespace. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets or sets the filter. + + + + + Gets the message encoder settings. + + + + + Represents a list collections operation. + + + + + Initializes a new instance of the class. + + The database namespace. + The message encoder settings. + + + + Gets the database namespace. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets or sets the filter. + + + + + Gets the message encoder settings. + + + + + Represents a list collections operation. + + + + + Initializes a new instance of the class. + + The database namespace. + The message encoder settings. + + + + Gets the database namespace. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets or sets the filter. + + + + + Gets the message encoder settings. + + + + + Represents the listDatabases command. + + + + + Initializes a new instance of the class. + + The message encoder settings. + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets the message encoder settings. + + + + + Represents a list indexes operation. + + + + + Initializes a new instance of the class. + + The collection namespace. + The message encoder settings. + + + + Gets the collection namespace. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets the message encoder settings. + + + + + Represents a list indexes operation. + + + + + Initializes a new instance of the class. + + The collection namespace. + The message encoder settings. + + + + Gets the collection namespace. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets the message encoder settings. + + + + + Represents a list indexes operation. + + + + + Initializes a new instance of the class. + + The collection namespace. + The message encoder settings. + + + + Gets the collection namespace. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets the message encoder settings. + + + + + Represents a map-reduce operation. + + + + + Initializes a new instance of the class. + + The collection namespace. + The map function. + The reduce function. + The message encoder settings. + + + + Creates the command. + + The server version. + The command. + + + + Creates the output options. + + The output options. + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets or sets the read concern. + + + + + Represents a map-reduce operation. + + The type of the result. + + + + Initializes a new instance of the class. + + The collection namespace. + The map function. + The reduce function. + The result serializer. + The message encoder settings. + + + + Creates the command. + + The server version. + The command. + + + + Creates the output options. + + The output options. + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets or sets the read concern. + + + + + Gets the result serializer. + + + + + Represents a base class for map-reduce operations. + + + + + Initializes a new instance of the class. + + The collection namespace. + The map function. + The reduce function. + The message encoder settings. + + + + Gets or sets the collation. + + + + + Gets the collection namespace. + + + + + Creates the command. + + The server version. + The command. + + + + Creates the output options. + + The output options. + + + + Gets or sets the filter. + + + + + Gets or sets the finalize function. + + + + + Gets or sets a value indicating whether objects emitted by the map function remain as JavaScript objects. + + + + + Gets or sets the maximum number of documents to pass to the map function. + + + + + Gets the map function. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + + + Gets the message encoder settings. + + + + + Gets the reduce function. + + + + + Gets or sets the scope document. + + + + + Gets or sets the sort specification. + + + + + Gets or sets a value indicating whether to include extra information, such as timing, in the result. + + + + + Represents the map-reduce output mode. + + + + + The output of the map-reduce operation replaces the output collection. + + + + + The output of the map-reduce operation is merged with the output collection. + If an existing document has the same key as the new result, overwrite the existing document. + + + + + The output of the map-reduce operation is merged with the output collection. + If an existing document has the same key as the new result, apply the reduce function to both + the new and the existing documents and overwrite the existing document with the result. + + + + + Represents a map-reduce operation that outputs its results to a collection. + + + + + Initializes a new instance of the class. + + The collection namespace. + The output collection namespace. + The map function. + The reduce function. + The message encoder settings. + + + + Gets or sets a value indicating whether to bypass document validation. + + + + + Creates the command. + + The server version. + The command. + + + + Creates the output options. + + The output options. + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets or sets a value indicating whether the server should not lock the database for merge and reduce output modes. + + + + + Gets the output collection namespace. + + + + + Gets or sets the output mode. + + + + + Gets or sets a value indicating whether the output collection should be sharded. + + + + + Gets or sets the write concern. + + + + + Represents a bulk write operation exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The result. + The write errors. + The write concern error. + The unprocessed requests. + + + + Initializes a new instance of the class. + + The SerializationInfo. + The StreamingContext. + + + When overridden in a derived class, sets the with information about the exception. + The that holds the serialized object data about the exception being thrown. + The that contains contextual information about the source or destination. + The parameter is a null reference (Nothing in Visual Basic). + The caller does not have the required permission. + + + + Gets the result of the bulk write operation. + + + + + Gets the unprocessed requests. + + + + + + Gets the write concern error. + + + + + Gets the write errors. + + + + + Represents extension methods for operations. + + + + + Executes a read operation using a channel source. + + The read operation. + The channel source. + The read preference. + The cancellation token. + The type of the result. + The result of the operation. + + + + Executes a write operation using a channel source. + + The write operation. + The channel source. + The cancellation token. + The type of the result. + The result of the operation. + + + + Executes a read operation using a channel source. + + The read operation. + The channel source. + The read preference. + The cancellation token. + The type of the result. + A Task whose result is the result of the operation. + + + + Executes a write operation using a channel source. + + The write operation. + The channel source. + The cancellation token. + The type of the result. + A Task whose result is the result of the operation. + + + + Represents a parallel scan operation. + + The type of the document. + + + + Initializes a new instance of the class. + + The collection namespace. + The number of cursors. + The serializer. + The message encoder settings. + + + + Gets or sets the size of a batch. + + + + + Gets the collection namespace. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets the message encoder settings. + + + + + Gets the number of cursors. + + + + + Gets or sets the read concern. + + + + + Gets the serializer. + + + + + Represents a ping operation. + + + + + Initializes a new instance of the class. + + The message encoder settings. + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets the message encoder settings. + + + + + Represents a read command operation. + + The type of the command result. + + + + Initializes a new instance of the class. + + The database namespace. + The command. + The result serializer. + The message encoder settings. + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Represents a reindex operation. + + + + + Initializes a new instance of the class. + + The collection namespace. + The message encoder settings. + + + + Gets the collection namespace. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets the message encoder settings. + + + + + Gets or sets the write concern (ignored and will eventually be deprecated and later removed). + + + + + Represents a rename collection operation. + + + + + Initializes a new instance of the class. + + The collection namespace. + The new collection namespace. + The message encoder settings. + + + + Gets the collection namespace. + + + + + Gets or sets a value indicating whether to drop the target collection first if it already exists. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets the message encoder settings. + + + + + Gets the new collection namespace. + + + + + Gets or sets the write concern. + + + + + The document to return when executing a FindAndModify command. + + + + + Returns the document before the modification. + + + + + Returns the document after the modification. + + + + + Represents an update operation using the update opcode. + + + + + Initializes a new instance of the class. + + The collection namespace. + The request. + The message encoder settings. + + + + Gets or sets a value indicating whether to bypass document validation. + + + + + Gets the collection namespace. + + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Gets or sets the maximum size of a document. + + + + + Gets the message encoder settings. + + + + + Gets the request. + + + + + Gets or sets the write concern. + + + + + Represents a request to update one or more documents. + + + + + Initializes a new instance of the class. + + The update type. + The filter. + The update. + + + + Gets or sets the collation. + + + + + Gets the filter. + + + + + Gets or sets a value indicating whether this update should affect all matching documents. + + + + + Gets or sets a value indicating whether a document should be inserted if no matching document is found. + + + + + Gets the update specification. + + + + + Gets the update type. + + + + + Represents the update type. + + + + + The update type is unknown. + + + + + This update uses an update specification to update an existing document. + + + + + This update completely replaces an existing document with a new one. + + + + + Represents a write command operation. + + The type of the command result. + + + + Initializes a new instance of the class. + + The database namespace. + The command. + The result serializer. + The message encoder settings. + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Represents a request to write something to the database. + + + + + Initializes a new instance of the class. + + The request type. + + + + Gets or sets the correlation identifier. + + + + + Gets the request type. + + + + + Represents the type of a write request. + + + + + A delete request. + + + + + An insert request. + + + + + An udpate request. + + + + + Represents an element name validator that checks that element names are valid for MongoDB collections. + + + + + + + MongoDB.Driver.Core.Operations.ElementNameValidators.CollectionElementNameValidator + + + + + + + Gets the validator to use for child content (a nested document or array). + + The name of the element. + The validator to use for child content. + + + + Gets a pre-created instance of a CollectionElementNameValidator. + + + + + Determines whether the element name is valid. + + The name of the element. + True if the element name is valid. + + + + Represents a factory for element name validators based on the update type. + + + + + Returns an element name validator for the update type. + + Type of the update. + An element name validator. + + + + Represents an element name validator for update operations. + + + + + + + MongoDB.Driver.Core.Operations.ElementNameValidators.UpdateElementNameValidator + + + + + + + Gets the validator to use for child content (a nested document or array). + + The name of the element. + The validator to use for child content. + + + + Gets a pre-created instance of an UpdateElementNameValidator. + + + + + Determines whether the element name is valid. + + The name of the element. + True if the element name is valid. + + + + Represents an element name validator that will validate element names for either an update or a replacement based on whether the first element name starts with a "$". + + + + + Initializes a new instance of the class. + + + + + Gets the validator to use for child content (a nested document or array). + + The name of the element. + The validator to use for child content. + + + + Determines whether the element name is valid. + + The name of the element. + True if the element name is valid. + + + + Represents a server that can be part of a cluster. + + + + + Initializes this instance. + + + + + Invalidates this instance (sets the server type to Unknown and clears the connection pool). + + + + + Gets a value indicating whether this instance is initialized. + + + + + Requests a heartbeat as soon as possible. + + + + + Represents a server factory. + + + + + Creates the server. + + The cluster identifier. + The end point. + A server. + + + + Represents a MongoDB server. + + + + + Gets the server description. + + + + + Occurs when the server description changes. + + + + + Gets the end point. + + + + + Gets a channel to the server. + + The cancellation token. + A channel. + + + + Gets a channel to the server. + + The cancellation token. + A Task whose result is a channel. + + + + Gets the server identifier. + + + + + Represents information about a server. + + + + + Initializes a new instance of the class. + + The server identifier. + The end point. + The average round trip time. + The canonical end point. + The election identifier. + The heartbeat exception. + The heartbeat interval. + The last update timestamp. + The last write timestamp. + The maximum batch count. + The maximum size of a document. + The maximum size of a message. + The maximum size of a wire document. + The replica set configuration. + The server state. + The replica set tags. + The server type. + The server version. + The wire version range. + + + + Gets the average round trip time. + + + + + Gets the canonical end point. This is the endpoint that the cluster knows this + server by. Currently, it only applies to a replica set config and will match + what is in the replica set configuration. + + + + + Gets the election identifier. + + + + + Gets the end point. + + + + Indicates whether the current object is equal to another object of the same type. + An object to compare with this object. + true if the current object is equal to the parameter; otherwise, false. + + + Determines whether the specified object is equal to the current object. + The object to compare with the current object. + true if the specified object is equal to the current object; otherwise, false. + + + Serves as the default hash function. + A hash code for the current object. + + + + Gets the most recent heartbeat exception. + + + + + Gets the heartbeat interval. + + + + + Gets the last update timestamp (when the ServerDescription itself was last updated). + + + + + Gets the last write timestamp (from the lastWrite field of the isMaster result). + + + + + Gets the maximum number of documents in a batch. + + + + + Gets the maximum size of a document. + + + + + Gets the maximum size of a message. + + + + + Gets the maximum size of a wire document. + + + + + Gets the replica set configuration. + + + + + Gets the server identifier. + + + + + Gets the server state. + + + + + Gets the replica set tags. + + + + Returns a string that represents the current object. + A string that represents the current object. + + + + Gets the server type. + + + + + Gets the server version. + + + + + Gets the wire version range. + + + + + Returns a new instance of ServerDescription with some values changed. + + The average round trip time. + The canonical end point. + The election identifier. + The heartbeat exception. + The heartbeat interval. + The last update timestamp. + The last write timestamp. + The maximum batch count. + The maximum size of a document. + The maximum size of a message. + The maximum size of a wire document. + The replica set configuration. + The server state. + The replica set tags. + The server type. + The server version. + The wire version range. + + A new instance of ServerDescription. + + + + + Represents the arguments to the event that occurs when the server description changes. + + + + + Initializes a new instance of the class. + + The old server description. + The new server description. + + + + Gets the new server description. + + + + + Gets the old server description. + + + + + Represents a server identifier. + + + + + Initializes a new instance of the class. + + The cluster identifier. + The end point. + + + + Gets the cluster identifier. + + + + + Gets the end point. + + + + Indicates whether the current object is equal to another object of the same type. + An object to compare with this object. + true if the current object is equal to the parameter; otherwise, false. + + + Determines whether the specified object is equal to the current object. + The object to compare with the current object. + true if the specified object is equal to the current object; otherwise, false. + + + Serves as the default hash function. + A hash code for the current object. + + + Returns a string that represents the current object. + A string that represents the current object. + + + + Represents the server state. + + + + + The server is disconnected. + + + + + The server is connected. + + + + + Represents the server type. + + + + + The server type is unknown. + + + + + The server is a standalone server. + + + + + The server is a shard router. + + + + + The server is a replica set primary. + + + + + The server is a replica set secondary. + + + + + Use ReplicaSetSecondary instead. + + + + + The server is a replica set arbiter. + + + + + The server is a replica set member of some other type. + + + + + The server is a replica set ghost member. + + + + + Represents extension methods on ServerType. + + + + + Determines whether this server type is a replica set member. + + The type of the server. + Whether this server type is a replica set member. + + + + Determines whether this server type is a writable server. + + The type of the server. + Whether this server type is a writable server. + + + + Infers the cluster type from the server type. + + The type of the server. + The cluster type. + + + + Instructions for handling the response from a command. + + + + + Return the response from the server. + + + + + Ignore the response from the server. + + + + + Represents one result batch (returned from either a Query or a GetMore message) + + The type of the document. + + + + Initializes a new instance of the struct. + + The cursor identifier. + The documents. + + + + Gets the cursor identifier. + + + + + Gets the documents. + + + + + Represents a Delete message. + + + + + Initializes a new instance of the class. + + The request identifier. + The collection namespace. + The query. + if set to true [is multi]. + + + + Gets the collection namespace. + + + + + Gets an encoder for the message from an encoder factory. + + The encoder factory. + A message encoder. + + + + Gets a value indicating whether to delete all matching documents. + + + + + Gets the type of the message. + + + + + Gets the query. + + + + + Represents a GetMore message. + + + + + Initializes a new instance of the class. + + The request identifier. + The collection namespace. + The cursor identifier. + The size of a batch. + + + + Gets the size of a batch. + + + + + Gets the collection namespace. + + + + + Gets the cursor identifier. + + + + + Gets an encoder for the message from an encoder factory. + + The encoder factory. + A message encoder. + + + + Gets the type of the message. + + + + + Represents an Insert message. + + The type of the document. + + + + Initializes a new instance of the class. + + The request identifier. + The collection namespace. + The serializer. + The document source. + The maximum batch count. + Maximum size of the message. + if set to true the server should continue on error. + + + + Gets the collection namespace. + + + + + Gets a value indicating whether the server should continue on error. + + + + + Gets the document source. + + + + + Gets an encoder for the message from an encoder factory. + + The encoder factory. + A message encoder. + + + + Gets the maximum number of documents in a batch. + + + + + Gets the maximum size of a message. + + + + + Gets the type of the message. + + + + + Gets the serializer. + + + + + Represents a KillCursors message. + + + + + Initializes a new instance of the class. + + The request identifier. + The cursor ids. + + + + Gets the cursor ids. + + + + + Gets an encoder for the message from an encoder factory. + + The encoder factory. + A message encoder. + + + + Gets the type of the message. + + + + + Represents a base class for messages. + + + + + + + MongoDB.Driver.Core.WireProtocol.Messages.MongoDBMessage + + + + + + + Gets an encoder for the message from an encoder factory. + + The encoder factory. + A message encoder. + + + + Gets the type of the message. + + + + + Represents the type of message. + + + + + OP_DELETE + + + + + OP_GETMORE + + + + + OP_INSERT + + + + + OP_KILLCURSORS + + + + + OP_QUERY + + + + + OP_REPLY + + + + + OP_UPDATE + + + + + Represents a Query message. + + + + + Initializes a new instance of the class. + + The request identifier. + The collection namespace. + The query. + The fields. + The query validator. + The number of documents to skip. + The size of a batch. + if set to true it is OK if the server is not the primary. + if set to true the server is allowed to return partial results if any shards are unavailable. + if set to true the server should not timeout the cursor. + if set to true the OplogReplay bit will be set. + if set to true the query should return a tailable cursor. + if set to true the server should await data (used with tailable cursors). + A delegate that determines whether this message should be sent. + + + + Gets a value indicating whether the server should await data (used with tailable cursors). + + + + + Gets the size of a batch. + + + + + Gets the collection namespace. + + + + + Gets the fields. + + + + + Gets an encoder for the message from an encoder factory. + + The encoder factory. + A message encoder. + + + + Gets the type of the message. + + + + + Gets a value indicating whether the server should not timeout the cursor. + + + + + Gets a value indicating whether the OplogReplay bit will be set. + + + + + Gets a value indicating whether the server is allowed to return partial results if any shards are unavailable. + + + + + Gets the query. + + + + + Gets the query validator. + + + + + Gets the number of documents to skip. + + + + + Gets a value indicating whether it is OK if the server is not the primary. + + + + + Gets a value indicating whether the query should return a tailable cursor. + + + + + Represents a Reply message. + + The type of the document. + + + + Initializes a new instance of the class. + + if set to true the server is await capable. + The cursor identifier. + if set to true the cursor was not found. + The documents. + The number of documents returned. + if set to true the query failed. + The query failure document. + The request identifier. + The identifier of the message this is a response to. + The serializer. + The position of the first document in this batch in the overall result. + + + + Gets a value indicating whether the server is await capable. + + + + + Gets the cursor identifier. + + + + + Gets a value indicating whether the cursor was not found. + + + + + Gets the documents. + + + + + Gets an encoder for the message from an encoder factory. + + The encoder factory. + A message encoder. + + + + Gets the type of the message. + + + + + Gets the number of documents returned. + + + + + Gets a value indicating whether the query failed. + + + + + Gets the query failure document. + + + + + Gets the serializer. + + + + + Gets the position of the first document in this batch in the overall result. + + + + + Represents a base class for request messages. + + + + + Initializes a new instance of the class. + + The request identifier. + A delegate that determines whether this message should be sent. + + + + Gets the current global request identifier. + + + + + Gets the next request identifier. + + The next request identifier. + + + + Gets the request identifier. + + + + + Gets a delegate that determines whether this message should be sent. + + + + + Gets or sets a value indicating whether this message was sent. + + + + + Represents a base class for response messages. + + + + + Initializes a new instance of the class. + + The request identifier. + The identifier of the message this is a response to. + + + + Gets the type of the message. + + + + + Gets the request identifier. + + + + + Gets the identifier of the message this is a response to. + + + + + Represents an Update message. + + + + + Initializes a new instance of the class. + + The request identifier. + The collection namespace. + The query. + The update. + The update validator. + if set to true all matching documents should be updated. + if set to true a document should be inserted if no matching document is found. + + + + Gets the collection namespace. + + + + + Gets an encoder for the message from an encoder factory. + + The encoder factory. + A message encoder. + + + + Gets a value indicating whether all matching documents should be updated. + + + + + Gets a value indicating whether a document should be inserted if no matching document is found. + + + + + Gets the type of the message. + + + + + Gets the query. + + + + + Gets the update. + + + + + Gets the update validator. + + + + + Represents an encodable message. + + + + + Gets an encoder for the message from an encoder factory. + + The encoder factory. + A message encoder. + + + + Represents a message encoder. + + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a message encoder factory. + + + + + Gets an encoder for a Delete message. + + An encoder. + + + + Gets an encoder for a GetMore message. + + An encoder. + + + + Gets an encoder for an Insert message. + + The serializer. + The type of the document. + An encoder. + + + + Gets an encoder for a KillCursors message. + + An encoder. + + + + Gets an encoder for a Query message. + + An encoder. + + + + Gets an encoder for a Reply message. + + The serializer. + The type of the document. + An encoder. + + + + Gets an encoder for an Update message. + + An encoder. + + + + Represents a message encoder selector that gets the appropriate encoder from an encoder factory. + + + + + Get the appropriate encoder from an encoder factory. + + The encoder factory. + A message encoder. + + + + Represents settings for message encoders. + + + + + + + MongoDB.Driver.Core.WireProtocol.Messages.Encoders.MessageEncoderSettings + + + + + + + Adds a setting. + + The name. + The value. + The type of the value. + The settings. + + + Returns an enumerator that iterates through the collection. + An enumerator that can be used to iterate through the collection. + + + + Gets a setting, or a default value if the setting does not exist. + + The name. + The default value. + The type of the value. + The value of the setting, or a default value if the setting does not exist. + + + + Represents the names of different encoder settings. + + + + + The name of the FixOldBinarySubTypeOnInput setting. + + + + + The name of the FixOldBinarySubTypeOnOutput setting. + + + + + The name of the FixOldDateTimeMaxValueOnInput setting. + + + + + The name of the GuidRepresentation setting. + + + + + The name of the Indent setting. + + + + + The name of the IndentChars setting. + + + + + The name of the MaxDocumentSize setting. + + + + + The name of the MaxSerializationDepth setting. + + + + + The name of the NewLineChars setting. + + + + + The name of the OutputMode setting. + + + + + The name of the ReadEncoding setting. + + + + + The name of the ShellVersion setting. + + + + + The name of the WriteEncoding setting. + + + + + Represents a message encoder selector for ReplyMessages. + + The type of the document. + + + + Initializes a new instance of the class. + + The document serializer. + + + + Get the appropriate encoder from an encoder factory. + + The encoder factory. + A message encoder. + + + + Represents a factory for binary message encoders. + + + + + Initializes a new instance of the class. + + The stream. + The encoder settings. + + + + Gets an encoder for a Delete message. + + An encoder. + + + + Gets an encoder for a GetMore message. + + An encoder. + + + + Gets an encoder for an Insert message. + + The serializer. + The type of the document. + An encoder. + + + + Gets an encoder for a KillCursors message. + + An encoder. + + + + Gets an encoder for a Query message. + + An encoder. + + + + Gets an encoder for a Reply message. + + The serializer. + The type of the document. + An encoder. + + + + Gets an encoder for an Update message. + + An encoder. + + + + Represents a binary encoder for a Delete message. + + + + + Initializes a new instance of the class. + + The stream. + The encoder settings. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a binary encoder for a GetMore message. + + + + + Initializes a new instance of the class. + + The stream. + The encoder settings. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a binary encoder for an Insert message. + + The type of the documents. + + + + Initializes a new instance of the class. + + The stream. + The encoder settings. + The serializer. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a binary encoder for a KillCursors message. + + + + + Initializes a new instance of the class. + + The stream. + The encoder settings. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a base class for binary message encoders. + + + + + Initializes a new instance of the class. + + The stream. + The encoder settings. + + + + Creates a binary reader for this encoder. + + A binary reader. + + + + Creates a binary writer for this encoder. + + A binary writer. + + + + Gets the encoding. + + + + + Represents a binary encoder for a Query message. + + + + + Initializes a new instance of the class. + + The stream. + The encoder settings. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a binary encoder for a Reply message. + + The type of the documents. + + + + Initializes a new instance of the class. + + The stream. + The encoder settings. + The serializer. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a binary encoder for an Update message. + + + + + Initializes a new instance of the class. + + The stream. + The encoder settings. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a JSON encoder for a Delete message. + + + + + Initializes a new instance of the class. + + The text reader. + The text writer. + The encoder settings. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a JSON encoder for a GetMore message. + + + + + Initializes a new instance of the class. + + The text reader. + The text writer. + The encoder settings. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a JSON encoder for an Insert message. + + The type of the documents. + + + + Initializes a new instance of the class. + + The text reader. + The text writer. + The encoder settings. + The serializer. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a factory for JSON message encoders. + + + + + Initializes a new instance of the class. + + The text reader. + The encoder settings. + + + + Initializes a new instance of the class. + + The text reader. + The text writer. + The encoder settings. + + + + Initializes a new instance of the class. + + The text writer. + The encoder settings. + + + + Gets an encoder for a Delete message. + + An encoder. + + + + Gets an encoder for a GetMore message. + + An encoder. + + + + Gets an encoder for an Insert message. + + The serializer. + The type of the document. + An encoder. + + + + Gets an encoder for a KillCursors message. + + An encoder. + + + + Gets an encoder for a Query message. + + An encoder. + + + + Gets an encoder for a Reply message. + + The serializer. + The type of the document. + An encoder. + + + + Gets an encoder for an Update message. + + An encoder. + + + + Represents a JSON encoder for a KillCursors message. + + + + + Initializes a new instance of the class. + + The text reader. + The text writer. + The encoder settings. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a base class for JSON message encoders. + + + + + Initializes a new instance of the class. + + The text reader. + The text writer. + The encoder settings. + + + + Creates a JsonReader for this encoder. + + A JsonReader. + + + + Creates a JsonWriter for this encoder. + + A JsonWriter. + + + + Represents a JSON encoder for a Query message. + + + + + Initializes a new instance of the class. + + The text reader. + The text writer. + The encoder settings. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a JSON encoder for a Reply message. + + The type of the documents. + + + + Initializes a new instance of the class. + + The text reader. + The text writer. + The encoder settings. + The serializer. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a JSON encoder for an Update message. + + + + + Initializes a new instance of the class. + + The text reader. + The text writer. + The encoder settings. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + \ No newline at end of file diff --git a/packages/MongoDB.Driver.Core.2.4.3/lib/netstandard1.5/MongoDB.Driver.Core.xml b/packages/MongoDB.Driver.Core.2.4.3/lib/netstandard1.5/MongoDB.Driver.Core.xml new file mode 100644 index 0000000..0905bbb --- /dev/null +++ b/packages/MongoDB.Driver.Core.2.4.3/lib/netstandard1.5/MongoDB.Driver.Core.xml @@ -0,0 +1,14211 @@ + + + + MongoDB.Driver.Core + + + + + Represents a cursor that wraps another cursor with a transformation function on the documents. + + The type of from document. + The type of to document. + + + + + Initializes a new instance of the class. + + The wrapped. + The transformer. + + + + + + + + + + + + + + + + Controls whether spaces and punctuation are considered base characters. + + + + + Spaces and punctuation are considered base characters (the default). + + + + + Spaces and characters are not considered base characters, and are only distinguised at strength > 3. + + + + + Uppercase or lowercase first. + + + + + Off (the default). + + + + + Uppercase first. + + + + + Lowercase first. + + + + + Controls which characters are affected by alternate: "Shifted". + + + + + Punctuation and spaces are affected (the default). + + + + + Only spaces. + + + + + Prioritizes the comparison properties. + + + + + Primary. + + + + + Secondary. + + + + + Tertiary (the default). + + + + + Quaternary. + + + + + Identical. + + + + + Represents a MongoDB collation. + + + + + Gets the simple binary compare collation. + + + + + Creates a Collation instance from a BsonDocument. + + The document. + A Collation instance. + + + + Initializes a new instance of the class. + + The locale. + The case level. + The case that is ordered first. + The strength. + Whether numbers are ordered numerically. + The alternate. + The maximum variable. + The normalization. + Whether secondary differences are to be considered in reverse order. + + + + Gets whether spaces and punctuation are considered base characters. + + + + + Gets whether secondary differencs are to be considered in reverse order. + + + + + Gets whether upper case or lower case is ordered first. + + + + + Gets whether the collation is case sensitive at strength 1 and 2. + + + + + Gets the locale. + + + + + Gets which characters are affected by the alternate: "Shifted". + + + + + Gets the normalization. + + + + + Gets whether numbers are ordered numerically. + + + + + Gets the strength. + + + + + Indicates whether the current object is equal to another object of the same type. + + An object to compare with this object. + + true if the current object is equal to the parameter; otherwise, false. + + + + + + + + + + + + + + + + + Creates a new Collation instance with some properties changed. + + The new locale. + The new case level. + The new case first. + The new strength. + The new numeric ordering. + The new alternate. + The new maximum variable. + The new normalization. + The new backwards. + A new Collation instance. + + + + Represents a collection namespace. + + + + + Creates a new instance of the class from a collection full name. + + The collection full name. + A CollectionNamespace. + + + + Determines whether the specified collection name is valid. + + The name of the collection. + Whether the specified collection name is valid. + + + + Initializes a new instance of the class. + + The name of the database. + The name of the collection. + + + + Initializes a new instance of the class. + + The database namespace. + The name of the collection. + + + + Gets the name of the collection. + + + The name of the collection. + + + + + Gets the database namespace. + + + The database namespace. + + + + + Gets the collection full name. + + + The collection full name. + + + + + + + + + + + + + + + + + Represents a database namespace. + + + + + Gets the admin database namespace. + + + The admin database namespace. + + + + + Determines whether the specified database name is valid. + + The database name. + True if the database name is valid. + + + + Initializes a new instance of the class. + + The name of the database. + + + + Gets the name of the database. + + + The name of the database. + + + + + + + + + + + + + + + + + Represents a cursor for an operation that is not actually executed until MoveNextAsync is called for the first time. + + The type of the document. + + + + Initializes a new instance of the class. + + The delegate to execute the first time MoveNext is called. + The delegate to execute the first time MoveNextAsync is called. + + + + + + + + + + + + + + + + Represents the document validation action. + + + + + Validation failures result in an error. + + + + + Validation failures result in a warning. + + + + + Represents the document validation level. + + + + + Strict document validation. + + + + + Moderate document validation. + + + + + No document validation. + + + + + Represents an asynchronous cursor. + + The type of the document. + + + + Gets the current batch of documents. + + + The current batch of documents. + + + + + Moves to the next batch of documents. + + The cancellation token. + Whether any more documents are available. + + + + Moves to the next batch of documents. + + The cancellation token. + A Task whose result indicates whether any more documents are available. + + + + Represents extension methods for IAsyncCursor. + + + + + Determines whether the cursor contains any documents. + + The type of the document. + The cursor. + The cancellation token. + True if the cursor contains any documents. + + + + Determines whether the cursor contains any documents. + + The type of the document. + The cursor. + The cancellation token. + A Task whose result is true if the cursor contains any documents. + + + + Returns the first document of a cursor. + + The type of the document. + The cursor. + The cancellation token. + The first document. + + + + Returns the first document of a cursor. + + The type of the document. + The cursor. + The cancellation token. + A Task whose result is the first document. + + + + Returns the first document of a cursor, or a default value if the cursor contains no documents. + + The type of the document. + The cursor. + The cancellation token. + The first document of the cursor, or a default value if the cursor contains no documents. + + + + Returns the first document of the cursor, or a default value if the cursor contains no documents. + + The type of the document. + The cursor. + The cancellation token. + A task whose result is the first document of the cursor, or a default value if the cursor contains no documents. + + + + Calls a delegate for each document returned by the cursor. + + The type of the document. + The source. + The processor. + The cancellation token. + A Task that completes when all the documents have been processed. + + + + Calls a delegate for each document returned by the cursor. + + The type of the document. + The source. + The processor. + The cancellation token. + A Task that completes when all the documents have been processed. + + + + Calls a delegate for each document returned by the cursor. + + + If your delegate is going to take a long time to execute or is going to block + consider using a different overload of ForEachAsync that uses a delegate that + returns a Task instead. + + The type of the document. + The source. + The processor. + The cancellation token. + A Task that completes when all the documents have been processed. + + + + Calls a delegate for each document returned by the cursor. + + + If your delegate is going to take a long time to execute or is going to block + consider using a different overload of ForEachAsync that uses a delegate that + returns a Task instead. + + The type of the document. + The source. + The processor. + The cancellation token. + A Task that completes when all the documents have been processed. + + + + Returns the only document of a cursor. This method throws an exception if the cursor does not contain exactly one document. + + The type of the document. + The cursor. + The cancellation token. + The only document of a cursor. + + + + Returns the only document of a cursor. This method throws an exception if the cursor does not contain exactly one document. + + The type of the document. + The cursor. + The cancellation token. + A Task whose result is the only document of a cursor. + + + + Returns the only document of a cursor, or a default value if the cursor contains no documents. + This method throws an exception if the cursor contains more than one document. + + The type of the document. + The cursor. + The cancellation token. + The only document of a cursor, or a default value if the cursor contains no documents. + + + + Returns the only document of a cursor, or a default value if the cursor contains no documents. + This method throws an exception if the cursor contains more than one document. + + The type of the document. + The cursor. + The cancellation token. + A Task whose result is the only document of a cursor, or a default value if the cursor contains no documents. + + + + Wraps a cursor in an IEnumerable that can be enumerated one time. + + The type of the document. + The cursor. + The cancellation token. + An IEnumerable + + + + Returns a list containing all the documents returned by a cursor. + + The type of the document. + The source. + The cancellation token. + The list of documents. + + + + Returns a list containing all the documents returned by a cursor. + + The type of the document. + The source. + The cancellation token. + A Task whose value is the list of documents. + + + + Represents an operation that will return a cursor when executed. + + The type of the document. + + + + Executes the operation and returns a cursor to the results. + + The cancellation token. + A cursor. + + + + Executes the operation and returns a cursor to the results. + + The cancellation token. + A Task whose result is a cursor. + + + + Represents extension methods for IAsyncCursorSource. + + + + + Determines whether the cursor returned by a cursor source contains any documents. + + The type of the document. + The source. + The cancellation token. + True if the cursor contains any documents. + + + + Determines whether the cursor returned by a cursor source contains any documents. + + The type of the document. + The source. + The cancellation token. + A Task whose result is true if the cursor contains any documents. + + + + Returns the first document of a cursor returned by a cursor source. + + The type of the document. + The source. + The cancellation token. + The first document. + + + + Returns the first document of a cursor returned by a cursor source. + + The type of the document. + The source. + The cancellation token. + A Task whose result is the first document. + + + + Returns the first document of a cursor returned by a cursor source, or a default value if the cursor contains no documents. + + The type of the document. + The source. + The cancellation token. + The first document of the cursor, or a default value if the cursor contains no documents. + + + + Returns the first document of a cursor returned by a cursor source, or a default value if the cursor contains no documents. + + The type of the document. + The source. + The cancellation token. + A Task whose result is the first document of the cursor, or a default value if the cursor contains no documents. + + + + Calls a delegate for each document returned by the cursor. + + The type of the document. + The source. + The processor. + The cancellation token. + A Task that completes when all the documents have been processed. + + + + Calls a delegate for each document returned by the cursor. + + The type of the document. + The source. + The processor. + The cancellation token. + A Task that completes when all the documents have been processed. + + + + Calls a delegate for each document returned by the cursor. + + + If your delegate is going to take a long time to execute or is going to block + consider using a different overload of ForEachAsync that uses a delegate that + returns a Task instead. + + The type of the document. + The source. + The processor. + The cancellation token. + A Task that completes when all the documents have been processed. + + + + Calls a delegate for each document returned by the cursor. + + + If your delegate is going to take a long time to execute or is going to block + consider using a different overload of ForEachAsync that uses a delegate that + returns a Task instead. + + The type of the document. + The source. + The processor. + The cancellation token. + A Task that completes when all the documents have been processed. + + + + Returns the only document of a cursor returned by a cursor source. This method throws an exception if the cursor does not contain exactly one document. + + The type of the document. + The source. + The cancellation token. + The only document of a cursor. + + + + Returns the only document of a cursor returned by a cursor source. This method throws an exception if the cursor does not contain exactly one document. + + The type of the document. + The source. + The cancellation token. + A Task whose result is the only document of a cursor. + + + + Returns the only document of a cursor returned by a cursor source, or a default value if the cursor contains no documents. + This method throws an exception if the cursor contains more than one document. + + The type of the document. + The source. + The cancellation token. + The only document of a cursor, or a default value if the cursor contains no documents. + + + + Returns the only document of a cursor returned by a cursor source, or a default value if the cursor contains no documents. + This method throws an exception if the cursor contains more than one document. + + The type of the document. + The source. + The cancellation token. + A Task whose result is the only document of a cursor, or a default value if the cursor contains no documents. + + + + Wraps a cursor source in an IEnumerable. Each time GetEnumerator is called a new cursor is fetched from the cursor source. + + The type of the document. + The source. + The cancellation token. + An IEnumerable. + + + + Returns a list containing all the documents returned by the cursor returned by a cursor source. + + The type of the document. + The source. + The cancellation token. + The list of documents. + + + + Returns a list containing all the documents returned by the cursor returned by a cursor source. + + The type of the document. + The source. + The cancellation token. + A Task whose value is the list of documents. + + + + Represents a MongoDB authentication exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The error message. + + + + Initializes a new instance of the class. + + The connection identifier. + The error message. + The inner exception. + + + + Represents a MongoDB client exception. + + + + + Initializes a new instance of the class. + + The error message. + + + + Initializes a new instance of the class. + + The error message. + The inner exception. + + + + Represents a MongoDB command exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The message. + The command. + + + + Initializes a new instance of the class. + + The connection identifier. + The message. + The command. + The command result. + + + + Gets the error code. + + + The error code. + + + + + Gets the command. + + + The command. + + + + + Gets the error message. + + + The error message. + + + + + Gets the command result. + + + The command result. + + + + + Represents a MongoDB configuration exception. + + + + + Initializes a new instance of the class. + + The error message. + + + + Initializes a new instance of the class. + + The error message. + The inner exception. + + + + Represents a MongoDB connection failed exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + + + + Represents a MongoDB connection exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The error message. + + + + Initializes a new instance of the class. + + The connection identifier. + The error message. + The inner exception. + + + + Gets the connection identifier. + + + + + Represents a MongoDB cursor not found exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The cursor identifier. + The query. + + + + Gets the cursor identifier. + + + The cursor identifier. + + + + + Represents a MongoDB duplicate key exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The error message. + The command result. + + + + Represents a MongoDB exception. + + + + + Initializes a new instance of the class. + + The error message. + + + + Initializes a new instance of the class. + + The error message. + The inner exception. + + + + Represents a MongoDB execution timeout exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The error message. + + + + Initializes a new instance of the class. + + The connection identifier. + The error message. + The inner exception. + + + + Represents a MongoDB incompatible driver exception. + + + + + Initializes a new instance of the class. + + The cluster description. + + + + Represents a MongoDB internal exception (almost surely the result of a bug). + + + + + Initializes a new instance of the class. + + The error message. + + + + Initializes a new instance of the class. + + The error message. + The inner exception. + + + + Represents a MongoDB node is recovering exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The result. + + + + Gets the result from the server. + + + The result from the server. + + + + + Represents a MongoDB not primary exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The result. + + + + Gets the result from the server. + + + The result from the server. + + + + + Represents a MongoDB query exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The message. + The query. + The query result. + + + + Gets the query. + + + The query. + + + + + Gets the query result. + + + The query result. + + + + + Represents a MongoDB server exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The error message. + + + + Initializes a new instance of the class. + + The connection identifier. + The error message. + The inner exception. + + + + Gets the connection identifier. + + + + + Represents a MongoDB connection pool wait queue full exception. + + + + + Initializes a new instance of the class. + + The error message. + + + + Represents a MongoDB write concern exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The error message. + The command result. + + + + Gets the write concern result. + + + The write concern result. + + + + + Represents helper methods for use with the struct. + + + + + Creates an instance of an optional parameter with a value. + + + This helper method can be used when the implicit conversion doesn't work (due to compiler limitations). + + The type of the optional parameter. + The value. + An instance of an optional parameter with a value. + + + + Creates an instance of an optional parameter with an enumerable value. + + The type of the items of the optional paramater. + The value. + An instance of an optional parameter with an enumerable value. + + + + Represents an optional parameter that might or might not have a value. + + The type of the parameter. + + + + Initializes a new instance of the struct with a value. + + The value of the parameter. + + + + Gets a value indicating whether the optional parameter has a value. + + + true if the optional parameter has a value; otherwise, false. + + + + + Gets the value of the optional parameter. + + + The value of the optional parameter. + + + + + Performs an implicit conversion from to an with a value. + + The value. + + The result of the conversion. + + + + + Returns a value indicating whether this optional parameter contains a value that is not equal to an existing value. + + The value. + True if this optional parameter contains a value that is not equal to an existing value. + + + + Returns either the value of this optional parameter if it has a value, otherwise a default value. + + The default value. + Either the value of this optional parameter if it has a value, otherwise a default value. + + + + Represents a read concern. + + + + + Gets a default read concern. + + + + + Gets a linearizable read concern. + + + + + Gets a local read concern. + + + + + Gets a majority read concern. + + + + + Creates a read concern from a document. + + The document. + A read concern. + + + + Initializes a new instance of the class. + + The level. + + + + Gets a value indicating whether this is the server's default read concern. + + + true if this instance is default; otherwise, false. + + + + + Gets the level. + + + + + + + + + + + + + + Converts this read concern to a BsonDocument suitable to be sent to the server. + + + A BsonDocument. + + + + + Returns a that represents this instance. + + + A that represents this instance. + + + + + Returns a new instance of ReadConcern with some values changed. + + The level. + + A ReadConcern. + + + + + The leve of the read concern. + + + + + Reads data committed locally. + + + + + Reads data committed to a majority of nodes. + + + + + Avoids returning data from a "stale" primary + (one that has already been superseded by a new primary but doesn't know it yet). + It is important to note that readConcern level linearizable does not by itself + produce linearizable reads; they must be issued in conjunction with w:majority + writes to the same document(s) in order to be linearizable. + + + + + Represents a read preference. + + + + + Gets an instance of ReadPreference that represents a Nearest read preference. + + + An instance of ReadPreference that represents a Nearest read preference. + + + + + Gets an instance of ReadPreference that represents a Primary read preference. + + + An instance of ReadPreference that represents a Primary read preference. + + + + + Gets an instance of ReadPreference that represents a PrimaryPreferred read preference. + + + An instance of ReadPreference that represents a PrimaryPreferred read preference. + + + + + Gets an instance of ReadPreference that represents a Secondary read preference. + + + An instance of ReadPreference that represents a Secondary read preference. + + + + + Gets an instance of ReadPreference that represents a SecondaryPreferred read preference. + + + An instance of ReadPreference that represents a SecondaryPreferred read preference. + + + + + Initializes a new instance of the class. + + The read preference mode. + The tag sets. + The maximum staleness. + + + + Gets the maximum staleness. + + + The maximum staleness. + + + + + Gets the read preference mode. + + + The read preference mode. + + + + + Gets the tag sets. + + + The tag sets. + + + + + + + + + + + + + + + + + Returns a new instance of ReadPreference with some values changed. + + The read preference mode. + A new instance of ReadPreference. + + + + Returns a new instance of ReadPreference with some values changed. + + The tag sets. + A new instance of ReadPreference. + + + + Returns a new instance of ReadPreference with some values changed. + + The maximum staleness. + A new instance of ReadPreference. + + + + Represents the read preference mode. + + + + + Reads should be from the primary. + + + + + Reads should be from the primary if possible, otherwise from a secondary. + + + + + Reads should be from a secondary. + + + + + Reads should be from a secondary if possible, otherwise from the primary. + + + + + Reads should be from any server that is within the latency threshold window. + + + + + Represents the category for an error from the server. + + + + + An error without a category. + + + + + A duplicate key error. + + + + + An execution timeout error. + + + + + Represents a replica set member tag. + + + + + Initializes a new instance of the class. + + The name. + The value. + + + + Gets the name. + + + The name. + + + + + Gets the value. + + + The value. + + + + + + + + + + + + + + + + + Represents a replica set member tag set. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The tags. + + + + Gets a value indicating whether the tag set is empty. + + + true if the tag set is empty; otherwise, false. + + + + + Gets the tags. + + + The tags. + + + + + Determines whether the tag set contains all of the required tags. + + The required tags. + True if the tag set contains all of the required tags. + + + + + + + + + + + + + + + + Represents a write concern. + + + + + Gets an instance of WriteConcern that represents an acknowledged write concern. + + + An instance of WriteConcern that represents an acknowledged write concern. + + + + + Gets an instance of WriteConcern that represents an unacknowledged write concern. + + + An instance of WriteConcern that represents an unacknowledged write concern. + + + + + Gets an instance of WriteConcern that represents a W1 write concern. + + + An instance of WriteConcern that represents a W1 write concern. + + + + + Gets an instance of WriteConcern that represents a W2 write concern. + + + An instance of WriteConcern that represents a W2 write concern. + + + + + Gets an instance of WriteConcern that represents a W3 write concern. + + + An instance of WriteConcern that represents a W3 write concern. + + + + + Gets an instance of WriteConcern that represents a majority write concern. + + + An instance of WriteConcern that represents a majority write concern. + + + + + Creates a write concern from a document. + + The document. + A write concern. + + + + Initializes a new instance of the class. + + The w value. + The wtimeout value. + The fsync value . + The journal value. + + + + Initializes a new instance of the class. + + The mode. + The wtimeout value. + The fsync value . + The journal value. + + + + Initializes a new instance of the class. + + The w value. + The wtimeout value. + The fsync value . + The journal value. + + + + Gets the fsync value. + + + The fsync value. + + + + + Gets a value indicating whether this instance is an acknowledged write concern. + + + true if this instance is an acknowledged write concern; otherwise, false. + + + + + Gets a value indicating whether this write concern will use the default on the server. + + + true if this instance is the default; otherwise, false. + + + + + Gets the journal value. + + + The journal value. + + + + + Gets the w value. + + + The w value. + + + + + Gets the wtimeout value. + + + The wtimeout value. + + + + + + + + + + + + + + Converts this write concern to a BsonDocument suitable to be sent to the server. + + + A BsonDocument. + + + + + + + + Returns a new instance of WriteConcern with some values changed. + + The w value. + The wtimeout value. + The fsync value. + The journal value. + A WriteConcern. + + + + Returns a new instance of WriteConcern with some values changed. + + The mode. + The wtimeout value. + The fsync value. + The journal value. + A WriteConcern. + + + + Returns a new instance of WriteConcern with some values changed. + + The w value. + The wtimeout value. + The fsync value. + The journal value. + A WriteConcern. + + + + Represents the base class for w values. + + + + + Parses the specified value. + + The value. + A WValue. + + + + Performs an implicit conversion from to . + + The value. + + The result of the conversion. + + + + + Performs an implicit conversion from Nullable{Int32} to . + + The value. + + The result of the conversion. + + + + + Performs an implicit conversion from to . + + The value. + + The result of the conversion. + + + + + + + + Converts this WValue to a BsonValue suitable to be included in a BsonDocument representing a write concern. + + A BsonValue. + + + + Represents a numeric WValue. + + + + + Initializes a new instance of the class. + + The w value. + + + + Gets the value. + + + The value. + + + + + + + + + + + + + + + + + + + + Represents a mode string WValue. + + + + + Gets an instance of WValue that represents the majority mode. + + + An instance of WValue that represents the majority mode. + + + + + Initializes a new instance of the class. + + The mode. + + + + Gets the value. + + + The value. + + + + + + + + + + + + + + + + + + + + Represents the results of an operation performed with an acknowledged WriteConcern. + + + + + Initializes a new instance of the class. + + The response. + + + + Gets the number of documents affected. + + + + + Gets whether the result has a LastErrorMessage. + + + + + Gets the last error message (null if none). + + + + + Gets the _id of an upsert that resulted in an insert. + + + + + Gets whether the last command updated an existing document. + + + + + Gets the wrapped result. + + + + + The default authenticator (uses SCRAM-SHA1 if possible, falls back to MONGODB-CR otherwise). + + + + + Initializes a new instance of the class. + + The credential. + + + + + + + + + + + + + A GSSAPI SASL authenticator. + + + + + Gets the name of the canonicalize host name property. + + + The name of the canonicalize host name property. + + + + + Gets the default service name. + + + The default service name. + + + + + Gets the name of the mechanism. + + + The name of the mechanism. + + + + + Gets the name of the realm property. + + + The name of the realm property. + + + + + Gets the name of the service name property. + + + The name of the service name property. + + + + + Gets the name of the service realm property. + + + The name of the service realm property. + + + + + Initializes a new instance of the class. + + The credential. + The properties. + + + + Initializes a new instance of the class. + + The username. + The properties. + + + + + + + Represents a connection authenticator. + + + + + Gets the name of the authenticator. + + + The name. + + + + + Authenticates the connection. + + The connection. + The connection description. + The cancellation token. + + + + Authenticates the connection. + + The connection. + The connection description. + The cancellation token. + A Task. + + + + A MONGODB-CR authenticator. + + + + + Gets the name of the mechanism. + + + The name of the mechanism. + + + + + Initializes a new instance of the class. + + The credential. + + + + + + + + + + + + + A MongoDB-X509 authenticator. + + + + + Gets the name of the mechanism. + + + The name of the mechanism. + + + + + Initializes a new instance of the class. + + The username. + + + + + + + + + + + + + A PLAIN SASL authenticator. + + + + + Gets the name of the mechanism. + + + The name of the mechanism. + + + + + Initializes a new instance of the class. + + The credential. + + + + + + + Base class for a SASL authenticator. + + + + + Initializes a new instance of the class. + + The mechanism. + + + + + + + Gets the name of the database. + + + The name of the database. + + + + + + + + + + + Represents a SASL conversation. + + + + + Initializes a new instance of the class. + + The connection identifier. + + + + Gets the connection identifier. + + + The connection identifier. + + + + + + + + Registers the item for disposal. + + The disposable item. + + + + Represents a SASL mechanism. + + + + + Gets the name of the mechanism. + + + The name. + + + + + Initializes the mechanism. + + The connection. + The connection description. + The initial SASL step. + + + + Represents a SASL step. + + + + + Gets the bytes to send to server. + + + The bytes to send to server. + + + + + Gets a value indicating whether this instance is complete. + + + true if this instance is complete; otherwise, false. + + + + + Transitions the SASL conversation to the next step. + + The SASL conversation. + The bytes received from server. + The next SASL step. + + + + Represents a completed SASL step. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The bytes to send to server. + + + + + + + + + + + + + A SCRAM-SHA1 SASL authenticator. + + + + + Gets the name of the mechanism. + + + The name of the mechanism. + + + + + Initializes a new instance of the class. + + The credential. + + + + + + + Represents a username/password credential. + + + + + Initializes a new instance of the class. + + The source. + The username. + The password. + + + + Initializes a new instance of the class. + + The source. + The username. + The password. + + + + Gets the password. + + + The password. + + + + + Gets the source. + + + The source. + + + + + Gets the username. + + + The username. + + + + + Gets the password (converts the password from a SecureString to a regular string). + + The password. + + + + SEC_WINNT_AUTH_IDENTITY + + + + + Flag for the AuthIdentity structure. + + + + + SEC_WINNT_AUTH_IDENTITY_ANSI + + + + + SEC_WINNT_AUTH_IDENTITY_UNICODE + + + + + Flags for InitiateSecurityContext. + + + See the TargetDataRep parameter at + http://msdn.microsoft.com/en-us/library/windows/desktop/aa375507(v=vs.85).aspx + + + + + SECURITY_NETWORK_DREP + + + + + SECURITY_NATIVE_DREP + + + + + Flags for EncryptMessage. + + + See the fQOP parameter at + http://msdn.microsoft.com/en-us/library/windows/desktop/aa375378(v=vs.85).aspx. + + + + + SECQOP_WRAP_NO_ENCRYPT + + + + + Creates an exception for the specified error code. + + The error code. + The default message. + + + + + Acquires the credentials handle. + + The principal. + The package. + The credential usage. + The logon id. + The identity. + The key callback. + The key argument. + The credential handle. + The timestamp. + A result code. + + http://msdn.microsoft.com/en-us/library/windows/desktop/aa374712(v=vs.85).aspx + + + + + Acquires the credentials handle. + + The principal. + The package. + The credential usage. + The logon id. + The identity. + The key callback. + The key argument. + The credential handle. + The timestamp. + A result code. + + http://msdn.microsoft.com/en-us/library/windows/desktop/aa374712(v=vs.85).aspx + + + + + Deletes the security context. + + The context. + A result code. + + http://msdn.microsoft.com/en-us/library/windows/desktop/aa375354(v=vs.85).aspx + + + + + Decrypts the message. + + The context. + The p message. + The sequence number. + The quality. + A result code. + + http://msdn.microsoft.com/en-us/library/windows/desktop/aa375211(v=vs.85).aspx + + + + + Encrypts the message. + + The context. + The quality. + The p message. + The sequence number. + A result code. + + http://msdn.microsoft.com/en-us/library/windows/desktop/aa375378(v=vs.85).aspx + + + + + Enumerates the security packages. + + The pc packages. + The pp package information. + A result code. + + http://msdn.microsoft.com/en-us/library/aa375397%28v=VS.85%29.aspx + + + + + Frees the context buffer. + + The context buffer. + A result code. + + http://msdn.microsoft.com/en-us/library/aa375416(v=vs.85).aspx + + + + + Frees the credentials handle. + + The sspi handle. + A result code. + + http://msdn.microsoft.com/en-us/library/windows/desktop/aa375417(v=vs.85).aspx + + + + + Initializes the security context. + + The credential handle. + The in context PTR. + Name of the target. + The flags. + The reserved1. + The data representation. + The input buffer. + The reserved2. + The out context handle. + The output buffer. + The out attributes. + The timestamp. + A result code. + + http://msdn.microsoft.com/en-us/library/windows/desktop/aa375506(v=vs.85).aspx + + + + + Initializes the security context. + + The credential handle. + The in context handle. + Name of the target. + The flags. + The reserved1. + The data representation. + The input buffer. + The reserved2. + The out context. + The output buffer. + The out attributes. + The timestamp. + A result code. + + http://msdn.microsoft.com/en-us/library/windows/desktop/aa375506(v=vs.85).aspx + + + + + Queries the context attributes. + + The in context handle. + The attribute. + The sizes. + A result code. + + http://msdn.microsoft.com/en-us/library/windows/desktop/aa379326(v=vs.85).aspx + + + + + Flags for QueryContextAttributes. + + + See the ulAttribute parameter at + http://msdn.microsoft.com/en-us/library/windows/desktop/aa379326(v=vs.85).aspx. + + + + + SECPKG_ATTR_SIZES + + + + + A SecBuffer structure. + + + http://msdn.microsoft.com/en-us/library/windows/desktop/aa379814(v=vs.85).aspx + + + + + A SecBufferDesc structure. + + + http://msdn.microsoft.com/en-us/library/windows/desktop/aa379815(v=vs.85).aspx + + + + + To the byte array. + + + Object has already been disposed!!! + + + + Types for the SecurityBuffer structure. + + + + + SECBUFFER_VERSION + + + + + SECBUFFER_EMPTY + + + + + SECBUFFER_DATA + + + + + SECBUFFER_TOKEN + + + + + SECBUFFER_PADDING + + + + + SECBUFFER_STREAM + + + + + A wrapper around the SspiHandle structure specifically used as a security context handle. + + + + + A wrapper around the SspiHandle structure specifically used as a credential handle. + + + + + When overridden in a derived class, executes the code required to free the handle. + + + true if the handle is released successfully; otherwise, in the event of a catastrophic failure, false. In this case, it generates a releaseHandleFailed MDA Managed Debugging Assistant. + + + + + Flags for AcquireCredentialsHandle. + + + See the fCredentialUse at http://msdn.microsoft.com/en-us/library/windows/desktop/aa374712(v=vs.85).aspx. + + + + + SECPKG_CRED_OUTBOUND + + + + + A SecPkgContext_Sizes structure. + + + http://msdn.microsoft.com/en-us/library/windows/desktop/aa380097(v=vs.85).aspx + + + + + A SecPkgInfo structure. + + + http://msdn.microsoft.com/en-us/library/windows/desktop/aa380104(v=vs.85).aspx + + + + + Flags for InitiateSecurityContext. + + + See the fContextReq parameter at + http://msdn.microsoft.com/en-us/library/windows/desktop/aa375507(v=vs.85).aspx + + + + + ISC_REQ_MUTUAL_AUTH + + + + + ISC_REQ_CONFIDENTIALITY + + + + + ISC_REQ_INTEGRITY + + + + + A SecHandle structure. + + + http://msdn.microsoft.com/en-us/library/windows/desktop/aa380495(v=vs.85).aspx + + + + + Gets a value indicating whether this instance is zero. + + + true if this instance is zero; otherwise, false. + + + + + Sets to invalid. + + + + + This is represented as a string in AcquireCredentialsHandle. This value will have .ToString() called on it. + + + + + Kerberos + + + + + Thrown from a win32 wrapped operation. + + + + + Initializes a new instance of the class. + + The error code. + + + + Initializes a new instance of the class. + + The error code. + The message. + + + + Represents a read binding that is bound to a channel. + + + + + Initializes a new instance of the class. + + The server. + The channel. + The read preference. + + + + + + + + + + + + + + + + Represents a read-write binding that is bound to a channel. + + + + + Initializes a new instance of the class. + + The server. + The channel. + + + + + + + + + + + + + + + + + + + + + + Represents a handle to a channel source. + + + + + Initializes a new instance of the class. + + The channel source. + + + + + + + + + + + + + + + + + + + + + + Represents a read-write binding to a channel source. + + + + + Initializes a new instance of the class. + + The channel source. + The read preference. + + + + + + + + + + + + + + + + + + + + + + Represents a binding that determines which channel source gets used for read operations. + + + + + Gets the read preference. + + + The read preference. + + + + + Gets a channel source for read operations. + + The cancellation token. + A channel source. + + + + Gets a channel source for read operations. + + The cancellation token. + A channel source. + + + + Represents a binding that determines which channel source gets used for write operations. + + + + + Gets a channel source for write operations. + + The cancellation token. + A channel source. + + + + Gets a channel source for write operations. + + The cancellation token. + A channel source. + + + + Represents a binding that can be used for both read and write operations. + + + + + Represents a handle to a read binding. + + + + + Returns a new handle to the underlying read binding. + + A read binding handle. + + + + Represents a handle to a write binding. + + + + + Returns a new handle to the underlying write binding. + + A write binding handle. + + + + Represents a handle to a read-write binding. + + + + + Returns a new handle to the underlying read-write binding. + + A read-write binding handle. + + + + Represents a channel (similar to a connection but operates at the level of protocols rather than messages). + + + + + Gets the connection description. + + + The connection description. + + + + + Executes a Command protocol. + + The type of the result. + The database namespace. + The command. + The command validator. + The response handling. + if set to true sets the SlaveOk bit to true in the command message sent to the server. + The result serializer. + The message encoder settings. + The cancellation token. + The result of the Command protocol. + + + + Executes a Command protocol. + + The type of the result. + The database namespace. + The command. + The command validator. + The response handling. + if set to true sets the SlaveOk bit to true in the command message sent to the server. + The result serializer. + The message encoder settings. + The cancellation token. + A Task whose result is the result of the Command protocol. + + + + Executes a Delete protocol. + + The collection namespace. + The query. + if set to true all matching documents are deleted. + The message encoder settings. + The write concern. + The cancellation token. + The result of the Delete protocol. + + + + Executes a Delete protocol. + + The collection namespace. + The query. + if set to true all matching documents are deleted. + The message encoder settings. + The write concern. + The cancellation token. + A Task whose result is the result of the Delete protocol. + + + + Executes a GetMore protocol. + + The type of the document. + The collection namespace. + The query. + The cursor identifier. + Size of the batch. + The serializer. + The message encoder settings. + The cancellation token. + The result of the GetMore protocol. + + + + Executes a GetMore protocol. + + The type of the document. + The collection namespace. + The query. + The cursor identifier. + Size of the batch. + The serializer. + The message encoder settings. + The cancellation token. + A Task whose result is the result of the GetMore protocol. + + + + Executes an Insert protocol. + + The type of the document. + The collection namespace. + The write concern. + The serializer. + The message encoder settings. + The document source. + The maximum batch count. + Maximum size of the message. + if set to true the server will continue with subsequent Inserts even if errors occur. + A delegate that determines whether to piggy-back a GetLastError messsage with the Insert message. + The cancellation token. + The result of the Insert protocol. + + + + Executes an Insert protocol. + + The type of the document. + The collection namespace. + The write concern. + The serializer. + The message encoder settings. + The document source. + The maximum batch count. + Maximum size of the message. + if set to true the server will continue with subsequent Inserts even if errors occur. + A delegate that determines whether to piggy-back a GetLastError messsage with the Insert message. + The cancellation token. + A Task whose result is the result of the Insert protocol. + + + + Executes a KillCursors protocol. + + The cursor ids. + The message encoder settings. + The cancellation token. + + + + Executes a KillCursors protocol. + + The cursor ids. + The message encoder settings. + The cancellation token. + A Task that represents the KillCursors protocol. + + + + Executes a Query protocol. + + The type of the document. + The collection namespace. + The query. + The fields. + The query validator. + The number of documents to skip. + The size of a batch. + if set to true sets the SlaveOk bit to true in the query message sent to the server. + if set to true the server is allowed to return partial results if any shards are unavailable. + if set to true the server will not timeout the cursor. + if set to true the OplogReplay bit will be set. + if set to true the query should return a tailable cursor. + if set to true the server should await awhile before returning an empty batch for a tailable cursor. + The serializer. + The message encoder settings. + The cancellation token. + The result of the Insert protocol. + + + + Executes a Query protocol. + + The type of the document. + The collection namespace. + The query. + The fields. + The query validator. + The number of documents to skip. + The size of a batch. + if set to true sets the SlaveOk bit to true in the query message sent to the server. + if set to true the server is allowed to return partial results if any shards are unavailable. + if set to true the server will not timeout the cursor. + if set to true the OplogReplay bit will be set. + if set to true the query should return a tailable cursor. + if set to true the server should await awhile before returning an empty batch for a tailable cursor. + The serializer. + The message encoder settings. + The cancellation token. + A Task whose result is the result of the Insert protocol. + + + + Executes an Update protocol. + + The collection namespace. + The message encoder settings. + The write concern. + The query. + The update. + The update validator. + if set to true the Update can affect multiple documents. + if set to true the document will be inserted if it is not found. + The cancellation token. + The result of the Update protocol. + + + + Executes an Update protocol. + + The collection namespace. + The message encoder settings. + The write concern. + The query. + The update. + The update validator. + if set to true the Update can affect multiple documents. + if set to true the document will be inserted if it is not found. + The cancellation token. + A Task whose result is the result of the Update protocol. + + + + Represents a handle to a channel. + + + + + Returns a new handle to the underlying channel. + + A channel handle. + + + + Represents a channel source. + + + + + Gets the server. + + + The server. + + + + + Gets the server description. + + + The server description. + + + + + Gets a channel. + + The cancellation token. + A channel. + + + + Gets a channel. + + The cancellation token. + A Task whose result is a channel. + + + + Represents a handle to a channel source. + + + + + Returns a new handle to the underlying channel source. + + A handle to a channel source. + + + + Represents a handle to a read binding. + + + + + Initializes a new instance of the class. + + The read binding. + + + + + + + + + + + + + + + + + + + Represents a read binding to a cluster using a ReadPreference to select the server. + + + + + Initializes a new instance of the class. + + The cluster. + The read preference. + + + + + + + + + + + + + + + + Represents a handle to a read-write binding. + + + + + Initializes a new instance of the class. + + The write binding. + + + + + + + + + + + + + + + + + + + + + + + + + Represents a channel source that is bound to a server. + + + + + Initializes a new instance of the class. + + The server. + + + + + + + + + + + + + + + + + + + Represents a read binding to a single server; + + + + + Initializes a new instance of the class. + + The server. + The read preference. + + + + + + + + + + + + + + + + Represents a read/write binding to a single server. + + + + + Initializes a new instance of the class. + + The server. + + + + + + + + + + + + + + + + + + + + + + Represents a split read-write binding, where the reads use one binding and the writes use another. + + + + + Initializes a new instance of the class. + + The read binding. + The write binding. + + + + Initializes a new instance of the class. + + The cluster. + The read preference. + + + + + + + + + + + + + + + + + + + + + + Represents a write binding to a writable server. + + + + + Initializes a new instance of the class. + + The cluster. + + + + + + + + + + + + + + + + + + + + + + Represents a cluster. + + + + + Represents the cluster connection mode. + + + + + Determine the cluster type automatically. + + + + + Connect directly to a single server of any type. + + + + + Connect directly to a Standalone server. + + + + + Connect to a replica set. + + + + + Connect to one or more shard routers. + + + + + Represents information about a cluster. + + + + + Initializes a new instance of the class. + + The cluster identifier. + The connection mode. + The type. + The servers. + + + + Gets the cluster identifier. + + + + + Gets the connection mode. + + + + + Gets the servers. + + + + + Gets the cluster state. + + + + + Gets the cluster type. + + + + + + + + + + + + + + + + + Returns a new ClusterDescription with a changed ServerDescription. + + The server description. + A ClusterDescription. + + + + Returns a new ClusterDescription with a ServerDescription removed. + + The end point of the server description to remove. + A ClusterDescription. + + + + Returns a new ClusterDescription with a changed ClusterType. + + The value. + A ClusterDescription. + + + + Represents the data for the event that fires when a cluster description changes. + + + + + Initializes a new instance of the class. + + The old cluster description. + The new cluster description. + + + + Gets the old cluster description. + + + The old cluster description. + + + + + Gets the new cluster description. + + + The new cluster description. + + + + + Represents a cluster identifier. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The value. + + + + Gets the value. + + + The value. + + + + + + + + + + + + + + + + + Represents the state of a cluster. + + + + + The cluster is disconnected. + + + + + The cluster is connected. + + + + + Represents the type of a cluster. + + + + + The type of the cluster is unknown. + + + + + The cluster is a standalone cluster. + + + + + The cluster is a replica set. + + + + + The cluster is a sharded cluster. + + + + + An election id from the server. + + + + + Initializes a new instance of the class. + + The identifier. + + + + Compares the current object with another object of the same type. + + An object to compare with this object. + + A value that indicates the relative order of the objects being compared. The return value has the following meanings: Value Meaning Less than zero This object is less than the parameter.Zero This object is equal to . Greater than zero This object is greater than . + + + + + 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. + + + + + Indicates whether the current object is equal to another object of the same type. + + An object to compare with this object. + + true if the current object is equal to the parameter; 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. + + + + + Returns a that represents this instance. + + + A that represents this instance. + + + + + Represents a MongoDB cluster. + + + + + Occurs when the cluster description has changed. + + + + + Gets the cluster identifier. + + + The cluster identifier. + + + + + Gets the cluster description. + + + The cluster description. + + + + + Gets the cluster settings. + + + The cluster settings. + + + + + Initializes the cluster. + + + + + Selects a server from the cluster. + + The server selector. + The cancellation token. + The selected server. + + + + Selects a server from the cluster. + + The server selector. + The cancellation token. + A Task representing the operation. The result of the Task is the selected server. + + + + Represents a cluster factory. + + + + + Creates a cluster. + + A cluster. + + + + Represents a multi server cluster. + + + + + Represents the config of a replica set (as reported by one of the members of the replica set). + + + + + Gets an empty replica set config. + + + An empty replica set config. + + + + + Initializes a new instance of the class. + + The members. + The name. + The primary. + The version. + + + + Gets the members. + + + The members. + + + + + Gets the name of the replica set. + + + The name of the replica set. + + + + + Gets the primary. + + + The primary. + + + + + Gets the replica set config version. + + + The replica set config version. + + + + + + + + + + + + + + Represents a standalone cluster. + + + + + Represents a selector that selects servers based on multiple partial selectors + + + + + Initializes a new instance of the class. + + The selectors. + + + + + + + + + + Represents a server selector that wraps a delegate. + + + + + Initializes a new instance of the class. + + The selector. + + + + + + + + + + Represents a selector that selects servers based on an end point. + + + + + Initializes a new instance of the class. + + The end point. + + + + + + + + + + Represents a selector that selects servers. + + + + + Selects the servers. + + The cluster. + The servers. + The selected servers. + + + + Represents a selector that selects servers within an acceptable latency range. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The allowed latency range. + + + + + + + + + + Represents a selector that selects a random server. + + + + + Initializes a new instance of the class. + + + + + + + + + + + Represents a selector that selects servers based on a read preference. + + + + + Gets a ReadPreferenceServerSelector that selects the Primary. + + + A server selector. + + + + + Initializes a new instance of the class. + + The read preference. + + + + + + + + + + Represents a server selector that selects writable servers. + + + + + Gets a WritableServerSelector. + + + A server selector. + + + + + + + + + + + Represents a cluster builder. + + + + + Initializes a new instance of the class. + + + + + Builds the cluster. + + A cluster. + + + + Configures the cluster settings. + + The cluster settings configurator delegate. + A reconfigured cluster builder. + + + + Configures the connection settings. + + The connection settings configurator delegate. + A reconfigured cluster builder. + + + + Configures the connection pool settings. + + The connection pool settings configurator delegate. + A reconfigured cluster builder. + + + + Configures the server settings. + + The server settings configurator delegate. + A reconfigured cluster builder. + + + + Configures the SSL stream settings. + + The SSL stream settings configurator delegate. + A reconfigured cluster builder. + + + + Configures the TCP stream settings. + + The TCP stream settings configurator delegate. + A reconfigured cluster builder. + + + + Registers a stream factory wrapper. + + The stream factory wrapper. + A reconfigured cluster builder. + + + + Subscribes to events of type . + + The type of the event. + The handler. + A reconfigured cluster builder. + + + + Subscribes the specified subscriber. + + The subscriber. + A reconfigured cluster builder. + + + + Extension methods for a ClusterBuilder. + + + + + Configures a cluster builder from a connection string. + + The cluster builder. + The connection string. + A reconfigured cluster builder. + + + + Configures a cluster builder from a connection string. + + The cluster builder. + The connection string. + A reconfigured cluster builder. + + + + Configures the cluster to trace events to the specified . + + The builder. + The trace source. + A reconfigured cluster builder. + + + + Configures the cluster to trace command events to the specified . + + The builder. + The trace source. + A reconfigured cluster builder. + + + + Represents settings for a cluster. + + + + + Initializes a new instance of the class. + + The connection mode. + The end points. + Maximum size of the server selection wait queue. + Name of the replica set. + The server selection timeout. + The pre server selector. + The post server selector. + + + + Gets the connection mode. + + + The connection mode. + + + + + Gets the end points. + + + The end points. + + + + + Gets the maximum size of the server selection wait queue. + + + The maximum size of the server selection wait queue. + + + + + Gets the name of the replica set. + + + The name of the replica set. + + + + + Gets the server selection timeout. + + + The server selection timeout. + + + + + Gets the pre server selector. + + + The pre server selector. + + + + + Gets the post server selector. + + + The post server selector. + + + + + Returns a new ClusterSettings instance with some settings changed. + + The connection mode. + The end points. + Maximum size of the server selection wait queue. + Name of the replica set. + The server selection timeout. + The pre server selector. + The post server selector. + A new ClusterSettings instance. + + + + Represents settings for a connection pool. + + + + + Initializes a new instance of the class. + + The maintenance interval. + The maximum number of connections. + The minimum number of connections. + Size of the wait queue. + The wait queue timeout. + + + + Gets the maintenance interval. + + + The maintenance interval. + + + + + Gets the maximum number of connections. + + + The maximum number of connections. + + + + + Gets the minimum number of connections. + + + The minimum number of connections. + + + + + Gets the size of the wait queue. + + + The size of the wait queue. + + + + + Gets the wait queue timeout. + + + The wait queue timeout. + + + + + Returns a new ConnectionPoolSettings instance with some settings changed. + + The maintenance interval. + The maximum connections. + The minimum connections. + Size of the wait queue. + The wait queue timeout. + A new ConnectionPoolSettings instance. + + + + Represents settings for a connection. + + + + + Initializes a new instance of the class. + + The authenticators. + The maximum idle time. + The maximum life time. + The application name. + + + + Gets the name of the application. + + + The name of the application. + + + + + Gets the authenticators. + + + The authenticators. + + + + + Gets the maximum idle time. + + + The maximum idle time. + + + + + Gets the maximum life time. + + + The maximum life time. + + + + + Returns a new ConnectionSettings instance with some settings changed. + + The authenticators. + The maximum idle time. + The maximum life time. + The application name. + A new ConnectionSettings instance. + + + + Represents a connection string. + + + + + Initializes a new instance of the class. + + The connection string. + + + + Gets all the option names. + + + + + Gets all the unknown option names. + + + + + Gets the application name. + + + + + Gets the auth mechanism. + + + + + Gets the auth mechanism properties. + + + + + Gets the auth source. + + + + + Gets the connection mode. + + + + + Gets the connect timeout. + + + + + Gets the name of the database. + + + + + Gets the fsync value of the write concern. + + + + + Gets the heartbeat interval. + + + + + Gets the heartbeat timeout. + + + + + Gets the hosts. + + + + + Gets whether to use IPv6. + + + + + Gets the journal value of the write concern. + + + + + Gets the local threshold. + + + + + Gets the max idle time. + + + + + Gets the max life time. + + + + + Gets the max size of the connection pool. + + + + + Gets the max staleness. + + + + + Gets the min size of the connection pool. + + + + + Gets the password. + + + + + Gets the read concern level. + + + The read concern level. + + + + + Gets the read preference. + + + + + Gets the replica set name. + + + + + Gets the read preference tags. + + + + + Gets the server selection timeout. + + + + + Gets the socket timeout. + + + + + Gets whether to use SSL. + + + + + Gets whether to verify SSL certificates. + + + + + Gets the username. + + + + + Gets the UUID representation. + + + + + Gets the wait queue multiple. + + + + + Gets the wait queue size. + + + + + Gets the wait queue timeout. + + + + + Gets the w value of the write concern. + + + + + Gets the wtimeout value of the write concern. + + + + + Gets the option. + + The name. + The option with the specified name. + + + + + + + Represents settings for a server. + + + + + Gets the default heartbeat interval. + + + + + Gets the default heartbeat timeout. + + + + + Initializes a new instance of the class. + + The heartbeat interval. + The heartbeat timeout. + + + + Gets the heartbeat interval. + + + The heartbeat interval. + + + + + Gets the heartbeat timeout. + + + The heartbeat timeout. + + + + + Returns a new ServerSettings instance with some settings changed. + + The heartbeat interval. + The heartbeat timeout. + A new ServerSettings instance. + + + + Represents settings for an SSL stream. + + + + + Initializes a new instance of the class. + + Whether to check for certificate revocation. + The client certificates. + The client certificate selection callback. + The enabled protocols. + The server certificate validation callback. + + + + Gets a value indicating whether to check for certificate revocation. + + + true if certificate should be checked for revocation; otherwise, false. + + + + + Gets the client certificates. + + + The client certificates. + + + + + Gets the client certificate selection callback. + + + The client certificate selection callback. + + + + + Gets the enabled SSL protocols. + + + The enabled SSL protocols. + + + + + Gets the server certificate validation callback. + + + The server certificate validation callback. + + + + + Returns a new SsslStreamSettings instance with some settings changed. + + Whether to check certificate revocation. + The client certificates. + The client certificate selection callback. + The enabled protocols. + The server certificate validation callback. + A new SsslStreamSettings instance. + + + + Represents settings for a TCP stream. + + + + + Initializes a new instance of the class. + + The address family. + The connect timeout. + The read timeout. + Size of the receive buffer. + Size of the send buffer. + The socket configurator. + The write timeout. + + + + Gets the address family. + + + The address family. + + + + + Gets the connect timeout. + + + The connect timeout. + + + + + Gets the read timeout. + + + The read timeout. + + + + + Gets the size of the receive buffer. + + + The size of the receive buffer. + + + + + Gets the size of the send buffer. + + + The size of the send buffer. + + + + + Gets the socket configurator. + + + The socket configurator. + + + + + Gets the write timeout. + + + The write timeout. + + + + + Returns a new TcpStreamSettings instance with some settings changed. + + The address family. + The connect timeout. + The read timeout. + Size of the receive buffer. + Size of the send buffer. + The socket configurator. + The write timeout. + A new TcpStreamSettings instance. + + + + Represents a connection pool. + + + + + Gets the server identifier. + + + The server identifier. + + + + + Acquires a connection. + + The cancellation token. + A connection. + + + + Acquires a connection. + + The cancellation token. + A Task whose result is a connection. + + + + Clears the connection pool. + + + + + Initializes the connection pool. + + + + + Represents a connection pool factory. + + + + + Creates a connection pool. + + The server identifier. + The end point. + A connection pool. + + + + Represents a connection using the binary wire protocol over a binary stream. + + + + + Represents a factory of BinaryConnections. + + + + + Represents the result of a buildInfo command. + + + + + Initializes a new instance of the class. + + The wrapped result document. + + + + Gets the server version. + + + The server version. + + + + + Gets the wrapped result document. + + + The wrapped result document. + + + + + + + + + + + + + + Represents information describing a connection. + + + + + Initializes a new instance of the class. + + The connection identifier. + The issMaster result. + The buildInfo result. + + + + Gets the buildInfo result. + + + The buildInfo result. + + + + + Gets the connection identifier. + + + The connection identifier. + + + + + Gets the isMaster result. + + + The isMaster result. + + + + + Gets the maximum number of documents in a batch. + + + The maximum number of documents in a batch. + + + + + Gets the maximum size of a document. + + + The maximum size of a document. + + + + + Gets the maximum size of a message. + + + The maximum size of a message. + + + + + Gets the maximum size of a wire document. + + + The maximum size of a wire document. + + + + + Gets the server version. + + + The server version. + + + + + + + + + + + + + + Returns a new instance of ConnectionDescription with a different connection identifier. + + The value. + A connection description. + + + + Represents internal IConnection extension methods (used to easily access the IConnectionInternal methods). + + + + + Represents a connection identifier. + + + + + Initializes a new instance of the class. + + The server identifier. + + + + Initializes a new instance of the class. + + The server identifier. + The local value. + + + + Gets the server identifier. + + + The server identifier. + + + + + Gets the local value. + + + The local value. + + + + + Gets the server value. + + + The server value. + + + + + + + + + + + + + + Compares all fields of two ConnectionId instances (Equals ignores the ServerValue). + + The other ConnectionId. + True if both instances are equal. + + + + + + + Returns a new instance of ConnectionId with a new server value. + + The server value. + A ConnectionId. + + + + Represents a connection initializer (opens and authenticates connections). + + + + + Represents a connection. + + + + + Gets the connection identifier. + + + The connection identifier. + + + + + Gets the connection description. + + + The connection description. + + + + + Gets the end point. + + + The end point. + + + + + Gets a value indicating whether this instance is expired. + + + true if this instance is expired; otherwise, false. + + + + + Gets the connection settings. + + + The connection settings. + + + + + Opens the connection. + + The cancellation token. + + + + Opens the connection. + + The cancellation token. + A Task. + + + + Receives a message. + + The id of the sent message for which a response is to be received. + The encoder selector. + The message encoder settings. + The cancellation token. + + The response message. + + + + + Receives a message. + + The id of the sent message for which a response is to be received. + The encoder selector. + The message encoder settings. + The cancellation token. + + A Task whose result is the response message. + + + + + Sends the messages. + + The messages. + The message encoder settings. + The cancellation token. + + + + Sends the messages. + + The messages. + The message encoder settings. + The cancellation token. + A Task. + + + + Represents a handle to a connection. + + + + + A new handle to the underlying connection. + + A connection handle. + + + + Represents a connection factory. + + + + + Creates the connection. + + The server identifier. + The end point. + A connection. + + + + Represents the result of an isMaster command. + + + + + Initializes a new instance of the class. + + The wrapped result document. + + + + Gets the election identifier. + + + + + Gets a value indicating whether this instance is an arbiter. + + + true if this instance is an arbiter; otherwise, false. + + + + + Gets a value indicating whether this instance is a replica set member. + + + true if this instance is a replica set member; otherwise, false. + + + + + Gets the last write timestamp. + + + The last write timestamp. + + + + + Gets the maximum number of documents in a batch. + + + The maximum number of documents in a batch. + + + + + Gets the maximum size of a document. + + + The maximum size of a document. + + + + + Gets the maximum size of a message. + + + The maximum size of a message. + + + + + Gets the endpoint the server is claiming it is known as. + + + + + Gets the type of the server. + + + The type of the server. + + + + + Gets the replica set tags. + + + The replica set tags. + + + + + Gets the maximum wire version. + + + The maximum wire version. + + + + + Gets the minimum wire version. + + + The minimum wire version. + + + + + Gets the wrapped result document. + + + The wrapped result document. + + + + + + + + + + + + + + Gets the replica set configuration. + + The replica set configuration. + + + + Represents a stream factory. + + + + + Creates a stream. + + The end point. + The cancellation token. + A Stream. + + + + Creates a stream. + + The end point. + The cancellation token. + A Task whose result is the Stream. + + + + Represents a factory for a binary stream over a TCP/IP connection. + + + + + + Occurs after a server is added to the cluster. + + + + + Initializes a new instance of the struct. + + The server identifier. + The duration of time it took to add the server. + + + + Gets the cluster identifier. + + + + + Gets the duration of time it took to add a server, + + + + + Gets the server identifier. + + + + + + Occurs before a server is added to the cluster. + + + + + Initializes a new instance of the struct. + + The cluster identifier. + The end point. + + + + Gets the cluster identifier. + + + + + Gets the end point. + + + + + + Occurs after a cluster is closed. + + + + + Initializes a new instance of the struct. + + The cluster identifier. + The duration of time it took to close the cluster. + + + + Gets the cluster identifier. + + + + + Gets the duration of time it took to close the cluster. + + + + + + Occurs before a cluster is closed. + + + + + Initializes a new instance of the struct. + + The cluster identifier. + + + + Gets the cluster identifier. + + + + + + Occurs when a cluster has changed. + + + + + Initializes a new instance of the struct. + + The old description. + The new description. + + + + Gets the cluster identifier. + + + + + Gets the old description. + + + + + Gets the new description. + + + + + + Occurs after a cluster is opened. + + + + + Initializes a new instance of the struct. + + The cluster identifier. + The cluster settings. + The duration of time it took to open the cluster. + + + + Gets the cluster identifier. + + + + + Gets the cluster settings. + + + + + Gets the duration of time it took to open the cluster. + + + + + + Occurs before a cluster is opened. + + + + + Initializes a new instance of the struct. + + The cluster identifier. + The cluster settings. + + + + Gets the cluster identifier. + + + + + Gets the cluster settings. + + + + + + Occurs after a server has been removed from the cluster. + + + + + Initializes a new instance of the struct. + + The server identifier. + The reason. + The duration of time it took to remove the server. + + + + Gets the cluster identifier. + + + + + Gets the duration of time it took to remove the server. + + + + + Gets the reason the server was removed. + + + + + Gets the server identifier. + + + + + + Occurs before a server is removed from the cluster. + + + + + Initializes a new instance of the struct. + + The server identifier. + The reason the server is being removed. + + + + Gets the cluster identifier. + + + + + Gets the reason the server is being removed. + + + + + Gets the server identifier. + + + + + + Occurs after a server is selected. + + + + + Initializes a new instance of the struct. + + The cluster description. + The server selector. + The selected server. + The duration of time it took to select the server. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the cluster description. + + + + + Gets the duration of time it took to select the server. + + + + + Gets the operation identifier. + + + + + Gets the server selector. + + + + + Gets the selected server. + + + + + + Occurs before a server is selected. + + + + + Initializes a new instance of the struct. + + The cluster description. + The server selector. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the cluster description. + + + + + Gets the operation identifier. + + + + + Gets the server selector. + + + + + + Occurs when selecting a server fails. + + + + + Initializes a new instance of the struct. + + The cluster description. + The server selector. + The exception. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the cluster description. + + + + + Gets the exception. + + + + + Gets the operation identifier. + + + + + Gets the server selector. + + + + + Occurs when a command has failed. + + + + + Initializes a new instance of the struct. + + Name of the command. + The exception. + The operation identifier. + The request identifier. + The connection identifier. + The duration. + + + + Gets the name of the command. + + + + + Gets the connection identifier. + + + + + Gets the duration. + + + + + Gets the exception. + + + + + Gets the operation identifier. + + + + + Gets the request identifier. + + + + + Occurs when a command has started. + + + + + Initializes a new instance of the class. + + Name of the command. + The command. + The database namespace. + The operation identifier. + The request identifier. + The connection identifier. + + + + Gets the command. + + + + + Gets the name of the command. + + + + + Gets the connection identifier. + + + + + Gets the database namespace. + + + + + Gets the operation identifier. + + + + + Gets the request identifier. + + + + + Occurs when a command has succeeded. + + + + + Initializes a new instance of the struct. + + Name of the command. + The reply. + The operation identifier. + The request identifier. + The connection identifier. + The duration. + + + + Gets the name of the command. + + + + + Gets the connection identifier. + + + + + Gets the duration. + + + + + Gets the operation identifier. + + + + + Gets the reply. + + + + + Gets the request identifier. + + + + + + Occurs after a connection is closed. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The duration of time it took to close the connection. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the duration of time it took to close the connection. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + + Occurs before a connection is closed. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + Occurs when a connection fails. + + + + + + Initializes a new instance of the struct. + + The connection identifier. + The exception. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the exception. + + + The exception. + + + + + Gets the server identifier. + + + + + + Occurs after a connection is opened. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The connection settings. + The duration of time it took to open the connection. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the connection settings. + + + + + Gets the duration of time it took to open the connection. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + + Occurs before a connection is opened. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The connection settings. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the connection settings. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + + Occurs when a connection fails to open. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The connection settings. + The exception. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the connection settings. + + + + + Gets the exception. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + + Occurs after a connection is added to the pool. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The duration of time it took to add the connection to the pool. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the duration of time it took to add the server to the pool. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + + Occurs before a connection is added to the pool. + + + + + Initializes a new instance of the struct. + + The server identifier. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + + Occurs after a connection is checked in to the pool. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The duration of time it took to check in the connection. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the duration of time it took to check in the connection. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + + Occurs after a connection is checked out of the pool. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The duration of time it took to check out the connection. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the duration of time it took to check out the connection. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + + Occurs before a connection is checked in to the pool. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + + Occurs before a connection is checking out of the pool. + + + + + Initializes a new instance of the struct. + + The server identifier. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + + Occurs when a connection could not be checked out of the pool. + + + + + Initializes a new instance of the struct. + + The server identifier. + The exception. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the exception. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + + Occurs after the pool is closed. + + + + + Initializes a new instance of the struct. + + The server identifier. + + + + Gets the cluster identifier. + + + + + Gets the server identifier. + + + + + + Occurs before the pool is closed. + + + + + Initializes a new instance of the struct. + + The server identifier. + + + + Gets the cluster identifier. + + + + + Gets the server identifier. + + + + + + Occurs after the pool is opened. + + + + + Initializes a new instance of the struct. + + The server identifier. + The connection pool settings. + + + + Gets the cluster identifier. + + + + + Gets the connection pool settings. + + + + + Gets the server identifier. + + + + + + Occurs before the pool is opened. + + + + + Initializes a new instance of the struct. + + The server identifier. + The connection pool settings. + + + + Gets the cluster identifier. + + + + + Gets the connection pool settings. + + + + + Gets the server identifier. + + + + + + Occurs after a connection is removed from the pool. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The duration of time it took to remove the connection from the pool. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the duration of time it took to remove the connection from the pool. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + + Occurs before a connection is removed from the pool. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + Occurs after a message is received. + + + + + + Initializes a new instance of the struct. + + The connection identifier. + The id of the message we received a response to. + The length of the received message. + The duration of network time it took to receive the message. + The duration of deserialization time it took to receive the message. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the duration of time it took to receive the message. + + + + + Gets the duration of deserialization time it took to receive the message. + + + + + Gets the duration of network time it took to receive the message. + + + + + Gets the length of the received message. + + + + + Gets the operation identifier. + + + + + Gets the id of the message we received a response to. + + + + + Gets the server identifier. + + + + + + Occurs before a message is received. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The id of the message we are receiving a response to. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the operation identifier. + + + + + Gets the id of the message we are receiving a response to. + + + + + Gets the server identifier. + + + + + + Occurs when a message was unable to be received. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The id of the message we were receiving a response to. + The exception. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the exception. + + + + + Gets the operation identifier. + + + + + Gets id of the message we were receiving a response to. + + + + + Gets the server identifier. + + + + + + Occurs before a message is sent. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The request ids. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the request ids. + + + + + Gets the operation identifier. + + + + + Gets the server identifier. + + + + + + Occurs when a message could not be sent. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The request ids. + The exception. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the exception. + + + + + Gets the operation identifier. + + + + + Gets the request ids. + + + + + Gets the server identifier. + + + + + + Occurs after a message has been sent. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The request ids. + The length. + The duration of time spent on the network. + The duration of time spent serializing the messages. + The operation identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the duration of time it took to send the message. + + + + + Gets the duration of time spent on the network. + + + + + Gets the operation identifier. + + + + + Gets the duration of time spent serializing the messages. + + + + + Gets the combined length of the messages. + + + + + Gets the request ids. + + + + + Gets the server identifier. + + + + + A subscriber to events. + + + + + Tries to get an event handler for an event of type . + + The type of the event. + The handler. + true if this subscriber has provided an event handler; otherwise false. + + + + Subscribes methods with a single argument to events + of that single argument's type. + + + + + Initializes a new instance of the class. + + The instance. + Name of the method to match against. + The binding flags. + + + + + + + + Occurs after a server is closed. + + + + + Initializes a new instance of the struct. + + The server identifier. + The duration of time it took to close the server. + + + + Gets the cluster identifier. + + + + + Gets the duration of time it took to close the server. + + + + + Gets the server identifier. + + + + + + Occurs before a server is closed. + + + + + Initializes a new instance of the struct. + + The server identifier. + + + + Gets the cluster identifier. + + + + + Gets the server identifier. + + + + + + Occurs after a server's description has changed. + + + + + Initializes a new instance of the struct. + + The old description. + The new description. + + + + Gets the cluster identifier. + + + + + Gets the new description. + + + + + Gets the old description. + + + + + Gets the server identifier. + + + + + + Occurs when a heartbeat failed. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The exception. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the exception. + + + + + Gets the server identifier. + + + + + + Occurs when a heartbeat succeeded. + + + + + Initializes a new instance of the struct. + + The connection identifier. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the server identifier. + + + + + + Occurs before heartbeat is issued. + + + + + Initializes a new instance of the struct. + + The connection identifier. + The duration of time it took to complete the heartbeat. + + + + Gets the cluster identifier. + + + + + Gets the connection identifier. + + + + + Gets the duration of time it took to complete the heartbeat. + + + + + Gets the server identifier. + + + + + + Occurs after a server is opened. + + + + + Initializes a new instance of the struct. + + The server identifier. + The server settings. + The duration of time it took to open the server. + + + + Gets the cluster identifier. + + + + + Gets the duration of time it took to open the server. + + + + + Gets the server identifier. + + + + + Gets the server settings. + + + + + + Occurs before a server is opened. + + + + + Initializes a new instance of the struct. + + The server identifier. + The server settings. + + + + Gets the cluster identifier. + + + + + Gets the server identifier. + + + + + Gets the server settings. + + + + + Subscriber for a single type of event. + + The type of the single event. + + + + Initializes a new instance of the class. + + The handler. + + + + + + + An event subscriber that writes command events to a trace source. + + + + + Initializes a new instance of the class. + + The trace source. + + + + + + + An event subscriber that writes to a trace source. + + + + + Initializes a new instance of the class. + + The trace source. + + + + + + + Represents a source of items that can be broken into batches. + + The type of the items. + + + + Initializes a new instance of the class. + + + Use this overload when you know the batch is small and won't have to be broken up into sub-batches. + In that case using this overload is simpler than using an enumerator and using the other constructor. + + The single batch. + + + + Initializes a new instance of the class. + + The enumerator that will provide the items for the batch. + + + + Gets the most recent batch. + + + The most recent batch. + + + + + Gets the current item. + + + The current item. + + + + + Gets a value indicating whether there are more items. + + + true if there are more items; otherwise, false. + + + + + Clears the most recent batch. + + + + + Called when the last batch is complete. + + The batch. + + + + Called when an intermediate batch is complete. + + The batch. + The overflow item. + + + + Gets all the remaining items that haven't been previously consumed. + + The remaining items. + + + + Moves to the next item in the source. + + True if there are more items. + + + + Starts a new batch. + + The overflow item of the previous batch if there is one; otherwise, null. + + + + Represents an overflow item that did not fit in the most recent batch and will be become the first item in the next batch. + + + + + The item. + + + + + The state information, if any, that the consumer wishes to associate with the overflow item. + + + + + Represents the collation feature. + + + + + + Initializes a new instance of the class. + + The name of the feature. + The first server version that supports the feature. + + + + Throws if collation value is not null and collations are not supported. + + The server version. + The value. + + + + Represents the commands that write accept write concern concern feature. + + + + + + Initializes a new instance of the class. + + The name of the feature. + The first server version that supports the feature. + + + + Returns true if the write concern value supplied is one that should be sent to the server and the server version supports the commands that write accept write concern feature. + + The server version. + The write concern value. + Whether the write concern should be sent to the server. + + + + Represents helper methods for EndPoints. + + + + + Gets an end point equality comparer. + + + An end point equality comparer. + + + + + Determines whether a list of end points contains a specific end point. + + The list of end points. + The specific end point to search for. + True if the list of end points contains the specific end point. + + + + Compares two end points. + + The first end point. + The second end point. + True if both end points are equal, or if both are null. + + + + Creates an end point from object data saved during serialization. + + The object data. + An end point. + + + + Compares two sequences of end points. + + The first sequence of end points. + The second sequence of end points. + True if both sequences contain the same end points in the same order, or if both sequences are null. + + + + Parses the string representation of an end point. + + The value to parse. + An end point. + + + + Returns a that represents the end point. + + The end point. + + A that represents the end point. + + + + + Tries to parse the string representation of an end point. + + The value to parse. + The result. + True if the string representation was parsed successfully. + + + + Represents methods that can be used to ensure that parameter values meet expected conditions. + + + + + Ensures that the value of a parameter is between a minimum and a maximum value. + + Type type of the value. + The value of the parameter. + The minimum value. + The maximum value. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is equal to a comparand. + + Type type of the value. + The value of the parameter. + The comparand. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is greater than or equal to a comparand. + + Type type of the value. + The value of the parameter. + The comparand. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is greater than or equal to zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is greater than or equal to zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is greater than or equal to zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is greater than zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is greater than zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is greater than zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is infinite or greater than or equal to zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is infinite or greater than zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is not null. + + Type type of the value. + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is not null or empty. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is null. + + Type type of the value. + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is null or greater than or equal to zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is null or greater than or equal to zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is null or greater than zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is null or greater than zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is null or greater than zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is null, or infinite, or greater than or equal to zero. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is null or not empty. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is null or a valid timeout. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that the value of a parameter is a valid timeout. + + The value of the parameter. + The name of the parameter. + The value of the parameter. + + + + Ensures that an assertion is true. + + The assertion. + The message to use with the exception that is thrown if the assertion is false. + + + + Ensures that an assertion is true. + + The assertion. + The message to use with the exception that is thrown if the assertion is false. + The parameter name. + + + + Ensures that the value of a parameter meets an assertion. + + Type type of the value. + The value of the parameter. + The assertion. + The name of the parameter. + The message to use with the exception that is thrown if the assertion is false. + The value of the parameter. + + + + A mapper from error responses to custom exceptions. + + + + + Maps the specified response to a custom exception (if possible). + + The connection identifier. + The response. + + The custom exception (or null if the response could not be mapped to a custom exception). + + + + + Maps the specified writeConcernResult to a custom exception (if necessary). + + The connection identifier. + The write concern result. + + The custom exception (or null if the writeConcernResult was not mapped to an exception). + + + + + Maps the server response to a MongoNotPrimaryException or MongoNodeIsRecoveringException (if appropriate). + + The connection identifier. + The server response. + Name of the error message field. + The exception, or null if no exception necessary. + + + + Represents a feature that is not supported by all versions of the server. + + + + + Gets the aggregate feature. + + + + + Gets the aggregate allow disk use feature. + + + + + Gets the aggregate bucket stage feature. + + + + + Gets the aggregate count stage feature. + + + + + Gets the aggregate cursor result feature. + + + + + Gets the aggregate explain feature. + + + + + Gets the aggregate $facet stage feature. + + + + + Gets the aggregate $graphLookup stage feature. + + + + + Gets the aggregate out feature. + + + + + Gets the bypass document validation feature. + + + + + Gets the collation feature. + + + + + Gets the commands that write accept write concern feature. + + + + + Gets the create indexes command feature. + + + + + Gets the current op command feature. + + + + + Gets the document validation feature. + + + + + Gets the explain command feature. + + + + + Gets the fail points feature. + + + + + Gets the find and modify write concern feature. + + + + + Gets the find command feature. + + + + + Gets the index options defaults feature. + + + + + Gets the list collections command feature. + + + + + Gets the list indexes command feature. + + + + + Gets the maximum staleness feature. + + + + + Gets the maximum time feature. + + + + + Gets the partial indexes feature. + + + + + Gets the read concern feature. + + + + + Gets the scram sha1 authentication feature. + + + + + Gets the server extracts username from X509 certificate feature. + + + + + Gets the user management commands feature. + + + + + Gets the views feature. + + + + + Gets the write commands feature. + + + + + Initializes a new instance of the class. + + The name of the feature. + The first server version that supports the feature. + + + + Gets the name of the feature. + + + + + Gets the first server version that supports the feature. + + + + + Gets the last server version that does not support the feature. + + + + + Determines whether a feature is supported by a version of the server. + + The server version. + Whether a feature is supported by a version of the server. + + + + Returns a version of the server where the feature is or is not supported. + + Whether the feature is supported or not. + A version of the server where the feature is or is not supported. + + + + Throws if the feature is not supported by a version of the server. + + The server version. + + + + Thread-safe helper to manage a value. + + + + + Represents a range between a minimum and a maximum value. + + The type of the value. + + + + Initializes a new instance of the class. + + The minimum value. + The maximum value. + + + + Gets the maximum value. + + + The maximum value. + + + + + Gets the minimum value. + + + The minimum value. + + + + + + + + + + + + + + Determines whether this range overlaps with another range. + + The other range. + True if this range overlaps with the other + + + + + + + Represents the read concern feature. + + + + + + Initializes a new instance of the class. + + The name of the feature. + The first server version that supports the feature. + + + + Throws if the read concern value is not the server default and read concern is not supported. + + The server version. + The value. + + + + Represents a semantic version number. + + + + + Initializes a new instance of the class. + + The major version. + The minor version. + The patch version. + + + + Initializes a new instance of the class. + + The major version. + The minor version. + The patch version. + The pre release version. + + + + Gets the major version. + + + The major version. + + + + + Gets the minor version. + + + The minor version. + + + + + Gets the patch version. + + + The patch version. + + + + + Gets the pre release version. + + + The pre release version. + + + + + + + + + + + + + + + + + + + + Parses a string representation of a semantic version. + + The string value to parse. + A semantic version. + + + + Tries to parse a string representation of a semantic version. + + The string value to parse. + The result. + True if the string representation was parsed successfully; otherwise false. + + + + Determines whether two specified semantic versions have the same value. + + The first semantic version to compare, or null. + The second semantic version to compare, or null. + + True if the value of a is the same as the value of b; otherwise false. + + + + + Determines whether two specified semantic versions have different values. + + The first semantic version to compare, or null. + The second semantic version to compare, or null. + + True if the value of a is different from the value of b; otherwise false. + + + + + Determines whether the first specified SemanticVersion is greater than the second specified SemanticVersion. + + The first semantic version to compare, or null. + The second semantic version to compare, or null. + + True if the value of a is greater than b; otherwise false. + + + + + Determines whether the first specified SemanticVersion is greater than or equal to the second specified SemanticVersion. + + The first semantic version to compare, or null. + The second semantic version to compare, or null. + + True if the value of a is greater than or equal to b; otherwise false. + + + + + Determines whether the first specified SemanticVersion is less than the second specified SemanticVersion. + + The first semantic version to compare, or null. + The second semantic version to compare, or null. + + True if the value of a is less than b; otherwise false. + + + + + Determines whether the first specified SemanticVersion is less than or equal to the second specified SemanticVersion. + + The first semantic version to compare, or null. + The second semantic version to compare, or null. + + True if the value of a is less than or equal to b; otherwise false. + + + + + Represents a tentative request to acquire a SemaphoreSlim. + + + + + Initializes a new instance of the class. + + The semaphore. + The cancellation token. + + + + Gets the semaphore wait task. + + + The semaphore wait task. + + + + + + + + Represents an aggregate explain operations. + + + + + Initializes a new instance of the class. + + The collection namespace. + The pipeline. + The message encoder settings. + + + + Gets or sets a value indicating whether the server is allowed to use the disk. + + + A value indicating whether the server is allowed to use the disk. + + + + + Gets or sets the collation. + + + The collation. + + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + The maximum time the server should spend on this operation. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets the pipeline. + + + The pipeline. + + + + + + + + + + + Represents an aggregate operation. + + The type of the result values. + + + + Initializes a new instance of the class. + + The collection namespace. + The pipeline. + The result value serializer. + The message encoder settings. + + + + Gets or sets a value indicating whether the server is allowed to use the disk. + + + A value indicating whether the server is allowed to use the disk. + + + + + Gets or sets the size of a batch. + + + The size of a batch. + + + + + Gets or sets the collation. + + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + The maximum time the server should spend on this operation. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets the pipeline. + + + The pipeline. + + + + + Gets or sets the read concern. + + + The read concern. + + + + + Gets the result value serializer. + + + The result value serializer. + + + + + Gets or sets a value indicating whether the server should use a cursor to return the results. + + + A value indicating whether the server should use a cursor to return the results. + + + + + + + + + + + Returns an AggregateExplainOperation for this AggregateOperation. + + The verbosity. + An AggregateExplainOperation. + + + + Represents an aggregate operation that writes the results to an output collection. + + + + + Initializes a new instance of the class. + + The collection namespace. + The pipeline. + The message encoder settings. + + + + Gets or sets a value indicating whether the server is allowed to use the disk. + + + A value indicating whether the server is allowed to use the disk. + + + + + Gets or sets a value indicating whether to bypass document validation. + + + A value indicating whether to bypass document validation. + + + + + Gets or sets the collation. + + + The collation. + + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + The maximum time the server should spend on this operation. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets the pipeline. + + + The pipeline. + + + + + Gets or sets the write concern. + + + The write concern. + + + + + + + + + + + Represents an async cursor. + + The type of the documents. + + + + Initializes a new instance of the class. + + The channel source. + The collection namespace. + The query. + The first batch. + The cursor identifier. + The size of a batch. + The limit. + The serializer. + The message encoder settings. + The maxTime for each batch. + + + + + + + + + + Releases unmanaged and - optionally - managed resources. + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + + + + + + + Represents a mixed write bulk operation. + + + + + Initializes a new instance of the class. + + The collection namespace. + The requests. + The message encoder settings. + + + + Gets or sets a value indicating whether to bypass document validation. + + + A value indicating whether to bypass document validation. + + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets or sets a value indicating whether the writes must be performed in order. + + + true if the writes must be performed in order; otherwise, false. + + + + + Gets or sets the maximum number of documents in a batch. + + + The maximum number of documents in a batch. + + + + + Gets or sets the maximum length of a batch. + + + The maximum length of a batch. + + + + + Gets or sets the maximum size of a document. + + + The maximum size of a document. + + + + + Gets or sets the maximum size of a wire document. + + + The maximum size of a wire document. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets the requests. + + + The requests. + + + + + Gets or sets the write concern. + + + The write concern. + + + + + + + + + + + + + + + + Represents the result of one batch executed using a write command. + + + + + Represents the details of a write concern error. + + + + + Initializes a new instance of the class. + + The code. + The message. + The details. + + + + Gets the error code. + + + The error code. + + + + + Gets the error details. + + + The error details. + + + + + Gets the error message. + + + The error message. + + + + + Represents the details of a write error for a particular request. + + + + + Initializes a new instance of the class. + + The index. + The code. + The message. + The details. + + + + Gets the error category. + + + The error category. + + + + + Gets the error code. + + + The error code. + + + + + Gets the error details. + + + The error details. + + + + + Gets the index of the request that had an error. + + + The index. + + + + + Gets the error message. + + + The error message. + + + + + Represents the result of a bulk write operation. + + + + + Initializes a new instance of the class. + + The request count. + The processed requests. + + + + Gets the number of documents that were deleted. + + + The number of document that were deleted. + + + + + Gets the number of documents that were inserted. + + + The number of document that were inserted. + + + + + Gets a value indicating whether the bulk write operation was acknowledged. + + + true if the bulk write operation was acknowledged; otherwise, false. + + + + + Gets a value indicating whether the modified count is available. + + + The modified count is only available when all servers have been upgraded to 2.6 or above. + + + true if the modified count is available; otherwise, false. + + + + + Gets the number of documents that were matched. + + + The number of document that were matched. + + + + + Gets the number of documents that were actually modified during an update. + + + The number of document that were actually modified during an update. + + + + + Gets the processed requests. + + + The processed requests. + + + + + Gets the request count. + + + The request count. + + + + + Gets a list with information about each request that resulted in an upsert. + + + The list with information about each request that resulted in an upsert. + + + + + Represents the result of an acknowledged bulk write operation. + + + + + Initializes a new instance of the class. + + The request count. + The matched count. + The deleted count. + The inserted count. + The modified count. + The processed requests. + The upserts. + + + + + + + + + + + + + + + + + + + + + + + + + Represents the result of an unacknowledged BulkWrite operation. + + + + + Initializes a new instance of the class. + + The request count. + The processed requests. + + + + + + + + + + + + + + + + + + + + + + + + + Represents the information about one Upsert. + + + + + Gets the identifier. + + + The identifier. + + + + + Gets the index. + + + The index. + + + + + Represents the base class for a command operation. + + The type of the command result. + + + + Initializes a new instance of the class. + + The database namespace. + The command. + The result serializer. + The message encoder settings. + + + + Gets or sets the additional options. + + + The additional options. + + + + + Gets the command. + + + The command. + + + + + Gets or sets the command validator. + + + The command validator. + + + + + Gets or sets the comment. + + + The comment. + + + + + Gets the database namespace. + + + The database namespace. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets the result serializer. + + + The result serializer. + + + + + Executes the protocol. + + The channel source. + The read preference. + The cancellation token. + A Task whose result is the command result. + + + + Executes the protocol. + + The channel source. + The read preference. + The cancellation token. + A Task whose result is the command result. + + + + Represents a count operation. + + + + + Initializes a new instance of the class. + + The collection namespace. + The message encoder settings. + + + + Gets or sets the collation. + + + The collation. + + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets or sets the filter. + + + The filter. + + + + + Gets or sets the index hint. + + + The index hint. + + + + + Gets or sets a limit on the number of matching documents to count. + + + A limit on the number of matching documents to count. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + The maximum time the server should spend on this operation. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets or sets the read concern. + + + The read concern. + + + + + Gets or sets the number of documents to skip before counting the remaining matching documents. + + + The number of documents to skip before counting the remaining matching documents. + + + + + + + + + + + Represents a create collection operation. + + + + + Initializes a new instance of the class. + + The collection namespace. + The message encoder settings. + + + + Gets or sets a value indicating whether an index on _id should be created automatically. + + + A value indicating whether an index on _id should be created automatically. + + + + + Gets or sets a value indicating whether the collection is a capped collection. + + + A value indicating whether the collection is a capped collection. + + + + + Gets or sets the collation. + + + The collation. + + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets or sets the index option defaults. + + + The index option defaults. + + + + + Gets or sets the maximum number of documents in a capped collection. + + + The maximum number of documents in a capped collection. + + + + + Gets or sets the maximum size of a capped collection. + + + The maximum size of a capped collection. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets or sets whether padding should not be used. + + + + + Gets or sets the storage engine options. + + + The storage engine options. + + + + + Gets or sets a value indicating whether the collection should use power of 2 sizes. + + + A value indicating whether the collection should use power of 2 sizes.. + + + + + Gets or sets the validation action. + + + The validation action. + + + + + Gets or sets the validation level. + + + The validation level. + + + + + Gets or sets the validator. + + + The validator. + + + + + Gets or sets the write concern. + + + The write concern. + + + + + + + + + + + Represents a create indexes operation. + + + + + Initializes a new instance of the class. + + The collection namespace. + The requests. + The message encoder settings. + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets the create index requests. + + + The create index requests. + + + + + Gets or sets the write concern. + + + The write concern. + + + + + + + + + + + Represents a create indexes operation that uses the createIndexes command. + + + + + Initializes a new instance of the class. + + The collection namespace. + The requests. + The message encoder settings. + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets the create index requests. + + + The create index requests. + + + + + Gets or sets the write concern. + + + The write concern. + + + + + + + + + + + Represents a create indexes operation that inserts into the system.indexes collection (used with older server versions). + + + + + Initializes a new instance of the class. + + The collection namespace. + The requests. + The message encoder settings. + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets the create index requests. + + + The create index requests. + + + + + + + + + + + Represents a create index request. + + + + + Initializes a new instance of the class. + + The keys. + + + + Gets or sets the additional options. + + + The additional options. + + + + + Gets or sets a value indicating whether the index should be created in the background. + + + A value indicating whether the index should be created in the background. + + + + + Gets or sets the bits of precision of the geohash values for 2d geo indexes. + + + The bits of precision of the geohash values for 2d geo indexes. + + + + + Gets or sets the size of the bucket for geo haystack indexes. + + + The size of the bucket for geo haystack indexes. + + + + + Gets or sets the collation. + + + + + Gets or sets the default language for text indexes. + + + The default language for text indexes. + + + + + Gets or sets when documents in a TTL collection expire. + + + When documents in a TTL collection expire. + + + + + Gets or sets the language override for text indexes. + + + The language override for text indexes. + + + + + Gets the keys. + + + The keys. + + + + + Gets or sets the maximum coordinate value for 2d indexes. + + + The maximum coordinate value for 2d indexesThe maximum. + + + + + Gets or sets the minimum coordinate value for 2d indexes. + + + The minimum coordinate value for 2d indexes. + + + + + Gets or sets the index name. + + + The index name. + + + + + Gets or sets the partial filter expression. + + + The partial filter expression. + + + + + Gets or sets a value indicating whether the index is a sparse index. + + + A value indicating whether the index is a sparse index. + + + + + Gets or sets the 2dsphere index version. + + + The 2dsphere index version. + + + + + Gets or sets the storage engine options. + + + The storage engine options. + + + + + Gets or sets the text index version. + + + The text index version. + + + + + Gets or sets a value indicating whether the index enforces the uniqueness of the key values. + + + A value indicating whether the index enforces the uniqueness of the key values. + + + + + Gets or sets the index version. + + + The index version. + + + + + Gets or sets the weights for text indexes. + + + The weights for text indexes. + + + + + Gets the name of the index. + + The name of the index. + + + + Represents a create view operation. + + + + + Initializes a new instance of the class. + + The name of the database. + The name of the view. + The name of the collection that the view is on. + The pipeline. + The message encoder settings. + + + + Gets or sets the collation. + + + The collation. + + + + + Gets the namespace of the database. + + + The namespace of the database. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets the pipeline. + + + The pipeline. + + + + + Gets the name of the view. + + + The name of the view. + + + + + Gets the name of the collection that the view is on. + + + The name of the collection that the view is on. + + + + + Gets or sets the write concern. + + + The write concern. + + + + + + + + + + + A helper class for deserializing documents in a cursor batch. + + + + + Deserializes the documents. + + The type of the document. + The batch. + The document serializer. + The message encoder settings. + The documents. + + + + The cursor type. + + + + + A non-tailable cursor. This is sufficient for most uses. + + + + + A tailable cursor. + + + + + A tailable cursor with a built-in server sleep. + + + + + Represents a database exists operation. + + + + + Initializes a new instance of the class. + + The database namespace. + The message encoder settings. + + + + Gets the database namespace. + + + The database namespace. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + + + + + + + Represents a delete operation using the delete opcode. + + + + + Initializes a new instance of the class. + + The collection namespace. + The request. + The message encoder settings. + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets the request. + + + The request. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets or sets the write concern. + + + The write concern. + + + + + + + + + + + Represents a request to delete one or more documents. + + + + + Initializes a new instance of the class. + + The filter. + + + + Gets or sets the collation. + + + + + Gets or sets the filter. + + + + + Gets or sets a limit on the number of documents that should be deleted. + + + The server only supports 0 or 1, and 0 means that all matching documents should be deleted. + + + A limit on the number of documents that should be deleted. + + + + + Represents a distinct operation. + + The type of the value. + + + + Initializes a new instance of the class. + + The collection namespace. + The value serializer. + The name of the field. + The message encoder settings. + + + + Gets or sets the collation. + + + The collation. + + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets or sets the filter. + + + The filter. + + + + + Gets the name of the field. + + + The name of the field. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + The maximum time the server should spend on this operation. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets or sets the read concern. + + + The read concern. + + + + + Gets the value serializer. + + + The value serializer. + + + + + + + + + + + Represents a drop collection operation. + + + + + Initializes a new instance of the class. + + The collection namespace. + The message encoder settings. + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets or sets the write concern. + + + The write concern. + + + + + + + + + + + Represents a drop database operation. + + + + + Initializes a new instance of the class. + + The database namespace. + The message encoder settings. + + + + Gets the database namespace. + + + The database namespace. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets or sets the write concern. + + + The write concern. + + + + + + + + + + + Represents a drop index operation. + + + + + Initializes a new instance of the class. + + The collection namespace. + The keys. + The message encoder settings. + + + + Initializes a new instance of the class. + + The collection namespace. + The name of the index. + The message encoder settings. + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets the name of the index. + + + The name of the index. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets or sets the write concern. + + + The write concern. + + + + + + + + + + + Represents a deserializer that deserializes the selected element and skips any others. + + The type of the value. + + + + Represents an eval operation. + + + + + Initializes a new instance of the class. + + The database namespace. + The JavaScript function. + The message encoder settings. + + + + Gets or sets the arguments to the JavaScript function. + + + The arguments to the JavaScript function. + + + + + Gets the database namespace. + + + The database namespace. + + + + + Gets the JavaScript function. + + + The JavaScript function. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + The maximum time the server should spend on this operation. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets or sets a value indicating whether the server should not take a global write lock before evaluating the JavaScript function. + + + A value indicating whether the server should not take a global write lock before evaluating the JavaScript function. + + + + + + + + + + + Represents an explain operation. + + + + + Initializes a new instance of the class. + + The database namespace. + The command. + The message encoder settings. + + + + Gets the database namespace. + + + The database namespace. + + + + + Gets the command to be explained. + + + The command to be explained. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets or sets the verbosity. + + + The verbosity. + + + + + + + + + + + + + + + + + The verbosity of an explanation. + + + + + Runs the query planner and chooses the winning plan, but does not actually execute it. + + + + + Runs the query optimizer, and then runs the winning plan to completion. In addition to the + planner information, this makes execution stats available. + + + + + Runs the query optimizer and chooses the winning plan, but then runs all generated plans + to completion. This makes execution stats available for all of the query plans. + + + + + Represents a base class for find and modify operations. + + The type of the result. + + + + Initializes a new instance of the class. + + The collection namespace. + The result serializer. + The message encoder settings. + + + + Gets or sets the collation. + + + The collation. + + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets the result serializer. + + + The result serializer. + + + + + Gets or sets the write concern. + + + + + + + + + + + Gets the command validator. + + An element name validator for the command. + + + + Represents a deserializer for find and modify result values. + + The type of the result. + + + + Initializes a new instance of the class. + + The value serializer. + + + + + + + Represents a Find command operation. + + The type of the document. + + + + Initializes a new instance of the class. + + The collection namespace. + The result serializer. + The message encoder settings. + + + + Gets or sets a value indicating whether the server is allowed to return partial results if any shards are unavailable. + + + true if the server is allowed to return partial results if any shards are unavailable; otherwise, false. + + + + + Gets or sets the size of a batch. + + + The size of a batch. + + + + + Gets or sets the collation. + + + The collation. + + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets or sets the comment. + + + The comment. + + + + + Gets or sets the type of the cursor. + + + The type of the cursor. + + + + + Gets or sets the filter. + + + The filter. + + + + + Gets or sets the size of the first batch. + + + The size of the first batch. + + + + + Gets or sets the hint. + + + The hint. + + + + + Gets or sets the limit. + + + The limit. + + + + + Gets or sets the max key value. + + + The max key value. + + + + + Gets or sets the maximum await time for TailableAwait cursors. + + + The maximum await time for TailableAwait cursors. + + + + + Gets or sets the max scan. + + + The max scan. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + The maximum time the server should spend on this operation. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets or sets the min key value. + + + The max min value. + + + + + Gets or sets a value indicating whether the server will not timeout the cursor. + + + true if the server will not timeout the cursor; otherwise, false. + + + + + Gets or sets a value indicating whether the OplogReplay bit will be set. + + + true if the OplogReplay bit will be set; otherwise, false. + + + + + Gets or sets the projection. + + + The projection. + + + + + Gets or sets the read concern. + + + The read concern. + + + + + Gets the result serializer. + + + The result serializer. + + + + + Gets or sets whether to only return the key values. + + + Whether to only return the key values. + + + + + Gets or sets whether the record Id should be added to the result document. + + + Whether the record Id should be added to the result documentr. + + + + + Gets or sets whether to return only a single batch. + + + Whether to return only a single batchThe single batch. + + + + + Gets or sets the number of documents skip. + + + The number of documents skip. + + + + + Gets or sets whether to use snapshot behavior. + + + Whether to use snapshot behavior. + + + + + Gets or sets the sort specification. + + + The sort specification. + + + + + + + + + + + Represents a find one and delete operation. + + The type of the result. + + + + Initializes a new instance of the class. + + The collection namespace. + The filter. + The result serializer. + The message encoder settings. + + + + Gets the filter. + + + The filter. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + The maximum time the server should spend on this operation. + + + + + Gets or sets the projection. + + + The projection. + + + + + Gets or sets the sort specification. + + + The sort specification. + + + + + + + + Represents a find one and replace operation. + + The type of the result. + + + + Initializes a new instance of the class. + + The collection namespace. + The filter. + The replacement. + The result serializer. + The message encoder settings. + + + + Gets or sets a value indicating whether to bypass document validation. + + + A value indicating whether to bypass document validation. + + + + + Gets the filter. + + + The filter. + + + + + Gets a value indicating whether a document should be inserted if no matching document is found. + + + true if a document should be inserted if no matching document is found; otherwise, false. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + The maximum time the server should spend on this operation. + + + + + Gets or sets the projection. + + + The projection. + + + + + Gets the replacement document. + + + The replacement document. + + + + + Gets or sets which version of the modified document to return. + + + Which version of the modified document to return. + + + + + Gets or sets the sort specification. + + + The sort specification. + + + + + + + + Represents a find one and update operation. + + The type of the result. + + + + Initializes a new instance of the class. + + The collection namespace. + The filter. + The update. + The result serializer. + The message encoder settings. + + + + Gets or sets a value indicating whether to bypass document validation. + + + A value indicating whether to bypass document validation. + + + + + Gets the filter. + + + The filter. + + + + + Gets a value indicating whether a document should be inserted if no matching document is found. + + + true if a document should be inserted if no matching document is found; otherwise, false. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + The maximum time the server should spend on this operation. + + + + + Gets or sets the projection. + + + The projection. + + + + + Gets or sets which version of the modified document to return. + + + Which version of the modified document to return. + + + + + Gets or sets the sort specification. + + + The sort specification. + + + + + Gets or sets the update specification. + + + The update specification. + + + + + + + + Represents a Find opcode operation. + + The type of the returned documents. + + + + Initializes a new instance of the class. + + The collection namespace. + The result serializer. + The message encoder settings. + + + + Gets or sets a value indicating whether the server is allowed to return partial results if any shards are unavailable. + + + true if the server is allowed to return partial results if any shards are unavailable; otherwise, false. + + + + + Gets or sets the size of a batch. + + + The size of a batch. + + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets or sets the comment. + + + The comment. + + + + + Gets or sets the type of the cursor. + + + The type of the cursor. + + + + + Gets or sets the filter. + + + The filter. + + + + + Gets or sets the size of the first batch. + + + The size of the first batch. + + + + + Gets or sets the hint. + + + The hint. + + + + + Gets or sets the limit. + + + The limit. + + + + + Gets or sets the max key value. + + + The max key value. + + + + + Gets or sets the max scan. + + + The max scan. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + The maximum time the server should spend on this operation. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets or sets the min key value. + + + The max min value. + + + + + Gets or sets any additional query modifiers. + + + The additional query modifiers. + + + + + Gets or sets a value indicating whether the server will not timeout the cursor. + + + true if the server will not timeout the cursor; otherwise, false. + + + + + Gets or sets a value indicating whether the OplogReplay bit will be set. + + + true if the OplogReplay bit will be set; otherwise, false. + + + + + Gets or sets the projection. + + + The projection. + + + + + Gets the result serializer. + + + The result serializer. + + + + + Gets or sets whether the record Id should be added to the result document. + + + Whether the record Id should be added to the result documentr. + + + + + Gets or sets the number of documents skip. + + + The number of documents skip. + + + + + Gets or sets whether to use snapshot behavior. + + + Whether to use snapshot behavior. + + + + + Gets or sets the sort specification. + + + The sort specification. + + + + + + + + + + + Returns an explain operation for this find operation. + + The verbosity. + An explain operation. + + + + Represents a Find operation. + + The type of the returned documents. + + + + Initializes a new instance of the class. + + The collection namespace. + The result serializer. + The message encoder settings. + + + + Gets or sets a value indicating whether the server is allowed to return partial results if any shards are unavailable. + + + true if the server is allowed to return partial results if any shards are unavailable; otherwise, false. + + + + + Gets or sets the size of a batch. + + + The size of a batch. + + + + + Gets or sets the collation. + + + The collation. + + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets or sets the comment. + + + The comment. + + + + + Gets or sets the type of the cursor. + + + The type of the cursor. + + + + + Gets or sets the filter. + + + The filter. + + + + + Gets or sets the size of the first batch. + + + The size of the first batch. + + + + + Gets or sets the hint. + + + The hint. + + + + + Gets or sets the limit. + + + The limit. + + + + + Gets or sets the max key value. + + + The max key value. + + + + + Gets or sets the maximum await time for TailableAwait cursors. + + + The maximum await time for TailableAwait cursors. + + + + + Gets or sets the max scan. + + + The max scan. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + The maximum time the server should spend on this operation. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets or sets the min key value. + + + The max min value. + + + + + Gets or sets any additional query modifiers. + + + The additional query modifiers. + + + + + Gets or sets a value indicating whether the server will not timeout the cursor. + + + true if the server will not timeout the cursor; otherwise, false. + + + + + Gets or sets a value indicating whether the OplogReplay bit will be set. + + + true if the OplogReplay bit will be set; otherwise, false. + + + + + Gets or sets the projection. + + + The projection. + + + + + Gets or sets the read concern. + + + The read concern. + + + + + Gets the result serializer. + + + The result serializer. + + + + + Gets or sets whether to only return the key values. + + + Whether to only return the key values. + + + + + Gets or sets whether the record Id should be added to the result document. + + + Whether the record Id should be added to the result documentr. + + + + + Gets or sets whether to return only a single batch. + + + Whether to return only a single batchThe single batch. + + + + + Gets or sets the number of documents skip. + + + The number of documents skip. + + + + + Gets or sets whether to use snapshot behavior. + + + Whether to use snapshot behavior. + + + + + Gets or sets the sort specification. + + + The sort specification. + + + + + + + + + + + Represents the geoNear command. + + The type of the result. + + + + Initializes a new instance of the class. + + The collection namespace. + The point for which to find the closest documents. + The result serializer. + The message encoder settings. + + + + Gets or sets the collation. + + + + + Gets the collection namespace. + + + + + Gets or sets the distance multiplier. + + + + + Gets or sets the filter. + + + + + Gets or sets whether to include the locations of the matching documents. + + + + + Gets or sets the limit. + + + + + Gets or sets the maximum distance. + + + + + Gets or sets the maximum time. + + + + + Gets the message encoder settings. + + + + + Gets the point for which to find the closest documents. + + + + + Gets or sets the read concern. + + + + + Gets the result serializer. + + + + + Gets or sets whether to use spherical geometry. + + + + + Gets or sets whether to return a document only once. + + + + + + + + + + + Represents the geoSearch command. + + The type of the result. + + + + Initializes a new instance of the class. + + The collection namespace. + The point for which to find the closest documents. + The result serializer. + The message encoder settings. + + + + Gets the collection namespace. + + + + + Gets or sets the limit. + + + + + Gets or sets the maximum distance. + + + + + Gets or sets the maximum time. + + + + + Gets the message encoder settings. + + + + + Gets the point for which to find the closest documents. + + + + + Gets or sets the read concern. + + + + + Gets the result serializer. + + + + + Gets or sets the search. + + + + + + + + + + + Represents a group operation. + + The type of the result. + + + + Initializes a new instance of the class. + + The collection namespace. + The key. + The initial aggregation result for each group. + The reduce function. + The filter. + The message encoder settings. + + + + Initializes a new instance of the class. + + The collection namespace. + The key function. + The initial aggregation result for each group. + The reduce function. + The filter. + The message encoder settings. + + + + Gets or sets the collation. + + + The collation. + + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets the filter. + + + The filter. + + + + + Gets or sets the finalize function. + + + The finalize function. + + + + + Gets the initial aggregation result for each group. + + + The initial aggregation result for each group. + + + + + Gets the key. + + + The key. + + + + + Gets the key function. + + + The key function. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + The maximum time the server should spend on this operation. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets the reduce function. + + + The reduce function. + + + + + Gets or sets the result serializer. + + + The result serializer. + + + + + + + + + + + Represents helper methods for index names. + + + + + Gets the name of the index derived from the keys specification. + + The keys specification. + The name of the index. + + + + Gets the name of the index derived from the key names. + + The key names. + The name of the index. + + + + Represents an insert operation using the insert opcode. + + The type of the document. + + + + Initializes a new instance of the class. + + The collection namespace. + The document source. + The serializer. + The message encoder settings. + + + + Gets or sets a value indicating whether to bypass document validation. + + + A value indicating whether to bypass document validation. + + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets a value indicating whether the server should continue on error. + + + true if the server should continue on error; otherwise, false. + + + + + Gets the document source. + + + The document source. + + + + + Gets or sets the maximum number of documents in a batch. + + + The maximum number of documents in a batch. + + + + + Gets or sets the maximum size of a document. + + + The maximum size of a document. + + + + + Gets or sets the maximum size of a message. + + + The maximum size of a message. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets the serializer. + + + The serializer. + + + + + Gets or sets the write concern. + + + The write concern. + + + + + + + + + + + Represents a request to insert a document. + + + + + Initializes a new instance of the class. + + The document. + + + + Gets or sets the document. + + + The document. + + + + + Represents a database read operation. + + The type of the result. + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Represents a database write operation. + + The type of the result. + + + + Executes the operation. + + The binding. + The cancellation token. + The result of the operation. + + + + Executes the operation. + + The binding. + The cancellation token. + A Task whose result is the result of the operation. + + + + Represents a list collections operation. + + + + + Initializes a new instance of the class. + + The database namespace. + The message encoder settings. + + + + Gets or sets the filter. + + + The filter. + + + + + Gets the database namespace. + + + The database namespace. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + + + + + + + Represents a list collections operation. + + + + + Initializes a new instance of the class. + + The database namespace. + The message encoder settings. + + + + Gets or sets the filter. + + + The filter. + + + + + Gets the database namespace. + + + The database namespace. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + + + + + + + Represents a list collections operation. + + + + + Initializes a new instance of the class. + + The database namespace. + The message encoder settings. + + + + Gets or sets the filter. + + + The filter. + + + + + Gets the database namespace. + + + The database namespace. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + + + + + + + Represents the listDatabases command. + + + + + Initializes a new instance of the class. + + The message encoder settings. + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + + + + + + + Represents a list indexes operation. + + + + + Initializes a new instance of the class. + + The collection namespace. + The message encoder settings. + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + + + + + + + Represents a list indexes operation. + + + + + Initializes a new instance of the class. + + The collection namespace. + The message encoder settings. + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + + + + + + + Represents a list indexes operation. + + + + + Initializes a new instance of the class. + + The collection namespace. + The message encoder settings. + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + + + + + + + Represents a map-reduce operation. + + + + + Initializes a new instance of the class. + + The collection namespace. + The map function. + The reduce function. + The message encoder settings. + + + + Gets or sets the read concern. + + + The read concern. + + + + + + + + + + + + + + + + + Represents a map-reduce operation. + + The type of the result. + + + + Initializes a new instance of the class. + + The collection namespace. + The map function. + The reduce function. + The result serializer. + The message encoder settings. + + + + Gets or sets the read concern. + + + The read concern. + + + + + Gets the result serializer. + + + The result serializer. + + + + + + + + + + + + + + + + + Represents a base class for map-reduce operations. + + + + + Initializes a new instance of the class. + + The collection namespace. + The map function. + The reduce function. + The message encoder settings. + + + + Gets or sets the collation. + + + The collation. + + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets or sets the filter. + + + The filter. + + + + + Gets or sets the finalize function. + + + The finalize function. + + + + + Gets or sets a value indicating whether objects emitted by the map function remain as JavaScript objects. + + + + Setting this value to true can result in faster execution, but requires more memory on the server, and if + there are too many emitted objects the map-reduce operation may fail. + + true if objects emitted by the map function remain as JavaScript objects; otherwise, false. + + + + + Gets or sets the maximum number of documents to pass to the map function. + + + The maximum number of documents to pass to the map function. + + + + + Gets the map function. + + + The map function. + + + + + Gets or sets the maximum time the server should spend on this operation. + + + The maximum time the server should spend on this operation. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets the reduce function. + + + The reduce function. + + + + + Gets or sets the scope document. + + + The scode document defines global variables that are accessible from the map, reduce and finalize functions. + + + The scope document. + + + + + Gets or sets the sort specification. + + + The sort specification. + + + + + Gets or sets a value indicating whether to include extra information, such as timing, in the result. + + + true if extra information, such as timing, should be included in the result; otherwise, false. + + + + + Creates the command. + + The server version. + The command. + + + + Creates the output options. + + The output options. + + + + Represents the map-reduce output mode. + + + + + The output of the map-reduce operation replaces the output collection. + + + + + The output of the map-reduce operation is merged with the output collection. + If an existing document has the same key as the new result, overwrite the existing document. + + + + + The output of the map-reduce operation is merged with the output collection. + If an existing document has the same key as the new result, apply the reduce function to both + the new and the existing documents and overwrite the existing document with the result. + + + + + Represents a map-reduce operation that outputs its results to a collection. + + + + + Initializes a new instance of the class. + + The collection namespace. + The output collection namespace. + The map function. + The reduce function. + The message encoder settings. + + + + Gets or sets a value indicating whether to bypass document validation. + + + A value indicating whether to bypass document validation. + + + + + Gets or sets a value indicating whether the server should not lock the database for merge and reduce output modes. + + + true if the server should not lock the database for merge and reduce output modes; otherwise, false. + + + + + Gets the output collection namespace. + + + The output collection namespace. + + + + + Gets or sets the output mode. + + + The output mode. + + + + + Gets or sets a value indicating whether the output collection should be sharded. + + + true if the output collection should be sharded; otherwise, false. + + + + + Gets or sets the write concern. + + + The write concern. + + + + + + + + + + + + + + + + + Represents a bulk write operation exception. + + + + + Initializes a new instance of the class. + + The connection identifier. + The result. + The write errors. + The write concern error. + The unprocessed requests. + + + + Gets the result of the bulk write operation. + + + + + Gets the unprocessed requests. + + + The unprocessed requests. + + + + + + Gets the write concern error. + + + The write concern error. + + + + + Gets the write errors. + + + The write errors. + + + + + Represents extension methods for operations. + + + + + Executes a read operation using a channel source. + + The type of the result. + The read operation. + The channel source. + The read preference. + The cancellation token. + The result of the operation. + + + + Executes a write operation using a channel source. + + The type of the result. + The write operation. + The channel source. + The cancellation token. + The result of the operation. + + + + Executes a read operation using a channel source. + + The type of the result. + The read operation. + The channel source. + The read preference. + The cancellation token. + A Task whose result is the result of the operation. + + + + Executes a write operation using a channel source. + + The type of the result. + The write operation. + The channel source. + The cancellation token. + A Task whose result is the result of the operation. + + + + Represents a parallel scan operation. + + The type of the document. + + + + Initializes a new instance of the class. + + The collection namespace. + The number of cursors. + The serializer. + The message encoder settings. + + + + Gets or sets the size of a batch. + + + The size of a batch. + + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets the number of cursors. + + + The number of cursors. + + + + + Gets or sets the read concern. + + + The read concern. + + + + + Gets the serializer. + + + The serializer. + + + + + + + + + + + Represents a ping operation. + + + + + Initializes a new instance of the class. + + The message encoder settings. + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + + + + + + + Represents a read command operation. + + The type of the command result. + + + + Initializes a new instance of the class. + + The database namespace. + The command. + The result serializer. + The message encoder settings. + + + + + + + + + + Represents a reindex operation. + + + + + Initializes a new instance of the class. + + The collection namespace. + The message encoder settings. + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets or sets the write concern (ignored and will eventually be deprecated and later removed). + + + The write concern. + + + + + + + + + + + Represents a rename collection operation. + + + + + Initializes a new instance of the class. + + The collection namespace. + The new collection namespace. + The message encoder settings. + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets or sets a value indicating whether to drop the target collection first if it already exists. + + + true if the target collection should be dropped first if it already exists.; otherwise, false. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets the new collection namespace. + + + The new collection namespace. + + + + + Gets or sets the write concern. + + + The write concern. + + + + + + + + + + + The document to return when executing a FindAndModify command. + + + + + Returns the document before the modification. + + + + + Returns the document after the modification. + + + + + Represents an update operation using the update opcode. + + + + + Initializes a new instance of the class. + + The collection namespace. + The request. + The message encoder settings. + + + + Gets or sets a value indicating whether to bypass document validation. + + + A value indicating whether to bypass document validation. + + + + + Gets the collection namespace. + + + The collection namespace. + + + + + Gets or sets the maximum size of a document. + + + The maximum size of a document. + + + + + Gets the message encoder settings. + + + The message encoder settings. + + + + + Gets the request. + + + The request. + + + + + Gets or sets the write concern. + + + The write concern. + + + + + + + + + + + Gets or sets the maximum size of a document. + + + The maximum size of a document. + + + + + Represents a request to update one or more documents. + + + + + Initializes a new instance of the class. + + The update type. + The filter. + The update. + + + + Gets or sets the collation. + + + + + Gets the filter. + + + + + Gets or sets a value indicating whether this update should affect all matching documents. + + + true if this update should affect all matching documents; otherwise, false. + + + + + Gets or sets a value indicating whether a document should be inserted if no matching document is found. + + + true if a document should be inserted if no matching document is found; otherwise, false. + + + + + Gets the update specification. + + + + + Gets the update type. + + + + + Represents the update type. + + + + + The update type is unknown. + + + + + This update uses an update specification to update an existing document. + + + + + This update completely replaces an existing document with a new one. + + + + + Represents a write command operation. + + The type of the command result. + + + + Initializes a new instance of the class. + + The database namespace. + The command. + The result serializer. + The message encoder settings. + + + + + + + + + + Represents a request to write something to the database. + + + + + Initializes a new instance of the class. + + The request type. + + + + Gets or sets the correlation identifier. + + + + + Gets the request type. + + + The request type. + + + + + Represents the type of a write request. + + + + + A delete request. + + + + + An insert request. + + + + + An udpate request. + + + + + Represents an element name validator that checks that element names are valid for MongoDB collections. + + + + + Gets a pre-created instance of a CollectionElementNameValidator. + + + The pre-created instance. + + + + + + + + + + + Represents a factory for element name validators based on the update type. + + + + + Returns an element name validator for the update type. + + Type of the update. + An element name validator. + + + + Represents an element name validator for update operations. + + + + + Gets a pre-created instance of an UpdateElementNameValidator. + + + The pre-created instance. + + + + + + + + + + + Represents an element name validator that will validate element names for either an update or a replacement based on whether the first element name starts with a "$". + + + + + Initializes a new instance of the class. + + + + + + + + + + + Represents a server factory. + + + + + Creates the server. + + The cluster identifier. + The end point. + A server. + + + + Represents a MongoDB server. + + + + + Occurs when the server description changes. + + + + + Gets the server description. + + + The server description. + + + + + Gets the end point. + + + The end point. + + + + + Gets the server identifier. + + + The server identifier. + + + + + Gets a channel to the server. + + The cancellation token. + A channel. + + + + Gets a channel to the server. + + The cancellation token. + A Task whose result is a channel. + + + + Represents a server that can be part of a cluster. + + + + + Gets a value indicating whether this instance is initialized. + + + true if this instance is initialized; otherwise, false. + + + + + Initializes this instance. + + + + + Invalidates this instance (sets the server type to Unknown and clears the connection pool). + + + + + Requests a heartbeat as soon as possible. + + + + + Monitors a server for state changes. + + + + + + Occurs when the server description changes. + + + + + Initializes this instance. + + + + + Instructs the monitor to refresh its description immediately. + + + + + Requests a heartbeat as soon as possible. + + + + + Represents a server monitor factory. + + + + + Creates a server monitor. + + The server identifier. + The end point. + A server monitor. + + + + Represents a server in a MongoDB cluster. + + + + + Represents information about a server. + + + + + Initializes a new instance of the class. + + The server identifier. + The end point. + The average round trip time. + The canonical end point. + The election identifier. + The heartbeat exception. + The heartbeat interval. + The last update timestamp. + The last write timestamp. + The maximum batch count. + The maximum size of a document. + The maximum size of a message. + The maximum size of a wire document. + The replica set configuration. + The server state. + The replica set tags. + The server type. + The server version. + The wire version range. + + + + Gets the average round trip time. + + + The average round trip time. + + + + + Gets the canonical end point. This is the endpoint that the cluster knows this + server by. Currently, it only applies to a replica set config and will match + what is in the replica set configuration. + + + + + Gets the election identifier. + + + + + Gets the end point. + + + The end point. + + + + + Gets the most recent heartbeat exception. + + + The the most recent heartbeat exception (null if the most recent heartbeat succeeded). + + + + + Gets the heartbeat interval. + + + The heartbeat interval. + + + + + Gets the last update timestamp (when the ServerDescription itself was last updated). + + + The last update timestamp. + + + + + Gets the last write timestamp (from the lastWrite field of the isMaster result). + + + The last write timestamp. + + + + + Gets the maximum number of documents in a batch. + + + The maximum number of documents in a batch. + + + + + Gets the maximum size of a document. + + + The maximum size of a document. + + + + + Gets the maximum size of a message. + + + The maximum size of a message. + + + + + Gets the maximum size of a wire document. + + + The maximum size of a wire document. + + + + + Gets the replica set configuration. + + + The replica set configuration. + + + + + Gets the server identifier. + + + The server identifier. + + + + + Gets the server state. + + + The server state. + + + + + Gets the replica set tags. + + + The replica set tags (null if not a replica set or if the replica set has no tags). + + + + + Gets the server type. + + + The server type. + + + + + Gets the server version. + + + The server version. + + + + + Gets the wire version range. + + + The wire version range. + + + + + + + + + + + + + + + + + Returns a new instance of ServerDescription with some values changed. + + The average round trip time. + The canonical end point. + The election identifier. + The heartbeat exception. + The heartbeat interval. + The last update timestamp. + The last write timestamp. + The maximum batch count. + The maximum size of a document. + The maximum size of a message. + The maximum size of a wire document. + The replica set configuration. + The server state. + The replica set tags. + The server type. + The server version. + The wire version range. + + A new instance of ServerDescription. + + + + + Represents the arguments to the event that occurs when the server description changes. + + + + + Initializes a new instance of the class. + + The old server description. + The new server description. + + + + Gets the old server description. + + + The old server description. + + + + + Gets the new server description. + + + The new server description. + + + + + + + + Represents a server identifier. + + + + + Initializes a new instance of the class. + + The cluster identifier. + The end point. + + + + Gets the cluster identifier. + + + The cluster identifier. + + + + + Gets the end point. + + + The end point. + + + + + + + + + + + + + + + + + + + + Represents the server state. + + + + + The server is disconnected. + + + + + The server is connected. + + + + + Represents the server type. + + + + + The server type is unknown. + + + + + The server is a standalone server. + + + + + The server is a shard router. + + + + + The server is a replica set primary. + + + + + The server is a replica set secondary. + + + + + Use ReplicaSetSecondary instead. + + + + + The server is a replica set arbiter. + + + + + The server is a replica set member of some other type. + + + + + The server is a replica set ghost member. + + + + + Represents extension methods on ServerType. + + + + + Determines whether this server type is a replica set member. + + The type of the server. + Whether this server type is a replica set member. + + + + Determines whether this server type is a writable server. + + The type of the server. + Whether this server type is a writable server. + + + + Infers the cluster type from the server type. + + The type of the server. + The cluster type. + + + + Instructions for handling the response from a command. + + + + + Return the response from the server. + + + + + Ignore the response from the server. + + + + + Represents one result batch (returned from either a Query or a GetMore message) + + The type of the document. + + + + Initializes a new instance of the struct. + + The cursor identifier. + The documents. + + + + Gets the cursor identifier. + + + The cursor identifier. + + + + + Gets the documents. + + + The documents. + + + + + Represents a Delete message. + + + + + Initializes a new instance of the class. + + The request identifier. + The collection namespace. + The query. + if set to true [is multi]. + + + + Gets the collection namespace. + + + + + Gets a value indicating whether to delete all matching documents. + + + + + + + + Gets the query. + + + + + + + + Represents a GetMore message. + + + + + Initializes a new instance of the class. + + The request identifier. + The collection namespace. + The cursor identifier. + The size of a batch. + + + + Gets the size of a batch. + + + + + Gets the collection namespace. + + + + + Gets the cursor identifier. + + + + + + + + + + + Represents an Insert message. + + The type of the document. + + + + Initializes a new instance of the class. + + The request identifier. + The collection namespace. + The serializer. + The document source. + The maximum batch count. + Maximum size of the message. + if set to true the server should continue on error. + + + + Gets the collection namespace. + + + + + Gets a value indicating whether the server should continue on error. + + + + + Gets the document source. + + + + + Gets the maximum number of documents in a batch. + + + + + Gets the maximum size of a message. + + + + + + + + Gets the serializer. + + + + + + + + Represents a KillCursors message. + + + + + Initializes a new instance of the class. + + The request identifier. + The cursor ids. + + + + Gets the cursor ids. + + + + + + + + + + + Represents a base class for messages. + + + + + Gets the type of the message. + + + + + + + + Represents the type of message. + + + + + OP_DELETE + + + + + OP_GETMORE + + + + + OP_INSERT + + + + + OP_KILLCURSORS + + + + + OP_QUERY + + + + + OP_REPLY + + + + + OP_UPDATE + + + + + Represents a Query message. + + + + + Initializes a new instance of the class. + + The request identifier. + The collection namespace. + The query. + The fields. + The query validator. + The number of documents to skip. + The size of a batch. + if set to true it is OK if the server is not the primary. + if set to true the server is allowed to return partial results if any shards are unavailable. + if set to true the server should not timeout the cursor. + if set to true the OplogReplay bit will be set. + if set to true the query should return a tailable cursor. + if set to true the server should await data (used with tailable cursors). + A delegate that determines whether this message should be sent. + + + + Gets a value indicating whether the server should await data (used with tailable cursors). + + + + + Gets the size of a batch. + + + + + Gets the collection namespace. + + + + + Gets the fields. + + + + + + + + Gets a value indicating whether the server should not timeout the cursor. + + + + + Gets a value indicating whether the OplogReplay bit will be set. + + + true if the OplogReplay bit will be set; otherwise, false. + + + + + Gets a value indicating whether the server is allowed to return partial results if any shards are unavailable. + + + + + Gets the query. + + + + + Gets the query validator. + + + + + Gets the number of documents to skip. + + + + + Gets a value indicating whether it is OK if the server is not the primary. + + + + + Gets a value indicating whether the query should return a tailable cursor. + + + + + + + + Represents a Reply message. + + The type of the document. + + + + Initializes a new instance of the class. + + if set to true the server is await capable. + The cursor identifier. + if set to true the cursor was not found. + The documents. + The number of documents returned. + if set to true the query failed. + The query failure document. + The request identifier. + The identifier of the message this is a response to. + The serializer. + The position of the first document in this batch in the overall result. + + + + Gets a value indicating whether the server is await capable. + + + + + Gets the cursor identifier. + + + + + Gets a value indicating whether the cursor was not found. + + + + + Gets the documents. + + + + + + + + Gets the number of documents returned. + + + + + Gets a value indicating whether the query failed. + + + + + Gets the query failure document. + + + + + Gets the serializer. + + + + + Gets the position of the first document in this batch in the overall result. + + + + + + + + Represents a base class for request messages. + + + + + Gets the current global request identifier. + + + The current global request identifier. + + + + + Gets the next request identifier. + + The next request identifier. + + + + Initializes a new instance of the class. + + The request identifier. + A delegate that determines whether this message should be sent. + + + + Gets the request identifier. + + + The request identifier. + + + + + Gets a delegate that determines whether this message should be sent. + + + A delegate that determines whether this message be sent. + + + + + Gets or sets a value indicating whether this message was sent. + + + true if this message was sent; otherwise, false. + + + + + Represents a base class for response messages. + + + + + Initializes a new instance of the class. + + The request identifier. + The identifier of the message this is a response to. + + + + + + + Gets the request identifier. + + + + + Gets the identifier of the message this is a response to. + + + + + Represents an Update message. + + + + + Initializes a new instance of the class. + + The request identifier. + The collection namespace. + The query. + The update. + The update validator. + if set to true all matching documents should be updated. + if set to true a document should be inserted if no matching document is found. + + + + Gets the collection namespace. + + + + + Gets a value indicating whether all matching documents should be updated. + + + + + Gets a value indicating whether a document should be inserted if no matching document is found. + + + + + + + + Gets the query. + + + + + Gets the update. + + + + + Gets the update validator. + + + + + + + + Represents an encodable message. + + + + + Gets an encoder for the message from an encoder factory. + + The encoder factory. + A message encoder. + + + + Represents a message encoder. + + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a message encoder factory. + + + + + Gets an encoder for a Delete message. + + An encoder. + + + + Gets an encoder for a GetMore message. + + An encoder. + + + + Gets an encoder for an Insert message. + + The type of the document. + The serializer. + An encoder. + + + + Gets an encoder for a KillCursors message. + + An encoder. + + + + Gets an encoder for a Query message. + + An encoder. + + + + Gets an encoder for a Reply message. + + The type of the document. + The serializer. + An encoder. + + + + Gets an encoder for an Update message. + + An encoder. + + + + Represents a message encoder selector that gets the appropriate encoder from an encoder factory. + + + + + Get the appropriate encoder from an encoder factory. + + The encoder factory. + A message encoder. + + + + Represents the names of different encoder settings. + + + + + The name of the FixOldBinarySubTypeOnInput setting. + + + + + The name of the FixOldBinarySubTypeOnOutput setting. + + + + + The name of the FixOldDateTimeMaxValueOnInput setting. + + + + + The name of the GuidRepresentation setting. + + + + + The name of the MaxDocumentSize setting. + + + + + The name of the MaxSerializationDepth setting. + + + + + The name of the ReadEncoding setting. + + + + + The name of the WriteEncoding setting. + + + + + The name of the Indent setting. + + + + + The name of the IndentChars setting. + + + + + The name of the NewLineChars setting. + + + + + The name of the OutputMode setting. + + + + + The name of the ShellVersion setting. + + + + + Represents settings for message encoders. + + + + + Adds a setting. + + The type of the value. + The name. + The value. + The settings. + + + + + + + Gets a setting, or a default value if the setting does not exist. + + The type of the value. + The name. + The default value. + The value of the setting, or a default value if the setting does not exist. + + + + Represents a message encoder selector for ReplyMessages. + + The type of the document. + + + + Initializes a new instance of the class. + + The document serializer. + + + + + + + Represents a factory for binary message encoders. + + + + + Initializes a new instance of the class. + + The stream. + The encoder settings. + + + + + + + + + + + + + + + + + + + + + + + + + Represents a binary encoder for a Delete message. + + + + + Initializes a new instance of the class. + + The stream. + The encoder settings. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a binary encoder for a GetMore message. + + + + + Initializes a new instance of the class. + + The stream. + The encoder settings. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a binary encoder for an Insert message. + + The type of the documents. + + + + Initializes a new instance of the class. + + The stream. + The encoder settings. + The serializer. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a binary encoder for a KillCursors message. + + + + + Initializes a new instance of the class. + + The stream. + The encoder settings. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a base class for binary message encoders. + + + + + Initializes a new instance of the class. + + The stream. + The encoder settings. + + + + Gets the encoding. + + + The encoding. + + + + + Creates a binary reader for this encoder. + + A binary reader. + + + + Creates a binary writer for this encoder. + + A binary writer. + + + + Represents a binary encoder for a Query message. + + + + + Initializes a new instance of the class. + + The stream. + The encoder settings. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a binary encoder for a Reply message. + + The type of the documents. + + + + Initializes a new instance of the class. + + The stream. + The encoder settings. + The serializer. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a binary encoder for an Update message. + + + + + Initializes a new instance of the class. + + The stream. + The encoder settings. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a JSON encoder for a Delete message. + + + + + Initializes a new instance of the class. + + The text reader. + The text writer. + The encoder settings. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a JSON encoder for a GetMore message. + + + + + Initializes a new instance of the class. + + The text reader. + The text writer. + The encoder settings. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a JSON encoder for an Insert message. + + The type of the documents. + + + + Initializes a new instance of the class. + + The text reader. + The text writer. + The encoder settings. + The serializer. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a factory for JSON message encoders. + + + + + Initializes a new instance of the class. + + The text reader. + The encoder settings. + + + + Initializes a new instance of the class. + + The text writer. + The encoder settings. + + + + Initializes a new instance of the class. + + The text reader. + The text writer. + The encoder settings. + + + + + + + + + + + + + + + + + + + + + + + + + Represents a JSON encoder for a KillCursors message. + + + + + Initializes a new instance of the class. + + The text reader. + The text writer. + The encoder settings. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a base class for JSON message encoders. + + + + + Initializes a new instance of the class. + + The text reader. + The text writer. + The encoder settings. + + + + Creates a JsonReader for this encoder. + + A JsonReader. + + + + Creates a JsonWriter for this encoder. + + A JsonWriter. + + + + Represents a JSON encoder for a Query message. + + + + + Initializes a new instance of the class. + + The text reader. + The text writer. + The encoder settings. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a JSON encoder for a Reply message. + + The type of the documents. + + + + Initializes a new instance of the class. + + The text reader. + The text writer. + The encoder settings. + The serializer. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + + Represents a JSON encoder for an Update message. + + + + + Initializes a new instance of the class. + + The text reader. + The text writer. + The encoder settings. + + + + Reads the message. + + A message. + + + + Writes the message. + + The message. + + + diff --git a/packages/Newtonsoft.Json.10.0.2/LICENSE.md b/packages/Newtonsoft.Json.10.0.2/LICENSE.md new file mode 100644 index 0000000..dfaadbe --- /dev/null +++ b/packages/Newtonsoft.Json.10.0.2/LICENSE.md @@ -0,0 +1,20 @@ +The MIT License (MIT) + +Copyright (c) 2007 James Newton-King + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/packages/Newtonsoft.Json.10.0.2/Newtonsoft.Json.10.0.2.nupkg b/packages/Newtonsoft.Json.10.0.2/Newtonsoft.Json.10.0.2.nupkg new file mode 100644 index 0000000..8d6b3e0 Binary files /dev/null and b/packages/Newtonsoft.Json.10.0.2/Newtonsoft.Json.10.0.2.nupkg differ diff --git a/packages/Newtonsoft.Json.10.0.2/lib/net20/Newtonsoft.Json.xml b/packages/Newtonsoft.Json.10.0.2/lib/net20/Newtonsoft.Json.xml new file mode 100644 index 0000000..cd11ef5 --- /dev/null +++ b/packages/Newtonsoft.Json.10.0.2/lib/net20/Newtonsoft.Json.xml @@ -0,0 +1,9815 @@ + + + + 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 JSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts a to and from JSON and BSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts an to and from its name string value. + + + + + Gets or sets a value indicating whether the written enum text should be camel case. + + true if the written enum text will be camel case; otherwise, false. + + + + Gets or sets a value indicating whether integer values are allowed when deserializing. + + true if integers are allowed when deserializing; otherwise, false. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + true if the written enum text will be camel case; otherwise, false. + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts a to and from a string (e.g. "1.2.3.4"). + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing property value of the JSON that is being converted. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts a to and from the ISO 8601 date format (e.g. "2008-04-12T12:53Z"). + + + + + Gets or sets the date time styles used when converting a date to and from JSON. + + The date time styles used when converting a date to and from JSON. + + + + Gets or sets the date time format used when converting a date to and from JSON. + + The date time format used when converting a date to and from JSON. + + + + Gets or sets the culture used when converting a date to and from JSON. + + The culture used when converting a date to and from JSON. + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Converts a to and from a JavaScript Date constructor (e.g. new Date(52231943)). + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing property value of the JSON that is being converted. + The calling serializer. + The object value. + + + + Converts XML to and from JSON. + + + + + Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produced multiple root elements. + + The name of the deserialized root element. + + + + Gets or sets a flag to indicate whether to write the Json.NET array attribute. + This attribute helps preserve arrays when converting the written XML back to JSON. + + true if the array attribute is written to the XML; otherwise, false. + + + + Gets or sets a value indicating whether to write the root JSON object. + + true if the JSON root object is omitted; otherwise, false. + + + + Writes the JSON representation of the object. + + The to write to. + The calling serializer. + The value. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Checks if the is a namespace attribute. + + Attribute name to test. + The attribute name prefix if it has one, otherwise an empty string. + true if attribute name is for a namespace attribute, otherwise false. + + + + Determines whether this instance can convert the specified value type. + + Type of the value. + + true if this instance can convert the specified value type; otherwise, false. + + + + + Specifies how dates are formatted when writing JSON text. + + + + + Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". + + + + + Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". + + + + + Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. + + + + + Date formatted strings are not parsed to a date type and are read as strings. + + + + + Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . + + + + + Specifies how to treat the time value when converting between string and . + + + + + Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time. + + + + + Treat as a UTC. If the object represents a local time, it is converted to a UTC. + + + + + Treat as a local time if a is being converted to a string. + If a string is being converted to , convert to a local time if a time zone is specified. + + + + + Time zone information should be preserved when converting. + + + + + Specifies float format handling options when writing special floating point numbers, e.g. , + and with . + + + + + Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". + + + + + Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. + Note that this will produce non-valid JSON. + + + + + Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a 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. + + + + Instructs the to use the specified constructor when deserializing that object. + + + + + Instructs the how to serialize the collection. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with the specified container Id. + + The container Id. + + + + The exception thrown when an error occurs during JSON serialization or deserialization. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class + with a specified error message. + + The error message that explains the reason for the exception. + + + + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or 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 to always serialize the member, and to require that the member has a value. + + + + + Specifies how JSON comments are handled when loading JSON. + + + + + Ignore comments. + + + + + Load comments as a with type . + + + + + Specifies how line information is handled when loading JSON. + + + + + Ignore line information. + + + + + Load line information. + + + + + Specifies the settings used when loading JSON. + + + + + Initializes a new instance of the class. + + + + + Gets or sets how JSON comments are handled when loading JSON. + + The JSON comment handling. + + + + Gets or sets how JSON line info is handled when loading JSON. + + The JSON line info handling. + + + + Specifies the settings used when merging JSON. + + + + + Gets or sets the method used when merging JSON arrays. + + The method used when merging JSON arrays. + + + + Gets or sets how null value properties are merged. + + How null value properties are merged. + + + + Specifies how JSON arrays are merged together. + + + + Concatenate arrays. + + + Union arrays, skipping items that already exist. + + + Replace all array items. + + + Merge array items together, matched by index. + + + + Specifies how null value properties are merged. + + + + + The content's null value properties will be ignored during merging. + + + + + The content's null value properties will be merged. + + + + + Represents a view of a . + + + + + Initializes a new instance of the class. + + The name. + + + + When overridden in a derived class, returns whether resetting an object changes its value. + + + true if resetting the component changes its value; otherwise, false. + + The component to test for reset capability. + + + + When overridden in a derived class, gets the current value of the property on a component. + + + The value of a property for a given component. + + The component with the property for which to retrieve the value. + + + + When overridden in a derived class, resets the value for this property of the component to the default value. + + The component with the property value that is to be reset to the default value. + + + + When overridden in a derived class, sets the value of the component to a different value. + + The component with the property value that is to be set. + The new value. + + + + When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted. + + + true if the property should be persisted; otherwise, false. + + The component with the property to be examined for persistence. + + + + When overridden in a derived class, gets the type of the component this property is bound to. + + + A that represents the type of component this property is bound to. + When the or + + methods are invoked, the object specified might be an instance of this type. + + + + + When overridden in a derived class, gets a value indicating whether this property is read-only. + + + true if the property is read-only; otherwise, false. + + + + + When overridden in a derived class, gets the type of the property. + + + A that represents the type of the property. + + + + + Gets the hash code for the name of the member. + + + + The hash code for the name of the member. + + + + + Represents a raw JSON string. + + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Initializes a new instance of the class. + + The raw json. + + + + Creates an instance of with the content of the reader's current token. + + The reader. + An instance of with the content of the reader's current token. + + + + Represents a collection of objects. + + The type of token. + + + + Gets the of with the specified key. + + + + + + Compares tokens to determine whether they are equal. + + + + + Determines whether the specified objects are equal. + + The first object of type to compare. + The second object of type to compare. + + true if the specified objects are equal; otherwise, false. + + + + + Returns a hash code for the specified object. + + The for which a hash code is to be returned. + A hash code for the specified object. + The type of is a reference type and is null. + + + + Contains the LINQ to JSON extension methods. + + + + + Returns a collection of tokens that contains the ancestors of every token in the source collection. + + The type of the objects in source, constrained to . + An of that contains the source collection. + An of that contains the ancestors of every token in the source collection. + + + + Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. + + The type of the objects in source, constrained to . + An of that contains the source collection. + An of that contains every token in the source collection, the ancestors of every token in the source collection. + + + + Returns a collection of tokens that contains the descendants of every token in the source collection. + + The type of the objects in source, constrained to . + An of that contains the source collection. + An of that contains the descendants of every token in the source collection. + + + + Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. + + The type of the objects in source, constrained to . + An of that contains the source collection. + An of that contains every token in the source collection, and the descendants of every token in the source collection. + + + + Returns a collection of child properties of every object in the source collection. + + An of that contains the source collection. + An of that contains the properties of every object in the source collection. + + + + Returns a collection of child values of every object in the source collection with the given key. + + An of that contains the source collection. + The token key. + An of that contains the values of every token in the source collection with the given key. + + + + Returns a collection of child values of every object in the source collection. + + An of that contains the source collection. + An of that contains the values of every token in the source collection. + + + + Returns a collection of converted child values of every object in the source collection with the given key. + + The type to convert the values to. + An of that contains the source collection. + The token key. + An that contains the converted values of every token in the source collection with the given key. + + + + Returns a collection of converted child values of every object in the source collection. + + The type to convert the values to. + An of that contains the source collection. + An that contains the converted values of every token in the source collection. + + + + Converts the value. + + The type to convert the value to. + A cast as a of . + A converted value. + + + + Converts the value. + + The source collection type. + The type to convert the value to. + A cast as a of . + A converted value. + + + + Returns a collection of child tokens of every array in the source collection. + + The source collection type. + An of that contains the source collection. + An of that contains the values of every token in the source collection. + + + + Returns a collection of converted child tokens of every array in the source collection. + + An of that contains the source collection. + The type to convert the values to. + The source collection type. + An that contains the converted values of every token in the source collection. + + + + Returns the input typed as . + + An of that contains the source collection. + The input typed as . + + + + Returns the input typed as . + + The source collection type. + An of that contains the source collection. + The input typed as . + + + + Represents a JSON constructor. + + + + + Gets the container's children tokens. + + The container's children tokens. + + + + Gets or sets the name of this constructor. + + The constructor name. + + + + Gets the node type for this . + + The type. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Initializes a new instance of the class with the specified name and content. + + The constructor name. + The contents of the constructor. + + + + Initializes a new instance of the class with the specified name and content. + + The constructor name. + The contents of the constructor. + + + + Initializes a new instance of the class with the specified name. + + The constructor name. + + + + Writes this token to a . + + A into which this method will write. + A collection of which will be used when writing the token. + + + + Gets the with the specified key. + + The with the specified key. + + + + Loads a from a . + + A that will be read for the content of the . + A that contains the JSON that was read from the specified . + + + + Loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + A that contains the JSON that was read from the specified . + + + + Represents a token that can contain other tokens. + + + + + Occurs when the list changes or an item in the list changes. + + + + + Occurs before an item is added to the collection. + + + + + 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 the specified name. + + The property name. + A with the specified name or null. + + + + Gets a of of this object's property values. + + A of of this object's property values. + + + + Gets the with the specified key. + + The with the specified key. + + + + Gets or sets the with the specified property name. + + + + + + Loads a from a . + + A that will be read for the content of the . + A that contains the JSON that was read from the specified . + + is not valid JSON. + + + + + Loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + A that contains the JSON that was read from the specified . + + is not valid JSON. + + + + + Load a from a string that contains JSON. + + A that contains JSON. + A populated from the string that contains JSON. + + is not valid JSON. + + + + + + + + Load a from a string that contains JSON. + + A that contains JSON. + The used to load the JSON. + If this is null, default load settings will be used. + A populated from the string that contains JSON. + + is not valid JSON. + + + + + + + + Creates a from an object. + + The object that will be used to create . + A with the values of the specified object. + + + + Creates a from an object. + + The object that will be used to create . + The that will be used to read the object. + A with the values of the specified object. + + + + Writes this token to a . + + A into which this method will write. + A collection of which will be used when writing the token. + + + + Gets the with the specified property name. + + Name of the property. + The with the specified property name. + + + + Gets the with the specified property name. + The exact property name will be searched for first and if no matching property is found then + the will be used to match a property. + + Name of the property. + One of the enumeration values that specifies how the strings will be compared. + The with the specified property name. + + + + Tries to get the with the specified property name. + The exact property name will be searched for first and if no matching property is found then + the will be used to match a property. + + Name of the property. + The value. + One of the enumeration values that specifies how the strings will be compared. + true if a value was successfully retrieved; otherwise, false. + + + + Adds the specified property name. + + Name of the property. + The value. + + + + Removes the property with the specified name. + + Name of the property. + true if item was successfully removed; otherwise, false. + + + + Tries to get the with the specified property name. + + Name of the property. + The value. + true if a value was successfully retrieved; otherwise, false. + + + + Returns an enumerator that can be used to iterate through the collection. + + + A that can be used to iterate through the collection. + + + + + Raises the event with the provided arguments. + + Name of the property. + + + + Represents a JSON array. + + + + + + + + Gets the container's children tokens. + + The container's children tokens. + + + + Gets the node type for this . + + The type. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Initializes a new instance of the class with the specified content. + + The contents of the array. + + + + Initializes a new instance of the class with the specified content. + + The contents of the array. + + + + Loads an from a . + + A that will be read for the content of the . + A that contains the JSON that was read from the specified . + + + + Loads an from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + A that contains the JSON that was read from the specified . + + + + Load a from a string that contains JSON. + + A that contains JSON. + A populated from the string that contains JSON. + + + + + + + Load a from a string that contains JSON. + + A that contains JSON. + The used to load the JSON. + If this is null, default load settings will be used. + A populated from the string that contains JSON. + + + + + + + Creates a from an object. + + The object that will be used to create . + A with the values of the specified object. + + + + Creates a from an object. + + The object that will be used to create . + The that will be used to read the object. + A with the values of the specified object. + + + + Writes this token to a . + + A into which this method will write. + A collection of which will be used when writing the token. + + + + Gets the with the specified key. + + The with the specified key. + + + + Gets or sets the at the specified index. + + + + + + Determines the index of a specific item in the . + + The object to locate in the . + + The index of if found in the list; otherwise, -1. + + + + + Inserts an item to the at the specified index. + + The zero-based index at which should be inserted. + The object to insert into the . + + is not a valid index in the . + + + + + Removes the item at the specified index. + + The zero-based index of the item to remove. + + is not a valid index in the . + + + + + Returns an enumerator that iterates through the collection. + + + A of that can be used to iterate through the collection. + + + + + Adds an item to the . + + The object to add to the . + + + + Removes all items from the . + + + + + Determines whether the contains a specific value. + + The object to locate in the . + + true if is found in the ; otherwise, false. + + + + + Copies the elements of the to an array, starting at a particular array index. + + The array. + Index of the array. + + + + Gets a value indicating whether the is read-only. + + true if the is read-only; otherwise, false. + + + + Removes the first occurrence of a specific object from the . + + The object to remove from the . + + true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . + + + + + Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. + + + + + Gets the at the reader's current position. + + + + + Initializes a new instance of the class. + + The token to read from. + + + + Reads the next JSON token from the underlying . + + + true if the next token was read successfully; false if there are no more tokens to read. + + + + + Gets the path of the current JSON token. + + + + + Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. + + + + + Gets the at the writer's current position. + + + + + Gets the token being written. + + The token being written. + + + + Initializes a new instance of the class writing to the given . + + The container being written to. + + + + Initializes a new instance of the class. + + + + + Flushes whatever is in the buffer to the underlying . + + + + + Closes this writer. + If is set to true, the JSON is auto-completed. + + + Setting to true has no additional effect, since the underlying is a type that cannot be closed. + + + + + Writes the beginning of a JSON object. + + + + + Writes the beginning of a JSON array. + + + + + Writes the start of a constructor with the given name. + + The name of the constructor. + + + + Writes the end. + + The token. + + + + Writes the property name of a name/value pair on a JSON object. + + The name of the property. + + + + Writes a value. + An error will be raised if the value cannot be written as a single JSON token. + + The value to write. + + + + Writes a null value. + + + + + Writes an undefined value. + + + + + Writes raw JSON. + + The raw JSON to write. + + + + Writes a comment /*...*/ containing the specified text. + + Text to place inside the comment. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a [] value. + + The [] value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Represents an abstract JSON token. + + + + + Gets a comparer that can compare two tokens for value equality. + + A that can compare two nodes for value equality. + + + + Gets or sets the parent. + + The parent. + + + + Gets the root of this . + + The root of this . + + + + Gets the node type for this . + + The type. + + + + Gets a value indicating whether this token has child tokens. + + + true if this token has child values; otherwise, false. + + + + + Compares the values of two tokens, including the values of all descendant tokens. + + The first to compare. + The second to compare. + true if the tokens are equal; otherwise false. + + + + Gets the next sibling token of this node. + + The that contains the next sibling token. + + + + Gets the previous sibling token of this node. + + The that contains the previous sibling token. + + + + Gets the path of the JSON token. + + + + + Adds the specified content immediately after this token. + + A content object that contains simple content or a collection of content objects to be added after this token. + + + + Adds the specified content immediately before this token. + + A content object that contains simple content or a collection of content objects to be added before this token. + + + + Returns a collection of the ancestor tokens of this token. + + A collection of the ancestor tokens of this token. + + + + Returns a collection of tokens that contain this token, and the ancestors of this token. + + A collection of tokens that contain this token, and the ancestors of this token. + + + + Returns a collection of the sibling tokens after this token, in document order. + + A collection of the sibling tokens after this tokens, in document order. + + + + Returns a collection of the sibling tokens before this token, in document order. + + A collection of the sibling tokens before this token, in document order. + + + + Gets the with the specified key. + + The with the specified key. + + + + Gets the with the specified key converted to the specified type. + + The type to convert the token to. + The token key. + The converted token value. + + + + Get the first child token of this token. + + A containing the first child token of the . + + + + Get the last child token of this token. + + A containing the last child token of the . + + + + Returns a collection of the child tokens of this token, in document order. + + An of containing the child tokens of this , in document order. + + + + Returns a collection of the child tokens of this token, in document order, filtered by the specified type. + + The type to filter the child tokens on. + A containing the child tokens of this , in document order. + + + + Returns a collection of the child values of this token, in document order. + + The type to convert the values to. + A containing the child values of this , in document order. + + + + Removes this token from its parent. + + + + + Replaces this token with the specified token. + + The value. + + + + Writes this token to a . + + A into which this method will write. + A collection of which will be used when writing the token. + + + + Returns the indented JSON for this token. + + + The indented JSON for this token. + + + + + Returns the JSON for this token using the given formatting and converters. + + Indicates how the output should be formatted. + A collection of s which will be used when writing the token. + The JSON for this token using the given formatting and converters. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to 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 JPath expression. Selects the token that matches the object path. + + + A that contains a JPath expression. + + A , or null. + + + + Selects a using a JPath expression. Selects the token that matches the object path. + + + A that contains a JPath expression. + + A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. + A . + + + + Selects a collection of elements using a JPath expression. + + + A that contains a JPath expression. + + An of that contains the selected elements. + + + + Selects a collection of elements using a JPath expression. + + + A that contains a JPath expression. + + A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. + An of that contains the selected elements. + + + + Creates a new instance of the . All child tokens are recursively cloned. + + A new instance of the . + + + + Adds an object to the annotation list of this . + + The annotation to add. + + + + Get the first annotation object of the specified type from this . + + The type of the annotation to retrieve. + The first annotation object that matches the specified type, or null if no annotation is of the specified type. + + + + Gets the first annotation object of the specified type from this . + + The of the annotation to retrieve. + The first annotation object that matches the specified type, or null if no annotation is of the specified type. + + + + Gets a collection of annotations of the specified type for this . + + The type of the annotations to retrieve. + An that contains the annotations for this . + + + + Gets a collection of annotations of the specified type for this . + + The of the annotations to retrieve. + An of that contains the annotations that match the specified type for this . + + + + Removes the annotations of the specified type from this . + + The type of annotations to remove. + + + + Removes the annotations of the specified type from this . + + The of annotations to remove. + + + + Represents a JSON property. + + + + + Gets the container's children tokens. + + The container's children tokens. + + + + Gets the property name. + + The property name. + + + + Gets or sets the property value. + + The property value. + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Gets the node type for this . + + The type. + + + + Initializes a new instance of the class. + + The property name. + The property content. + + + + Initializes a new instance of the class. + + The property name. + The property content. + + + + Writes this token to a . + + A into which this method will write. + A collection of which will be used when writing the token. + + + + Loads a from a . + + A that will be read for the content of the . + A that contains the JSON that was read from the specified . + + + + Loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + A that contains the JSON that was read from the specified . + + + + Specifies the type of token. + + + + + No token type has been set. + + + + + A JSON object. + + + + + A JSON array. + + + + + A JSON constructor. + + + + + A JSON object property. + + + + + A comment. + + + + + An integer value. + + + + + A float value. + + + + + A string value. + + + + + A boolean value. + + + + + A null value. + + + + + An undefined value. + + + + + A date value. + + + + + A raw JSON value. + + + + + A collection of bytes value. + + + + + A Guid value. + + + + + A Uri value. + + + + + A TimeSpan value. + + + + + Represents a value in JSON (string, integer, date, etc). + + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Gets a value indicating whether this token has child tokens. + + + true if this token has child values; otherwise, false. + + + + + Creates a comment with the given value. + + The value. + A comment with the given value. + + + + Creates a string with the given value. + + The value. + A string with the given value. + + + + Creates a null value. + + A null value. + + + + Creates a undefined value. + + A undefined value. + + + + Gets the node type for this . + + The type. + + + + Gets or sets the underlying token value. + + The underlying token value. + + + + Writes this token to a . + + A into which this method will write. + A collection of s which will be used when writing the token. + + + + Indicates whether the current object is equal to another object of the same type. + + + true if the current object is equal to the parameter; otherwise, false. + + An object to compare with this object. + + + + Determines whether the specified is equal to the current . + + The to compare with the current . + + true if the specified is equal to the current ; otherwise, false. + + + + + Serves as a hash function for a particular type. + + + A hash code for the current . + + + + + Returns a that represents this instance. + + + A that represents this instance. + + + + + Returns a that represents this instance. + + The format. + + A that represents this instance. + + + + + Returns a that represents this instance. + + The format provider. + + A that represents this instance. + + + + + Returns a that represents this instance. + + The format. + The format provider. + + A that represents this instance. + + + + + Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. + + An object to compare with this instance. + + A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: + Value + Meaning + Less than zero + This instance is less than . + Zero + This instance is equal to . + Greater than zero + This instance is greater than . + + + is not of the same type as this instance. + + + + + Specifies metadata property handling options for the . + + + + + Read metadata properties located at the start of a JSON object. + + + + + Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. + + + + + Do not try to read metadata properties. + + + + + A camel case naming strategy. + + + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + A flag indicating whether extension data names should be processed. + + + + + Initializes a new instance of the class. + + + + + Resolves the specified property name. + + The property name to resolve. + The resolved property name. + + + + The default naming strategy. Property names and dictionary keys are unchanged. + + + + + Resolves the specified property name. + + The property name to resolve. + The resolved property name. + + + + Represents a trace writer that writes to the application's instances. + + + + + Gets the that will be used to filter the trace messages passed to the writer. + For example a filter level of will exclude messages and include , + and messages. + + + The that will be used to filter the trace messages passed to the writer. + + + + + Writes the specified trace level, message and optional exception. + + The at which to write this trace. + The trace message. + The trace exception. This parameter is optional. + + + + Provides methods to get attributes. + + + + + Returns a collection of all of the attributes, or an empty collection if there are no attributes. + + When true, look up the hierarchy chain for the inherited custom attribute. + A collection of s, or an empty collection. + + + + Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. + + The type of the attributes. + When true, look up the hierarchy chain for the inherited custom attribute. + A collection of s, or an empty collection. + + + + Allows users to control class loading and mandate what class to load. + + + + + When implemented, controls the binding of a serialized object to a type. + + Specifies the name of the serialized object. + Specifies the name of the serialized object + The type of the object the formatter creates a new instance of. + + + + When implemented, controls the binding of a serialized object to a type. + + The type of the object the formatter creates a new instance of. + Specifies the name of the serialized object. + Specifies the name of the serialized object. + + + + Represents a trace writer. + + + + + Gets the that will be used to filter the trace messages passed to the writer. + For example a filter level of will exclude messages and include , + and messages. + + The that will be used to filter the trace messages passed to the writer. + + + + Writes the specified trace level, message and optional exception. + + The at which to write this trace. + The trace message. + The trace exception. This parameter is optional. + + + + Contract details for a used by the . + + + + + Gets or sets the default collection items . + + The converter. + + + + Gets or sets a value indicating whether the collection items preserve object references. + + true if collection items preserve object references; otherwise, false. + + + + Gets or sets the collection item reference loop handling. + + The reference loop handling. + + + + Gets or sets the collection item type name handling. + + The type name handling. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Represents a trace writer that writes to memory. When the trace message limit is + reached then old trace messages will be removed as new messages are added. + + + + + Gets the that will be used to filter the trace messages passed to the writer. + For example a filter level of will exclude messages and include , + and messages. + + + The that will be used to filter the trace messages passed to the writer. + + + + + Initializes a new instance of the class. + + + + + Writes the specified trace level, message and optional exception. + + The at which to write this trace. + The trace message. + The trace exception. This parameter is optional. + + + + Returns an enumeration of the most recent trace messages. + + An enumeration of the most recent trace messages. + + + + Returns a of the most recent trace messages. + + + A of the most recent trace messages. + + + + + A base class for resolving how property names and dictionary keys are serialized. + + + + + A flag indicating whether dictionary keys should be processed. + Defaults to false. + + + + + A flag indicating whether extension data names should be processed. + Defaults to false. + + + + + A flag indicating whether explicitly specified property names, + e.g. a property name customized with a , should be processed. + Defaults to false. + + + + + Gets the serialized name for a given property name. + + The initial property name. + A flag indicating whether the property has had a name explicitly specified. + The serialized property name. + + + + Gets the serialized name for a given extension data name. + + The initial extension data name. + The serialized extension data name. + + + + Gets the serialized key for a given dictionary key. + + The initial dictionary key. + The serialized dictionary key. + + + + Resolves the specified property name. + + The property name to resolve. + The resolved property name. + + + + Provides methods to get attributes from a , , or . + + + + + Initializes a new instance of the class. + + The instance to get attributes for. This parameter should be a , , or . + + + + Returns a collection of all of the attributes, or an empty collection if there are no attributes. + + When true, look up the hierarchy chain for the inherited custom attribute. + A collection of s, or an empty collection. + + + + Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. + + The type of the attributes. + When true, look up the hierarchy chain for the inherited custom attribute. + A collection of s, or an empty collection. + + + + A snake case naming strategy. + + + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + A flag indicating whether extension data names should be processed. + + + + + Initializes a new instance of the class. + + + + + Resolves the specified property name. + + The property name to resolve. + The resolved property name. + + + + Resolves member mappings for a type, camel casing property names. + + + + + Initializes a new instance of the class. + + + + + Resolves the contract for a given type. + + The type to resolve a contract for. + The contract for a given type. + + + + Used by to resolve a for a given . + + + + + Gets a value indicating whether members are being get and set using dynamic code generation. + This value is determined by the runtime permissions available. + + + true if using dynamic code generation; otherwise, false. + + + + + Gets or sets the default members search flags. + + The default members search flags. + + + + Gets or sets a value indicating whether compiler generated members should be serialized. + + + true if serialized compiler generated members; otherwise, false. + + + + + Gets or sets a value indicating whether to ignore the interface when serializing and deserializing types. + + + true if the interface will be ignored when serializing and deserializing types; otherwise, false. + + + + + Gets or sets a value indicating whether to ignore the attribute when serializing and deserializing types. + + + true if the attribute will be ignored when serializing and deserializing types; otherwise, false. + + + + + Gets or sets the naming strategy used to resolve how property names and dictionary keys are serialized. + + The naming strategy used to resolve how property names and dictionary keys are serialized. + + + + Initializes a new instance of the class. + + + + + Resolves the contract for a given type. + + The type to resolve a contract for. + The contract for a given type. + + + + Gets the serializable members for the type. + + The type to get serializable members for. + The serializable members for the type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates the constructor parameters. + + The constructor to create properties for. + The type's member properties. + Properties for the given . + + + + Creates a for the given . + + The matching member property. + The constructor parameter. + A created for the given . + + + + Resolves the default for the contract. + + Type of the object. + The contract's default . + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Determines which contract type is created for the given type. + + Type of the object. + A for the given type. + + + + Creates properties for the given . + + The type to create properties for. + /// The member serialization mode for the type. + Properties for the given . + + + + Creates the used by the serializer to get and set values from a member. + + The member. + The used by the serializer to get and set values from a member. + + + + Creates a for the given . + + The member's parent . + The member to create a for. + A created for the given . + + + + Resolves the name of the property. + + Name of the property. + Resolved name of the property. + + + + Resolves the name of the extension data. By default no changes are made to extension data names. + + Name of the extension data. + Resolved name of the extension data. + + + + Resolves the key of the dictionary. By default is used to resolve dictionary keys. + + Key of the dictionary. + Resolved key of the dictionary. + + + + Gets the resolved name of the property. + + Name of the property. + Name of the property. + + + + The default serialization binder used when resolving and loading classes from type names. + + + + + Initializes a new instance of the class. + + + + + When overridden in a derived class, controls the binding of a serialized object to a type. + + Specifies the name of the serialized object. + Specifies the name of the serialized object. + + The type of the object the formatter creates a new instance of. + + + + + When overridden in a derived class, controls the binding of a serialized object to a type. + + The type of the object the formatter creates a new instance of. + Specifies the name of the serialized object. + Specifies the name of the serialized object. + + + + Get and set values for a using dynamic methods. + + + + + Initializes a new instance of the class. + + The member info. + + + + Sets the value. + + The target to set the value on. + The value to set on the target. + + + + Gets the value. + + The target to get the value from. + The value. + + + + Provides information surrounding an error. + + + + + Gets the error. + + The error. + + + + Gets the original object that caused the error. + + The original object that caused the error. + + + + Gets the member that caused the error. + + The member that caused the error. + + + + Gets the path of the JSON location where the error occurred. + + The path of the JSON location where the error occurred. + + + + Gets or sets a value indicating whether this is handled. + + true if handled; otherwise, false. + + + + Provides data for the Error event. + + + + + Gets the current object the error event is being raised against. + + The current object the error event is being raised against. + + + + Gets the error context. + + The error context. + + + + Initializes a new instance of the class. + + The current object. + The error context. + + + + Used by to resolve a for a given . + + + + + + + + + Resolves the contract for a given type. + + The type to resolve a contract for. + The contract for a given type. + + + + Provides methods to get and set values. + + + + + Sets the value. + + The target to set the value on. + The value to set on the target. + + + + Gets the value. + + The target to get the value from. + The value. + + + + Contract details for a used by the . + + + + + Gets the of the collection items. + + The of the collection items. + + + + Gets a value indicating whether the collection type is a multidimensional array. + + true if the collection type is a multidimensional array; otherwise, false. + + + + Gets or sets the function used to create the object. When set this function will override . + + The function used to create the object. + + + + Gets a value indicating whether the creator has a parameter with the collection values. + + true if the creator has a parameter with the collection values; otherwise, false. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Handles serialization callback events. + + The object that raised the callback event. + The streaming context. + + + + Handles serialization error callback events. + + The object that raised the callback event. + The streaming context. + The error context. + + + + Sets extension data for an object during deserialization. + + The object to set extension data on. + The extension data key. + The extension data value. + + + + Gets extension data for an object during serialization. + + The object to set extension data on. + + + + Contract details for a used by the . + + + + + Gets the underlying type for the contract. + + The underlying type for the contract. + + + + Gets or sets the type created during deserialization. + + The type created during deserialization. + + + + Gets or sets whether this type contract is serialized as a reference. + + Whether this type contract is serialized as a reference. + + + + Gets or sets the default for this contract. + + The converter. + + + + Gets or sets all methods called immediately after deserialization of the object. + + The methods called immediately after deserialization of the object. + + + + Gets or sets all methods called during deserialization of the object. + + The methods called during deserialization of the object. + + + + Gets or sets all methods called after serialization of the object graph. + + The methods called after serialization of the object graph. + + + + Gets or sets all methods called before serialization of the object. + + The methods called before serialization of the object. + + + + Gets or sets all method called when an error is thrown during the serialization of the object. + + The methods called when an error is thrown during the serialization of the object. + + + + Gets or sets the default creator method used to create the object. + + The default creator method used to create the object. + + + + Gets or sets a value indicating whether the default creator is non-public. + + true if the default object creator is non-public; otherwise, false. + + + + Contract details for a used by the . + + + + + Gets or sets the dictionary key resolver. + + The dictionary key resolver. + + + + Gets the of the dictionary keys. + + The of the dictionary keys. + + + + Gets the of the dictionary values. + + The of the dictionary values. + + + + Gets or sets the function used to create the object. When set this function will override . + + The function used to create the object. + + + + Gets a value indicating whether the creator has a parameter with the dictionary values. + + true if the creator has a parameter with the dictionary values; otherwise, false. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Contract details for a used by the . + + + + + Gets or sets the object constructor. + + The object constructor. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Contract details for a used by the . + + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Contract details for a used by the . + + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Maps a JSON property to a .NET member or constructor parameter. + + + + + Gets or sets the name of the property. + + The name of the property. + + + + Gets or sets the type that declared this property. + + The type that declared this property. + + + + Gets or sets the order of serialization of a member. + + The numeric order of serialization. + + + + Gets or sets the name of the underlying member or parameter. + + The name of the underlying member or parameter. + + + + Gets the that will get and set the during serialization. + + The that will get and set the during serialization. + + + + Gets or sets the for this property. + + The for this property. + + + + Gets or sets the type of the property. + + The type of the property. + + + + Gets or sets the for the property. + If set this converter takes precedence over the contract converter for the property type. + + The converter. + + + + Gets or sets the member converter. + + The member converter. + + + + Gets or sets a value indicating whether this is ignored. + + true if ignored; otherwise, false. + + + + Gets or sets a value indicating whether this is readable. + + true if readable; otherwise, false. + + + + Gets or sets a value indicating whether this is writable. + + true if writable; otherwise, false. + + + + Gets or sets a value indicating whether this has a member attribute. + + true if has a member attribute; otherwise, false. + + + + Gets the default value. + + The default value. + + + + Gets or sets a value indicating whether this is required. + + A value indicating whether this is required. + + + + Gets or sets a value indicating whether this property preserves object references. + + + true if this instance is reference; otherwise, false. + + + + + Gets or sets the property null value handling. + + The null value handling. + + + + Gets or sets the property default value handling. + + The default value handling. + + + + Gets or sets the property reference loop handling. + + The reference loop handling. + + + + Gets or sets the property object creation handling. + + The object creation handling. + + + + Gets or sets or sets the type name handling. + + The type name handling. + + + + Gets or sets a predicate used to determine whether the property should be serialized. + + A predicate used to determine whether the property should be serialized. + + + + Gets or sets a predicate used to determine whether the property should be deserialized. + + A predicate used to determine whether the property should be deserialized. + + + + Gets or sets a predicate used to determine whether the property should be serialized. + + A predicate used to determine whether the property should be serialized. + + + + Gets or sets an action used to set whether the property has been deserialized. + + An action used to set whether the property has been deserialized. + + + + Returns a that represents this instance. + + + A that represents this instance. + + + + + Gets or sets the converter used when serializing the property's collection items. + + The collection's items converter. + + + + Gets or sets whether this property's collection items are serialized as a reference. + + Whether this property's collection items are serialized as a reference. + + + + Gets or sets the type name handling used when serializing the property's collection items. + + The collection's items type name handling. + + + + Gets or sets the reference loop handling used when serializing the property's collection items. + + The collection's items reference loop handling. + + + + A collection of objects. + + + + + Initializes a new instance of the class. + + The type. + + + + When implemented in a derived class, extracts the key from the specified element. + + The element from which to extract the key. + The key for the specified element. + + + + Adds a object. + + The property to add to the collection. + + + + Gets the closest matching object. + First attempts to get an exact case match of and then + a case insensitive match. + + Name of the property. + A matching property if found. + + + + Gets a property by property name. + + The name of the property to get. + Type property name string comparison. + A matching property if found. + + + + Used to resolve references when serializing and deserializing JSON by the . + + + + + Resolves a reference to its object. + + The serialization context. + The reference to resolve. + The object that was resolved from the reference. + + + + Gets the reference for the specified object. + + The serialization context. + The object to get a reference for. + The reference to the object. + + + + Determines whether the specified object is referenced. + + The serialization context. + The object to test for a reference. + + true if the specified object is referenced; otherwise, false. + + + + + Adds a reference to the specified object. + + The serialization context. + The reference. + The object to reference. + + + + Contract details for a used by the . + + + + + Gets or sets the object member serialization. + + The member object serialization. + + + + Gets or sets a value that indicates whether the object's properties are required. + + + A value indicating whether the object's properties are required. + + + + + Gets the object's properties. + + The object's properties. + + + + Gets a collection of instances that define the parameters used with . + + + + + Gets or sets the function used to create the object. When set this function will override . + This function is called with a collection of arguments which are defined by the collection. + + The function used to create the object. + + + + Gets or sets the extension data setter. + + + + + Gets or sets the extension data getter. + + + + + Gets or sets the extension data value type. + + + + + Gets or sets the extension data name resolver. + + The extension data name resolver. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Contract details for a used by the . + + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Lookup and create an instance of the type described by the argument. + + The type to create. + Optional arguments to pass to an initializing constructor of the JsonConverter. + If null, the default constructor is used. + + + + Represents a method that constructs an object. + + The object type to create. + + + + When applied to a method, specifies that the method is called when an error occurs serializing an object. + + + + + Get and set values for a using reflection. + + + + + Initializes a new instance of the class. + + The member info. + + + + Sets the value. + + The target to set the value on. + The value to set on the target. + + + + Gets the value. + + The target to get the value from. + The value. + + + + Specifies how strings are escaped when writing JSON text. + + + + + Only control characters (e.g. newline) are escaped. + + + + + All non-ASCII and control characters (e.g. newline) are escaped. + + + + + HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. + + + + + Indicates the method that will be used during deserialization for locating and loading assemblies. + + + + + In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the LoadWithPartialName method of the class is used to load the assembly. + + + + + In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The Load method of the class is used to load the assembly. + + + + + Provides a set of static (Shared in Visual Basic) methods for + 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. + + + + + Converts the value to the specified type. If the value is unable to be converted, the + value is checked whether it assignable to the specified type. + + The value to convert. + The culture to use when converting. + The type to convert or cast the value to. + + The converted type. If conversion was unsuccessful, the initial value + is returned if assignable to the target type. + + + + + Gets a dictionary of the names and values of an type. + + + + + + Gets a dictionary of the names and values of an Enum type. + + The enum type to get names and values for. + + + + + Builds a string. Unlike this class lets you reuse its internal buffer. + + + + + Determines whether the collection is null or empty. + + The collection. + + true if the collection is null or empty; otherwise, false. + + + + + Adds the elements of the specified collection to the specified generic . + + The list to add to. + The collection of elements to add. + + + + Gets the type of the typed collection's items. + + The type. + The type of the typed collection's items. + + + + Gets the member's underlying type. + + The member. + The underlying type of the member. + + + + Determines whether the member is an indexed property. + + The member. + + true if the member is an indexed property; otherwise, false. + + + + + Determines whether the property is an indexed property. + + The property. + + true if the property is an indexed property; otherwise, false. + + + + + Gets the member's value on the object. + + The member. + The target object. + The member's value on the object. + + + + Sets the member's value on the target object. + + The member. + The target. + The value. + + + + Determines whether the specified MemberInfo can be read. + + The MemberInfo to determine whether can be read. + /// if set to true then allow the member to be gotten non-publicly. + + true if the specified MemberInfo can be read; otherwise, false. + + + + + Determines whether the specified MemberInfo can be set. + + The MemberInfo to determine whether can be set. + if set to true then allow the member to be set non-publicly. + if set to true then allow the member to be set if read-only. + + true if the specified MemberInfo can be set; otherwise, false. + + + + + Determines whether the string is all white space. Empty string will return false. + + The string to test whether it is all white space. + + true if the string is all white space; otherwise, false. + + + + + Indicating whether a property is required. + + + + + The property is not required. The default state. + + + + + The property must be defined in JSON but can be a null value. + + + + + The property must be defined in JSON and cannot be a null value. + + + + + The property is not required but it cannot be a null value. + + + + + Specifies reference handling options for the . + Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement . + + + + + + + + Do not preserve references when serializing types. + + + + + Preserve references when serializing into a JSON object structure. + + + + + Preserve references when serializing into a JSON array structure. + + + + + Preserve references when serializing. + + + + + 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 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. + + + + Specifies default value handling options for the . + + + + + + + + + Include members where the member value is the same as the member's default value when serializing objects. + Included members are written to JSON. Has no effect when deserializing. + + + + + Ignore members where the member value is the same as the member's default value when serializing objects + so that it is not written to JSON. + This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, + decimals and floating point numbers; and false for booleans). The default value ignored can be changed by + placing the on the property. + + + + + Members with a default value but no JSON will be set to their default value when deserializing. + + + + + Ignore members where the member value is the same as the member's default value when serializing objects + and set members to their default value when deserializing. + + + + + Instructs the to use the specified when serializing the member or class. + + + + + Gets the of the . + + The of the . + + + + The parameter list to use when constructing the described by . + If null, the default constructor is used. + + + + + Initializes a new instance of the class. + + Type of the . + + + + Initializes a new instance of the class. + + Type of the . + Parameter list to use when constructing the . Can be null. + + + + Instructs the how to serialize the object. + + + + + Gets or sets the member serialization. + + The member serialization. + + + + Gets or sets a value that indicates whether the object's properties are required. + + + A value indicating whether the object's properties are required. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with the specified member serialization. + + The member serialization. + + + + Initializes a new instance of the class with the specified container Id. + + The container Id. + + + + Specifies the settings on a object. + + + + + Gets or sets how reference loops (e.g. a class referencing itself) are handled. + + Reference loop handling. + + + + Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. + + Missing member handling. + + + + Gets or sets how objects are created during deserialization. + + The object creation handling. + + + + Gets or sets how null values are handled during serialization and deserialization. + + Null value handling. + + + + Gets or sets how default values are handled during serialization and deserialization. + + The default value handling. + + + + Gets or sets a collection that will be used during serialization. + + The converters. + + + + Gets or sets how object references are preserved by the serializer. + + The preserve references handling. + + + + Gets or sets how type name writing and reading is handled by the serializer. + + + should be used with caution when your application deserializes JSON from an external source. + Incoming types should be validated with a custom + when deserializing with a value other than . + + The type name handling. + + + + Gets or sets how metadata properties are used during deserialization. + + The metadata properties handling. + + + + Gets or sets how a type name assembly is written and resolved by the serializer. + + The type name assembly format. + + + + Gets or sets how a type name assembly is written and resolved by the serializer. + + The type name assembly format. + + + + Gets or sets how constructors are used during deserialization. + + The constructor handling. + + + + Gets or sets the contract resolver used by the serializer when + serializing .NET objects to JSON and vice versa. + + The contract resolver. + + + + Gets or sets the equality comparer used by the serializer when comparing references. + + The equality comparer. + + + + Gets or sets the used by the serializer when resolving references. + + The reference resolver. + + + + Gets or sets a function that creates the used by the serializer when resolving references. + + A function that creates the used by the serializer when resolving references. + + + + Gets or sets the used by the serializer when writing trace messages. + + The trace writer. + + + + Gets or sets the used by the serializer when resolving type names. + + The binder. + + + + Gets or sets the used by the serializer when resolving type names. + + The binder. + + + + Gets or sets the error handler called during serialization and deserialization. + + The error handler called during serialization and deserialization. + + + + Gets or sets the used by the serializer when invoking serialization callback methods. + + The context. + + + + Gets or sets how and values are formatted when writing JSON text, + and the expected date format when reading JSON text. + + + + + Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + + + + + Indicates how JSON text output is formatted. + + + + + Gets or sets how dates are written to JSON text. + + + + + Gets or sets how time zones are handled during serialization and deserialization. + + + + + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + + + + + Gets or sets how special floating point numbers, e.g. , + and , + are written as JSON. + + + + + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + + + + + Gets or sets how strings are escaped when writing JSON text. + + + + + Gets or sets the culture used when reading JSON. Defaults to . + + + + + Gets a value indicating whether there will be a check for additional content after deserializing an object. + + + true if there will be a check for additional content after deserializing an object; otherwise, false. + + + + + Initializes a new instance of the class. + + + + + + Represents a reader that provides validation. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Sets an event handler for receiving schema validation errors. + + + + + Gets the text value of the current JSON token. + + + + + + Gets the depth of the current token in the JSON document. + + The depth of the current token in the JSON document. + + + + Gets the path of the current JSON token. + + + + + Gets the quotation mark character used to enclose the value of a string. + + + + + + Gets the type of the current JSON token. + + + + + + Gets the .NET type for the current JSON token. + + + + + + Initializes a new instance of the class that + validates the content returned from the given . + + The to read from while validating. + + + + Gets or sets the schema. + + The schema. + + + + Gets the used to construct this . + + The specified in the constructor. + + + + Changes the reader's state to . + If is set to true, the underlying is also closed. + + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying as a []. + + + A [] or null if the next JSON token is null. + + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying as a . + + A . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying . + + + true if the next token was read successfully; false if there are no more tokens to read. + + + + + Specifies the member serialization options for the . + + + + + All public members are serialized by default. Members can be excluded using or . + This is the default member serialization mode. + + + + + Only members marked with or are serialized. + This member serialization mode can also be set by marking the class with . + + + + + All public and private fields are serialized. Members can be excluded using or . + This member serialization mode can also be set by marking the class with + and setting IgnoreSerializableAttribute on to false. + + + + + Specifies how object creation is handled by the . + + + + + Reuse existing objects, create new objects when needed. + + + + + Only reuse existing objects. + + + + + Always create new objects. + + + + + Represents a reader that provides fast, non-cached, forward-only access to JSON text data. + + + + + Initializes a new instance of the class with the specified . + + The containing the JSON data to read. + + + + Gets or sets the reader's character buffer pool. + + + + + Reads the next JSON token from the underlying . + + + true if the next token was read successfully; false if there are no more tokens to read. + + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a . + + A . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a []. + + A [] or null if the next JSON token is null. This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Changes the reader's state to . + If is set to true, the underlying is also closed. + + + + + Gets a value indicating whether the class can return line information. + + + true if and can be provided; otherwise, false. + + + + + Gets the current line number. + + + The current line number or 0 if no line information is available (for example, returns false). + + + + + Gets the current line position. + + + The current line position or 0 if no line information is available (for example, returns false). + + + + + Instructs the to always serialize the member with the specified name. + + + + + Gets or sets the used when serializing the property's collection items. + + The collection's items . + + + + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, + order, and type of these parameters. + + + + [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] + + + + + + Gets or sets the of the . + + The of the . + + + + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, + order, and type of these parameters. + + + + [JsonProperty(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] + + + + + + Gets or sets the null value handling used when serializing this property. + + The null value handling. + + + + Gets or sets the default value handling used when serializing this property. + + The default value handling. + + + + Gets or sets the reference loop handling used when serializing this property. + + The reference loop handling. + + + + Gets or sets the object creation handling used when deserializing this property. + + The object creation handling. + + + + Gets or sets the type name handling used when serializing this property. + + The type name handling. + + + + Gets or sets whether this property's value is serialized as a reference. + + Whether this property's value is serialized as a reference. + + + + Gets or sets the order of serialization of a member. + + The numeric order of serialization. + + + + Gets or sets a value indicating whether this property is required. + + + A value indicating whether this property is required. + + + + + Gets or sets the name of the property. + + The name of the property. + + + + Gets or sets the reference loop handling used when serializing the property's collection items. + + The collection's items reference loop handling. + + + + Gets or sets the type name handling used when serializing the property's collection items. + + The collection's items type name handling. + + + + Gets or sets whether this property's collection items are serialized as a reference. + + Whether this property's collection items are serialized as a reference. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with the specified name. + + Name of the property. + + + + Instructs the not to serialize the public field or public read/write property value. + + + + + Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. + + + + + Gets or sets the writer's character array pool. + + + + + Gets or sets how many s to write for each level in the hierarchy when is set to . + + + + + Gets or sets which character to use to quote attribute values. + + + + + Gets or sets which character to use for indenting when is set to . + + + + + Gets or sets a value indicating whether object names will be surrounded with quotes. + + + + + Initializes a new instance of the class using the specified . + + The to write to. + + + + Flushes whatever is in the buffer to the underlying and also flushes the underlying . + + + + + Closes this writer. + If is set to true, the underlying is also closed. + If is set to true, the JSON is auto-completed. + + + + + Writes the beginning of a JSON object. + + + + + Writes the beginning of a JSON array. + + + + + Writes the start of a constructor with the given name. + + The name of the constructor. + + + + Writes the specified end token. + + The end token to write. + + + + Writes the property name of a name/value pair on a JSON object. + + The name of the property. + + + + Writes the property name of a name/value pair on a JSON object. + + The name of the property. + A flag to indicate whether the text should be escaped when it is written as a JSON property name. + + + + Writes indent characters. + + + + + Writes the JSON value delimiter. + + + + + Writes an indent space. + + + + + Writes a value. + An error will raised if the value cannot be written as a single JSON token. + + The value to write. + + + + Writes a null value. + + + + + Writes an undefined value. + + + + + Writes raw JSON. + + The raw JSON to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a value. + + The value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a [] value. + + The [] value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a comment /*...*/ containing the specified text. + + Text to place inside the comment. + + + + Writes the given white space. + + The string of white space characters. + + + + The exception thrown when an error occurs while writing JSON text. + + + + + Gets the path to the JSON where the error occurred. + + The path to the JSON where the error occurred. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class + with a specified error message. + + The error message that explains the reason for the exception. + + + + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Initializes a new instance of the class. + + The that holds the serialized object data about the exception being thrown. + The that contains contextual information about the source or destination. + The parameter is null. + The class name is null or is zero (0). + + + + Initializes a new instance of the class + with a specified error message, JSON path and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The path to the JSON where the error occurred. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + The exception thrown when an error occurs while reading JSON text. + + + + + Gets the line number indicating where the error occurred. + + The line number indicating where the error occurred. + + + + Gets the line position indicating where the error occurred. + + The line position indicating where the error occurred. + + + + Gets the path to the JSON where the error occurred. + + The path to the JSON where the error occurred. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class + with a specified error message. + + The error message that explains the reason for the exception. + + + + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Initializes a new instance of the class. + + The that holds the serialized object data about the exception being thrown. + The that contains contextual information about the source or destination. + The parameter is null. + The class name is null or is zero (0). + + + + Initializes a new instance of the class + with a specified error message, JSON path, line number, line position, and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The path to the JSON where the error occurred. + The line number indicating where the error occurred. + The line position indicating where the error occurred. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Converts an object to and from JSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Gets a value indicating whether this can read JSON. + + true if this can read JSON; otherwise, false. + + + + Gets a value indicating whether this can write JSON. + + true if this can write JSON; otherwise, false. + + + + Represents a collection of . + + + + + Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. + + + + + Specifies the state of the reader. + + + + + A read method has not been called. + + + + + The end of the file has been reached successfully. + + + + + Reader is at a property. + + + + + Reader is at the start of an object. + + + + + Reader is in an object. + + + + + Reader is at the start of an array. + + + + + Reader is in an array. + + + + + The method has been called. + + + + + Reader has just read a value. + + + + + Reader is at the start of a constructor. + + + + + Reader is in a constructor. + + + + + An error occurred that prevents the read operation from continuing. + + + + + The end of the file has been reached successfully. + + + + + Gets the current reader state. + + The current reader state. + + + + Gets or sets a value indicating whether the source should be closed when this reader is closed. + + + true to close the source when this reader is closed; otherwise false. The default is true. + + + + + Gets or sets a value indicating whether multiple pieces of JSON content can + be read from a continuous stream without erroring. + + + true to support reading multiple pieces of JSON content; otherwise false. + The default is false. + + + + + Gets the quotation mark character used to enclose the value of a string. + + + + + Gets or sets how time zones are handled when reading JSON. + + + + + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + + + + + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + + + + + Gets or sets how custom date formatted strings are parsed when reading JSON. + + + + + Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + + + + + Gets the type of the current JSON token. + + + + + Gets the text value of the current JSON token. + + + + + Gets the .NET type for the current JSON token. + + + + + Gets the depth of the current token in the JSON document. + + The depth of the current token in the JSON document. + + + + Gets the path of the current JSON token. + + + + + Gets or sets the culture used when reading JSON. Defaults to . + + + + + Initializes a new instance of the class. + + + + + Reads the next JSON token from the source. + + true if the next token was read successfully; false if there are no more tokens to read. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a . + + A . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a []. + + A [] or null if the next JSON token is null. This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Skips the children of the current token. + + + + + Sets the current token. + + The new token. + + + + Sets the current token and value. + + The new token. + The value. + + + + Sets the current token and value. + + The new token. + The value. + A flag indicating whether the position index inside an array should be updated. + + + + Sets the state based on current token type. + + + + + Releases unmanaged and - optionally - managed resources. + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Changes the reader's state to . + If is set to true, the source is also closed. + + + + + Provides methods for converting between .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 flag to indicate whether to write the Json.NET array attribute. + This attribute helps preserve arrays when converting the written XML back to JSON. + + The deserialized . + + + + 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). + + + + Serializes and deserializes objects into and from the JSON format. + The enables you to control how objects are encoded into JSON. + + + + + Occurs when the errors during serialization and deserialization. + + + + + Gets or sets the used by the serializer when resolving references. + + + + + Gets or sets the used by the serializer when resolving type names. + + + + + Gets or sets the used by the serializer when resolving type names. + + + + + Gets or sets the used by the serializer when writing trace messages. + + The trace writer. + + + + Gets or sets the equality comparer used by the serializer when comparing references. + + The equality comparer. + + + + Gets or sets how type name writing and reading is handled by the serializer. + + + should be used with caution when your application deserializes JSON from an external source. + Incoming types should be validated with a custom + when deserializing with a value other than . + + + + + Gets or sets how a type name assembly is written and resolved by the serializer. + + The type name assembly format. + + + + Gets or sets how a type name assembly is written and resolved by the serializer. + + The type name assembly format. + + + + Gets or sets how object references are preserved by the serializer. + + + + + Gets or sets how reference loops (e.g. a class referencing itself) is handled. + + + + + Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. + + + + + Gets or sets how null values are handled during serialization and deserialization. + + + + + Gets or sets how default values are handled during serialization and deserialization. + + + + + Gets or sets how objects are created during deserialization. + + The object creation handling. + + + + Gets or sets how constructors are used during deserialization. + + The constructor handling. + + + + Gets or sets how metadata properties are used during deserialization. + + The metadata properties handling. + + + + Gets a collection that will be used during serialization. + + Collection that will be used during serialization. + + + + Gets or sets the contract resolver used by the serializer when + serializing .NET objects to JSON and vice versa. + + + + + Gets or sets the used by the serializer when invoking serialization callback methods. + + The context. + + + + Indicates how JSON text output is formatted. + + + + + Gets or sets how dates are written to JSON text. + + + + + Gets or sets how time zones are handled during serialization and deserialization. + + + + + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + + + + + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + + + + + Gets or sets how special floating point numbers, e.g. , + and , + are written as JSON text. + + + + + Gets or sets how strings are escaped when writing JSON text. + + + + + Gets or sets how and values are formatted when writing JSON text, + and the expected date format when reading JSON text. + + + + + Gets or sets the culture used when reading JSON. Defaults to . + + + + + Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + + + + + Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. + + + true if there will be a check for additional JSON content after deserializing an object; otherwise, false. + + + + + Initializes a new instance of the class. + + + + + Creates a new instance. + The will not use default settings + from . + + + A new instance. + The will not use default settings + from . + + + + + Creates a new instance using the specified . + The will not use default settings + from . + + The settings to be applied to the . + + A new instance using the specified . + The will not use default settings + from . + + + + + Creates a new instance. + The will use default settings + from . + + + A new instance. + The will use default settings + from . + + + + + Creates a new instance using the specified . + The will use default settings + from as well as the specified . + + The settings to be applied to the . + + A new instance using the specified . + The will use default settings + from as well as the specified . + + + + + Populates the JSON values onto the target object. + + The that contains the JSON structure to reader values from. + The target object to populate values onto. + + + + Populates the JSON values onto the target object. + + The that contains the JSON structure to reader values from. + The target object to populate values onto. + + + + Deserializes the JSON structure contained by the specified . + + The that contains the JSON structure to deserialize. + The being deserialized. + + + + Deserializes the JSON structure contained by the specified + into an instance of the specified type. + + The containing the object. + The of object being deserialized. + The instance of being deserialized. + + + + Deserializes the JSON structure contained by the specified + into an instance of the specified type. + + The containing the object. + The type of the object to deserialize. + The instance of being deserialized. + + + + Deserializes the JSON structure contained by the specified + into an instance of the specified type. + + The containing the object. + The of object being deserialized. + The instance of being deserialized. + + + + Serializes the specified and writes the JSON structure + using the specified . + + The used to write the JSON structure. + The to serialize. + + + + Serializes the specified and writes the JSON structure + using the specified . + + The used to write the JSON structure. + The to serialize. + + The type of the value being serialized. + This parameter is used when is to write out the type name if the type of the value does not match. + Specifying the type is optional. + + + + + Serializes the specified and writes the JSON structure + using the specified . + + The used to write the JSON structure. + The to serialize. + + The type of the value being serialized. + This parameter is used when is Auto to write out the type name if the type of the value does not match. + Specifying the type is optional. + + + + + Serializes the specified and writes the JSON structure + using the specified . + + The used to write the JSON structure. + The to serialize. + + + + + Contains the JSON schema extension methods. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + + Determines whether the is valid. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + The source to test. + The schema to test with. + + true if the specified is valid; otherwise, false. + + + + + + Determines whether the is valid. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + The source to test. + The schema to test with. + When this method returns, contains any error messages generated while validating. + + true if the specified is valid; otherwise, false. + + + + + + Validates the specified . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + The source to test. + The schema to test with. + + + + + Validates the specified . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + The source to test. + The schema to test with. + The validation event handler. + + + + + Returns detailed information about the schema exception. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets the line number indicating where the error occurred. + + The line number indicating where the error occurred. + + + + Gets the line position indicating where the error occurred. + + The line position indicating where the error occurred. + + + + Gets the path to the JSON where the error occurred. + + The path to the JSON where the error occurred. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class + with a specified error message. + + The error message that explains the reason for the exception. + + + + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or 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). + + + + + Resolves from an id. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets or sets the loaded schemas. + + The loaded schemas. + + + + Initializes a new instance of the class. + + + + + Gets a for the specified reference. + + The id. + A for the specified reference. + + + + + Specifies undefined schema Id handling options for the . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Do not infer a schema Id. + + + + + Use the .NET type name as the schema Id. + + + + + Use the assembly qualified .NET type name as the schema Id. + + + + + + Returns detailed information related to the . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets the associated with the validation error. + + The JsonSchemaException associated with the validation error. + + + + Gets the path of the JSON location where the validation error occurred. + + The path of the JSON location where the validation error occurred. + + + + Gets the text description corresponding to the validation error. + + The text description. + + + + + Represents the callback method that will handle JSON schema validation events and the . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + + An in-memory representation of a JSON Schema. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets or sets the id. + + + + + Gets or sets the title. + + + + + Gets or sets whether the object is required. + + + + + Gets or sets whether the object is read-only. + + + + + Gets or sets whether the object is visible to users. + + + + + Gets or sets whether the object is transient. + + + + + Gets or sets the description of the object. + + + + + Gets or sets the types of values allowed by the object. + + The type. + + + + Gets or sets the pattern. + + The pattern. + + + + Gets or sets the minimum length. + + The minimum length. + + + + Gets or sets the maximum length. + + The maximum length. + + + + Gets or sets a number that the value should be divisible by. + + A number that the value should be divisible by. + + + + Gets or sets the minimum. + + The minimum. + + + + Gets or sets the maximum. + + The maximum. + + + + Gets or sets a flag indicating whether the value can not equal the number defined by the minimum attribute (). + + A flag indicating whether the value can not equal the number defined by the minimum attribute (). + + + + Gets or sets a flag indicating whether the value can not equal the number defined by the maximum attribute (). + + A flag indicating whether the value can not equal the number defined by the maximum attribute (). + + + + Gets or sets the minimum number of items. + + The minimum number of items. + + + + Gets or sets the maximum number of items. + + The maximum number of items. + + + + Gets or sets the of items. + + The of items. + + + + Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . + + + true if items are validated using their array position; otherwise, false. + + + + + Gets or sets the of additional items. + + The of additional items. + + + + Gets or sets a value indicating whether additional items are allowed. + + + true if additional items are allowed; otherwise, false. + + + + + Gets or sets whether the array items must be unique. + + + + + Gets or sets the of properties. + + The of properties. + + + + Gets or sets the of additional properties. + + The of additional properties. + + + + Gets or sets the pattern properties. + + The pattern properties. + + + + Gets or sets a value indicating whether additional properties are allowed. + + + true if additional properties are allowed; otherwise, false. + + + + + Gets or sets the required property if this property is present. + + The required property if this property is present. + + + + Gets or sets the a collection of valid enum values allowed. + + A collection of valid enum values allowed. + + + + Gets or sets disallowed types. + + The disallowed types. + + + + Gets or sets the default value. + + The default value. + + + + Gets or sets the collection of that this schema extends. + + The collection of that this schema extends. + + + + Gets or sets the format. + + The format. + + + + Initializes a new instance of the class. + + + + + Reads a from the specified . + + The containing the JSON Schema to read. + The object representing the JSON Schema. + + + + Reads a from the specified . + + The containing the JSON Schema to read. + The to use when resolving schema references. + The object representing the JSON Schema. + + + + Load a from a string that contains JSON Schema. + + A that contains JSON Schema. + A populated from the string that contains JSON Schema. + + + + Load a from a string that contains JSON Schema using the specified . + + A that contains JSON Schema. + The resolver. + A populated from the string that contains JSON Schema. + + + + Writes this schema to a . + + A into which this method will write. + + + + Writes this schema to a using the specified . + + A into which this method will write. + The resolver used. + + + + Returns a that represents the current . + + + A that represents the current . + + + + + + Generates a from a specified . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets or sets how undefined schemas are handled by the serializer. + + + + + Gets or sets the contract resolver. + + The contract resolver. + + + + Generate a from the specified type. + + The type to generate a from. + A generated from the specified type. + + + + Generate a from the specified type. + + The type to generate a from. + The used to resolve schema references. + A generated from the specified type. + + + + Generate a from the specified type. + + The type to generate a from. + Specify whether the generated root will be nullable. + A generated from the specified type. + + + + Generate a from the specified type. + + The type to generate a from. + The used to resolve schema references. + Specify whether the generated root will be nullable. + A generated from the specified type. + + + + + The value types allowed by the . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + No type specified. + + + + + String type. + + + + + Float type. + + + + + Integer type. + + + + + Boolean type. + + + + + Object type. + + + + + Array type. + + + + + Null type. + + + + + Any type. + + + + + Specifies missing member handling options for the . + + + + + Ignore a missing member and do not attempt to deserialize it. + + + + + Throw a when a missing member is encountered during deserialization. + + + + + Specifies null value handling options for the . + + + + + + + + + Include null values when serializing and deserializing objects. + + + + + Ignore null values when serializing and deserializing objects. + + + + + Specifies reference loop handling options for the . + + + + + Throw a when a loop is encountered. + + + + + Ignore loop references and do not serialize. + + + + + Serialize loop references. + + + + + Specifies type name handling options for the . + + + should be used with caution when your application deserializes JSON from an external source. + Incoming types should be validated with a custom + when deserializing with a value other than . + + + + + 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 . + + + + + 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 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. + + + + 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. + + + + diff --git a/packages/Newtonsoft.Json.10.0.2/lib/net35/Newtonsoft.Json.xml b/packages/Newtonsoft.Json.10.0.2/lib/net35/Newtonsoft.Json.xml new file mode 100644 index 0000000..0ba8a04 --- /dev/null +++ b/packages/Newtonsoft.Json.10.0.2/lib/net35/Newtonsoft.Json.xml @@ -0,0 +1,8944 @@ + + + + Newtonsoft.Json + + + + + 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. + + + + Represents a BSON Oid (object id). + + + + + Gets or sets the value of the Oid. + + The value of the Oid. + + + + Initializes a new instance of the class. + + The Oid value. + + + + Converts a binary value to and from a base 64 string value. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts a to and from JSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified value type. + + Type of the value. + + true if this instance can convert the specified value type; otherwise, false. + + + + + Converts a to and from JSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified value type. + + Type of the value. + + true if this instance can convert the specified value type; otherwise, false. + + + + + 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 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 JSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts a to and from JSON and BSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts a to and from JSON and BSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts an to and from its name string value. + + + + + Gets or sets a value indicating whether the written enum text should be camel case. + + true if the written enum text will be camel case; otherwise, false. + + + + Gets or sets a value indicating whether integer values are allowed when deserializing. + + true if integers are allowed when deserializing; otherwise, false. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + true if the written enum text will be camel case; otherwise, false. + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts a to and from a string (e.g. "1.2.3.4"). + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing property value of the JSON that is being converted. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts a to and from the ISO 8601 date format (e.g. "2008-04-12T12:53Z"). + + + + + Gets or sets the date time styles used when converting a date to and from JSON. + + The date time styles used when converting a date to and from JSON. + + + + Gets or sets the date time format used when converting a date to and from JSON. + + The date time format used when converting a date to and from JSON. + + + + Gets or sets the culture used when converting a date to and from JSON. + + The culture used when converting a date to and from JSON. + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Converts a to and from a JavaScript Date constructor (e.g. new Date(52231943)). + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing property value of the JSON that is being converted. + The calling serializer. + The object value. + + + + Converts XML to and from JSON. + + + + + Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produced multiple root elements. + + The name of the deserialized root element. + + + + Gets or sets a flag to indicate whether to write the Json.NET array attribute. + This attribute helps preserve arrays when converting the written XML back to JSON. + + true if the array attribute is written to the XML; otherwise, false. + + + + Gets or sets a value indicating whether to write the root JSON object. + + true if the JSON root object is omitted; otherwise, false. + + + + Writes the JSON representation of the object. + + The to write to. + The calling serializer. + The value. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Checks if the is a namespace attribute. + + Attribute name to test. + The attribute name prefix if it has one, otherwise an empty string. + true if attribute name is for a namespace attribute, otherwise false. + + + + Determines whether this instance can convert the specified value type. + + Type of the value. + + true if this instance can convert the specified value type; otherwise, false. + + + + + Specifies how constructors are used when initializing objects during deserialization by the . + + + + + First attempt to use the public default constructor, then fall back to a single parameterized constructor, then to the non-public default constructor. + + + + + Json.NET will use a non-public default constructor before falling back to a parameterized constructor. + + + + + Specifies how dates are formatted when writing JSON text. + + + + + Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". + + + + + Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". + + + + + Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. + + + + + Date formatted strings are not parsed to a date type and are read as strings. + + + + + Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . + + + + + Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . + + + + + Specifies how to treat the time value when converting between string and . + + + + + Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time. + + + + + Treat as a UTC. If the object represents a local time, it is converted to a UTC. + + + + + Treat as a local time if a is being converted to a string. + If a string is being converted to , convert to a local time if a time zone is specified. + + + + + Time zone information should be preserved when converting. + + + + + Specifies float format handling options when writing special floating point numbers, e.g. , + and with . + + + + + Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". + + + + + Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. + Note that this will produce non-valid JSON. + + + + + Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a 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. + + + + Instructs the to use the specified constructor when deserializing that object. + + + + + Instructs the how to serialize the collection. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with the specified container Id. + + The container Id. + + + + The exception thrown when an error occurs during JSON serialization or deserialization. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class + with a specified error message. + + The error message that explains the reason for the exception. + + + + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or 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 to always serialize the member, and to require that the member has a value. + + + + + Specifies how JSON comments are handled when loading JSON. + + + + + Ignore comments. + + + + + Load comments as a with type . + + + + + Specifies how line information is handled when loading JSON. + + + + + Ignore line information. + + + + + Load line information. + + + + + Represents a view of a . + + + + + Initializes a new instance of the class. + + The name. + + + + When overridden in a derived class, returns whether resetting an object changes its value. + + + true if resetting the component changes its value; otherwise, false. + + The component to test for reset capability. + + + + When overridden in a derived class, gets the current value of the property on a component. + + + The value of a property for a given component. + + The component with the property for which to retrieve the value. + + + + When overridden in a derived class, resets the value for this property of the component to the default value. + + The component with the property value that is to be reset to the default value. + + + + When overridden in a derived class, sets the value of the component to a different value. + + The component with the property value that is to be set. + The new value. + + + + When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted. + + + true if the property should be persisted; otherwise, false. + + The component with the property to be examined for persistence. + + + + When overridden in a derived class, gets the type of the component this property is bound to. + + + A that represents the type of component this property is bound to. + When the or + + methods are invoked, the object specified might be an instance of this type. + + + + + When overridden in a derived class, gets a value indicating whether this property is read-only. + + + true if the property is read-only; otherwise, false. + + + + + When overridden in a derived class, gets the type of the property. + + + A that represents the type of the property. + + + + + Gets the hash code for the name of the member. + + + + The hash code for the name of the member. + + + + + Specifies the settings used when loading JSON. + + + + + Initializes a new instance of the class. + + + + + Gets or sets how JSON comments are handled when loading JSON. + + The JSON comment handling. + + + + Gets or sets how JSON line info is handled when loading JSON. + + The JSON line info handling. + + + + Specifies the settings used when merging JSON. + + + + + Gets or sets the method used when merging JSON arrays. + + The method used when merging JSON arrays. + + + + Gets or sets how null value properties are merged. + + How null value properties are merged. + + + + Specifies how JSON arrays are merged together. + + + + Concatenate arrays. + + + Union arrays, skipping items that already exist. + + + Replace all array items. + + + Merge array items together, matched by index. + + + + Specifies how null value properties are merged. + + + + + The content's null value properties will be ignored during merging. + + + + + The content's null value properties will be merged. + + + + + Represents a raw JSON string. + + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Initializes a new instance of the class. + + The raw json. + + + + Creates an instance of with the content of the reader's current token. + + The reader. + An instance of with the content of the reader's current token. + + + + Represents a collection of objects. + + The type of token. + + + + Gets the of with the specified key. + + + + + + Compares tokens to determine whether they are equal. + + + + + Determines whether the specified objects are equal. + + The first object of type to compare. + The second object of type to compare. + + true if the specified objects are equal; otherwise, false. + + + + + Returns a hash code for the specified object. + + The for which a hash code is to be returned. + A hash code for the specified object. + The type of is a reference type and is null. + + + + Contains the LINQ to JSON extension methods. + + + + + Returns a collection of tokens that contains the ancestors of every token in the source collection. + + The type of the objects in source, constrained to . + An of that contains the source collection. + An of that contains the ancestors of every token in the source collection. + + + + Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. + + The type of the objects in source, constrained to . + An of that contains the source collection. + An of that contains every token in the source collection, the ancestors of every token in the source collection. + + + + Returns a collection of tokens that contains the descendants of every token in the source collection. + + The type of the objects in source, constrained to . + An of that contains the source collection. + An of that contains the descendants of every token in the source collection. + + + + Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. + + The type of the objects in source, constrained to . + An of that contains the source collection. + An of that contains every token in the source collection, and the descendants of every token in the source collection. + + + + Returns a collection of child properties of every object in the source collection. + + An of that contains the source collection. + An of that contains the properties of every object in the source collection. + + + + Returns a collection of child values of every object in the source collection with the given key. + + An of that contains the source collection. + The token key. + An of that contains the values of every token in the source collection with the given key. + + + + Returns a collection of child values of every object in the source collection. + + An of that contains the source collection. + An of that contains the values of every token in the source collection. + + + + Returns a collection of converted child values of every object in the source collection with the given key. + + The type to convert the values to. + An of that contains the source collection. + The token key. + An that contains the converted values of every token in the source collection with the given key. + + + + Returns a collection of converted child values of every object in the source collection. + + The type to convert the values to. + An of that contains the source collection. + An that contains the converted values of every token in the source collection. + + + + Converts the value. + + The type to convert the value to. + A cast as a of . + A converted value. + + + + Converts the value. + + The source collection type. + The type to convert the value to. + A cast as a of . + A converted value. + + + + Returns a collection of child tokens of every array in the source collection. + + The source collection type. + An of that contains the source collection. + An of that contains the values of every token in the source collection. + + + + Returns a collection of converted child tokens of every array in the source collection. + + An of that contains the source collection. + The type to convert the values to. + The source collection type. + An that contains the converted values of every token in the source collection. + + + + Returns the input typed as . + + An of that contains the source collection. + The input typed as . + + + + Returns the input typed as . + + The source collection type. + An of that contains the source collection. + The input typed as . + + + + Represents a JSON constructor. + + + + + Gets the container's children tokens. + + The container's children tokens. + + + + Gets or sets the name of this constructor. + + The constructor name. + + + + Gets the node type for this . + + The type. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Initializes a new instance of the class with the specified name and content. + + The constructor name. + The contents of the constructor. + + + + Initializes a new instance of the class with the specified name and content. + + The constructor name. + The contents of the constructor. + + + + Initializes a new instance of the class with the specified name. + + The constructor name. + + + + Writes this token to a . + + A into which this method will write. + A collection of which will be used when writing the token. + + + + Gets the with the specified key. + + The with the specified key. + + + + Loads a from a . + + A that will be read for the content of the . + A that contains the JSON that was read from the specified . + + + + Loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + A that contains the JSON that was read from the specified . + + + + Represents a token that can contain other tokens. + + + + + Occurs when the list changes or an item in the list changes. + + + + + Occurs before an item is added to the collection. + + + + + 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 the specified name. + + The property name. + A with the specified name or null. + + + + Gets a of of this object's property values. + + A of of this object's property values. + + + + Gets the with the specified key. + + The with the specified key. + + + + Gets or sets the with the specified property name. + + + + + + Loads a from a . + + A that will be read for the content of the . + A that contains the JSON that was read from the specified . + + is not valid JSON. + + + + + Loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + A that contains the JSON that was read from the specified . + + is not valid JSON. + + + + + Load a from a string that contains JSON. + + A that contains JSON. + A populated from the string that contains JSON. + + is not valid JSON. + + + + + + + + Load a from a string that contains JSON. + + A that contains JSON. + The used to load the JSON. + If this is null, default load settings will be used. + A populated from the string that contains JSON. + + is not valid JSON. + + + + + + + + Creates a from an object. + + The object that will be used to create . + A with the values of the specified object. + + + + Creates a from an object. + + The object that will be used to create . + The that will be used to read the object. + A with the values of the specified object. + + + + Writes this token to a . + + A into which this method will write. + A collection of which will be used when writing the token. + + + + Gets the with the specified property name. + + Name of the property. + The with the specified property name. + + + + Gets the with the specified property name. + The exact property name will be searched for first and if no matching property is found then + the will be used to match a property. + + Name of the property. + One of the enumeration values that specifies how the strings will be compared. + The with the specified property name. + + + + Tries to get the with the specified property name. + The exact property name will be searched for first and if no matching property is found then + the will be used to match a property. + + Name of the property. + The value. + One of the enumeration values that specifies how the strings will be compared. + true if a value was successfully retrieved; otherwise, false. + + + + Adds the specified property name. + + Name of the property. + The value. + + + + Removes the property with the specified name. + + Name of the property. + true if item was successfully removed; otherwise, false. + + + + Tries to get the with the specified property name. + + Name of the property. + The value. + true if a value was successfully retrieved; otherwise, false. + + + + Returns an enumerator that can be used to iterate through the collection. + + + A that can be used to iterate through the collection. + + + + + Raises the event with the provided arguments. + + Name of the property. + + + + Raises the event with the provided arguments. + + Name of the property. + + + + Represents a JSON array. + + + + + + + + Gets the container's children tokens. + + The container's children tokens. + + + + Gets the node type for this . + + The type. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Initializes a new instance of the class with the specified content. + + The contents of the array. + + + + Initializes a new instance of the class with the specified content. + + The contents of the array. + + + + Loads an from a . + + A that will be read for the content of the . + A that contains the JSON that was read from the specified . + + + + Loads an from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + A that contains the JSON that was read from the specified . + + + + Load a from a string that contains JSON. + + A that contains JSON. + A populated from the string that contains JSON. + + + + + + + Load a from a string that contains JSON. + + A that contains JSON. + The used to load the JSON. + If this is null, default load settings will be used. + A populated from the string that contains JSON. + + + + + + + Creates a from an object. + + The object that will be used to create . + A with the values of the specified object. + + + + Creates a from an object. + + The object that will be used to create . + The that will be used to read the object. + A with the values of the specified object. + + + + Writes this token to a . + + A into which this method will write. + A collection of which will be used when writing the token. + + + + Gets the with the specified key. + + The with the specified key. + + + + Gets or sets the at the specified index. + + + + + + Determines the index of a specific item in the . + + The object to locate in the . + + The index of if found in the list; otherwise, -1. + + + + + Inserts an item to the at the specified index. + + The zero-based index at which should be inserted. + The object to insert into the . + + is not a valid index in the . + + + + + Removes the item at the specified index. + + The zero-based index of the item to remove. + + is not a valid index in the . + + + + + Returns an enumerator that iterates through the collection. + + + A of that can be used to iterate through the collection. + + + + + Adds an item to the . + + The object to add to the . + + + + Removes all items from the . + + + + + Determines whether the contains a specific value. + + The object to locate in the . + + true if is found in the ; otherwise, false. + + + + + Copies the elements of the to an array, starting at a particular array index. + + The array. + Index of the array. + + + + Gets a value indicating whether the is read-only. + + true if the is read-only; otherwise, false. + + + + Removes the first occurrence of a specific object from the . + + The object to remove from the . + + true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . + + + + + Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. + + + + + Gets the at the reader's current position. + + + + + Initializes a new instance of the class. + + The token to read from. + + + + Reads the next JSON token from the underlying . + + + true if the next token was read successfully; false if there are no more tokens to read. + + + + + Gets the path of the current JSON token. + + + + + Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. + + + + + Gets the at the writer's current position. + + + + + Gets the token being written. + + The token being written. + + + + Initializes a new instance of the class writing to the given . + + The container being written to. + + + + Initializes a new instance of the class. + + + + + Flushes whatever is in the buffer to the underlying . + + + + + Closes this writer. + If is set to true, the JSON is auto-completed. + + + Setting to true has no additional effect, since the underlying is a type that cannot be closed. + + + + + Writes the beginning of a JSON object. + + + + + Writes the beginning of a JSON array. + + + + + Writes the start of a constructor with the given name. + + The name of the constructor. + + + + Writes the end. + + The token. + + + + Writes the property name of a name/value pair on a JSON object. + + The name of the property. + + + + Writes a value. + An error will be raised if the value cannot be written as a single JSON token. + + The value to write. + + + + Writes a null value. + + + + + Writes an undefined value. + + + + + Writes raw JSON. + + The raw JSON to write. + + + + Writes a comment /*...*/ containing the specified text. + + Text to place inside the comment. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a [] value. + + The [] value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Represents an abstract JSON token. + + + + + Gets a comparer that can compare two tokens for value equality. + + A that can compare two nodes for value equality. + + + + Gets or sets the parent. + + The parent. + + + + Gets the root of this . + + The root of this . + + + + Gets the node type for this . + + The type. + + + + Gets a value indicating whether this token has child tokens. + + + true if this token has child values; otherwise, false. + + + + + Compares the values of two tokens, including the values of all descendant tokens. + + The first to compare. + The second to compare. + true if the tokens are equal; otherwise false. + + + + Gets the next sibling token of this node. + + The that contains the next sibling token. + + + + Gets the previous sibling token of this node. + + The that contains the previous sibling token. + + + + Gets the path of the JSON token. + + + + + Adds the specified content immediately after this token. + + A content object that contains simple content or a collection of content objects to be added after this token. + + + + Adds the specified content immediately before this token. + + A content object that contains simple content or a collection of content objects to be added before this token. + + + + Returns a collection of the ancestor tokens of this token. + + A collection of the ancestor tokens of this token. + + + + Returns a collection of tokens that contain this token, and the ancestors of this token. + + A collection of tokens that contain this token, and the ancestors of this token. + + + + Returns a collection of the sibling tokens after this token, in document order. + + A collection of the sibling tokens after this tokens, in document order. + + + + Returns a collection of the sibling tokens before this token, in document order. + + A collection of the sibling tokens before this token, in document order. + + + + Gets the with the specified key. + + The with the specified key. + + + + Gets the with the specified key converted to the specified type. + + The type to convert the token to. + The token key. + The converted token value. + + + + Get the first child token of this token. + + A containing the first child token of the . + + + + Get the last child token of this token. + + A containing the last child token of the . + + + + Returns a collection of the child tokens of this token, in document order. + + An of containing the child tokens of this , in document order. + + + + Returns a collection of the child tokens of this token, in document order, filtered by the specified type. + + The type to filter the child tokens on. + A containing the child tokens of this , in document order. + + + + Returns a collection of the child values of this token, in document order. + + The type to convert the values to. + A containing the child values of this , in document order. + + + + Removes this token from its parent. + + + + + Replaces this token with the specified token. + + The value. + + + + Writes this token to a . + + A into which this method will write. + A collection of which will be used when writing the token. + + + + Returns the indented JSON for this token. + + + The indented JSON for this token. + + + + + Returns the JSON for this token using the given formatting and converters. + + Indicates how the output should be formatted. + A collection of s which will be used when writing the token. + The JSON for this token using the given formatting and converters. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to []. + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from [] to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Creates a for this token. + + A that can be used to read this token and its descendants. + + + + Creates a from an object. + + The object that will be used to create . + A with the value of the specified object. + + + + Creates a from an object using the specified . + + The object that will be used to create . + The that will be used when reading the object. + A with the value of the specified object. + + + + Creates an instance of the specified .NET type from the . + + The object type that the token will be deserialized to. + The new object created from the JSON value. + + + + Creates an instance of the specified .NET type from the . + + The object type that the token will be deserialized to. + The new object created from the JSON value. + + + + Creates an instance of the specified .NET type from the using the specified . + + The object type that the token will be deserialized to. + The that will be used when creating the object. + The new object created from the JSON value. + + + + Creates an instance of the specified .NET type from the using the specified . + + The object type that the token will be deserialized to. + The that will be used when creating the object. + The new object created from the JSON value. + + + + Creates a from a . + + A positioned at the token to read into this . + + A that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Creates a from a . + + An positioned at the token to read into this . + The used to load the JSON. + If this is null, default load settings will be used. + + A that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Load a from a string that contains JSON. + + A that contains JSON. + A populated from the string that contains JSON. + + + + Load a from a string that contains JSON. + + A that contains JSON. + The used to load the JSON. + If this is null, default load settings will be used. + A populated from the string that contains JSON. + + + + Creates a from a . + + A positioned at the token to read into this . + The used to load the JSON. + If this is null, default load settings will be used. + + A that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Creates a from a . + + A positioned at the token to read into this . + + A that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Selects a using a JPath expression. Selects the token that matches the object path. + + + A that contains a JPath expression. + + A , or null. + + + + Selects a using a JPath expression. Selects the token that matches the object path. + + + A that contains a JPath expression. + + A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. + A . + + + + Selects a collection of elements using a JPath expression. + + + A that contains a JPath expression. + + An of that contains the selected elements. + + + + Selects a collection of elements using a JPath expression. + + + A that contains a JPath expression. + + A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. + An of that contains the selected elements. + + + + Creates a new instance of the . All child tokens are recursively cloned. + + A new instance of the . + + + + Adds an object to the annotation list of this . + + The annotation to add. + + + + Get the first annotation object of the specified type from this . + + The type of the annotation to retrieve. + The first annotation object that matches the specified type, or null if no annotation is of the specified type. + + + + Gets the first annotation object of the specified type from this . + + The of the annotation to retrieve. + The first annotation object that matches the specified type, or null if no annotation is of the specified type. + + + + Gets a collection of annotations of the specified type for this . + + The type of the annotations to retrieve. + An that contains the annotations for this . + + + + Gets a collection of annotations of the specified type for this . + + The of the annotations to retrieve. + An of that contains the annotations that match the specified type for this . + + + + Removes the annotations of the specified type from this . + + The type of annotations to remove. + + + + Removes the annotations of the specified type from this . + + The of annotations to remove. + + + + Represents a JSON property. + + + + + Gets the container's children tokens. + + The container's children tokens. + + + + Gets the property name. + + The property name. + + + + Gets or sets the property value. + + The property value. + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Gets the node type for this . + + The type. + + + + Initializes a new instance of the class. + + The property name. + The property content. + + + + Initializes a new instance of the class. + + The property name. + The property content. + + + + Writes this token to a . + + A into which this method will write. + A collection of which will be used when writing the token. + + + + Loads a from a . + + A that will be read for the content of the . + A that contains the JSON that was read from the specified . + + + + Loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + A that contains the JSON that was read from the specified . + + + + Specifies the type of token. + + + + + No token type has been set. + + + + + A JSON object. + + + + + A JSON array. + + + + + A JSON constructor. + + + + + A JSON object property. + + + + + A comment. + + + + + An integer value. + + + + + A float value. + + + + + A string value. + + + + + A boolean value. + + + + + A null value. + + + + + An undefined value. + + + + + A date value. + + + + + A raw JSON value. + + + + + A collection of bytes value. + + + + + A Guid value. + + + + + A Uri value. + + + + + A TimeSpan value. + + + + + Represents a value in JSON (string, integer, date, etc). + + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Gets a value indicating whether this token has child tokens. + + + true if this token has child values; otherwise, false. + + + + + Creates a comment with the given value. + + The value. + A comment with the given value. + + + + Creates a string with the given value. + + The value. + A string with the given value. + + + + Creates a null value. + + A null value. + + + + Creates a undefined value. + + A undefined value. + + + + Gets the node type for this . + + The type. + + + + Gets or sets the underlying token value. + + The underlying token value. + + + + Writes this token to a . + + A into which this method will write. + A collection of s which will be used when writing the token. + + + + Indicates whether the current object is equal to another object of the same type. + + + true if the current object is equal to the parameter; otherwise, false. + + An object to compare with this object. + + + + Determines whether the specified is equal to the current . + + The to compare with the current . + + true if the specified is equal to the current ; otherwise, false. + + + + + Serves as a hash function for a particular type. + + + A hash code for the current . + + + + + Returns a that represents this instance. + + + A that represents this instance. + + + + + Returns a that represents this instance. + + The format. + + A that represents this instance. + + + + + Returns a that represents this instance. + + The format provider. + + A that represents this instance. + + + + + Returns a that represents this instance. + + The format. + The format provider. + + A that represents this instance. + + + + + Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. + + An object to compare with this instance. + + A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: + Value + Meaning + Less than zero + This instance is less than . + Zero + This instance is equal to . + Greater than zero + This instance is greater than . + + + is not of the same type as this instance. + + + + + Specifies metadata property handling options for the . + + + + + Read metadata properties located at the start of a JSON object. + + + + + Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. + + + + + Do not try to read metadata properties. + + + + + A camel case naming strategy. + + + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + A flag indicating whether extension data names should be processed. + + + + + Initializes a new instance of the class. + + + + + Resolves the specified property name. + + The property name to resolve. + The resolved property name. + + + + The default naming strategy. Property names and dictionary keys are unchanged. + + + + + Resolves the specified property name. + + The property name to resolve. + The resolved property name. + + + + Represents a trace writer that writes to the application's instances. + + + + + Gets the that will be used to filter the trace messages passed to the writer. + For example a filter level of will exclude messages and include , + and messages. + + + The that will be used to filter the trace messages passed to the writer. + + + + + Writes the specified trace level, message and optional exception. + + The at which to write this trace. + The trace message. + The trace exception. This parameter is optional. + + + + Provides methods to get attributes. + + + + + Returns a collection of all of the attributes, or an empty collection if there are no attributes. + + When true, look up the hierarchy chain for the inherited custom attribute. + A collection of s, or an empty collection. + + + + Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. + + The type of the attributes. + When true, look up the hierarchy chain for the inherited custom attribute. + A collection of s, or an empty collection. + + + + Allows users to control class loading and mandate what class to load. + + + + + When implemented, controls the binding of a serialized object to a type. + + Specifies the name of the serialized object. + Specifies the name of the serialized object + The type of the object the formatter creates a new instance of. + + + + When implemented, controls the binding of a serialized object to a type. + + The type of the object the formatter creates a new instance of. + Specifies the name of the serialized object. + Specifies the name of the serialized object. + + + + Represents a trace writer. + + + + + Gets the that will be used to filter the trace messages passed to the writer. + For example a filter level of will exclude messages and include , + and messages. + + The that will be used to filter the trace messages passed to the writer. + + + + Writes the specified trace level, message and optional exception. + + The at which to write this trace. + The trace message. + The trace exception. This parameter is optional. + + + + Contract details for a used by the . + + + + + Gets or sets the default collection items . + + The converter. + + + + Gets or sets a value indicating whether the collection items preserve object references. + + true if collection items preserve object references; otherwise, false. + + + + Gets or sets the collection item reference loop handling. + + The reference loop handling. + + + + Gets or sets the collection item type name handling. + + The type name handling. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Represents a trace writer that writes to memory. When the trace message limit is + reached then old trace messages will be removed as new messages are added. + + + + + Gets the that will be used to filter the trace messages passed to the writer. + For example a filter level of will exclude messages and include , + and messages. + + + The that will be used to filter the trace messages passed to the writer. + + + + + Initializes a new instance of the class. + + + + + Writes the specified trace level, message and optional exception. + + The at which to write this trace. + The trace message. + The trace exception. This parameter is optional. + + + + Returns an enumeration of the most recent trace messages. + + An enumeration of the most recent trace messages. + + + + Returns a of the most recent trace messages. + + + A of the most recent trace messages. + + + + + A base class for resolving how property names and dictionary keys are serialized. + + + + + A flag indicating whether dictionary keys should be processed. + Defaults to false. + + + + + A flag indicating whether extension data names should be processed. + Defaults to false. + + + + + A flag indicating whether explicitly specified property names, + e.g. a property name customized with a , should be processed. + Defaults to false. + + + + + Gets the serialized name for a given property name. + + The initial property name. + A flag indicating whether the property has had a name explicitly specified. + The serialized property name. + + + + Gets the serialized name for a given extension data name. + + The initial extension data name. + The serialized extension data name. + + + + Gets the serialized key for a given dictionary key. + + The initial dictionary key. + The serialized dictionary key. + + + + Resolves the specified property name. + + The property name to resolve. + The resolved property name. + + + + Provides methods to get attributes from a , , or . + + + + + Initializes a new instance of the class. + + The instance to get attributes for. This parameter should be a , , or . + + + + Returns a collection of all of the attributes, or an empty collection if there are no attributes. + + When true, look up the hierarchy chain for the inherited custom attribute. + A collection of s, or an empty collection. + + + + Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. + + The type of the attributes. + When true, look up the hierarchy chain for the inherited custom attribute. + A collection of s, or an empty collection. + + + + A snake case naming strategy. + + + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + A flag indicating whether extension data names should be processed. + + + + + Initializes a new instance of the class. + + + + + Resolves the specified property name. + + The property name to resolve. + The resolved property name. + + + + Contract details for a used by the . + + + + + Gets or sets the object constructor. + + The object constructor. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Contract details for a used by the . + + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Contract details for a used by the . + + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Get and set values for a using dynamic methods. + + + + + Initializes a new instance of the class. + + The member info. + + + + Sets the value. + + The target to set the value on. + The value to set on the target. + + + + Gets the value. + + The target to get the value from. + The value. + + + + Provides data for the Error event. + + + + + Gets the current object the error event is being raised against. + + The current object the error event is being raised against. + + + + Gets the error context. + + The error context. + + + + Initializes a new instance of the class. + + The current object. + The error context. + + + + Resolves member mappings for a type, camel casing property names. + + + + + Initializes a new instance of the class. + + + + + Resolves the contract for a given type. + + The type to resolve a contract for. + The contract for a given type. + + + + Used by to resolve a for a given . + + + + + Gets a value indicating whether members are being get and set using dynamic code generation. + This value is determined by the runtime permissions available. + + + true if using dynamic code generation; otherwise, false. + + + + + Gets or sets the default members search flags. + + The default members search flags. + + + + Gets or sets a value indicating whether compiler generated members should be serialized. + + + true if serialized compiler generated members; otherwise, false. + + + + + Gets or sets a value indicating whether to ignore the interface when serializing and deserializing types. + + + true if the interface will be ignored when serializing and deserializing types; otherwise, false. + + + + + Gets or sets a value indicating whether to ignore the attribute when serializing and deserializing types. + + + true if the attribute will be ignored when serializing and deserializing types; otherwise, false. + + + + + Gets or sets the naming strategy used to resolve how property names and dictionary keys are serialized. + + The naming strategy used to resolve how property names and dictionary keys are serialized. + + + + Initializes a new instance of the class. + + + + + Resolves the contract for a given type. + + The type to resolve a contract for. + The contract for a given type. + + + + Gets the serializable members for the type. + + The type to get serializable members for. + The serializable members for the type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates the constructor parameters. + + The constructor to create properties for. + The type's member properties. + Properties for the given . + + + + Creates a for the given . + + The matching member property. + The constructor parameter. + A created for the given . + + + + Resolves the default for the contract. + + Type of the object. + The contract's default . + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Determines which contract type is created for the given type. + + Type of the object. + A for the given type. + + + + Creates properties for the given . + + The type to create properties for. + /// The member serialization mode for the type. + Properties for the given . + + + + Creates the used by the serializer to get and set values from a member. + + The member. + The used by the serializer to get and set values from a member. + + + + Creates a for the given . + + The member's parent . + The member to create a for. + A created for the given . + + + + Resolves the name of the property. + + Name of the property. + Resolved name of the property. + + + + Resolves the name of the extension data. By default no changes are made to extension data names. + + Name of the extension data. + Resolved name of the extension data. + + + + Resolves the key of the dictionary. By default is used to resolve dictionary keys. + + Key of the dictionary. + Resolved key of the dictionary. + + + + Gets the resolved name of the property. + + Name of the property. + Name of the property. + + + + The default serialization binder used when resolving and loading classes from type names. + + + + + Initializes a new instance of the class. + + + + + When overridden in a derived class, controls the binding of a serialized object to a type. + + Specifies the name of the serialized object. + Specifies the name of the serialized object. + + The type of the object the formatter creates a new instance of. + + + + + When overridden in a derived class, controls the binding of a serialized object to a type. + + The type of the object the formatter creates a new instance of. + Specifies the name of the serialized object. + Specifies the name of the serialized object. + + + + Provides information surrounding an error. + + + + + Gets the error. + + The error. + + + + Gets the original object that caused the error. + + The original object that caused the error. + + + + Gets the member that caused the error. + + The member that caused the error. + + + + Gets the path of the JSON location where the error occurred. + + The path of the JSON location where the error occurred. + + + + Gets or sets a value indicating whether this is handled. + + true if handled; otherwise, false. + + + + Used by to resolve a for a given . + + + + + + + + + Resolves the contract for a given type. + + The type to resolve a contract for. + The contract for a given type. + + + + Provides methods to get and set values. + + + + + Sets the value. + + The target to set the value on. + The value to set on the target. + + + + Gets the value. + + The target to get the value from. + The value. + + + + Contract details for a used by the . + + + + + Gets the of the collection items. + + The of the collection items. + + + + Gets a value indicating whether the collection type is a multidimensional array. + + true if the collection type is a multidimensional array; otherwise, false. + + + + Gets or sets the function used to create the object. When set this function will override . + + The function used to create the object. + + + + Gets a value indicating whether the creator has a parameter with the collection values. + + true if the creator has a parameter with the collection values; otherwise, false. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Handles serialization callback events. + + The object that raised the callback event. + The streaming context. + + + + Handles serialization error callback events. + + The object that raised the callback event. + The streaming context. + The error context. + + + + Sets extension data for an object during deserialization. + + The object to set extension data on. + The extension data key. + The extension data value. + + + + Gets extension data for an object during serialization. + + The object to set extension data on. + + + + Contract details for a used by the . + + + + + Gets the underlying type for the contract. + + The underlying type for the contract. + + + + Gets or sets the type created during deserialization. + + The type created during deserialization. + + + + Gets or sets whether this type contract is serialized as a reference. + + Whether this type contract is serialized as a reference. + + + + Gets or sets the default for this contract. + + The converter. + + + + Gets or sets all methods called immediately after deserialization of the object. + + The methods called immediately after deserialization of the object. + + + + Gets or sets all methods called during deserialization of the object. + + The methods called during deserialization of the object. + + + + Gets or sets all methods called after serialization of the object graph. + + The methods called after serialization of the object graph. + + + + Gets or sets all methods called before serialization of the object. + + The methods called before serialization of the object. + + + + Gets or sets all method called when an error is thrown during the serialization of the object. + + The methods called when an error is thrown during the serialization of the object. + + + + Gets or sets the default creator method used to create the object. + + The default creator method used to create the object. + + + + Gets or sets a value indicating whether the default creator is non-public. + + true if the default object creator is non-public; otherwise, false. + + + + Contract details for a used by the . + + + + + Gets or sets the dictionary key resolver. + + The dictionary key resolver. + + + + Gets the of the dictionary keys. + + The of the dictionary keys. + + + + Gets the of the dictionary values. + + The of the dictionary values. + + + + Gets or sets the function used to create the object. When set this function will override . + + The function used to create the object. + + + + Gets a value indicating whether the creator has a parameter with the dictionary values. + + true if the creator has a parameter with the dictionary values; otherwise, false. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Maps a JSON property to a .NET member or constructor parameter. + + + + + Gets or sets the name of the property. + + The name of the property. + + + + Gets or sets the type that declared this property. + + The type that declared this property. + + + + Gets or sets the order of serialization of a member. + + The numeric order of serialization. + + + + Gets or sets the name of the underlying member or parameter. + + The name of the underlying member or parameter. + + + + Gets the that will get and set the during serialization. + + The that will get and set the during serialization. + + + + Gets or sets the for this property. + + The for this property. + + + + Gets or sets the type of the property. + + The type of the property. + + + + Gets or sets the for the property. + If set this converter takes precedence over the contract converter for the property type. + + The converter. + + + + Gets or sets the member converter. + + The member converter. + + + + Gets or sets a value indicating whether this is ignored. + + true if ignored; otherwise, false. + + + + Gets or sets a value indicating whether this is readable. + + true if readable; otherwise, false. + + + + Gets or sets a value indicating whether this is writable. + + true if writable; otherwise, false. + + + + Gets or sets a value indicating whether this has a member attribute. + + true if has a member attribute; otherwise, false. + + + + Gets the default value. + + The default value. + + + + Gets or sets a value indicating whether this is required. + + A value indicating whether this is required. + + + + Gets or sets a value indicating whether this property preserves object references. + + + true if this instance is reference; otherwise, false. + + + + + Gets or sets the property null value handling. + + The null value handling. + + + + Gets or sets the property default value handling. + + The default value handling. + + + + Gets or sets the property reference loop handling. + + The reference loop handling. + + + + Gets or sets the property object creation handling. + + The object creation handling. + + + + Gets or sets or sets the type name handling. + + The type name handling. + + + + Gets or sets a predicate used to determine whether the property should be serialized. + + A predicate used to determine whether the property should be serialized. + + + + Gets or sets a predicate used to determine whether the property should be deserialized. + + A predicate used to determine whether the property should be deserialized. + + + + Gets or sets a predicate used to determine whether the property should be serialized. + + A predicate used to determine whether the property should be serialized. + + + + Gets or sets an action used to set whether the property has been deserialized. + + An action used to set whether the property has been deserialized. + + + + Returns a that represents this instance. + + + A that represents this instance. + + + + + Gets or sets the converter used when serializing the property's collection items. + + The collection's items converter. + + + + Gets or sets whether this property's collection items are serialized as a reference. + + Whether this property's collection items are serialized as a reference. + + + + Gets or sets the type name handling used when serializing the property's collection items. + + The collection's items type name handling. + + + + Gets or sets the reference loop handling used when serializing the property's collection items. + + The collection's items reference loop handling. + + + + A collection of objects. + + + + + Initializes a new instance of the class. + + The type. + + + + When implemented in a derived class, extracts the key from the specified element. + + The element from which to extract the key. + The key for the specified element. + + + + Adds a object. + + The property to add to the collection. + + + + Gets the closest matching object. + First attempts to get an exact case match of and then + a case insensitive match. + + Name of the property. + A matching property if found. + + + + Gets a property by property name. + + The name of the property to get. + Type property name string comparison. + A matching property if found. + + + + Used to resolve references when serializing and deserializing JSON by the . + + + + + Resolves a reference to its object. + + The serialization context. + The reference to resolve. + The object that was resolved from the reference. + + + + Gets the reference for the specified object. + + The serialization context. + The object to get a reference for. + The reference to the object. + + + + Determines whether the specified object is referenced. + + The serialization context. + The object to test for a reference. + + true if the specified object is referenced; otherwise, false. + + + + + Adds a reference to the specified object. + + The serialization context. + The reference. + The object to reference. + + + + Contract details for a used by the . + + + + + Gets or sets the object member serialization. + + The member object serialization. + + + + Gets or sets a value that indicates whether the object's properties are required. + + + A value indicating whether the object's properties are required. + + + + + Gets the object's properties. + + The object's properties. + + + + Gets a collection of instances that define the parameters used with . + + + + + Gets or sets the function used to create the object. When set this function will override . + This function is called with a collection of arguments which are defined by the collection. + + The function used to create the object. + + + + Gets or sets the extension data setter. + + + + + Gets or sets the extension data getter. + + + + + Gets or sets the extension data value type. + + + + + Gets or sets the extension data name resolver. + + The extension data name resolver. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Contract details for a used by the . + + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Lookup and create an instance of the type described by the argument. + + The type to create. + Optional arguments to pass to an initializing constructor of the JsonConverter. + If null, the default constructor is used. + + + + Get and set values for a using reflection. + + + + + Initializes a new instance of the class. + + The member info. + + + + Sets the value. + + The target to set the value on. + The value to set on the target. + + + + Gets the value. + + The target to get the value from. + The value. + + + + When applied to a method, specifies that the method is called when an error occurs serializing an object. + + + + + Represents a method that constructs an object. + + The object type to create. + + + + Specifies how strings are escaped when writing JSON text. + + + + + Only control characters (e.g. newline) are escaped. + + + + + All non-ASCII and control characters (e.g. newline) are escaped. + + + + + HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. + + + + + Indicates the method that will be used during deserialization for locating and loading assemblies. + + + + + In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the LoadWithPartialName method of the class is used to load the assembly. + + + + + In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The Load method of the class is used to load the assembly. + + + + + Converts the value to the specified type. If the value is unable to be converted, the + value is checked whether it assignable to the specified type. + + The value to convert. + The culture to use when converting. + The type to convert or cast the value to. + + The converted type. If conversion was unsuccessful, the initial value + is returned if assignable to the target type. + + + + + Gets a dictionary of the names and values of an type. + + + + + + Gets a dictionary of the names and values of an Enum type. + + The enum type to get names and values for. + + + + + Builds a string. Unlike this class lets you reuse its internal buffer. + + + + + Determines whether the collection is null or empty. + + The collection. + + true if the collection is null or empty; otherwise, false. + + + + + Adds the elements of the specified collection to the specified generic . + + The list to add to. + The collection of elements to add. + + + + Gets the type of the typed collection's items. + + The type. + The type of the typed collection's items. + + + + Gets the member's underlying type. + + The member. + The underlying type of the member. + + + + Determines whether the member is an indexed property. + + The member. + + true if the member is an indexed property; otherwise, false. + + + + + Determines whether the property is an indexed property. + + The property. + + true if the property is an indexed property; otherwise, false. + + + + + Gets the member's value on the object. + + The member. + The target object. + The member's value on the object. + + + + Sets the member's value on the target object. + + The member. + The target. + The value. + + + + Determines whether the specified MemberInfo can be read. + + The MemberInfo to determine whether can be read. + /// if set to true then allow the member to be gotten non-publicly. + + true if the specified MemberInfo can be read; otherwise, false. + + + + + Determines whether the specified MemberInfo can be set. + + The MemberInfo to determine whether can be set. + if set to true then allow the member to be set non-publicly. + if set to true then allow the member to be set if read-only. + + true if the specified MemberInfo can be set; otherwise, false. + + + + + Determines whether the string is all white space. Empty string will return false. + + The string to test whether it is all white space. + + true if the string is all white space; otherwise, false. + + + + + Indicating whether a property is required. + + + + + The property is not required. The default state. + + + + + The property must be defined in JSON but can be a null value. + + + + + The property must be defined in JSON and cannot be a null value. + + + + + The property is not required but it cannot be a null value. + + + + + Specifies reference handling options for the . + Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement . + + + + + + + + Do not preserve references when serializing types. + + + + + Preserve references when serializing into a JSON object structure. + + + + + Preserve references when serializing into a JSON array structure. + + + + + Preserve references when serializing. + + + + + 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 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. + + + + Specifies default value handling options for the . + + + + + + + + + Include members where the member value is the same as the member's default value when serializing objects. + Included members are written to JSON. Has no effect when deserializing. + + + + + Ignore members where the member value is the same as the member's default value when serializing objects + so that it is not written to JSON. + This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, + decimals and floating point numbers; and false for booleans). The default value ignored can be changed by + placing the on the property. + + + + + Members with a default value but no JSON will be set to their default value when deserializing. + + + + + Ignore members where the member value is the same as the member's default value when serializing objects + and set members to their default value when deserializing. + + + + + Instructs the to use the specified when serializing the member or class. + + + + + Gets the of the . + + The of the . + + + + The parameter list to use when constructing the described by . + If null, the default constructor is used. + + + + + Initializes a new instance of the class. + + Type of the . + + + + Initializes a new instance of the class. + + Type of the . + Parameter list to use when constructing the . Can be null. + + + + Instructs the how to serialize the object. + + + + + Gets or sets the member serialization. + + The member serialization. + + + + Gets or sets a value that indicates whether the object's properties are required. + + + A value indicating whether the object's properties are required. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with the specified member serialization. + + The member serialization. + + + + Initializes a new instance of the class with the specified container Id. + + The container Id. + + + + Specifies the settings on a object. + + + + + Gets or sets how reference loops (e.g. a class referencing itself) are handled. + + Reference loop handling. + + + + Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. + + Missing member handling. + + + + Gets or sets how objects are created during deserialization. + + The object creation handling. + + + + Gets or sets how null values are handled during serialization and deserialization. + + Null value handling. + + + + Gets or sets how default values are handled during serialization and deserialization. + + The default value handling. + + + + Gets or sets a collection that will be used during serialization. + + The converters. + + + + Gets or sets how object references are preserved by the serializer. + + The preserve references handling. + + + + Gets or sets how type name writing and reading is handled by the serializer. + + + should be used with caution when your application deserializes JSON from an external source. + Incoming types should be validated with a custom + when deserializing with a value other than . + + The type name handling. + + + + Gets or sets how metadata properties are used during deserialization. + + The metadata properties handling. + + + + Gets or sets how a type name assembly is written and resolved by the serializer. + + The type name assembly format. + + + + Gets or sets how a type name assembly is written and resolved by the serializer. + + The type name assembly format. + + + + Gets or sets how constructors are used during deserialization. + + The constructor handling. + + + + Gets or sets the contract resolver used by the serializer when + serializing .NET objects to JSON and vice versa. + + The contract resolver. + + + + Gets or sets the equality comparer used by the serializer when comparing references. + + The equality comparer. + + + + Gets or sets the used by the serializer when resolving references. + + The reference resolver. + + + + Gets or sets a function that creates the used by the serializer when resolving references. + + A function that creates the used by the serializer when resolving references. + + + + Gets or sets the used by the serializer when writing trace messages. + + The trace writer. + + + + Gets or sets the used by the serializer when resolving type names. + + The binder. + + + + Gets or sets the used by the serializer when resolving type names. + + The binder. + + + + Gets or sets the error handler called during serialization and deserialization. + + The error handler called during serialization and deserialization. + + + + Gets or sets the used by the serializer when invoking serialization callback methods. + + The context. + + + + Gets or sets how and values are formatted when writing JSON text, + and the expected date format when reading JSON text. + + + + + Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + + + + + Indicates how JSON text output is formatted. + + + + + Gets or sets how dates are written to JSON text. + + + + + Gets or sets how time zones are handled during serialization and deserialization. + + + + + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + + + + + Gets or sets how special floating point numbers, e.g. , + and , + are written as JSON. + + + + + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + + + + + Gets or sets how strings are escaped when writing JSON text. + + + + + Gets or sets the culture used when reading JSON. Defaults to . + + + + + Gets a value indicating whether there will be a check for additional content after deserializing an object. + + + true if there will be a check for additional content after deserializing an object; otherwise, false. + + + + + Initializes a new instance of the class. + + + + + + Represents a reader that provides validation. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Sets an event handler for receiving schema validation errors. + + + + + Gets the text value of the current JSON token. + + + + + + Gets the depth of the current token in the JSON document. + + The depth of the current token in the JSON document. + + + + Gets the path of the current JSON token. + + + + + Gets the quotation mark character used to enclose the value of a string. + + + + + + Gets the type of the current JSON token. + + + + + + Gets the .NET type for the current JSON token. + + + + + + Initializes a new instance of the class that + validates the content returned from the given . + + The to read from while validating. + + + + Gets or sets the schema. + + The schema. + + + + Gets the used to construct this . + + The specified in the constructor. + + + + Changes the reader's state to . + If is set to true, the underlying is also closed. + + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying as a []. + + + A [] or null if the next JSON token is null. + + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying as a . + + A . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying . + + + true if the next token was read successfully; false if there are no more tokens to read. + + + + + Specifies the member serialization options for the . + + + + + All public members are serialized by default. Members can be excluded using or . + This is the default member serialization mode. + + + + + Only members marked with or are serialized. + This member serialization mode can also be set by marking the class with . + + + + + All public and private fields are serialized. Members can be excluded using or . + This member serialization mode can also be set by marking the class with + and setting IgnoreSerializableAttribute on to false. + + + + + Specifies how object creation is handled by the . + + + + + Reuse existing objects, create new objects when needed. + + + + + Only reuse existing objects. + + + + + Always create new objects. + + + + + Represents a reader that provides fast, non-cached, forward-only access to JSON text data. + + + + + Initializes a new instance of the class with the specified . + + The containing the JSON data to read. + + + + Gets or sets the reader's character buffer pool. + + + + + Reads the next JSON token from the underlying . + + + true if the next token was read successfully; false if there are no more tokens to read. + + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a . + + A . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a []. + + A [] or null if the next JSON token is null. This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Changes the reader's state to . + If is set to true, the underlying is also closed. + + + + + Gets a value indicating whether the class can return line information. + + + true if and can be provided; otherwise, false. + + + + + Gets the current line number. + + + The current line number or 0 if no line information is available (for example, returns false). + + + + + Gets the current line position. + + + The current line position or 0 if no line information is available (for example, returns false). + + + + + Instructs the to always serialize the member with the specified name. + + + + + Gets or sets the used when serializing the property's collection items. + + The collection's items . + + + + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, + order, and type of these parameters. + + + + [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] + + + + + + Gets or sets the of the . + + The of the . + + + + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, + order, and type of these parameters. + + + + [JsonProperty(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] + + + + + + Gets or sets the null value handling used when serializing this property. + + The null value handling. + + + + Gets or sets the default value handling used when serializing this property. + + The default value handling. + + + + Gets or sets the reference loop handling used when serializing this property. + + The reference loop handling. + + + + Gets or sets the object creation handling used when deserializing this property. + + The object creation handling. + + + + Gets or sets the type name handling used when serializing this property. + + The type name handling. + + + + Gets or sets whether this property's value is serialized as a reference. + + Whether this property's value is serialized as a reference. + + + + Gets or sets the order of serialization of a member. + + The numeric order of serialization. + + + + Gets or sets a value indicating whether this property is required. + + + A value indicating whether this property is required. + + + + + Gets or sets the name of the property. + + The name of the property. + + + + Gets or sets the reference loop handling used when serializing the property's collection items. + + The collection's items reference loop handling. + + + + Gets or sets the type name handling used when serializing the property's collection items. + + The collection's items type name handling. + + + + Gets or sets whether this property's collection items are serialized as a reference. + + Whether this property's collection items are serialized as a reference. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with the specified name. + + Name of the property. + + + + Instructs the not to serialize the public field or public read/write property value. + + + + + Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. + + + + + Gets or sets the writer's character array pool. + + + + + Gets or sets how many s to write for each level in the hierarchy when is set to . + + + + + Gets or sets which character to use to quote attribute values. + + + + + Gets or sets which character to use for indenting when is set to . + + + + + Gets or sets a value indicating whether object names will be surrounded with quotes. + + + + + Initializes a new instance of the class using the specified . + + The to write to. + + + + Flushes whatever is in the buffer to the underlying and also flushes the underlying . + + + + + Closes this writer. + If is set to true, the underlying is also closed. + If is set to true, the JSON is auto-completed. + + + + + Writes the beginning of a JSON object. + + + + + Writes the beginning of a JSON array. + + + + + Writes the start of a constructor with the given name. + + The name of the constructor. + + + + Writes the specified end token. + + The end token to write. + + + + Writes the property name of a name/value pair on a JSON object. + + The name of the property. + + + + Writes the property name of a name/value pair on a JSON object. + + The name of the property. + A flag to indicate whether the text should be escaped when it is written as a JSON property name. + + + + Writes indent characters. + + + + + Writes the JSON value delimiter. + + + + + Writes an indent space. + + + + + Writes a value. + An error will raised if the value cannot be written as a single JSON token. + + The value to write. + + + + Writes a null value. + + + + + Writes an undefined value. + + + + + Writes raw JSON. + + The raw JSON to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a value. + + The value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a [] value. + + The [] value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a comment /*...*/ containing the specified text. + + Text to place inside the comment. + + + + Writes the given white space. + + The string of white space characters. + + + + The exception thrown when an error occurs while writing JSON text. + + + + + Gets the path to the JSON where the error occurred. + + The path to the JSON where the error occurred. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class + with a specified error message. + + The error message that explains the reason for the exception. + + + + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Initializes a new instance of the class. + + The that holds the serialized object data about the exception being thrown. + The that contains contextual information about the source or destination. + The parameter is null. + The class name is null or is zero (0). + + + + Initializes a new instance of the class + with a specified error message, JSON path and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The path to the JSON where the error occurred. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + The exception thrown when an error occurs while reading JSON text. + + + + + Gets the line number indicating where the error occurred. + + The line number indicating where the error occurred. + + + + Gets the line position indicating where the error occurred. + + The line position indicating where the error occurred. + + + + Gets the path to the JSON where the error occurred. + + The path to the JSON where the error occurred. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class + with a specified error message. + + The error message that explains the reason for the exception. + + + + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Initializes a new instance of the class. + + The that holds the serialized object data about the exception being thrown. + The that contains contextual information about the source or destination. + The parameter is null. + The class name is null or is zero (0). + + + + Initializes a new instance of the class + with a specified error message, JSON path, line number, line position, and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The path to the JSON where the error occurred. + The line number indicating where the error occurred. + The line position indicating where the error occurred. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Converts an object to and from JSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Gets a value indicating whether this can read JSON. + + true if this can read JSON; otherwise, false. + + + + Gets a value indicating whether this can write JSON. + + true if this can write JSON; otherwise, false. + + + + Represents a collection of . + + + + + Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. + + + + + Specifies the state of the reader. + + + + + A read method has not been called. + + + + + The end of the file has been reached successfully. + + + + + Reader is at a property. + + + + + Reader is at the start of an object. + + + + + Reader is in an object. + + + + + Reader is at the start of an array. + + + + + Reader is in an array. + + + + + The method has been called. + + + + + Reader has just read a value. + + + + + Reader is at the start of a constructor. + + + + + Reader is in a constructor. + + + + + An error occurred that prevents the read operation from continuing. + + + + + The end of the file has been reached successfully. + + + + + Gets the current reader state. + + The current reader state. + + + + Gets or sets a value indicating whether the source should be closed when this reader is closed. + + + true to close the source when this reader is closed; otherwise false. The default is true. + + + + + Gets or sets a value indicating whether multiple pieces of JSON content can + be read from a continuous stream without erroring. + + + true to support reading multiple pieces of JSON content; otherwise false. + The default is false. + + + + + Gets the quotation mark character used to enclose the value of a string. + + + + + Gets or sets how time zones are handled when reading JSON. + + + + + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + + + + + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + + + + + Gets or sets how custom date formatted strings are parsed when reading JSON. + + + + + Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + + + + + Gets the type of the current JSON token. + + + + + Gets the text value of the current JSON token. + + + + + Gets the .NET type for the current JSON token. + + + + + Gets the depth of the current token in the JSON document. + + The depth of the current token in the JSON document. + + + + Gets the path of the current JSON token. + + + + + Gets or sets the culture used when reading JSON. Defaults to . + + + + + Initializes a new instance of the class. + + + + + Reads the next JSON token from the source. + + true if the next token was read successfully; false if there are no more tokens to read. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a . + + A . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a []. + + A [] or null if the next JSON token is null. This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Skips the children of the current token. + + + + + Sets the current token. + + The new token. + + + + Sets the current token and value. + + The new token. + The value. + + + + Sets the current token and value. + + The new token. + The value. + A flag indicating whether the position index inside an array should be updated. + + + + Sets the state based on current token type. + + + + + Releases unmanaged and - optionally - managed resources. + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Changes the reader's state to . + If is set to true, the source is also closed. + + + + + Provides methods for converting between .NET types and JSON types. + + + + + + + + Gets or sets a function that creates default . + Default settings are automatically used by serialization methods on , + and and on . + To serialize without using any default settings create a with + . + + + + + Represents JavaScript's boolean value true as a string. This field is read-only. + + + + + Represents JavaScript's boolean value false as a string. This field is read-only. + + + + + Represents JavaScript's null as a string. This field is read-only. + + + + + Represents JavaScript's undefined as a string. This field is read-only. + + + + + Represents JavaScript's positive infinity as a string. This field is read-only. + + + + + Represents JavaScript's negative infinity as a string. This field is read-only. + + + + + Represents JavaScript's NaN as a string. This field is read-only. + + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation using the specified. + + The value to convert. + The format the date will be converted to. + The time zone handling when the date is converted to a string. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation using the specified. + + The value to convert. + The format the date will be converted to. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + The string delimiter character. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + The string delimiter character. + The string escape handling. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Serializes the specified object to a JSON string. + + The object to serialize. + A JSON string representation of the object. + + + + Serializes the specified object to a JSON string using formatting. + + The object to serialize. + Indicates how the output should be formatted. + + A JSON string representation of the object. + + + + + Serializes the specified object to a JSON string using a collection of . + + The object to serialize. + A collection of converters used while serializing. + A JSON string representation of the object. + + + + Serializes the specified object to a JSON string using formatting and a collection of . + + The object to serialize. + Indicates how the output should be formatted. + A collection of converters used while serializing. + A JSON string representation of the object. + + + + Serializes the specified object to a JSON string using . + + The object to serialize. + The used to serialize the object. + If this is null, default serialization settings will be used. + + A JSON string representation of the object. + + + + + Serializes the specified object to a JSON string using a type, formatting and . + + The object to serialize. + The used to serialize the object. + If this is null, default serialization settings will be used. + + The type of the value being serialized. + This parameter is used when is to write out the type name if the type of the value does not match. + Specifying the type is optional. + + + A JSON string representation of the object. + + + + + Serializes the specified object to a JSON string using formatting and . + + The object to serialize. + Indicates how the output should be formatted. + The used to serialize the object. + If this is null, default serialization settings will be used. + + A JSON string representation of the object. + + + + + Serializes the specified object to a JSON string using a type, formatting and . + + The object to serialize. + Indicates how the output should be formatted. + The used to serialize the object. + If this is null, default serialization settings will be used. + + The type of the value being serialized. + This parameter is used when is to write out the type name if the type of the value does not match. + Specifying the type is optional. + + + A JSON string representation of the object. + + + + + Deserializes the JSON to a .NET object. + + The JSON to deserialize. + The deserialized object from the JSON string. + + + + Deserializes the JSON to a .NET object using . + + The JSON to deserialize. + + The used to deserialize the object. + If this is null, default serialization settings will be used. + + The deserialized object from the JSON string. + + + + Deserializes the JSON to the specified .NET type. + + The JSON to deserialize. + The of object being deserialized. + The deserialized object from the JSON string. + + + + Deserializes the JSON to the specified .NET type. + + The type of the object to deserialize to. + The JSON to deserialize. + The deserialized object from the JSON string. + + + + Deserializes the JSON to the given anonymous type. + + + The anonymous type to deserialize to. This can't be specified + traditionally and must be inferred from the anonymous type passed + as a parameter. + + The JSON to deserialize. + The anonymous type object. + The deserialized anonymous type from the JSON string. + + + + Deserializes the JSON to the given anonymous type using . + + + The anonymous type to deserialize to. This can't be specified + traditionally and must be inferred from the anonymous type passed + as a parameter. + + The JSON to deserialize. + The anonymous type object. + + The used to deserialize the object. + If this is null, default serialization settings will be used. + + The deserialized anonymous type from the JSON string. + + + + Deserializes the JSON to the specified .NET type using a collection of . + + The type of the object to deserialize to. + The JSON to deserialize. + Converters to use while deserializing. + The deserialized object from the JSON string. + + + + Deserializes the JSON to the specified .NET type using . + + The type of the object to deserialize to. + The object to deserialize. + + The used to deserialize the object. + If this is null, default serialization settings will be used. + + The deserialized object from the JSON string. + + + + Deserializes the JSON to the specified .NET type using a collection of . + + The JSON to deserialize. + The type of the object to deserialize. + Converters to use while deserializing. + The deserialized object from the JSON string. + + + + Deserializes the JSON to the specified .NET type using . + + The JSON to deserialize. + The type of the object to deserialize to. + + The used to deserialize the object. + If this is null, default serialization settings will be used. + + The deserialized object from the JSON string. + + + + Populates the object with values from the JSON string. + + The JSON to populate values from. + The target object to populate values onto. + + + + Populates the object with values from the JSON string using . + + The JSON to populate values from. + The target object to populate values onto. + + The used to deserialize the object. + If this is null, default serialization settings will be used. + + + + + Serializes the to a JSON string. + + The node to serialize. + A JSON string of the . + + + + Serializes the to a JSON string using formatting. + + The node to serialize. + Indicates how the output should be formatted. + A JSON string of the . + + + + Serializes the to a JSON string using formatting and omits the root object if is true. + + The node to serialize. + Indicates how the output should be formatted. + Omits writing the root object. + A JSON string of the . + + + + Deserializes the from a JSON string. + + The JSON string. + The deserialized . + + + + Deserializes the from a JSON string nested in a root element specified by . + + The JSON string. + The name of the root element to append when deserializing. + The deserialized . + + + + Deserializes the from a JSON string nested in a root element specified by + and writes a Json.NET array attribute for collections. + + The JSON string. + The name of the root element to append when deserializing. + + A flag to indicate whether to write the Json.NET array attribute. + This attribute helps preserve arrays when converting the written XML back to JSON. + + The deserialized . + + + + Serializes the to a JSON string. + + The node to convert to JSON. + A JSON string of the . + + + + Serializes the to a JSON string using formatting. + + The node to convert to JSON. + Indicates how the output should be formatted. + A JSON string of the . + + + + Serializes the to a JSON string using formatting and omits the root object if is true. + + The node to serialize. + Indicates how the output should be formatted. + Omits writing the root object. + A JSON string of the . + + + + Deserializes the from a JSON string. + + The JSON string. + The deserialized . + + + + Deserializes the from a JSON string nested in a root element specified by . + + The JSON string. + The name of the root element to append when deserializing. + The deserialized . + + + + Deserializes the from a JSON string nested in a root element specified by + and writes a Json.NET array attribute for collections. + + The JSON string. + The name of the root element to append when deserializing. + + A flag to indicate whether to write the Json.NET array attribute. + This attribute helps preserve arrays when converting the written XML back to JSON. + + The deserialized . + + + + 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). + + + + Serializes and deserializes objects into and from the JSON format. + The enables you to control how objects are encoded into JSON. + + + + + Occurs when the errors during serialization and deserialization. + + + + + Gets or sets the used by the serializer when resolving references. + + + + + Gets or sets the used by the serializer when resolving type names. + + + + + Gets or sets the used by the serializer when resolving type names. + + + + + Gets or sets the used by the serializer when writing trace messages. + + The trace writer. + + + + Gets or sets the equality comparer used by the serializer when comparing references. + + The equality comparer. + + + + Gets or sets how type name writing and reading is handled by the serializer. + + + should be used with caution when your application deserializes JSON from an external source. + Incoming types should be validated with a custom + when deserializing with a value other than . + + + + + Gets or sets how a type name assembly is written and resolved by the serializer. + + The type name assembly format. + + + + Gets or sets how a type name assembly is written and resolved by the serializer. + + The type name assembly format. + + + + Gets or sets how object references are preserved by the serializer. + + + + + Gets or sets how reference loops (e.g. a class referencing itself) is handled. + + + + + Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. + + + + + Gets or sets how null values are handled during serialization and deserialization. + + + + + Gets or sets how default values are handled during serialization and deserialization. + + + + + Gets or sets how objects are created during deserialization. + + The object creation handling. + + + + Gets or sets how constructors are used during deserialization. + + The constructor handling. + + + + Gets or sets how metadata properties are used during deserialization. + + The metadata properties handling. + + + + Gets a collection that will be used during serialization. + + Collection that will be used during serialization. + + + + Gets or sets the contract resolver used by the serializer when + serializing .NET objects to JSON and vice versa. + + + + + Gets or sets the used by the serializer when invoking serialization callback methods. + + The context. + + + + Indicates how JSON text output is formatted. + + + + + Gets or sets how dates are written to JSON text. + + + + + Gets or sets how time zones are handled during serialization and deserialization. + + + + + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + + + + + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + + + + + Gets or sets how special floating point numbers, e.g. , + and , + are written as JSON text. + + + + + Gets or sets how strings are escaped when writing JSON text. + + + + + Gets or sets how and values are formatted when writing JSON text, + and the expected date format when reading JSON text. + + + + + Gets or sets the culture used when reading JSON. Defaults to . + + + + + Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + + + + + Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. + + + true if there will be a check for additional JSON content after deserializing an object; otherwise, false. + + + + + Initializes a new instance of the class. + + + + + Creates a new instance. + The will not use default settings + from . + + + A new instance. + The will not use default settings + from . + + + + + Creates a new instance using the specified . + The will not use default settings + from . + + The settings to be applied to the . + + A new instance using the specified . + The will not use default settings + from . + + + + + Creates a new instance. + The will use default settings + from . + + + A new instance. + The will use default settings + from . + + + + + Creates a new instance using the specified . + The will use default settings + from as well as the specified . + + The settings to be applied to the . + + A new instance using the specified . + The will use default settings + from as well as the specified . + + + + + Populates the JSON values onto the target object. + + The that contains the JSON structure to reader values from. + The target object to populate values onto. + + + + Populates the JSON values onto the target object. + + The that contains the JSON structure to reader values from. + The target object to populate values onto. + + + + Deserializes the JSON structure contained by the specified . + + The that contains the JSON structure to deserialize. + The being deserialized. + + + + Deserializes the JSON structure contained by the specified + into an instance of the specified type. + + The containing the object. + The of object being deserialized. + The instance of being deserialized. + + + + Deserializes the JSON structure contained by the specified + into an instance of the specified type. + + The containing the object. + The type of the object to deserialize. + The instance of being deserialized. + + + + Deserializes the JSON structure contained by the specified + into an instance of the specified type. + + The containing the object. + The of object being deserialized. + The instance of being deserialized. + + + + Serializes the specified and writes the JSON structure + using the specified . + + The used to write the JSON structure. + The to serialize. + + + + Serializes the specified and writes the JSON structure + using the specified . + + The used to write the JSON structure. + The to serialize. + + The type of the value being serialized. + This parameter is used when is to write out the type name if the type of the value does not match. + Specifying the type is optional. + + + + + Serializes the specified and writes the JSON structure + using the specified . + + The used to write the JSON structure. + The to serialize. + + The type of the value being serialized. + This parameter is used when is Auto to write out the type name if the type of the value does not match. + Specifying the type is optional. + + + + + Serializes the specified and writes the JSON structure + using the specified . + + The used to write the JSON structure. + The to serialize. + + + + + Contains the JSON schema extension methods. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + + Determines whether the is valid. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + The source to test. + The schema to test with. + + true if the specified is valid; otherwise, false. + + + + + + Determines whether the is valid. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + The source to test. + The schema to test with. + When this method returns, contains any error messages generated while validating. + + true if the specified is valid; otherwise, false. + + + + + + Validates the specified . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + The source to test. + The schema to test with. + + + + + Validates the specified . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + The source to test. + The schema to test with. + The validation event handler. + + + + + Returns detailed information about the schema exception. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets the line number indicating where the error occurred. + + The line number indicating where the error occurred. + + + + Gets the line position indicating where the error occurred. + + The line position indicating where the error occurred. + + + + Gets the path to the JSON where the error occurred. + + The path to the JSON where the error occurred. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class + with a specified error message. + + The error message that explains the reason for the exception. + + + + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or 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). + + + + + Resolves from an id. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets or sets the loaded schemas. + + The loaded schemas. + + + + Initializes a new instance of the class. + + + + + Gets a for the specified reference. + + The id. + A for the specified reference. + + + + + Specifies undefined schema Id handling options for the . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Do not infer a schema Id. + + + + + Use the .NET type name as the schema Id. + + + + + Use the assembly qualified .NET type name as the schema Id. + + + + + + Returns detailed information related to the . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets the associated with the validation error. + + The JsonSchemaException associated with the validation error. + + + + Gets the path of the JSON location where the validation error occurred. + + The path of the JSON location where the validation error occurred. + + + + Gets the text description corresponding to the validation error. + + The text description. + + + + + Represents the callback method that will handle JSON schema validation events and the . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + + An in-memory representation of a JSON Schema. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets or sets the id. + + + + + Gets or sets the title. + + + + + Gets or sets whether the object is required. + + + + + Gets or sets whether the object is read-only. + + + + + Gets or sets whether the object is visible to users. + + + + + Gets or sets whether the object is transient. + + + + + Gets or sets the description of the object. + + + + + Gets or sets the types of values allowed by the object. + + The type. + + + + Gets or sets the pattern. + + The pattern. + + + + Gets or sets the minimum length. + + The minimum length. + + + + Gets or sets the maximum length. + + The maximum length. + + + + Gets or sets a number that the value should be divisible by. + + A number that the value should be divisible by. + + + + Gets or sets the minimum. + + The minimum. + + + + Gets or sets the maximum. + + The maximum. + + + + Gets or sets a flag indicating whether the value can not equal the number defined by the minimum attribute (). + + A flag indicating whether the value can not equal the number defined by the minimum attribute (). + + + + Gets or sets a flag indicating whether the value can not equal the number defined by the maximum attribute (). + + A flag indicating whether the value can not equal the number defined by the maximum attribute (). + + + + Gets or sets the minimum number of items. + + The minimum number of items. + + + + Gets or sets the maximum number of items. + + The maximum number of items. + + + + Gets or sets the of items. + + The of items. + + + + Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . + + + true if items are validated using their array position; otherwise, false. + + + + + Gets or sets the of additional items. + + The of additional items. + + + + Gets or sets a value indicating whether additional items are allowed. + + + true if additional items are allowed; otherwise, false. + + + + + Gets or sets whether the array items must be unique. + + + + + Gets or sets the of properties. + + The of properties. + + + + Gets or sets the of additional properties. + + The of additional properties. + + + + Gets or sets the pattern properties. + + The pattern properties. + + + + Gets or sets a value indicating whether additional properties are allowed. + + + true if additional properties are allowed; otherwise, false. + + + + + Gets or sets the required property if this property is present. + + The required property if this property is present. + + + + Gets or sets the a collection of valid enum values allowed. + + A collection of valid enum values allowed. + + + + Gets or sets disallowed types. + + The disallowed types. + + + + Gets or sets the default value. + + The default value. + + + + Gets or sets the collection of that this schema extends. + + The collection of that this schema extends. + + + + Gets or sets the format. + + The format. + + + + Initializes a new instance of the class. + + + + + Reads a from the specified . + + The containing the JSON Schema to read. + The object representing the JSON Schema. + + + + Reads a from the specified . + + The containing the JSON Schema to read. + The to use when resolving schema references. + The object representing the JSON Schema. + + + + Load a from a string that contains JSON Schema. + + A that contains JSON Schema. + A populated from the string that contains JSON Schema. + + + + Load a from a string that contains JSON Schema using the specified . + + A that contains JSON Schema. + The resolver. + A populated from the string that contains JSON Schema. + + + + Writes this schema to a . + + A into which this method will write. + + + + Writes this schema to a using the specified . + + A into which this method will write. + The resolver used. + + + + Returns a that represents the current . + + + A that represents the current . + + + + + + Generates a from a specified . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets or sets how undefined schemas are handled by the serializer. + + + + + Gets or sets the contract resolver. + + The contract resolver. + + + + Generate a from the specified type. + + The type to generate a from. + A generated from the specified type. + + + + Generate a from the specified type. + + The type to generate a from. + The used to resolve schema references. + A generated from the specified type. + + + + Generate a from the specified type. + + The type to generate a from. + Specify whether the generated root will be nullable. + A generated from the specified type. + + + + Generate a from the specified type. + + The type to generate a from. + The used to resolve schema references. + Specify whether the generated root will be nullable. + A generated from the specified type. + + + + + The value types allowed by the . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + No type specified. + + + + + String type. + + + + + Float type. + + + + + Integer type. + + + + + Boolean type. + + + + + Object type. + + + + + Array type. + + + + + Null type. + + + + + Any type. + + + + + Specifies missing member handling options for the . + + + + + Ignore a missing member and do not attempt to deserialize it. + + + + + Throw a when a missing member is encountered during deserialization. + + + + + Specifies null value handling options for the . + + + + + + + + + Include null values when serializing and deserializing objects. + + + + + Ignore null values when serializing and deserializing objects. + + + + + Specifies reference loop handling options for the . + + + + + Throw a when a loop is encountered. + + + + + Ignore loop references and do not serialize. + + + + + Serialize loop references. + + + + + Specifies type name handling options for the . + + + should be used with caution when your application deserializes JSON from an external source. + Incoming types should be validated with a custom + when deserializing with a value other than . + + + + + 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 . + + + + + 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 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. + + + + 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.10.0.2/lib/net40/Newtonsoft.Json.xml b/packages/Newtonsoft.Json.10.0.2/lib/net40/Newtonsoft.Json.xml new file mode 100644 index 0000000..17f493e --- /dev/null +++ b/packages/Newtonsoft.Json.10.0.2/lib/net40/Newtonsoft.Json.xml @@ -0,0 +1,9144 @@ + + + + Newtonsoft.Json + + + + + 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. + + + + Represents a BSON Oid (object id). + + + + + Gets or sets the value of the Oid. + + The value of the Oid. + + + + Initializes a new instance of the class. + + The Oid value. + + + + Converts a binary value to and from a base 64 string value. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts a to and from JSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified value type. + + Type of the value. + + true if this instance can convert the specified value type; otherwise, false. + + + + + Converts a to and from JSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified value type. + + Type of the value. + + true if this instance can convert the specified value type; otherwise, false. + + + + + 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 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 JSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts a to and from JSON and BSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts a to and from JSON and BSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts an to and from its name string value. + + + + + Gets or sets a value indicating whether the written enum text should be camel case. + + true if the written enum text will be camel case; otherwise, false. + + + + Gets or sets a value indicating whether integer values are allowed when deserializing. + + true if integers are allowed when deserializing; otherwise, false. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + true if the written enum text will be camel case; otherwise, false. + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts a to and from a string (e.g. "1.2.3.4"). + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing property value of the JSON that is being converted. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts a to and from the ISO 8601 date format (e.g. "2008-04-12T12:53Z"). + + + + + Gets or sets the date time styles used when converting a date to and from JSON. + + The date time styles used when converting a date to and from JSON. + + + + Gets or sets the date time format used when converting a date to and from JSON. + + The date time format used when converting a date to and from JSON. + + + + Gets or sets the culture used when converting a date to and from JSON. + + The culture used when converting a date to and from JSON. + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Converts a to and from a JavaScript Date constructor (e.g. new Date(52231943)). + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing property value of the JSON that is being converted. + The calling serializer. + The object value. + + + + Converts XML to and from JSON. + + + + + Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produced multiple root elements. + + The name of the deserialized root element. + + + + Gets or sets a flag to indicate whether to write the Json.NET array attribute. + This attribute helps preserve arrays when converting the written XML back to JSON. + + true if the array attribute is written to the XML; otherwise, false. + + + + Gets or sets a value indicating whether to write the root JSON object. + + true if the JSON root object is omitted; otherwise, false. + + + + Writes the JSON representation of the object. + + The to write to. + The calling serializer. + The value. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Checks if the is a namespace attribute. + + Attribute name to test. + The attribute name prefix if it has one, otherwise an empty string. + true if attribute name is for a namespace attribute, otherwise false. + + + + Determines whether this instance can convert the specified value type. + + Type of the value. + + true if this instance can convert the specified value type; otherwise, false. + + + + + Specifies how constructors are used when initializing objects during deserialization by the . + + + + + First attempt to use the public default constructor, then fall back to a single parameterized constructor, then to the non-public default constructor. + + + + + Json.NET will use a non-public default constructor before falling back to a parameterized constructor. + + + + + Specifies float format handling options when writing special floating point numbers, e.g. , + and with . + + + + + Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". + + + + + Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. + Note that this will produce non-valid JSON. + + + + + Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a of property. + + + + + Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + + + + + Floating point numbers are parsed to . + + + + + Floating point numbers are parsed to . + + + + + Provides an interface for using pooled arrays. + + The array type content. + + + + Rent an array from the pool. This array must be returned when it is no longer needed. + + The minimum required length of the array. The returned array may be longer. + The rented array from the pool. This array must be returned when it is no longer needed. + + + + Return an array to the pool. + + The array that is being returned. + + + + Instructs the how to serialize the collection. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with the specified container Id. + + The container Id. + + + + The exception thrown when an error occurs during JSON serialization or deserialization. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class + with a specified error message. + + The error message that explains the reason for the exception. + + + + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Initializes a new instance of the class. + + The that holds the serialized object data about the exception being thrown. + The that contains contextual information about the source or destination. + The parameter is null. + The class name is null or is zero (0). + + + + Specifies how dates are formatted when writing JSON text. + + + + + Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". + + + + + Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". + + + + + Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. + + + + + Date formatted strings are not parsed to a date type and are read as strings. + + + + + Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . + + + + + Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . + + + + + Specifies how to treat the time value when converting between string and . + + + + + Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time. + + + + + Treat as a UTC. If the object represents a local time, it is converted to a UTC. + + + + + Treat as a local time if a is being converted to a string. + If a string is being converted to , convert to a local time if a time zone is specified. + + + + + Time zone information should be preserved when converting. + + + + + Specifies formatting options for the . + + + + + No special formatting is applied. This is the default. + + + + + Causes child objects to be indented according to the and settings. + + + + + Instructs the to use the specified constructor when deserializing that object. + + + + + Instructs the to deserialize properties with no matching class member into the specified collection + and write values during serialization. + + + + + Gets or sets a value that indicates whether to write extension data when serializing the object. + + + true to write extension data when serializing the object; otherwise, false. The default is true. + + + + + Gets or sets a value that indicates whether to read extension data when deserializing the object. + + + true to read extension data when deserializing the object; otherwise, false. The default is true. + + + + + Initializes a new instance of the class. + + + + + Instructs the to always serialize the member, and to require that the member has a value. + + + + + Specifies how JSON comments are handled when loading JSON. + + + + + Ignore comments. + + + + + Load comments as a with type . + + + + + Specifies how line information is handled when loading JSON. + + + + + Ignore line information. + + + + + Load line information. + + + + + Specifies the settings used when loading JSON. + + + + + Initializes a new instance of the class. + + + + + Gets or sets how JSON comments are handled when loading JSON. + + The JSON comment handling. + + + + Gets or sets how JSON line info is handled when loading JSON. + + The JSON line info handling. + + + + Specifies the settings used when merging JSON. + + + + + Gets or sets the method used when merging JSON arrays. + + The method used when merging JSON arrays. + + + + Gets or sets how null value properties are merged. + + How null value properties are merged. + + + + Specifies how JSON arrays are merged together. + + + + Concatenate arrays. + + + Union arrays, skipping items that already exist. + + + Replace all array items. + + + Merge array items together, matched by index. + + + + Specifies how null value properties are merged. + + + + + The content's null value properties will be ignored during merging. + + + + + The content's null value properties will be merged. + + + + + Represents a raw JSON string. + + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Initializes a new instance of the class. + + The raw json. + + + + Creates an instance of with the content of the reader's current token. + + The reader. + An instance of with the content of the reader's current token. + + + + Represents a view of a . + + + + + Initializes a new instance of the class. + + The name. + + + + When overridden in a derived class, returns whether resetting an object changes its value. + + + true if resetting the component changes its value; otherwise, false. + + The component to test for reset capability. + + + + When overridden in a derived class, gets the current value of the property on a component. + + + The value of a property for a given component. + + The component with the property for which to retrieve the value. + + + + When overridden in a derived class, resets the value for this property of the component to the default value. + + The component with the property value that is to be reset to the default value. + + + + When overridden in a derived class, sets the value of the component to a different value. + + The component with the property value that is to be set. + The new value. + + + + When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted. + + + true if the property should be persisted; otherwise, false. + + The component with the property to be examined for persistence. + + + + When overridden in a derived class, gets the type of the component this property is bound to. + + + A that represents the type of component this property is bound to. + When the or + + methods are invoked, the object specified might be an instance of this type. + + + + + When overridden in a derived class, gets a value indicating whether this property is read-only. + + + true if the property is read-only; otherwise, false. + + + + + When overridden in a derived class, gets the type of the property. + + + A that represents the type of the property. + + + + + Gets the hash code for the name of the member. + + + + The hash code for the name of the member. + + + + + Represents a collection of objects. + + The type of token. + + + + Gets the of with the specified key. + + + + + + Compares tokens to determine whether they are equal. + + + + + Determines whether the specified objects are equal. + + The first object of type to compare. + The second object of type to compare. + + true if the specified objects are equal; otherwise, false. + + + + + Returns a hash code for the specified object. + + The for which a hash code is to be returned. + A hash code for the specified object. + The type of is a reference type and is null. + + + + Contains the LINQ to JSON extension methods. + + + + + Returns a collection of tokens that contains the ancestors of every token in the source collection. + + The type of the objects in source, constrained to . + An of that contains the source collection. + An of that contains the ancestors of every token in the source collection. + + + + Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. + + The type of the objects in source, constrained to . + An of that contains the source collection. + An of that contains every token in the source collection, the ancestors of every token in the source collection. + + + + Returns a collection of tokens that contains the descendants of every token in the source collection. + + The type of the objects in source, constrained to . + An of that contains the source collection. + An of that contains the descendants of every token in the source collection. + + + + Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. + + The type of the objects in source, constrained to . + An of that contains the source collection. + An of that contains every token in the source collection, and the descendants of every token in the source collection. + + + + Returns a collection of child properties of every object in the source collection. + + An of that contains the source collection. + An of that contains the properties of every object in the source collection. + + + + Returns a collection of child values of every object in the source collection with the given key. + + An of that contains the source collection. + The token key. + An of that contains the values of every token in the source collection with the given key. + + + + Returns a collection of child values of every object in the source collection. + + An of that contains the source collection. + An of that contains the values of every token in the source collection. + + + + Returns a collection of converted child values of every object in the source collection with the given key. + + The type to convert the values to. + An of that contains the source collection. + The token key. + An that contains the converted values of every token in the source collection with the given key. + + + + Returns a collection of converted child values of every object in the source collection. + + The type to convert the values to. + An of that contains the source collection. + An that contains the converted values of every token in the source collection. + + + + Converts the value. + + The type to convert the value to. + A cast as a of . + A converted value. + + + + Converts the value. + + The source collection type. + The type to convert the value to. + A cast as a of . + A converted value. + + + + Returns a collection of child tokens of every array in the source collection. + + The source collection type. + An of that contains the source collection. + An of that contains the values of every token in the source collection. + + + + Returns a collection of converted child tokens of every array in the source collection. + + An of that contains the source collection. + The type to convert the values to. + The source collection type. + An that contains the converted values of every token in the source collection. + + + + Returns the input typed as . + + An of that contains the source collection. + The input typed as . + + + + Returns the input typed as . + + The source collection type. + An of that contains the source collection. + The input typed as . + + + + Represents a JSON constructor. + + + + + Gets the container's children tokens. + + The container's children tokens. + + + + Gets or sets the name of this constructor. + + The constructor name. + + + + Gets the node type for this . + + The type. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Initializes a new instance of the class with the specified name and content. + + The constructor name. + The contents of the constructor. + + + + Initializes a new instance of the class with the specified name and content. + + The constructor name. + The contents of the constructor. + + + + Initializes a new instance of the class with the specified name. + + The constructor name. + + + + Writes this token to a . + + A into which this method will write. + A collection of which will be used when writing the token. + + + + Gets the with the specified key. + + The with the specified key. + + + + Loads a from a . + + A that will be read for the content of the . + A that contains the JSON that was read from the specified . + + + + Loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + A that contains the JSON that was read from the specified . + + + + Represents a token that can contain other tokens. + + + + + Occurs when the list changes or an item in the list changes. + + + + + Occurs before an item is added to the collection. + + + + + Occurs when the items list of the collection has changed, or the collection is reset. + + + + + Gets the container's children tokens. + + The container's children tokens. + + + + Raises the event. + + The instance containing the event data. + + + + Raises the event. + + The instance containing the event data. + + + + Raises the event. + + The instance containing the event data. + + + + Gets a value indicating whether this token has child tokens. + + + true if this token has child values; otherwise, false. + + + + + Get the first child token of this token. + + + A containing the first child token of the . + + + + + Get the last child token of this token. + + + A containing the last child token of the . + + + + + Returns a collection of the child tokens of this token, in document order. + + + An of containing the child tokens of this , in document order. + + + + + Returns a collection of the child values of this token, in document order. + + The type to convert the values to. + + A containing the child values of this , in document order. + + + + + Returns a collection of the descendant tokens for this token in document order. + + An of containing the descendant tokens of the . + + + + Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. + + An of containing this token, and all the descendant tokens of the . + + + + Adds the specified content as children of this . + + The content to be added. + + + + Adds the specified content as the first children of this . + + The content to be added. + + + + Creates a that can be used to add tokens to the . + + A that is ready to have content written to it. + + + + Replaces the child nodes of this token with the specified content. + + The content. + + + + Removes the child nodes from this token. + + + + + Merge the specified content into this . + + The content to be merged. + + + + Merge the specified content into this using . + + The content to be merged. + The used to merge the content. + + + + Gets the count of child JSON tokens. + + The count of child JSON tokens. + + + + Represents a collection of objects. + + The type of token. + + + + An empty collection of objects. + + + + + Initializes a new instance of the struct. + + The enumerable. + + + + Returns an enumerator that can be used to iterate through the collection. + + + A that can be used to iterate through the collection. + + + + + Gets the of with the specified key. + + + + + + Determines whether the specified is equal to this instance. + + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + + + + + Determines whether the specified is equal to this instance. + + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + + + + + Returns a hash code for this instance. + + + A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. + + + + + Represents a JSON object. + + + + + + + + Gets the container's children tokens. + + The container's children tokens. + + + + Occurs when a property value changes. + + + + + Occurs when a property value is changing. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Initializes a new instance of the class with the specified content. + + The contents of the object. + + + + Initializes a new instance of the class with the specified content. + + The contents of the object. + + + + Gets the node type for this . + + The type. + + + + Gets an of of this object's properties. + + An of of this object's properties. + + + + Gets a the specified name. + + The property name. + A with the specified name or null. + + + + Gets a of of this object's property values. + + A of of this object's property values. + + + + Gets the with the specified key. + + The with the specified key. + + + + Gets or sets the with the specified property name. + + + + + + Loads a from a . + + A that will be read for the content of the . + A that contains the JSON that was read from the specified . + + is not valid JSON. + + + + + Loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + A that contains the JSON that was read from the specified . + + is not valid JSON. + + + + + Load a from a string that contains JSON. + + A that contains JSON. + A populated from the string that contains JSON. + + is not valid JSON. + + + + + + + + Load a from a string that contains JSON. + + A that contains JSON. + The used to load the JSON. + If this is null, default load settings will be used. + A populated from the string that contains JSON. + + is not valid JSON. + + + + + + + + Creates a from an object. + + The object that will be used to create . + A with the values of the specified object. + + + + Creates a from an object. + + The object that will be used to create . + The that will be used to read the object. + A with the values of the specified object. + + + + Writes this token to a . + + A into which this method will write. + A collection of which will be used when writing the token. + + + + Gets the with the specified property name. + + Name of the property. + The with the specified property name. + + + + Gets the with the specified property name. + The exact property name will be searched for first and if no matching property is found then + the will be used to match a property. + + Name of the property. + One of the enumeration values that specifies how the strings will be compared. + The with the specified property name. + + + + Tries to get the with the specified property name. + The exact property name will be searched for first and if no matching property is found then + the will be used to match a property. + + Name of the property. + The value. + One of the enumeration values that specifies how the strings will be compared. + true if a value was successfully retrieved; otherwise, false. + + + + Adds the specified property name. + + Name of the property. + The value. + + + + Removes the property with the specified name. + + Name of the property. + true if item was successfully removed; otherwise, false. + + + + Tries to get the with the specified property name. + + Name of the property. + The value. + true if a value was successfully retrieved; otherwise, false. + + + + Returns an enumerator that can be used to iterate through the collection. + + + A that can be used to iterate through the collection. + + + + + Raises the event with the provided arguments. + + Name of the property. + + + + Raises the event with the provided arguments. + + Name of the property. + + + + Returns the responsible for binding operations performed on this object. + + The expression tree representation of the runtime value. + + The to bind this object. + + + + + Represents a JSON array. + + + + + + + + Gets the container's children tokens. + + The container's children tokens. + + + + Gets the node type for this . + + The type. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Initializes a new instance of the class with the specified content. + + The contents of the array. + + + + Initializes a new instance of the class with the specified content. + + The contents of the array. + + + + Loads an from a . + + A that will be read for the content of the . + A that contains the JSON that was read from the specified . + + + + Loads an from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + A that contains the JSON that was read from the specified . + + + + Load a from a string that contains JSON. + + A that contains JSON. + A populated from the string that contains JSON. + + + + + + + Load a from a string that contains JSON. + + A that contains JSON. + The used to load the JSON. + If this is null, default load settings will be used. + A populated from the string that contains JSON. + + + + + + + Creates a from an object. + + The object that will be used to create . + A with the values of the specified object. + + + + Creates a from an object. + + The object that will be used to create . + The that will be used to read the object. + A with the values of the specified object. + + + + Writes this token to a . + + A into which this method will write. + A collection of which will be used when writing the token. + + + + Gets the with the specified key. + + The with the specified key. + + + + Gets or sets the at the specified index. + + + + + + Determines the index of a specific item in the . + + The object to locate in the . + + The index of if found in the list; otherwise, -1. + + + + + Inserts an item to the at the specified index. + + The zero-based index at which should be inserted. + The object to insert into the . + + is not a valid index in the . + + + + + Removes the item at the specified index. + + The zero-based index of the item to remove. + + is not a valid index in the . + + + + + Returns an enumerator that iterates through the collection. + + + A of that can be used to iterate through the collection. + + + + + Adds an item to the . + + The object to add to the . + + + + Removes all items from the . + + + + + Determines whether the contains a specific value. + + The object to locate in the . + + true if is found in the ; otherwise, false. + + + + + Copies the elements of the to an array, starting at a particular array index. + + The array. + Index of the array. + + + + Gets a value indicating whether the is read-only. + + true if the is read-only; otherwise, false. + + + + Removes the first occurrence of a specific object from the . + + The object to remove from the . + + true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . + + + + + Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. + + + + + Gets the at the reader's current position. + + + + + Initializes a new instance of the class. + + The token to read from. + + + + Reads the next JSON token from the underlying . + + + true if the next token was read successfully; false if there are no more tokens to read. + + + + + Gets the path of the current JSON token. + + + + + Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. + + + + + Gets the at the writer's current position. + + + + + Gets the token being written. + + The token being written. + + + + Initializes a new instance of the class writing to the given . + + The container being written to. + + + + Initializes a new instance of the class. + + + + + Flushes whatever is in the buffer to the underlying . + + + + + Closes this writer. + If is set to true, the JSON is auto-completed. + + + Setting to true has no additional effect, since the underlying is a type that cannot be closed. + + + + + Writes the beginning of a JSON object. + + + + + Writes the beginning of a JSON array. + + + + + Writes the start of a constructor with the given name. + + The name of the constructor. + + + + Writes the end. + + The token. + + + + Writes the property name of a name/value pair on a JSON object. + + The name of the property. + + + + Writes a value. + An error will be raised if the value cannot be written as a single JSON token. + + The value to write. + + + + Writes a null value. + + + + + Writes an undefined value. + + + + + Writes raw JSON. + + The raw JSON to write. + + + + Writes a comment /*...*/ containing the specified text. + + Text to place inside the comment. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a [] value. + + The [] value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Represents an abstract JSON token. + + + + + Gets a comparer that can compare two tokens for value equality. + + A that can compare two nodes for value equality. + + + + Gets or sets the parent. + + The parent. + + + + Gets the root of this . + + The root of this . + + + + Gets the node type for this . + + The type. + + + + Gets a value indicating whether this token has child tokens. + + + true if this token has child values; otherwise, false. + + + + + Compares the values of two tokens, including the values of all descendant tokens. + + The first to compare. + The second to compare. + true if the tokens are equal; otherwise false. + + + + Gets the next sibling token of this node. + + The that contains the next sibling token. + + + + Gets the previous sibling token of this node. + + The that contains the previous sibling token. + + + + Gets the path of the JSON token. + + + + + Adds the specified content immediately after this token. + + A content object that contains simple content or a collection of content objects to be added after this token. + + + + Adds the specified content immediately before this token. + + A content object that contains simple content or a collection of content objects to be added before this token. + + + + Returns a collection of the ancestor tokens of this token. + + A collection of the ancestor tokens of this token. + + + + Returns a collection of tokens that contain this token, and the ancestors of this token. + + A collection of tokens that contain this token, and the ancestors of this token. + + + + Returns a collection of the sibling tokens after this token, in document order. + + A collection of the sibling tokens after this tokens, in document order. + + + + Returns a collection of the sibling tokens before this token, in document order. + + A collection of the sibling tokens before this token, in document order. + + + + Gets the with the specified key. + + The with the specified key. + + + + Gets the with the specified key converted to the specified type. + + The type to convert the token to. + The token key. + The converted token value. + + + + Get the first child token of this token. + + A containing the first child token of the . + + + + Get the last child token of this token. + + A containing the last child token of the . + + + + Returns a collection of the child tokens of this token, in document order. + + An of containing the child tokens of this , in document order. + + + + Returns a collection of the child tokens of this token, in document order, filtered by the specified type. + + The type to filter the child tokens on. + A containing the child tokens of this , in document order. + + + + Returns a collection of the child values of this token, in document order. + + The type to convert the values to. + A containing the child values of this , in document order. + + + + Removes this token from its parent. + + + + + Replaces this token with the specified token. + + The value. + + + + Writes this token to a . + + A into which this method will write. + A collection of which will be used when writing the token. + + + + Returns the indented JSON for this token. + + + The indented JSON for this token. + + + + + Returns the JSON for this token using the given formatting and converters. + + Indicates how the output should be formatted. + A collection of s which will be used when writing the token. + The JSON for this token using the given formatting and converters. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to []. + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from [] to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Creates a for this token. + + A that can be used to read this token and its descendants. + + + + Creates a from an object. + + The object that will be used to create . + A with the value of the specified object. + + + + Creates a from an object using the specified . + + The object that will be used to create . + The that will be used when reading the object. + A with the value of the specified object. + + + + Creates an instance of the specified .NET type from the . + + The object type that the token will be deserialized to. + The new object created from the JSON value. + + + + Creates an instance of the specified .NET type from the . + + The object type that the token will be deserialized to. + The new object created from the JSON value. + + + + Creates an instance of the specified .NET type from the using the specified . + + The object type that the token will be deserialized to. + The that will be used when creating the object. + The new object created from the JSON value. + + + + Creates an instance of the specified .NET type from the using the specified . + + The object type that the token will be deserialized to. + The that will be used when creating the object. + The new object created from the JSON value. + + + + Creates a from a . + + A positioned at the token to read into this . + + A that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Creates a from a . + + An positioned at the token to read into this . + The used to load the JSON. + If this is null, default load settings will be used. + + A that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Load a from a string that contains JSON. + + A that contains JSON. + A populated from the string that contains JSON. + + + + Load a from a string that contains JSON. + + A that contains JSON. + The used to load the JSON. + If this is null, default load settings will be used. + A populated from the string that contains JSON. + + + + Creates a from a . + + A positioned at the token to read into this . + The used to load the JSON. + If this is null, default load settings will be used. + + A that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Creates a from a . + + A positioned at the token to read into this . + + A that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Selects a using a JPath expression. Selects the token that matches the object path. + + + A that contains a JPath expression. + + A , or null. + + + + Selects a using a JPath expression. Selects the token that matches the object path. + + + A that contains a JPath expression. + + A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. + A . + + + + Selects a collection of elements using a JPath expression. + + + A that contains a JPath expression. + + An of that contains the selected elements. + + + + Selects a collection of elements using a JPath expression. + + + A that contains a JPath expression. + + A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. + An of that contains the selected elements. + + + + Returns the responsible for binding operations performed on this object. + + The expression tree representation of the runtime value. + + The to bind this object. + + + + + Returns the responsible for binding operations performed on this object. + + The expression tree representation of the runtime value. + + The to bind this object. + + + + + Creates a new instance of the . All child tokens are recursively cloned. + + A new instance of the . + + + + Adds an object to the annotation list of this . + + The annotation to add. + + + + Get the first annotation object of the specified type from this . + + The type of the annotation to retrieve. + The first annotation object that matches the specified type, or null if no annotation is of the specified type. + + + + Gets the first annotation object of the specified type from this . + + The of the annotation to retrieve. + The first annotation object that matches the specified type, or null if no annotation is of the specified type. + + + + Gets a collection of annotations of the specified type for this . + + The type of the annotations to retrieve. + An that contains the annotations for this . + + + + Gets a collection of annotations of the specified type for this . + + The of the annotations to retrieve. + An of that contains the annotations that match the specified type for this . + + + + Removes the annotations of the specified type from this . + + The type of annotations to remove. + + + + Removes the annotations of the specified type from this . + + The of annotations to remove. + + + + Represents a JSON property. + + + + + Gets the container's children tokens. + + The container's children tokens. + + + + Gets the property name. + + The property name. + + + + Gets or sets the property value. + + The property value. + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Gets the node type for this . + + The type. + + + + Initializes a new instance of the class. + + The property name. + The property content. + + + + Initializes a new instance of the class. + + The property name. + The property content. + + + + Writes this token to a . + + A into which this method will write. + A collection of which will be used when writing the token. + + + + Loads a from a . + + A that will be read for the content of the . + A that contains the JSON that was read from the specified . + + + + Loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + A that contains the JSON that was read from the specified . + + + + Specifies the type of token. + + + + + No token type has been set. + + + + + A JSON object. + + + + + A JSON array. + + + + + A JSON constructor. + + + + + A JSON object property. + + + + + A comment. + + + + + An integer value. + + + + + A float value. + + + + + A string value. + + + + + A boolean value. + + + + + A null value. + + + + + An undefined value. + + + + + A date value. + + + + + A raw JSON value. + + + + + A collection of bytes value. + + + + + A Guid value. + + + + + A Uri value. + + + + + A TimeSpan value. + + + + + Represents a value in JSON (string, integer, date, etc). + + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Gets a value indicating whether this token has child tokens. + + + true if this token has child values; otherwise, false. + + + + + Creates a comment with the given value. + + The value. + A comment with the given value. + + + + Creates a string with the given value. + + The value. + A string with the given value. + + + + Creates a null value. + + A null value. + + + + Creates a undefined value. + + A undefined value. + + + + Gets the node type for this . + + The type. + + + + Gets or sets the underlying token value. + + The underlying token value. + + + + Writes this token to a . + + A into which this method will write. + A collection of s which will be used when writing the token. + + + + Indicates whether the current object is equal to another object of the same type. + + + true if the current object is equal to the parameter; otherwise, false. + + An object to compare with this object. + + + + Determines whether the specified is equal to the current . + + The to compare with the current . + + true if the specified is equal to the current ; otherwise, false. + + + + + Serves as a hash function for a particular type. + + + A hash code for the current . + + + + + Returns a that represents this instance. + + + A that represents this instance. + + + + + Returns a that represents this instance. + + The format. + + A that represents this instance. + + + + + Returns a that represents this instance. + + The format provider. + + A that represents this instance. + + + + + Returns a that represents this instance. + + The format. + The format provider. + + A that represents this instance. + + + + + Returns the responsible for binding operations performed on this object. + + The expression tree representation of the runtime value. + + The to bind this object. + + + + + Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. + + An object to compare with this instance. + + A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: + Value + Meaning + Less than zero + This instance is less than . + Zero + This instance is equal to . + Greater than zero + This instance is greater than . + + + is not of the same type as this instance. + + + + + Specifies metadata property handling options for the . + + + + + Read metadata properties located at the start of a JSON object. + + + + + Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. + + + + + Do not try to read metadata properties. + + + + + A camel case naming strategy. + + + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + A flag indicating whether extension data names should be processed. + + + + + Initializes a new instance of the class. + + + + + Resolves the specified property name. + + The property name to resolve. + The resolved property name. + + + + The default naming strategy. Property names and dictionary keys are unchanged. + + + + + Resolves the specified property name. + + The property name to resolve. + The resolved property name. + + + + Represents a trace writer that writes to the application's instances. + + + + + Gets the that will be used to filter the trace messages passed to the writer. + For example a filter level of will exclude messages and include , + and messages. + + + The that will be used to filter the trace messages passed to the writer. + + + + + Writes the specified trace level, message and optional exception. + + The at which to write this trace. + The trace message. + The trace exception. This parameter is optional. + + + + Get and set values for a using dynamic methods. + + + + + Initializes a new instance of the class. + + The member info. + + + + Sets the value. + + The target to set the value on. + The value to set on the target. + + + + Gets the value. + + The target to get the value from. + The value. + + + + Provides methods to get attributes. + + + + + Returns a collection of all of the attributes, or an empty collection if there are no attributes. + + When true, look up the hierarchy chain for the inherited custom attribute. + A collection of s, or an empty collection. + + + + Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. + + The type of the attributes. + When true, look up the hierarchy chain for the inherited custom attribute. + A collection of s, or an empty collection. + + + + Allows users to control class loading and mandate what class to load. + + + + + When implemented, controls the binding of a serialized object to a type. + + Specifies the name of the serialized object. + Specifies the name of the serialized object + The type of the object the formatter creates a new instance of. + + + + When implemented, controls the binding of a serialized object to a type. + + The type of the object the formatter creates a new instance of. + Specifies the name of the serialized object. + Specifies the name of the serialized object. + + + + Represents a trace writer. + + + + + Gets the that will be used to filter the trace messages passed to the writer. + For example a filter level of will exclude messages and include , + and messages. + + The that will be used to filter the trace messages passed to the writer. + + + + Writes the specified trace level, message and optional exception. + + The at which to write this trace. + The trace message. + The trace exception. This parameter is optional. + + + + Contract details for a used by the . + + + + + Gets or sets the default collection items . + + The converter. + + + + Gets or sets a value indicating whether the collection items preserve object references. + + true if collection items preserve object references; otherwise, false. + + + + Gets or sets the collection item reference loop handling. + + The reference loop handling. + + + + Gets or sets the collection item type name handling. + + The type name handling. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Represents a trace writer that writes to memory. When the trace message limit is + reached then old trace messages will be removed as new messages are added. + + + + + Gets the that will be used to filter the trace messages passed to the writer. + For example a filter level of will exclude messages and include , + and messages. + + + The that will be used to filter the trace messages passed to the writer. + + + + + Initializes a new instance of the class. + + + + + Writes the specified trace level, message and optional exception. + + The at which to write this trace. + The trace message. + The trace exception. This parameter is optional. + + + + Returns an enumeration of the most recent trace messages. + + An enumeration of the most recent trace messages. + + + + Returns a of the most recent trace messages. + + + A of the most recent trace messages. + + + + + A base class for resolving how property names and dictionary keys are serialized. + + + + + A flag indicating whether dictionary keys should be processed. + Defaults to false. + + + + + A flag indicating whether extension data names should be processed. + Defaults to false. + + + + + A flag indicating whether explicitly specified property names, + e.g. a property name customized with a , should be processed. + Defaults to false. + + + + + Gets the serialized name for a given property name. + + The initial property name. + A flag indicating whether the property has had a name explicitly specified. + The serialized property name. + + + + Gets the serialized name for a given extension data name. + + The initial extension data name. + The serialized extension data name. + + + + Gets the serialized key for a given dictionary key. + + The initial dictionary key. + The serialized dictionary key. + + + + Resolves the specified property name. + + The property name to resolve. + The resolved property name. + + + + Provides methods to get attributes from a , , or . + + + + + Initializes a new instance of the class. + + The instance to get attributes for. This parameter should be a , , or . + + + + Returns a collection of all of the attributes, or an empty collection if there are no attributes. + + When true, look up the hierarchy chain for the inherited custom attribute. + A collection of s, or an empty collection. + + + + Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. + + The type of the attributes. + When true, look up the hierarchy chain for the inherited custom attribute. + A collection of s, or an empty collection. + + + + A snake case naming strategy. + + + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + A flag indicating whether extension data names should be processed. + + + + + Initializes a new instance of the class. + + + + + Resolves the specified property name. + + The property name to resolve. + The resolved property name. + + + + Contract details for a used by the . + + + + + Gets the object's properties. + + The object's properties. + + + + Gets or sets the property name resolver. + + The property name resolver. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Contract details for a used by the . + + + + + Gets or sets the object constructor. + + The object constructor. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Contract details for a used by the . + + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Contract details for a used by the . + + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Get and set values for a using dynamic methods. + + + + + Initializes a new instance of the class. + + The member info. + + + + Sets the value. + + The target to set the value on. + The value to set on the target. + + + + Gets the value. + + The target to get the value from. + The value. + + + + Provides data for the Error event. + + + + + Gets the current object the error event is being raised against. + + The current object the error event is being raised against. + + + + Gets the error context. + + The error context. + + + + Initializes a new instance of the class. + + The current object. + The error context. + + + + Resolves member mappings for a type, camel casing property names. + + + + + Initializes a new instance of the class. + + + + + Resolves the contract for a given type. + + The type to resolve a contract for. + The contract for a given type. + + + + Used by to resolve a for a given . + + + + + Gets a value indicating whether members are being get and set using dynamic code generation. + This value is determined by the runtime permissions available. + + + true if using dynamic code generation; otherwise, false. + + + + + Gets or sets the default members search flags. + + The default members search flags. + + + + Gets or sets a value indicating whether compiler generated members should be serialized. + + + true if serialized compiler generated members; otherwise, false. + + + + + Gets or sets a value indicating whether to ignore the interface when serializing and deserializing types. + + + true if the interface will be ignored when serializing and deserializing types; otherwise, false. + + + + + Gets or sets a value indicating whether to ignore the attribute when serializing and deserializing types. + + + true if the attribute will be ignored when serializing and deserializing types; otherwise, false. + + + + + Gets or sets the naming strategy used to resolve how property names and dictionary keys are serialized. + + The naming strategy used to resolve how property names and dictionary keys are serialized. + + + + Initializes a new instance of the class. + + + + + Resolves the contract for a given type. + + The type to resolve a contract for. + The contract for a given type. + + + + Gets the serializable members for the type. + + The type to get serializable members for. + The serializable members for the type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates the constructor parameters. + + The constructor to create properties for. + The type's member properties. + Properties for the given . + + + + Creates a for the given . + + The matching member property. + The constructor parameter. + A created for the given . + + + + Resolves the default for the contract. + + Type of the object. + The contract's default . + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Determines which contract type is created for the given type. + + Type of the object. + A for the given type. + + + + Creates properties for the given . + + The type to create properties for. + /// The member serialization mode for the type. + Properties for the given . + + + + Creates the used by the serializer to get and set values from a member. + + The member. + The used by the serializer to get and set values from a member. + + + + Creates a for the given . + + The member's parent . + The member to create a for. + A created for the given . + + + + Resolves the name of the property. + + Name of the property. + Resolved name of the property. + + + + Resolves the name of the extension data. By default no changes are made to extension data names. + + Name of the extension data. + Resolved name of the extension data. + + + + Resolves the key of the dictionary. By default is used to resolve dictionary keys. + + Key of the dictionary. + Resolved key of the dictionary. + + + + Gets the resolved name of the property. + + Name of the property. + Name of the property. + + + + The default serialization binder used when resolving and loading classes from type names. + + + + + Initializes a new instance of the class. + + + + + When overridden in a derived class, controls the binding of a serialized object to a type. + + Specifies the name of the serialized object. + Specifies the name of the serialized object. + + The type of the object the formatter creates a new instance of. + + + + + When overridden in a derived class, controls the binding of a serialized object to a type. + + The type of the object the formatter creates a new instance of. + Specifies the name of the serialized object. + Specifies the name of the serialized object. + + + + Provides information surrounding an error. + + + + + Gets the error. + + The error. + + + + Gets the original object that caused the error. + + The original object that caused the error. + + + + Gets the member that caused the error. + + The member that caused the error. + + + + Gets the path of the JSON location where the error occurred. + + The path of the JSON location where the error occurred. + + + + Gets or sets a value indicating whether this is handled. + + true if handled; otherwise, false. + + + + Used by to resolve a for a given . + + + + + + + + + Resolves the contract for a given type. + + The type to resolve a contract for. + The contract for a given type. + + + + Provides methods to get and set values. + + + + + Sets the value. + + The target to set the value on. + The value to set on the target. + + + + Gets the value. + + The target to get the value from. + The value. + + + + Contract details for a used by the . + + + + + Gets the of the collection items. + + The of the collection items. + + + + Gets a value indicating whether the collection type is a multidimensional array. + + true if the collection type is a multidimensional array; otherwise, false. + + + + Gets or sets the function used to create the object. When set this function will override . + + The function used to create the object. + + + + Gets a value indicating whether the creator has a parameter with the collection values. + + true if the creator has a parameter with the collection values; otherwise, false. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Handles serialization callback events. + + The object that raised the callback event. + The streaming context. + + + + Handles serialization error callback events. + + The object that raised the callback event. + The streaming context. + The error context. + + + + Sets extension data for an object during deserialization. + + The object to set extension data on. + The extension data key. + The extension data value. + + + + Gets extension data for an object during serialization. + + The object to set extension data on. + + + + Contract details for a used by the . + + + + + Gets the underlying type for the contract. + + The underlying type for the contract. + + + + Gets or sets the type created during deserialization. + + The type created during deserialization. + + + + Gets or sets whether this type contract is serialized as a reference. + + Whether this type contract is serialized as a reference. + + + + Gets or sets the default for this contract. + + The converter. + + + + Gets or sets all methods called immediately after deserialization of the object. + + The methods called immediately after deserialization of the object. + + + + Gets or sets all methods called during deserialization of the object. + + The methods called during deserialization of the object. + + + + Gets or sets all methods called after serialization of the object graph. + + The methods called after serialization of the object graph. + + + + Gets or sets all methods called before serialization of the object. + + The methods called before serialization of the object. + + + + Gets or sets all method called when an error is thrown during the serialization of the object. + + The methods called when an error is thrown during the serialization of the object. + + + + Gets or sets the default creator method used to create the object. + + The default creator method used to create the object. + + + + Gets or sets a value indicating whether the default creator is non-public. + + true if the default object creator is non-public; otherwise, false. + + + + Contract details for a used by the . + + + + + Gets or sets the dictionary key resolver. + + The dictionary key resolver. + + + + Gets the of the dictionary keys. + + The of the dictionary keys. + + + + Gets the of the dictionary values. + + The of the dictionary values. + + + + Gets or sets the function used to create the object. When set this function will override . + + The function used to create the object. + + + + Gets a value indicating whether the creator has a parameter with the dictionary values. + + true if the creator has a parameter with the dictionary values; otherwise, false. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Maps a JSON property to a .NET member or constructor parameter. + + + + + Gets or sets the name of the property. + + The name of the property. + + + + Gets or sets the type that declared this property. + + The type that declared this property. + + + + Gets or sets the order of serialization of a member. + + The numeric order of serialization. + + + + Gets or sets the name of the underlying member or parameter. + + The name of the underlying member or parameter. + + + + Gets the that will get and set the during serialization. + + The that will get and set the during serialization. + + + + Gets or sets the for this property. + + The for this property. + + + + Gets or sets the type of the property. + + The type of the property. + + + + Gets or sets the for the property. + If set this converter takes precedence over the contract converter for the property type. + + The converter. + + + + Gets or sets the member converter. + + The member converter. + + + + Gets or sets a value indicating whether this is ignored. + + true if ignored; otherwise, false. + + + + Gets or sets a value indicating whether this is readable. + + true if readable; otherwise, false. + + + + Gets or sets a value indicating whether this is writable. + + true if writable; otherwise, false. + + + + Gets or sets a value indicating whether this has a member attribute. + + true if has a member attribute; otherwise, false. + + + + Gets the default value. + + The default value. + + + + Gets or sets a value indicating whether this is required. + + A value indicating whether this is required. + + + + Gets or sets a value indicating whether this property preserves object references. + + + true if this instance is reference; otherwise, false. + + + + + Gets or sets the property null value handling. + + The null value handling. + + + + Gets or sets the property default value handling. + + The default value handling. + + + + Gets or sets the property reference loop handling. + + The reference loop handling. + + + + Gets or sets the property object creation handling. + + The object creation handling. + + + + Gets or sets or sets the type name handling. + + The type name handling. + + + + Gets or sets a predicate used to determine whether the property should be serialized. + + A predicate used to determine whether the property should be serialized. + + + + Gets or sets a predicate used to determine whether the property should be deserialized. + + A predicate used to determine whether the property should be deserialized. + + + + Gets or sets a predicate used to determine whether the property should be serialized. + + A predicate used to determine whether the property should be serialized. + + + + Gets or sets an action used to set whether the property has been deserialized. + + An action used to set whether the property has been deserialized. + + + + Returns a that represents this instance. + + + A that represents this instance. + + + + + Gets or sets the converter used when serializing the property's collection items. + + The collection's items converter. + + + + Gets or sets whether this property's collection items are serialized as a reference. + + Whether this property's collection items are serialized as a reference. + + + + Gets or sets the type name handling used when serializing the property's collection items. + + The collection's items type name handling. + + + + Gets or sets the reference loop handling used when serializing the property's collection items. + + The collection's items reference loop handling. + + + + A collection of objects. + + + + + Initializes a new instance of the class. + + The type. + + + + When implemented in a derived class, extracts the key from the specified element. + + The element from which to extract the key. + The key for the specified element. + + + + Adds a object. + + The property to add to the collection. + + + + Gets the closest matching object. + First attempts to get an exact case match of and then + a case insensitive match. + + Name of the property. + A matching property if found. + + + + Gets a property by property name. + + The name of the property to get. + Type property name string comparison. + A matching property if found. + + + + Used to resolve references when serializing and deserializing JSON by the . + + + + + Resolves a reference to its object. + + The serialization context. + The reference to resolve. + The object that was resolved from the reference. + + + + Gets the reference for the specified object. + + The serialization context. + The object to get a reference for. + The reference to the object. + + + + Determines whether the specified object is referenced. + + The serialization context. + The object to test for a reference. + + true if the specified object is referenced; otherwise, false. + + + + + Adds a reference to the specified object. + + The serialization context. + The reference. + The object to reference. + + + + Contract details for a used by the . + + + + + Gets or sets the object member serialization. + + The member object serialization. + + + + Gets or sets a value that indicates whether the object's properties are required. + + + A value indicating whether the object's properties are required. + + + + + Gets the object's properties. + + The object's properties. + + + + Gets a collection of instances that define the parameters used with . + + + + + Gets or sets the function used to create the object. When set this function will override . + This function is called with a collection of arguments which are defined by the collection. + + The function used to create the object. + + + + Gets or sets the extension data setter. + + + + + Gets or sets the extension data getter. + + + + + Gets or sets the extension data value type. + + + + + Gets or sets the extension data name resolver. + + The extension data name resolver. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Contract details for a used by the . + + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Lookup and create an instance of the type described by the argument. + + The type to create. + Optional arguments to pass to an initializing constructor of the JsonConverter. + If null, the default constructor is used. + + + + Get and set values for a using reflection. + + + + + Initializes a new instance of the class. + + The member info. + + + + Sets the value. + + The target to set the value on. + The value to set on the target. + + + + Gets the value. + + The target to get the value from. + The value. + + + + When applied to a method, specifies that the method is called when an error occurs serializing an object. + + + + + Represents a method that constructs an object. + + The object type to create. + + + + Specifies how strings are escaped when writing JSON text. + + + + + Only control characters (e.g. newline) are escaped. + + + + + All non-ASCII and control characters (e.g. newline) are escaped. + + + + + HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. + + + + + Indicates the method that will be used during deserialization for locating and loading assemblies. + + + + + In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the LoadWithPartialName method of the class is used to load the assembly. + + + + + In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The Load method of the class is used to load the assembly. + + + + + Helper method for generating a MetaObject which calls a + specific method on Dynamic that returns a result + + + + + Helper method for generating a MetaObject which calls a + specific method on Dynamic, but uses one of the arguments for + the result. + + + + + Helper method for generating a MetaObject which calls a + specific method on Dynamic, but uses one of the arguments for + the result. + + + + + Returns a Restrictions object which includes our current restrictions merged + with a restriction limiting our type + + + + + Converts the value to the specified type. If the value is unable to be converted, the + value is checked whether it assignable to the specified type. + + The value to convert. + The culture to use when converting. + The type to convert or cast the value to. + + The converted type. If conversion was unsuccessful, the initial value + is returned if assignable to the target type. + + + + + Gets a dictionary of the names and values of an type. + + + + + + Gets a dictionary of the names and values of an Enum type. + + The enum type to get names and values for. + + + + + Builds a string. Unlike this class lets you reuse its internal buffer. + + + + + Determines whether the collection is null or empty. + + The collection. + + true if the collection is null or empty; otherwise, false. + + + + + Adds the elements of the specified collection to the specified generic . + + The list to add to. + The collection of elements to add. + + + + Gets the type of the typed collection's items. + + The type. + The type of the typed collection's items. + + + + Gets the member's underlying type. + + The member. + The underlying type of the member. + + + + Determines whether the member is an indexed property. + + The member. + + true if the member is an indexed property; otherwise, false. + + + + + Determines whether the property is an indexed property. + + The property. + + true if the property is an indexed property; otherwise, false. + + + + + Gets the member's value on the object. + + The member. + The target object. + The member's value on the object. + + + + Sets the member's value on the target object. + + The member. + The target. + The value. + + + + Determines whether the specified MemberInfo can be read. + + The MemberInfo to determine whether can be read. + /// if set to true then allow the member to be gotten non-publicly. + + true if the specified MemberInfo can be read; otherwise, false. + + + + + Determines whether the specified MemberInfo can be set. + + The MemberInfo to determine whether can be set. + if set to true then allow the member to be set non-publicly. + if set to true then allow the member to be set if read-only. + + true if the specified MemberInfo can be set; otherwise, false. + + + + + Determines whether the string is all white space. Empty string will return false. + + The string to test whether it is all white space. + + true if the string is all white space; otherwise, false. + + + + + Indicating whether a property is required. + + + + + The property is not required. The default state. + + + + + The property must be defined in JSON but can be a null value. + + + + + The property must be defined in JSON and cannot be a null value. + + + + + The property is not required but it cannot be a null value. + + + + + Specifies reference handling options for the . + Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement . + + + + + + + + Do not preserve references when serializing types. + + + + + Preserve references when serializing into a JSON object structure. + + + + + Preserve references when serializing into a JSON array structure. + + + + + Preserve references when serializing. + + + + + 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 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. + + + + Specifies default value handling options for the . + + + + + + + + + Include members where the member value is the same as the member's default value when serializing objects. + Included members are written to JSON. Has no effect when deserializing. + + + + + Ignore members where the member value is the same as the member's default value when serializing objects + so that it is not written to JSON. + This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, + decimals and floating point numbers; and false for booleans). The default value ignored can be changed by + placing the on the property. + + + + + Members with a default value but no JSON will be set to their default value when deserializing. + + + + + Ignore members where the member value is the same as the member's default value when serializing objects + and set members to their default value when deserializing. + + + + + Instructs the to use the specified when serializing the member or class. + + + + + Gets the of the . + + The of the . + + + + The parameter list to use when constructing the described by . + If null, the default constructor is used. + + + + + Initializes a new instance of the class. + + Type of the . + + + + Initializes a new instance of the class. + + Type of the . + Parameter list to use when constructing the . Can be null. + + + + Instructs the how to serialize the object. + + + + + Gets or sets the member serialization. + + The member serialization. + + + + Gets or sets a value that indicates whether the object's properties are required. + + + A value indicating whether the object's properties are required. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with the specified member serialization. + + The member serialization. + + + + Initializes a new instance of the class with the specified container Id. + + The container Id. + + + + Specifies the settings on a object. + + + + + Gets or sets how reference loops (e.g. a class referencing itself) are handled. + + Reference loop handling. + + + + Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. + + Missing member handling. + + + + Gets or sets how objects are created during deserialization. + + The object creation handling. + + + + Gets or sets how null values are handled during serialization and deserialization. + + Null value handling. + + + + Gets or sets how default values are handled during serialization and deserialization. + + The default value handling. + + + + Gets or sets a collection that will be used during serialization. + + The converters. + + + + Gets or sets how object references are preserved by the serializer. + + The preserve references handling. + + + + Gets or sets how type name writing and reading is handled by the serializer. + + + should be used with caution when your application deserializes JSON from an external source. + Incoming types should be validated with a custom + when deserializing with a value other than . + + The type name handling. + + + + Gets or sets how metadata properties are used during deserialization. + + The metadata properties handling. + + + + Gets or sets how a type name assembly is written and resolved by the serializer. + + The type name assembly format. + + + + Gets or sets how a type name assembly is written and resolved by the serializer. + + The type name assembly format. + + + + Gets or sets how constructors are used during deserialization. + + The constructor handling. + + + + Gets or sets the contract resolver used by the serializer when + serializing .NET objects to JSON and vice versa. + + The contract resolver. + + + + Gets or sets the equality comparer used by the serializer when comparing references. + + The equality comparer. + + + + Gets or sets the used by the serializer when resolving references. + + The reference resolver. + + + + Gets or sets a function that creates the used by the serializer when resolving references. + + A function that creates the used by the serializer when resolving references. + + + + Gets or sets the used by the serializer when writing trace messages. + + The trace writer. + + + + Gets or sets the used by the serializer when resolving type names. + + The binder. + + + + Gets or sets the used by the serializer when resolving type names. + + The binder. + + + + Gets or sets the error handler called during serialization and deserialization. + + The error handler called during serialization and deserialization. + + + + Gets or sets the used by the serializer when invoking serialization callback methods. + + The context. + + + + Gets or sets how and values are formatted when writing JSON text, + and the expected date format when reading JSON text. + + + + + Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + + + + + Indicates how JSON text output is formatted. + + + + + Gets or sets how dates are written to JSON text. + + + + + Gets or sets how time zones are handled during serialization and deserialization. + + + + + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + + + + + Gets or sets how special floating point numbers, e.g. , + and , + are written as JSON. + + + + + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + + + + + Gets or sets how strings are escaped when writing JSON text. + + + + + Gets or sets the culture used when reading JSON. Defaults to . + + + + + Gets a value indicating whether there will be a check for additional content after deserializing an object. + + + true if there will be a check for additional content after deserializing an object; otherwise, false. + + + + + Initializes a new instance of the class. + + + + + + Represents a reader that provides validation. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Sets an event handler for receiving schema validation errors. + + + + + Gets the text value of the current JSON token. + + + + + + Gets the depth of the current token in the JSON document. + + The depth of the current token in the JSON document. + + + + Gets the path of the current JSON token. + + + + + Gets the quotation mark character used to enclose the value of a string. + + + + + + Gets the type of the current JSON token. + + + + + + Gets the .NET type for the current JSON token. + + + + + + Initializes a new instance of the class that + validates the content returned from the given . + + The to read from while validating. + + + + Gets or sets the schema. + + The schema. + + + + Gets the used to construct this . + + The specified in the constructor. + + + + Changes the reader's state to . + If is set to true, the underlying is also closed. + + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying as a []. + + + A [] or null if the next JSON token is null. + + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying as a . + + A . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying . + + + true if the next token was read successfully; false if there are no more tokens to read. + + + + + Specifies the member serialization options for the . + + + + + All public members are serialized by default. Members can be excluded using or . + This is the default member serialization mode. + + + + + Only members marked with or are serialized. + This member serialization mode can also be set by marking the class with . + + + + + All public and private fields are serialized. Members can be excluded using or . + This member serialization mode can also be set by marking the class with + and setting IgnoreSerializableAttribute on to false. + + + + + Specifies how object creation is handled by the . + + + + + Reuse existing objects, create new objects when needed. + + + + + Only reuse existing objects. + + + + + Always create new objects. + + + + + Represents a reader that provides fast, non-cached, forward-only access to JSON text data. + + + + + Initializes a new instance of the class with the specified . + + The containing the JSON data to read. + + + + Gets or sets the reader's character buffer pool. + + + + + Reads the next JSON token from the underlying . + + + true if the next token was read successfully; false if there are no more tokens to read. + + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a . + + A . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a []. + + A [] or null if the next JSON token is null. This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Changes the reader's state to . + If is set to true, the underlying is also closed. + + + + + Gets a value indicating whether the class can return line information. + + + true if and can be provided; otherwise, false. + + + + + Gets the current line number. + + + The current line number or 0 if no line information is available (for example, returns false). + + + + + Gets the current line position. + + + The current line position or 0 if no line information is available (for example, returns false). + + + + + Instructs the to always serialize the member with the specified name. + + + + + Gets or sets the used when serializing the property's collection items. + + The collection's items . + + + + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, + order, and type of these parameters. + + + + [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] + + + + + + Gets or sets the of the . + + The of the . + + + + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, + order, and type of these parameters. + + + + [JsonProperty(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] + + + + + + Gets or sets the null value handling used when serializing this property. + + The null value handling. + + + + Gets or sets the default value handling used when serializing this property. + + The default value handling. + + + + Gets or sets the reference loop handling used when serializing this property. + + The reference loop handling. + + + + Gets or sets the object creation handling used when deserializing this property. + + The object creation handling. + + + + Gets or sets the type name handling used when serializing this property. + + The type name handling. + + + + Gets or sets whether this property's value is serialized as a reference. + + Whether this property's value is serialized as a reference. + + + + Gets or sets the order of serialization of a member. + + The numeric order of serialization. + + + + Gets or sets a value indicating whether this property is required. + + + A value indicating whether this property is required. + + + + + Gets or sets the name of the property. + + The name of the property. + + + + Gets or sets the reference loop handling used when serializing the property's collection items. + + The collection's items reference loop handling. + + + + Gets or sets the type name handling used when serializing the property's collection items. + + The collection's items type name handling. + + + + Gets or sets whether this property's collection items are serialized as a reference. + + Whether this property's collection items are serialized as a reference. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with the specified name. + + Name of the property. + + + + Instructs the not to serialize the public field or public read/write property value. + + + + + Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. + + + + + Gets or sets the writer's character array pool. + + + + + Gets or sets how many s to write for each level in the hierarchy when is set to . + + + + + Gets or sets which character to use to quote attribute values. + + + + + Gets or sets which character to use for indenting when is set to . + + + + + Gets or sets a value indicating whether object names will be surrounded with quotes. + + + + + Initializes a new instance of the class using the specified . + + The to write to. + + + + Flushes whatever is in the buffer to the underlying and also flushes the underlying . + + + + + Closes this writer. + If is set to true, the underlying is also closed. + If is set to true, the JSON is auto-completed. + + + + + Writes the beginning of a JSON object. + + + + + Writes the beginning of a JSON array. + + + + + Writes the start of a constructor with the given name. + + The name of the constructor. + + + + Writes the specified end token. + + The end token to write. + + + + Writes the property name of a name/value pair on a JSON object. + + The name of the property. + + + + Writes the property name of a name/value pair on a JSON object. + + The name of the property. + A flag to indicate whether the text should be escaped when it is written as a JSON property name. + + + + Writes indent characters. + + + + + Writes the JSON value delimiter. + + + + + Writes an indent space. + + + + + Writes a value. + An error will raised if the value cannot be written as a single JSON token. + + The value to write. + + + + Writes a null value. + + + + + Writes an undefined value. + + + + + Writes raw JSON. + + The raw JSON to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a value. + + The value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a [] value. + + The [] value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a comment /*...*/ containing the specified text. + + Text to place inside the comment. + + + + Writes the given white space. + + The string of white space characters. + + + + The exception thrown when an error occurs while writing JSON text. + + + + + Gets the path to the JSON where the error occurred. + + The path to the JSON where the error occurred. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class + with a specified error message. + + The error message that explains the reason for the exception. + + + + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Initializes a new instance of the class. + + The that holds the serialized object data about the exception being thrown. + The that contains contextual information about the source or destination. + The parameter is null. + The class name is null or is zero (0). + + + + Initializes a new instance of the class + with a specified error message, JSON path and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The path to the JSON where the error occurred. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + The exception thrown when an error occurs while reading JSON text. + + + + + Gets the line number indicating where the error occurred. + + The line number indicating where the error occurred. + + + + Gets the line position indicating where the error occurred. + + The line position indicating where the error occurred. + + + + Gets the path to the JSON where the error occurred. + + The path to the JSON where the error occurred. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class + with a specified error message. + + The error message that explains the reason for the exception. + + + + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Initializes a new instance of the class. + + The that holds the serialized object data about the exception being thrown. + The that contains contextual information about the source or destination. + The parameter is null. + The class name is null or is zero (0). + + + + Initializes a new instance of the class + with a specified error message, JSON path, line number, line position, and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The path to the JSON where the error occurred. + The line number indicating where the error occurred. + The line position indicating where the error occurred. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Converts an object to and from JSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Gets a value indicating whether this can read JSON. + + true if this can read JSON; otherwise, false. + + + + Gets a value indicating whether this can write JSON. + + true if this can write JSON; otherwise, false. + + + + Represents a collection of . + + + + + Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. + + + + + Specifies the state of the reader. + + + + + A read method has not been called. + + + + + The end of the file has been reached successfully. + + + + + Reader is at a property. + + + + + Reader is at the start of an object. + + + + + Reader is in an object. + + + + + Reader is at the start of an array. + + + + + Reader is in an array. + + + + + The method has been called. + + + + + Reader has just read a value. + + + + + Reader is at the start of a constructor. + + + + + Reader is in a constructor. + + + + + An error occurred that prevents the read operation from continuing. + + + + + The end of the file has been reached successfully. + + + + + Gets the current reader state. + + The current reader state. + + + + Gets or sets a value indicating whether the source should be closed when this reader is closed. + + + true to close the source when this reader is closed; otherwise false. The default is true. + + + + + Gets or sets a value indicating whether multiple pieces of JSON content can + be read from a continuous stream without erroring. + + + true to support reading multiple pieces of JSON content; otherwise false. + The default is false. + + + + + Gets the quotation mark character used to enclose the value of a string. + + + + + Gets or sets how time zones are handled when reading JSON. + + + + + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + + + + + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + + + + + Gets or sets how custom date formatted strings are parsed when reading JSON. + + + + + Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + + + + + Gets the type of the current JSON token. + + + + + Gets the text value of the current JSON token. + + + + + Gets the .NET type for the current JSON token. + + + + + Gets the depth of the current token in the JSON document. + + The depth of the current token in the JSON document. + + + + Gets the path of the current JSON token. + + + + + Gets or sets the culture used when reading JSON. Defaults to . + + + + + Initializes a new instance of the class. + + + + + Reads the next JSON token from the source. + + true if the next token was read successfully; false if there are no more tokens to read. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a . + + A . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a []. + + A [] or null if the next JSON token is null. This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Skips the children of the current token. + + + + + Sets the current token. + + The new token. + + + + Sets the current token and value. + + The new token. + The value. + + + + Sets the current token and value. + + The new token. + The value. + A flag indicating whether the position index inside an array should be updated. + + + + Sets the state based on current token type. + + + + + Releases unmanaged and - optionally - managed resources. + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Changes the reader's state to . + If is set to true, the source is also closed. + + + + + Provides methods for converting between .NET types and JSON types. + + + + + + + + Gets or sets a function that creates default . + Default settings are automatically used by serialization methods on , + and and on . + To serialize without using any default settings create a with + . + + + + + Represents JavaScript's boolean value true as a string. This field is read-only. + + + + + Represents JavaScript's boolean value false as a string. This field is read-only. + + + + + Represents JavaScript's null as a string. This field is read-only. + + + + + Represents JavaScript's undefined as a string. This field is read-only. + + + + + Represents JavaScript's positive infinity as a string. This field is read-only. + + + + + Represents JavaScript's negative infinity as a string. This field is read-only. + + + + + Represents JavaScript's NaN as a string. This field is read-only. + + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation using the specified. + + The value to convert. + The format the date will be converted to. + The time zone handling when the date is converted to a string. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation using the specified. + + The value to convert. + The format the date will be converted to. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + The string delimiter character. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + The string delimiter character. + The string escape handling. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Serializes the specified object to a JSON string. + + The object to serialize. + A JSON string representation of the object. + + + + Serializes the specified object to a JSON string using formatting. + + The object to serialize. + Indicates how the output should be formatted. + + A JSON string representation of the object. + + + + + Serializes the specified object to a JSON string using a collection of . + + The object to serialize. + A collection of converters used while serializing. + A JSON string representation of the object. + + + + Serializes the specified object to a JSON string using formatting and a collection of . + + The object to serialize. + Indicates how the output should be formatted. + A collection of converters used while serializing. + A JSON string representation of the object. + + + + Serializes the specified object to a JSON string using . + + The object to serialize. + The used to serialize the object. + If this is null, default serialization settings will be used. + + A JSON string representation of the object. + + + + + Serializes the specified object to a JSON string using a type, formatting and . + + The object to serialize. + The used to serialize the object. + If this is null, default serialization settings will be used. + + The type of the value being serialized. + This parameter is used when is to write out the type name if the type of the value does not match. + Specifying the type is optional. + + + A JSON string representation of the object. + + + + + Serializes the specified object to a JSON string using formatting and . + + The object to serialize. + Indicates how the output should be formatted. + The used to serialize the object. + If this is null, default serialization settings will be used. + + A JSON string representation of the object. + + + + + Serializes the specified object to a JSON string using a type, formatting and . + + The object to serialize. + Indicates how the output should be formatted. + The used to serialize the object. + If this is null, default serialization settings will be used. + + The type of the value being serialized. + This parameter is used when is to write out the type name if the type of the value does not match. + Specifying the type is optional. + + + A JSON string representation of the object. + + + + + Deserializes the JSON to a .NET object. + + The JSON to deserialize. + The deserialized object from the JSON string. + + + + Deserializes the JSON to a .NET object using . + + The JSON to deserialize. + + The used to deserialize the object. + If this is null, default serialization settings will be used. + + The deserialized object from the JSON string. + + + + Deserializes the JSON to the specified .NET type. + + The JSON to deserialize. + The of object being deserialized. + The deserialized object from the JSON string. + + + + Deserializes the JSON to the specified .NET type. + + The type of the object to deserialize to. + The JSON to deserialize. + The deserialized object from the JSON string. + + + + Deserializes the JSON to the given anonymous type. + + + The anonymous type to deserialize to. This can't be specified + traditionally and must be inferred from the anonymous type passed + as a parameter. + + The JSON to deserialize. + The anonymous type object. + The deserialized anonymous type from the JSON string. + + + + Deserializes the JSON to the given anonymous type using . + + + The anonymous type to deserialize to. This can't be specified + traditionally and must be inferred from the anonymous type passed + as a parameter. + + The JSON to deserialize. + The anonymous type object. + + The used to deserialize the object. + If this is null, default serialization settings will be used. + + The deserialized anonymous type from the JSON string. + + + + Deserializes the JSON to the specified .NET type using a collection of . + + The type of the object to deserialize to. + The JSON to deserialize. + Converters to use while deserializing. + The deserialized object from the JSON string. + + + + Deserializes the JSON to the specified .NET type using . + + The type of the object to deserialize to. + The object to deserialize. + + The used to deserialize the object. + If this is null, default serialization settings will be used. + + The deserialized object from the JSON string. + + + + Deserializes the JSON to the specified .NET type using a collection of . + + The JSON to deserialize. + The type of the object to deserialize. + Converters to use while deserializing. + The deserialized object from the JSON string. + + + + Deserializes the JSON to the specified .NET type using . + + The JSON to deserialize. + The type of the object to deserialize to. + + The used to deserialize the object. + If this is null, default serialization settings will be used. + + The deserialized object from the JSON string. + + + + Populates the object with values from the JSON string. + + The JSON to populate values from. + The target object to populate values onto. + + + + Populates the object with values from the JSON string using . + + The JSON to populate values from. + The target object to populate values onto. + + The used to deserialize the object. + If this is null, default serialization settings will be used. + + + + + Serializes the to a JSON string. + + The node to serialize. + A JSON string of the . + + + + Serializes the to a JSON string using formatting. + + The node to serialize. + Indicates how the output should be formatted. + A JSON string of the . + + + + Serializes the to a JSON string using formatting and omits the root object if is true. + + The node to serialize. + Indicates how the output should be formatted. + Omits writing the root object. + A JSON string of the . + + + + Deserializes the from a JSON string. + + The JSON string. + The deserialized . + + + + Deserializes the from a JSON string nested in a root element specified by . + + The JSON string. + The name of the root element to append when deserializing. + The deserialized . + + + + Deserializes the from a JSON string nested in a root element specified by + and writes a Json.NET array attribute for collections. + + The JSON string. + The name of the root element to append when deserializing. + + A flag to indicate whether to write the Json.NET array attribute. + This attribute helps preserve arrays when converting the written XML back to JSON. + + The deserialized . + + + + Serializes the to a JSON string. + + The node to convert to JSON. + A JSON string of the . + + + + Serializes the to a JSON string using formatting. + + The node to convert to JSON. + Indicates how the output should be formatted. + A JSON string of the . + + + + Serializes the to a JSON string using formatting and omits the root object if is true. + + The node to serialize. + Indicates how the output should be formatted. + Omits writing the root object. + A JSON string of the . + + + + Deserializes the from a JSON string. + + The JSON string. + The deserialized . + + + + Deserializes the from a JSON string nested in a root element specified by . + + The JSON string. + The name of the root element to append when deserializing. + The deserialized . + + + + Deserializes the from a JSON string nested in a root element specified by + and writes a Json.NET array attribute for collections. + + The JSON string. + The name of the root element to append when deserializing. + + A flag to indicate whether to write the Json.NET array attribute. + This attribute helps preserve arrays when converting the written XML back to JSON. + + The deserialized . + + + + 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). + + + + Serializes and deserializes objects into and from the JSON format. + The enables you to control how objects are encoded into JSON. + + + + + Occurs when the errors during serialization and deserialization. + + + + + Gets or sets the used by the serializer when resolving references. + + + + + Gets or sets the used by the serializer when resolving type names. + + + + + Gets or sets the used by the serializer when resolving type names. + + + + + Gets or sets the used by the serializer when writing trace messages. + + The trace writer. + + + + Gets or sets the equality comparer used by the serializer when comparing references. + + The equality comparer. + + + + Gets or sets how type name writing and reading is handled by the serializer. + + + should be used with caution when your application deserializes JSON from an external source. + Incoming types should be validated with a custom + when deserializing with a value other than . + + + + + Gets or sets how a type name assembly is written and resolved by the serializer. + + The type name assembly format. + + + + Gets or sets how a type name assembly is written and resolved by the serializer. + + The type name assembly format. + + + + Gets or sets how object references are preserved by the serializer. + + + + + Gets or sets how reference loops (e.g. a class referencing itself) is handled. + + + + + Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. + + + + + Gets or sets how null values are handled during serialization and deserialization. + + + + + Gets or sets how default values are handled during serialization and deserialization. + + + + + Gets or sets how objects are created during deserialization. + + The object creation handling. + + + + Gets or sets how constructors are used during deserialization. + + The constructor handling. + + + + Gets or sets how metadata properties are used during deserialization. + + The metadata properties handling. + + + + Gets a collection that will be used during serialization. + + Collection that will be used during serialization. + + + + Gets or sets the contract resolver used by the serializer when + serializing .NET objects to JSON and vice versa. + + + + + Gets or sets the used by the serializer when invoking serialization callback methods. + + The context. + + + + Indicates how JSON text output is formatted. + + + + + Gets or sets how dates are written to JSON text. + + + + + Gets or sets how time zones are handled during serialization and deserialization. + + + + + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + + + + + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + + + + + Gets or sets how special floating point numbers, e.g. , + and , + are written as JSON text. + + + + + Gets or sets how strings are escaped when writing JSON text. + + + + + Gets or sets how and values are formatted when writing JSON text, + and the expected date format when reading JSON text. + + + + + Gets or sets the culture used when reading JSON. Defaults to . + + + + + Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + + + + + Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. + + + true if there will be a check for additional JSON content after deserializing an object; otherwise, false. + + + + + Initializes a new instance of the class. + + + + + Creates a new instance. + The will not use default settings + from . + + + A new instance. + The will not use default settings + from . + + + + + Creates a new instance using the specified . + The will not use default settings + from . + + The settings to be applied to the . + + A new instance using the specified . + The will not use default settings + from . + + + + + Creates a new instance. + The will use default settings + from . + + + A new instance. + The will use default settings + from . + + + + + Creates a new instance using the specified . + The will use default settings + from as well as the specified . + + The settings to be applied to the . + + A new instance using the specified . + The will use default settings + from as well as the specified . + + + + + Populates the JSON values onto the target object. + + The that contains the JSON structure to reader values from. + The target object to populate values onto. + + + + Populates the JSON values onto the target object. + + The that contains the JSON structure to reader values from. + The target object to populate values onto. + + + + Deserializes the JSON structure contained by the specified . + + The that contains the JSON structure to deserialize. + The being deserialized. + + + + Deserializes the JSON structure contained by the specified + into an instance of the specified type. + + The containing the object. + The of object being deserialized. + The instance of being deserialized. + + + + Deserializes the JSON structure contained by the specified + into an instance of the specified type. + + The containing the object. + The type of the object to deserialize. + The instance of being deserialized. + + + + Deserializes the JSON structure contained by the specified + into an instance of the specified type. + + The containing the object. + The of object being deserialized. + The instance of being deserialized. + + + + Serializes the specified and writes the JSON structure + using the specified . + + The used to write the JSON structure. + The to serialize. + + + + Serializes the specified and writes the JSON structure + using the specified . + + The used to write the JSON structure. + The to serialize. + + The type of the value being serialized. + This parameter is used when is to write out the type name if the type of the value does not match. + Specifying the type is optional. + + + + + Serializes the specified and writes the JSON structure + using the specified . + + The used to write the JSON structure. + The to serialize. + + The type of the value being serialized. + This parameter is used when is Auto to write out the type name if the type of the value does not match. + Specifying the type is optional. + + + + + Serializes the specified and writes the JSON structure + using the specified . + + The used to write the JSON structure. + The to serialize. + + + + + Contains the JSON schema extension methods. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + + Determines whether the is valid. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + The source to test. + The schema to test with. + + true if the specified is valid; otherwise, false. + + + + + + Determines whether the is valid. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + The source to test. + The schema to test with. + When this method returns, contains any error messages generated while validating. + + true if the specified is valid; otherwise, false. + + + + + + Validates the specified . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + The source to test. + The schema to test with. + + + + + Validates the specified . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + The source to test. + The schema to test with. + The validation event handler. + + + + + Returns detailed information about the schema exception. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets the line number indicating where the error occurred. + + The line number indicating where the error occurred. + + + + Gets the line position indicating where the error occurred. + + The line position indicating where the error occurred. + + + + Gets the path to the JSON where the error occurred. + + The path to the JSON where the error occurred. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class + with a specified error message. + + The error message that explains the reason for the exception. + + + + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or 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). + + + + + Resolves from an id. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets or sets the loaded schemas. + + The loaded schemas. + + + + Initializes a new instance of the class. + + + + + Gets a for the specified reference. + + The id. + A for the specified reference. + + + + + Specifies undefined schema Id handling options for the . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Do not infer a schema Id. + + + + + Use the .NET type name as the schema Id. + + + + + Use the assembly qualified .NET type name as the schema Id. + + + + + + Returns detailed information related to the . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets the associated with the validation error. + + The JsonSchemaException associated with the validation error. + + + + Gets the path of the JSON location where the validation error occurred. + + The path of the JSON location where the validation error occurred. + + + + Gets the text description corresponding to the validation error. + + The text description. + + + + + Represents the callback method that will handle JSON schema validation events and the . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + + An in-memory representation of a JSON Schema. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets or sets the id. + + + + + Gets or sets the title. + + + + + Gets or sets whether the object is required. + + + + + Gets or sets whether the object is read-only. + + + + + Gets or sets whether the object is visible to users. + + + + + Gets or sets whether the object is transient. + + + + + Gets or sets the description of the object. + + + + + Gets or sets the types of values allowed by the object. + + The type. + + + + Gets or sets the pattern. + + The pattern. + + + + Gets or sets the minimum length. + + The minimum length. + + + + Gets or sets the maximum length. + + The maximum length. + + + + Gets or sets a number that the value should be divisible by. + + A number that the value should be divisible by. + + + + Gets or sets the minimum. + + The minimum. + + + + Gets or sets the maximum. + + The maximum. + + + + Gets or sets a flag indicating whether the value can not equal the number defined by the minimum attribute (). + + A flag indicating whether the value can not equal the number defined by the minimum attribute (). + + + + Gets or sets a flag indicating whether the value can not equal the number defined by the maximum attribute (). + + A flag indicating whether the value can not equal the number defined by the maximum attribute (). + + + + Gets or sets the minimum number of items. + + The minimum number of items. + + + + Gets or sets the maximum number of items. + + The maximum number of items. + + + + Gets or sets the of items. + + The of items. + + + + Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . + + + true if items are validated using their array position; otherwise, false. + + + + + Gets or sets the of additional items. + + The of additional items. + + + + Gets or sets a value indicating whether additional items are allowed. + + + true if additional items are allowed; otherwise, false. + + + + + Gets or sets whether the array items must be unique. + + + + + Gets or sets the of properties. + + The of properties. + + + + Gets or sets the of additional properties. + + The of additional properties. + + + + Gets or sets the pattern properties. + + The pattern properties. + + + + Gets or sets a value indicating whether additional properties are allowed. + + + true if additional properties are allowed; otherwise, false. + + + + + Gets or sets the required property if this property is present. + + The required property if this property is present. + + + + Gets or sets the a collection of valid enum values allowed. + + A collection of valid enum values allowed. + + + + Gets or sets disallowed types. + + The disallowed types. + + + + Gets or sets the default value. + + The default value. + + + + Gets or sets the collection of that this schema extends. + + The collection of that this schema extends. + + + + Gets or sets the format. + + The format. + + + + Initializes a new instance of the class. + + + + + Reads a from the specified . + + The containing the JSON Schema to read. + The object representing the JSON Schema. + + + + Reads a from the specified . + + The containing the JSON Schema to read. + The to use when resolving schema references. + The object representing the JSON Schema. + + + + Load a from a string that contains JSON Schema. + + A that contains JSON Schema. + A populated from the string that contains JSON Schema. + + + + Load a from a string that contains JSON Schema using the specified . + + A that contains JSON Schema. + The resolver. + A populated from the string that contains JSON Schema. + + + + Writes this schema to a . + + A into which this method will write. + + + + Writes this schema to a using the specified . + + A into which this method will write. + The resolver used. + + + + Returns a that represents the current . + + + A that represents the current . + + + + + + Generates a from a specified . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets or sets how undefined schemas are handled by the serializer. + + + + + Gets or sets the contract resolver. + + The contract resolver. + + + + Generate a from the specified type. + + The type to generate a from. + A generated from the specified type. + + + + Generate a from the specified type. + + The type to generate a from. + The used to resolve schema references. + A generated from the specified type. + + + + Generate a from the specified type. + + The type to generate a from. + Specify whether the generated root will be nullable. + A generated from the specified type. + + + + Generate a from the specified type. + + The type to generate a from. + The used to resolve schema references. + Specify whether the generated root will be nullable. + A generated from the specified type. + + + + + The value types allowed by the . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + No type specified. + + + + + String type. + + + + + Float type. + + + + + Integer type. + + + + + Boolean type. + + + + + Object type. + + + + + Array type. + + + + + Null type. + + + + + Any type. + + + + + Specifies missing member handling options for the . + + + + + Ignore a missing member and do not attempt to deserialize it. + + + + + Throw a when a missing member is encountered during deserialization. + + + + + Specifies null value handling options for the . + + + + + + + + + Include null values when serializing and deserializing objects. + + + + + Ignore null values when serializing and deserializing objects. + + + + + Specifies reference loop handling options for the . + + + + + Throw a when a loop is encountered. + + + + + Ignore loop references and do not serialize. + + + + + Serialize loop references. + + + + + Specifies type name handling options for the . + + + should be used with caution when your application deserializes JSON from an external source. + Incoming types should be validated with a custom + when deserializing with a value other than . + + + + + 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 . + + + + + 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 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. + + + + 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.10.0.2/lib/net45/Newtonsoft.Json.xml b/packages/Newtonsoft.Json.10.0.2/lib/net45/Newtonsoft.Json.xml new file mode 100644 index 0000000..de78eb0 --- /dev/null +++ b/packages/Newtonsoft.Json.10.0.2/lib/net45/Newtonsoft.Json.xml @@ -0,0 +1,10760 @@ + + + + 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. + + true if the written enum text will be camel case; otherwise, false. + + + + Gets or sets a value indicating whether integer values are allowed when deserializing. + + true if integers are allowed when deserializing; otherwise, false. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + true if the written enum text will be camel case; otherwise, false. + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts a to and from a string (e.g. "1.2.3.4"). + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing property value of the JSON that is being converted. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts XML to and from JSON. + + + + + Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produced multiple root elements. + + The name of the deserialized root element. + + + + Gets or sets a flag to indicate whether to write the Json.NET array attribute. + This attribute helps preserve arrays when converting the written XML back to JSON. + + true if the array attribute is written to the XML; otherwise, false. + + + + Gets or sets a value indicating whether to write the root JSON object. + + true if the JSON root object is omitted; otherwise, false. + + + + Writes the JSON representation of the object. + + The to write to. + The calling serializer. + The value. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Checks if the is a namespace attribute. + + Attribute name to test. + The attribute name prefix if it has one, otherwise an empty string. + true if attribute name is for a namespace attribute, otherwise false. + + + + Determines whether this instance can convert the specified value type. + + Type of the value. + + true if this instance can convert the specified value type; otherwise, false. + + + + + Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + + + + + Floating point numbers are parsed to . + + + + + Floating point numbers are parsed to . + + + + + Specifies how dates are formatted when writing JSON text. + + + + + Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". + + + + + Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". + + + + + Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. + + + + + Date formatted strings are not parsed to a date type and are read as strings. + + + + + Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . + + + + + Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . + + + + + Specifies how to treat the time value when converting between string and . + + + + + Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time. + + + + + Treat as a UTC. If the object represents a local time, it is converted to a UTC. + + + + + Treat as a local time if a is being converted to a string. + If a string is being converted to , convert to a local time if a time zone is specified. + + + + + Time zone information should be preserved when converting. + + + + + Specifies default value handling options for the . + + + + + + + + + Include members where the member value is the same as the member's default value when serializing objects. + Included members are written to JSON. Has no effect when deserializing. + + + + + Ignore members where the member value is the same as the member's default value when serializing objects + so that it is not written to JSON. + This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, + decimals and floating point numbers; and false for booleans). The default value ignored can be changed by + placing the on the property. + + + + + Members with a default value but no JSON will be set to their default value when deserializing. + + + + + Ignore members where the member value is the same as the member's default value when serializing objects + and set members to their default value when deserializing. + + + + + Specifies float format handling options when writing special floating point numbers, e.g. , + and with . + + + + + Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". + + + + + Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. + Note that this will produce non-valid JSON. + + + + + Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a of property. + + + + + Specifies formatting options for the . + + + + + No special formatting is applied. This is the default. + + + + + Causes child objects to be indented according to the and settings. + + + + + Provides an interface for using pooled arrays. + + The array type content. + + + + Rent an array from the pool. This array must be returned when it is no longer needed. + + The minimum required length of the array. The returned array may be longer. + The rented array from the pool. This array must be returned when it is no longer needed. + + + + Return an array to the pool. + + The array that is being returned. + + + + Provides an interface to enable a class to return line and position information. + + + + + Gets a value indicating whether the class can return line information. + + + true if and can be provided; otherwise, false. + + + + + Gets the current line number. + + The current line number or 0 if no line information is available (for example, when returns false). + + + + Gets the current line position. + + The current line position or 0 if no line information is available (for example, when returns false). + + + + Instructs the how to serialize the collection. + + + + + Gets or sets a value indicating whether null items are allowed in the collection. + + true if null items are allowed in the collection; otherwise, false. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with a flag indicating whether the array can contain null items. + + A flag indicating whether the array can contain null items. + + + + Initializes a new instance of the class with the specified container Id. + + The container Id. + + + + Instructs the to use the specified constructor when deserializing that object. + + + + + Instructs the how to serialize the object. + + + + + Gets or sets the id. + + The id. + + + + Gets or sets the title. + + The title. + + + + Gets or sets the description. + + The description. + + + + Gets or sets the collection's items converter. + + The collection's items converter. + + + + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, + order, and type of these parameters. + + + + [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] + + + + + + Gets or sets the of the . + + The of the . + + + + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, + order, and type of these parameters. + + + + [JsonContainer(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] + + + + + + Gets or sets a value that indicates whether to preserve object references. + + + true to keep object reference; otherwise, false. The default is false. + + + + + Gets or sets a value that indicates whether to preserve collection's items references. + + + true to keep collection's items object references; otherwise, false. The default is false. + + + + + Gets or sets the reference loop handling used when serializing the collection's items. + + The reference loop handling. + + + + Gets or sets the type name handling used when serializing the collection's items. + + The type name handling. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with the specified container Id. + + The container Id. + + + + Provides methods for converting between .NET types and JSON types. + + + + + + + + Gets or sets a function that creates default . + Default settings are automatically used by serialization methods on , + and and on . + To serialize without using any default settings create a with + . + + + + + Represents JavaScript's boolean value true as a string. This field is read-only. + + + + + Represents JavaScript's boolean value false as a string. This field is read-only. + + + + + Represents JavaScript's null as a string. This field is read-only. + + + + + Represents JavaScript's undefined as a string. This field is read-only. + + + + + Represents JavaScript's positive infinity as a string. This field is read-only. + + + + + Represents JavaScript's negative infinity as a string. This field is read-only. + + + + + Represents JavaScript's NaN as a string. This field is read-only. + + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation using the specified. + + The value to convert. + The format the date will be converted to. + The time zone handling when the date is converted to a string. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation using the specified. + + The value to convert. + The format the date will be converted to. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + The string delimiter character. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + The string delimiter character. + The string escape handling. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Serializes the specified object to a JSON string. + + The object to serialize. + A JSON string representation of the object. + + + + Serializes the specified object to a JSON string using formatting. + + The object to serialize. + Indicates how the output should be formatted. + + A JSON string representation of the object. + + + + + Serializes the specified object to a JSON string using a collection of . + + The object to serialize. + A collection of converters used while serializing. + A JSON string representation of the object. + + + + Serializes the specified object to a JSON string using formatting and a collection of . + + The object to serialize. + Indicates how the output should be formatted. + A collection of converters used while serializing. + A JSON string representation of the object. + + + + Serializes the specified object to a JSON string using . + + The object to serialize. + The used to serialize the object. + If this is null, default serialization settings will be used. + + A JSON string representation of the object. + + + + + Serializes the specified object to a JSON string using a type, formatting and . + + The object to serialize. + The used to serialize the object. + If this is null, default serialization settings will be used. + + The type of the value being serialized. + This parameter is used when is to write out the type name if the type of the value does not match. + Specifying the type is optional. + + + A JSON string representation of the object. + + + + + Serializes the specified object to a JSON string using formatting and . + + The object to serialize. + Indicates how the output should be formatted. + The used to serialize the object. + If this is null, default serialization settings will be used. + + A JSON string representation of the object. + + + + + Serializes the specified object to a JSON string using a type, formatting and . + + The object to serialize. + Indicates how the output should be formatted. + The used to serialize the object. + If this is null, default serialization settings will be used. + + The type of the value being serialized. + This parameter is used when is to write out the type name if the type of the value does not match. + Specifying the type is optional. + + + A JSON string representation of the object. + + + + + Deserializes the JSON to a .NET object. + + The JSON to deserialize. + The deserialized object from the JSON string. + + + + Deserializes the JSON to a .NET object using . + + The JSON to deserialize. + + The used to deserialize the object. + If this is null, default serialization settings will be used. + + The deserialized object from the JSON string. + + + + Deserializes the JSON to the specified .NET type. + + The JSON to deserialize. + The of object being deserialized. + The deserialized object from the JSON string. + + + + Deserializes the JSON to the specified .NET type. + + The type of the object to deserialize to. + The JSON to deserialize. + The deserialized object from the JSON string. + + + + Deserializes the JSON to the given anonymous type. + + + The anonymous type to deserialize to. This can't be specified + traditionally and must be inferred from the anonymous type passed + as a parameter. + + The JSON to deserialize. + The anonymous type object. + The deserialized anonymous type from the JSON string. + + + + Deserializes the JSON to the given anonymous type using . + + + The anonymous type to deserialize to. This can't be specified + traditionally and must be inferred from the anonymous type passed + as a parameter. + + The JSON to deserialize. + The anonymous type object. + + The used to deserialize the object. + If this is null, default serialization settings will be used. + + The deserialized anonymous type from the JSON string. + + + + Deserializes the JSON to the specified .NET type using a collection of . + + The type of the object to deserialize to. + The JSON to deserialize. + Converters to use while deserializing. + The deserialized object from the JSON string. + + + + Deserializes the JSON to the specified .NET type using . + + The type of the object to deserialize to. + The object to deserialize. + + The used to deserialize the object. + If this is null, default serialization settings will be used. + + The deserialized object from the JSON string. + + + + Deserializes the JSON to the specified .NET type using a collection of . + + The JSON to deserialize. + The type of the object to deserialize. + Converters to use while deserializing. + The deserialized object from the JSON string. + + + + Deserializes the JSON to the specified .NET type using . + + The JSON to deserialize. + The type of the object to deserialize to. + + The used to deserialize the object. + If this is null, default serialization settings will be used. + + The deserialized object from the JSON string. + + + + Populates the object with values from the JSON string. + + The JSON to populate values from. + The target object to populate values onto. + + + + Populates the object with values from the JSON string using . + + The JSON to populate values from. + The target object to populate values onto. + + The used to deserialize the object. + If this is null, default serialization settings will be used. + + + + + Serializes the to a JSON string. + + The node to serialize. + A JSON string of the . + + + + Serializes the to a JSON string using formatting. + + The node to serialize. + Indicates how the output should be formatted. + A JSON string of the . + + + + Serializes the to a JSON string using formatting and omits the root object if is true. + + The node to serialize. + Indicates how the output should be formatted. + Omits writing the root object. + A JSON string of the . + + + + Deserializes the from a JSON string. + + The JSON string. + The deserialized . + + + + Deserializes the from a JSON string nested in a root element specified by . + + The JSON string. + The name of the root element to append when deserializing. + The deserialized . + + + + Deserializes the from a JSON string nested in a root element specified by + and writes a Json.NET array attribute for collections. + + The JSON string. + The name of the root element to append when deserializing. + + A flag to indicate whether to write the Json.NET array attribute. + This attribute helps preserve arrays when converting the written XML back to JSON. + + The deserialized . + + + + Serializes the to a JSON string. + + The node to convert to JSON. + A JSON string of the . + + + + Serializes the to a JSON string using formatting. + + The node to convert to JSON. + Indicates how the output should be formatted. + A JSON string of the . + + + + Serializes the to a JSON string using formatting and omits the root object if is true. + + The node to serialize. + Indicates how the output should be formatted. + Omits writing the root object. + A JSON string of the . + + + + Deserializes the from a JSON string. + + The JSON string. + The deserialized . + + + + Deserializes the from a JSON string nested in a root element specified by . + + The JSON string. + The name of the root element to append when deserializing. + The deserialized . + + + + Deserializes the from a JSON string nested in a root element specified by + and writes a Json.NET array attribute for collections. + + The JSON string. + The name of the root element to append when deserializing. + + A flag to indicate whether to write the Json.NET array attribute. + This attribute helps preserve arrays when converting the written XML back to JSON. + + The deserialized . + + + + Converts an object to and from JSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Gets a value indicating whether this can read JSON. + + true if this can read JSON; otherwise, false. + + + + Gets a value indicating whether this can write JSON. + + true if this can write JSON; otherwise, false. + + + + Instructs the to use the specified when serializing the member or class. + + + + + Gets the of the . + + The of the . + + + + The parameter list to use when constructing the described by . + If null, the default constructor is used. + + + + + Initializes a new instance of the class. + + Type of the . + + + + Initializes a new instance of the class. + + Type of the . + Parameter list to use when constructing the . Can be null. + + + + Represents a collection of . + + + + + Instructs the how to serialize the collection. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with the specified container Id. + + The container Id. + + + + The exception thrown when an error occurs during JSON serialization or deserialization. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class + with a specified error message. + + The error message that explains the reason for the exception. + + + + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Initializes a new instance of the class. + + The that holds the serialized object data about the exception being thrown. + The that contains contextual information about the source or destination. + The parameter is null. + The class name is null or is zero (0). + + + + Instructs the to deserialize properties with no matching class member into the specified collection + and write values during serialization. + + + + + Gets or sets a value that indicates whether to write extension data when serializing the object. + + + true to write extension data when serializing the object; otherwise, false. The default is true. + + + + + Gets or sets a value that indicates whether to read extension data when deserializing the object. + + + true to read extension data when deserializing the object; otherwise, false. The default is true. + + + + + Initializes a new instance of the class. + + + + + Instructs the not to serialize the public field or public read/write property value. + + + + + Instructs the how to serialize the object. + + + + + Gets or sets the member serialization. + + The member serialization. + + + + Gets or sets a value that indicates whether the object's properties are required. + + + A value indicating whether the object's properties are required. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with the specified member serialization. + + The member serialization. + + + + Initializes a new instance of the class with the specified container Id. + + The container Id. + + + + Instructs the to always serialize the member with the specified name. + + + + + Gets or sets the used when serializing the property's collection items. + + The collection's items . + + + + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, + order, and type of these parameters. + + + + [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] + + + + + + Gets or sets the of the . + + The of the . + + + + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, + order, and type of these parameters. + + + + [JsonProperty(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] + + + + + + Gets or sets the null value handling used when serializing this property. + + The null value handling. + + + + Gets or sets the default value handling used when serializing this property. + + The default value handling. + + + + Gets or sets the reference loop handling used when serializing this property. + + The reference loop handling. + + + + Gets or sets the object creation handling used when deserializing this property. + + The object creation handling. + + + + Gets or sets the type name handling used when serializing this property. + + The type name handling. + + + + Gets or sets whether this property's value is serialized as a reference. + + Whether this property's value is serialized as a reference. + + + + Gets or sets the order of serialization of a member. + + The numeric order of serialization. + + + + Gets or sets a value indicating whether this property is required. + + + A value indicating whether this property is required. + + + + + Gets or sets the name of the property. + + The name of the property. + + + + Gets or sets the reference loop handling used when serializing the property's collection items. + + The collection's items reference loop handling. + + + + Gets or sets the type name handling used when serializing the property's collection items. + + The collection's items type name handling. + + + + Gets or sets whether this property's collection items are serialized as a reference. + + Whether this property's collection items are serialized as a reference. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with the specified name. + + Name of the property. + + + + Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. + + + + + Asynchronously reads the next JSON token from the source. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns true if the next token was read successfully; false if there are no more tokens to read. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously skips the children of the current token. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a []. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the []. This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Specifies the state of the reader. + + + + + A read method has not been called. + + + + + The end of the file has been reached successfully. + + + + + Reader is at a property. + + + + + Reader is at the start of an object. + + + + + Reader is in an object. + + + + + Reader is at the start of an array. + + + + + Reader is in an array. + + + + + The method has been called. + + + + + Reader has just read a value. + + + + + Reader is at the start of a constructor. + + + + + Reader is in a constructor. + + + + + An error occurred that prevents the read operation from continuing. + + + + + The end of the file has been reached successfully. + + + + + Gets the current reader state. + + The current reader state. + + + + Gets or sets a value indicating whether the source should be closed when this reader is closed. + + + true to close the source when this reader is closed; otherwise false. The default is true. + + + + + Gets or sets a value indicating whether multiple pieces of JSON content can + be read from a continuous stream without erroring. + + + true to support reading multiple pieces of JSON content; otherwise false. + The default is false. + + + + + Gets the quotation mark character used to enclose the value of a string. + + + + + Gets or sets how time zones are handled when reading JSON. + + + + + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + + + + + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + + + + + Gets or sets how custom date formatted strings are parsed when reading JSON. + + + + + Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + + + + + Gets the type of the current JSON token. + + + + + Gets the text value of the current JSON token. + + + + + Gets the .NET type for the current JSON token. + + + + + Gets the depth of the current token in the JSON document. + + The depth of the current token in the JSON document. + + + + Gets the path of the current JSON token. + + + + + Gets or sets the culture used when reading JSON. Defaults to . + + + + + Initializes a new instance of the class. + + + + + Reads the next JSON token from the source. + + true if the next token was read successfully; false if there are no more tokens to read. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a . + + A . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a []. + + A [] or null if the next JSON token is null. This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Skips the children of the current token. + + + + + Sets the current token. + + The new token. + + + + Sets the current token and value. + + The new token. + The value. + + + + Sets the current token and value. + + The new token. + The value. + A flag indicating whether the position index inside an array should be updated. + + + + Sets the state based on current token type. + + + + + Releases unmanaged and - optionally - managed resources. + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Changes the reader's state to . + If is set to true, the source is also closed. + + + + + The exception thrown when an error occurs while reading JSON text. + + + + + Gets the line number indicating where the error occurred. + + The line number indicating where the error occurred. + + + + Gets the line position indicating where the error occurred. + + The line position indicating where the error occurred. + + + + Gets the path to the JSON where the error occurred. + + The path to the JSON where the error occurred. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class + with a specified error message. + + The error message that explains the reason for the exception. + + + + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Initializes a new instance of the class. + + The that holds the serialized object data about the exception being thrown. + The that contains contextual information about the source or destination. + The parameter is null. + The class name is null or is zero (0). + + + + Initializes a new instance of the class + with a specified error message, JSON path, line number, line position, and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The path to the JSON where the error occurred. + The line number indicating where the error occurred. + The line position indicating where the error occurred. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Instructs the to always serialize the member, and to require that the member has a value. + + + + + 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). + + + + Serializes and deserializes objects into and from the JSON format. + The enables you to control how objects are encoded into JSON. + + + + + Occurs when the errors during serialization and deserialization. + + + + + Gets or sets the used by the serializer when resolving references. + + + + + Gets or sets the used by the serializer when resolving type names. + + + + + Gets or sets the used by the serializer when resolving type names. + + + + + Gets or sets the used by the serializer when writing trace messages. + + The trace writer. + + + + Gets or sets the equality comparer used by the serializer when comparing references. + + The equality comparer. + + + + Gets or sets how type name writing and reading is handled by the serializer. + + + should be used with caution when your application deserializes JSON from an external source. + Incoming types should be validated with a custom + when deserializing with a value other than . + + + + + Gets or sets how a type name assembly is written and resolved by the serializer. + + The type name assembly format. + + + + Gets or sets how a type name assembly is written and resolved by the serializer. + + The type name assembly format. + + + + Gets or sets how object references are preserved by the serializer. + + + + + Gets or sets how reference loops (e.g. a class referencing itself) is handled. + + + + + Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. + + + + + Gets or sets how null values are handled during serialization and deserialization. + + + + + Gets or sets how default values are handled during serialization and deserialization. + + + + + Gets or sets how objects are created during deserialization. + + The object creation handling. + + + + Gets or sets how constructors are used during deserialization. + + The constructor handling. + + + + Gets or sets how metadata properties are used during deserialization. + + The metadata properties handling. + + + + Gets a collection that will be used during serialization. + + Collection that will be used during serialization. + + + + Gets or sets the contract resolver used by the serializer when + serializing .NET objects to JSON and vice versa. + + + + + Gets or sets the used by the serializer when invoking serialization callback methods. + + The context. + + + + Indicates how JSON text output is formatted. + + + + + Gets or sets how dates are written to JSON text. + + + + + Gets or sets how time zones are handled during serialization and deserialization. + + + + + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + + + + + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + + + + + Gets or sets how special floating point numbers, e.g. , + and , + are written as JSON text. + + + + + Gets or sets how strings are escaped when writing JSON text. + + + + + Gets or sets how and values are formatted when writing JSON text, + and the expected date format when reading JSON text. + + + + + Gets or sets the culture used when reading JSON. Defaults to . + + + + + Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + + + + + Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. + + + true if there will be a check for additional JSON content after deserializing an object; otherwise, false. + + + + + Initializes a new instance of the class. + + + + + Creates a new instance. + The will not use default settings + from . + + + A new instance. + The will not use default settings + from . + + + + + Creates a new instance using the specified . + The will not use default settings + from . + + The settings to be applied to the . + + A new instance using the specified . + The will not use default settings + from . + + + + + Creates a new instance. + The will use default settings + from . + + + A new instance. + The will use default settings + from . + + + + + Creates a new instance using the specified . + The will use default settings + from as well as the specified . + + The settings to be applied to the . + + A new instance using the specified . + The will use default settings + from as well as the specified . + + + + + Populates the JSON values onto the target object. + + The that contains the JSON structure to reader values from. + The target object to populate values onto. + + + + Populates the JSON values onto the target object. + + The that contains the JSON structure to reader values from. + The target object to populate values onto. + + + + Deserializes the JSON structure contained by the specified . + + The that contains the JSON structure to deserialize. + The being deserialized. + + + + Deserializes the JSON structure contained by the specified + into an instance of the specified type. + + The containing the object. + The of object being deserialized. + The instance of being deserialized. + + + + Deserializes the JSON structure contained by the specified + into an instance of the specified type. + + The containing the object. + The type of the object to deserialize. + The instance of being deserialized. + + + + Deserializes the JSON structure contained by the specified + into an instance of the specified type. + + The containing the object. + The of object being deserialized. + The instance of being deserialized. + + + + Serializes the specified and writes the JSON structure + using the specified . + + The used to write the JSON structure. + The to serialize. + + + + Serializes the specified and writes the JSON structure + using the specified . + + The used to write the JSON structure. + The to serialize. + + The type of the value being serialized. + This parameter is used when is to write out the type name if the type of the value does not match. + Specifying the type is optional. + + + + + Serializes the specified and writes the JSON structure + using the specified . + + The used to write the JSON structure. + The to serialize. + + The type of the value being serialized. + This parameter is used when is Auto to write out the type name if the type of the value does not match. + Specifying the type is optional. + + + + + Serializes the specified and writes the JSON structure + using the specified . + + The used to write the JSON structure. + The to serialize. + + + + Specifies the settings on a object. + + + + + Gets or sets how reference loops (e.g. a class referencing itself) are handled. + + Reference loop handling. + + + + Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. + + Missing member handling. + + + + Gets or sets how objects are created during deserialization. + + The object creation handling. + + + + Gets or sets how null values are handled during serialization and deserialization. + + Null value handling. + + + + Gets or sets how default values are handled during serialization and deserialization. + + The default value handling. + + + + Gets or sets a collection that will be used during serialization. + + The converters. + + + + Gets or sets how object references are preserved by the serializer. + + The preserve references handling. + + + + Gets or sets how type name writing and reading is handled by the serializer. + + + should be used with caution when your application deserializes JSON from an external source. + Incoming types should be validated with a custom + when deserializing with a value other than . + + The type name handling. + + + + Gets or sets how metadata properties are used during deserialization. + + The metadata properties handling. + + + + Gets or sets how a type name assembly is written and resolved by the serializer. + + The type name assembly format. + + + + Gets or sets how a type name assembly is written and resolved by the serializer. + + The type name assembly format. + + + + Gets or sets how constructors are used during deserialization. + + The constructor handling. + + + + Gets or sets the contract resolver used by the serializer when + serializing .NET objects to JSON and vice versa. + + The contract resolver. + + + + Gets or sets the equality comparer used by the serializer when comparing references. + + The equality comparer. + + + + Gets or sets the used by the serializer when resolving references. + + The reference resolver. + + + + Gets or sets a function that creates the used by the serializer when resolving references. + + A function that creates the used by the serializer when resolving references. + + + + Gets or sets the used by the serializer when writing trace messages. + + The trace writer. + + + + Gets or sets the used by the serializer when resolving type names. + + The binder. + + + + Gets or sets the used by the serializer when resolving type names. + + The binder. + + + + Gets or sets the error handler called during serialization and deserialization. + + The error handler called during serialization and deserialization. + + + + Gets or sets the used by the serializer when invoking serialization callback methods. + + The context. + + + + Gets or sets how and values are formatted when writing JSON text, + and the expected date format when reading JSON text. + + + + + Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + + + + + Indicates how JSON text output is formatted. + + + + + Gets or sets how dates are written to JSON text. + + + + + Gets or sets how time zones are handled during serialization and deserialization. + + + + + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + + + + + Gets or sets how special floating point numbers, e.g. , + and , + are written as JSON. + + + + + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + + + + + Gets or sets how strings are escaped when writing JSON text. + + + + + Gets or sets the culture used when reading JSON. Defaults to . + + + + + Gets a value indicating whether there will be a check for additional content after deserializing an object. + + + true if there will be a check for additional content after deserializing an object; otherwise, false. + + + + + Initializes a new instance of the class. + + + + + Represents a reader that provides fast, non-cached, forward-only access to JSON text data. + + + + + Asynchronously reads the next JSON token from the source. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns true if the next token was read successfully; false if there are no more tokens to read. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a []. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the []. This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Initializes a new instance of the class with the specified . + + The containing the JSON data to read. + + + + Gets or sets the reader's character buffer pool. + + + + + Reads the next JSON token from the underlying . + + + true if the next token was read successfully; false if there are no more tokens to read. + + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a . + + A . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a []. + + A [] or null if the next JSON token is null. This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Changes the reader's state to . + If is set to true, the underlying is also closed. + + + + + Gets a value indicating whether the class can return line information. + + + true if and can be provided; otherwise, false. + + + + + Gets the current line number. + + + The current line number or 0 if no line information is available (for example, returns false). + + + + + Gets the current line position. + + + The current line position or 0 if no line information is available (for example, returns false). + + + + + Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. + + + + + Asynchronously flushes whatever is in the buffer to the destination and also flushes the destination. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the JSON value delimiter. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the specified end token. + + The end token to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously closes this writer. + If is set to true, the destination is also closed. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the end of the current JSON object or array. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes indent characters. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes an indent space. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes raw JSON without changing the writer's state. + + The raw JSON to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a null value. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the property name of a name/value pair of a JSON object. + + The name of the property. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the property name of a name/value pair of a JSON object. + + The name of the property. + A flag to indicate whether the text should be escaped when it is written as a JSON property name. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the beginning of a JSON array. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the beginning of a JSON object. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the start of a constructor with the given name. + + The name of the constructor. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes an undefined value. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the given white space. + + The string of white space characters. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a [] value. + + The [] value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a comment /*...*/ containing the specified text. + + Text to place inside the comment. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the end of an array. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the end of a constructor. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the end of a JSON object. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes raw JSON where a value is expected and updates the writer's state. + + The raw JSON to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Gets or sets the writer's character array pool. + + + + + Gets or sets how many s to write for each level in the hierarchy when is set to . + + + + + Gets or sets which character to use to quote attribute values. + + + + + Gets or sets which character to use for indenting when is set to . + + + + + Gets or sets a value indicating whether object names will be surrounded with quotes. + + + + + Initializes a new instance of the class using the specified . + + The to write to. + + + + Flushes whatever is in the buffer to the underlying and also flushes the underlying . + + + + + Closes this writer. + If is set to true, the underlying is also closed. + If is set to true, the JSON is auto-completed. + + + + + Writes the beginning of a JSON object. + + + + + Writes the beginning of a JSON array. + + + + + Writes the start of a constructor with the given name. + + The name of the constructor. + + + + Writes the specified end token. + + The end token to write. + + + + Writes the property name of a name/value pair on a JSON object. + + The name of the property. + + + + Writes the property name of a name/value pair on a JSON object. + + The name of the property. + A flag to indicate whether the text should be escaped when it is written as a JSON property name. + + + + Writes indent characters. + + + + + Writes the JSON value delimiter. + + + + + Writes an indent space. + + + + + Writes a value. + An error will raised if the value cannot be written as a single JSON token. + + The value to write. + + + + Writes a null value. + + + + + Writes an undefined value. + + + + + Writes raw JSON. + + The raw JSON to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a value. + + The value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a [] value. + + The [] value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a comment /*...*/ containing the specified text. + + Text to place inside the comment. + + + + Writes the given white space. + + The string of white space characters. + + + + Specifies the type of JSON token. + + + + + This is returned by the if a read method has not been called. + + + + + An object start token. + + + + + An array start token. + + + + + A constructor start token. + + + + + An object property name. + + + + + A comment. + + + + + Raw JSON. + + + + + An integer. + + + + + A float. + + + + + A string. + + + + + A boolean. + + + + + A null token. + + + + + An undefined token. + + + + + An object end token. + + + + + An array end token. + + + + + A constructor end token. + + + + + A Date. + + + + + Byte data. + + + + + + Represents a reader that provides validation. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Sets an event handler for receiving schema validation errors. + + + + + Gets the text value of the current JSON token. + + + + + + Gets the depth of the current token in the JSON document. + + The depth of the current token in the JSON document. + + + + Gets the path of the current JSON token. + + + + + Gets the quotation mark character used to enclose the value of a string. + + + + + + Gets the type of the current JSON token. + + + + + + Gets the .NET type for the current JSON token. + + + + + + Initializes a new instance of the class that + validates the content returned from the given . + + The to read from while validating. + + + + Gets or sets the schema. + + The schema. + + + + Gets the used to construct this . + + The specified in the constructor. + + + + Changes the reader's state to . + If is set to true, the underlying is also closed. + + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying as a []. + + + A [] or null if the next JSON token is null. + + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying as a . + + A . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying . + + + true if the next token was read successfully; false if there are no more tokens to read. + + + + + Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. + + + + + Asynchronously closes this writer. + If is set to true, the destination is also closed. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously flushes whatever is in the buffer to the destination and also flushes the destination. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the specified end token. + + The end token to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes indent characters. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the JSON value delimiter. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes an indent space. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes raw JSON without changing the writer's state. + + The raw JSON to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the end of the current JSON object or array. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the end of an array. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the end of a constructor. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the end of a JSON object. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a null value. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the property name of a name/value pair of a JSON object. + + The name of the property. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the property name of a name/value pair of a JSON object. + + The name of the property. + A flag to indicate whether the text should be escaped when it is written as a JSON property name. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the beginning of a JSON array. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a comment /*...*/ containing the specified text. + + Text to place inside the comment. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes raw JSON where a value is expected and updates the writer's state. + + The raw JSON to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the start of a constructor with the given name. + + The name of the constructor. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the beginning of a JSON object. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the current token. + + The to read the token from. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the current token. + + The to read the token from. + A flag indicating whether the current token's children should be written. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the token and its value. + + The to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the token and its value. + + The to write. + + The value to write. + A value is only required for tokens that have an associated value, e.g. the property name for . + null can be passed to the method for tokens that don't have a value, e.g. . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a [] value. + + The [] value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes an undefined value. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the given white space. + + The string of white space characters. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously ets the state of the . + + The being written. + The value being written. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Gets or sets a value indicating whether the destination should be closed when this writer is closed. + + + true to close the destination when this writer is closed; otherwise false. The default is true. + + + + + Gets or sets a value indicating whether the JSON should be auto-completed when this writer is closed. + + + true to auto-complete the JSON when this writer is closed; otherwise false. The default is true. + + + + + Gets the top. + + The top. + + + + Gets the state of the writer. + + + + + Gets the path of the writer. + + + + + Gets or sets a value indicating how JSON text output should be formatted. + + + + + Gets or sets how dates are written to JSON text. + + + + + Gets or sets how time zones are handled when writing JSON text. + + + + + Gets or sets how strings are escaped when writing JSON text. + + + + + Gets or sets how special floating point numbers, e.g. , + and , + are written to JSON text. + + + + + Gets or sets how and values are formatted when writing JSON text. + + + + + Gets or sets the culture used when writing JSON. Defaults to . + + + + + Initializes a new instance of the class. + + + + + Flushes whatever is in the buffer to the destination and also flushes the destination. + + + + + Closes this writer. + If is set to true, the destination is also closed. + If is set to true, the JSON is auto-completed. + + + + + Writes the beginning of a JSON object. + + + + + Writes the end of a JSON object. + + + + + Writes the beginning of a JSON array. + + + + + Writes the end of an array. + + + + + Writes the start of a constructor with the given name. + + The name of the constructor. + + + + Writes the end constructor. + + + + + Writes the property name of a name/value pair of a JSON object. + + The name of the property. + + + + Writes the property name of a name/value pair of a JSON object. + + The name of the property. + A flag to indicate whether the text should be escaped when it is written as a JSON property name. + + + + Writes the end of the current JSON object or array. + + + + + Writes the current token and its children. + + The to read the token from. + + + + Writes the current token. + + The to read the token from. + A flag indicating whether the current token's children should be written. + + + + Writes the token and its value. + + The to write. + + The value to write. + A value is only required for tokens that have an associated value, e.g. the property name for . + null can be passed to the method for tokens that don't have a value, e.g. . + + + + + Writes the token. + + The to write. + + + + Writes the specified end token. + + The end token to write. + + + + Writes indent characters. + + + + + Writes the JSON value delimiter. + + + + + Writes an indent space. + + + + + Writes a null value. + + + + + Writes an undefined value. + + + + + Writes raw JSON without changing the writer's state. + + The raw JSON to write. + + + + Writes raw JSON where a value is expected and updates the writer's state. + + The raw JSON to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a [] value. + + The [] value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + An error will raised if the value cannot be written as a single JSON token. + + The value to write. + + + + Writes a comment /*...*/ containing the specified text. + + Text to place inside the comment. + + + + Writes the given white space. + + The string of white space characters. + + + + Releases unmanaged and - optionally - managed resources. + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Sets the state of the . + + The being written. + The value being written. + + + + The exception thrown when an error occurs while writing JSON text. + + + + + Gets the path to the JSON where the error occurred. + + The path to the JSON where the error occurred. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class + with a specified error message. + + The error message that explains the reason for the exception. + + + + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Initializes a new instance of the class. + + The that holds the serialized object data about the exception being thrown. + The that contains contextual information about the source or destination. + The parameter is null. + The class name is null or is zero (0). + + + + Initializes a new instance of the class + with a specified error message, JSON path and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The path to the JSON where the error occurred. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Specifies how JSON comments are handled when loading JSON. + + + + + Ignore comments. + + + + + Load comments as a with type . + + + + + Specifies how line information is handled when loading JSON. + + + + + Ignore line information. + + + + + Load line information. + + + + + Contains the LINQ to JSON extension methods. + + + + + Returns a collection of tokens that contains the ancestors of every token in the source collection. + + The type of the objects in source, constrained to . + An of that contains the source collection. + An of that contains the ancestors of every token in the source collection. + + + + Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. + + The type of the objects in source, constrained to . + An of that contains the source collection. + An of that contains every token in the source collection, the ancestors of every token in the source collection. + + + + Returns a collection of tokens that contains the descendants of every token in the source collection. + + The type of the objects in source, constrained to . + An of that contains the source collection. + An of that contains the descendants of every token in the source collection. + + + + Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. + + The type of the objects in source, constrained to . + An of that contains the source collection. + An of that contains every token in the source collection, and the descendants of every token in the source collection. + + + + Returns a collection of child properties of every object in the source collection. + + An of that contains the source collection. + An of that contains the properties of every object in the source collection. + + + + Returns a collection of child values of every object in the source collection with the given key. + + An of that contains the source collection. + The token key. + An of that contains the values of every token in the source collection with the given key. + + + + Returns a collection of child values of every object in the source collection. + + An of that contains the source collection. + An of that contains the values of every token in the source collection. + + + + Returns a collection of converted child values of every object in the source collection with the given key. + + The type to convert the values to. + An of that contains the source collection. + The token key. + An that contains the converted values of every token in the source collection with the given key. + + + + Returns a collection of converted child values of every object in the source collection. + + The type to convert the values to. + An of that contains the source collection. + An that contains the converted values of every token in the source collection. + + + + Converts the value. + + The type to convert the value to. + A cast as a of . + A converted value. + + + + Converts the value. + + The source collection type. + The type to convert the value to. + A cast as a of . + A converted value. + + + + Returns a collection of child tokens of every array in the source collection. + + The source collection type. + An of that contains the source collection. + An of that contains the values of every token in the source collection. + + + + Returns a collection of converted child tokens of every array in the source collection. + + An of that contains the source collection. + The type to convert the values to. + The source collection type. + An that contains the converted values of every token in the source collection. + + + + Returns the input typed as . + + An of that contains the source collection. + The input typed as . + + + + Returns the input typed as . + + The source collection type. + An of that contains the source collection. + The input typed as . + + + + Represents a collection of objects. + + The type of token. + + + + Gets the of with the specified key. + + + + + + Represents a JSON array. + + + + + + + + Writes this token to a asynchronously. + + A into which this method will write. + The token to monitor for cancellation requests. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + A representing the asynchronous load. The property contains the JSON that was read from the specified . + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + A representing the asynchronous load. The property contains the JSON that was read from the specified . + + + + Gets the container's children tokens. + + The container's children tokens. + + + + Gets the node type for this . + + The type. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Initializes a new instance of the class with the specified content. + + The contents of the array. + + + + Initializes a new instance of the class with the specified content. + + The contents of the array. + + + + Loads an from a . + + A that will be read for the content of the . + A that contains the JSON that was read from the specified . + + + + Loads an from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + A that contains the JSON that was read from the specified . + + + + Load a from a string that contains JSON. + + A that contains JSON. + A populated from the string that contains JSON. + + + + + + + Load a from a string that contains JSON. + + A that contains JSON. + The used to load the JSON. + If this is null, default load settings will be used. + A populated from the string that contains JSON. + + + + + + + Creates a from an object. + + The object that will be used to create . + A with the values of the specified object. + + + + Creates a from an object. + + The object that will be used to create . + The that will be used to read the object. + A with the values of the specified object. + + + + Writes this token to a . + + A into which this method will write. + A collection of which will be used when writing the token. + + + + Gets the with the specified key. + + The with the specified key. + + + + Gets or sets the at the specified index. + + + + + + Determines the index of a specific item in the . + + The object to locate in the . + + The index of if found in the list; otherwise, -1. + + + + + Inserts an item to the at the specified index. + + The zero-based index at which should be inserted. + The object to insert into the . + + is not a valid index in the . + + + + + Removes the item at the specified index. + + The zero-based index of the item to remove. + + is not a valid index in the . + + + + + Returns an enumerator that iterates through the collection. + + + A of that can be used to iterate through the collection. + + + + + Adds an item to the . + + The object to add to the . + + + + Removes all items from the . + + + + + Determines whether the contains a specific value. + + The object to locate in the . + + true if is found in the ; otherwise, false. + + + + + Copies the elements of the to an array, starting at a particular array index. + + The array. + Index of the array. + + + + Gets a value indicating whether the is read-only. + + true if the is read-only; otherwise, false. + + + + Removes the first occurrence of a specific object from the . + + The object to remove from the . + + true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . + + + + + Represents a JSON constructor. + + + + + Writes this token to a asynchronously. + + A into which this method will write. + The token to monitor for cancellation requests. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous load. The + property returns a that contains the JSON that was read from the specified . + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous load. The + property returns a that contains the JSON that was read from the specified . + + + + Gets the container's children tokens. + + The container's children tokens. + + + + Gets or sets the name of this constructor. + + The constructor name. + + + + Gets the node type for this . + + The type. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Initializes a new instance of the class with the specified name and content. + + The constructor name. + The contents of the constructor. + + + + Initializes a new instance of the class with the specified name and content. + + The constructor name. + The contents of the constructor. + + + + Initializes a new instance of the class with the specified name. + + The constructor name. + + + + Writes this token to a . + + A into which this method will write. + A collection of which will be used when writing the token. + + + + Gets the with the specified key. + + The with the specified key. + + + + Loads a from a . + + A that will be read for the content of the . + A that contains the JSON that was read from the specified . + + + + Loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + A that contains the JSON that was read from the specified . + + + + Represents a token that can contain other tokens. + + + + + Occurs when the list changes or an item in the list changes. + + + + + Occurs before an item is added to the collection. + + + + + Occurs when the items list of the collection has changed, or the collection is reset. + + + + + Gets the container's children tokens. + + The container's children tokens. + + + + Raises the event. + + The instance containing the event data. + + + + Raises the event. + + The instance containing the event data. + + + + Raises the event. + + The instance containing the event data. + + + + Gets a value indicating whether this token has child tokens. + + + true if this token has child values; otherwise, false. + + + + + Get the first child token of this token. + + + A containing the first child token of the . + + + + + Get the last child token of this token. + + + A containing the last child token of the . + + + + + Returns a collection of the child tokens of this token, in document order. + + + An of containing the child tokens of this , in document order. + + + + + Returns a collection of the child values of this token, in document order. + + The type to convert the values to. + + A containing the child values of this , in document order. + + + + + Returns a collection of the descendant tokens for this token in document order. + + An of containing the descendant tokens of the . + + + + Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. + + An of containing this token, and all the descendant tokens of the . + + + + Adds the specified content as children of this . + + The content to be added. + + + + Adds the specified content as the first children of this . + + The content to be added. + + + + Creates a that can be used to add tokens to the . + + A that is ready to have content written to it. + + + + Replaces the child nodes of this token with the specified content. + + The content. + + + + Removes the child nodes from this token. + + + + + Merge the specified content into this . + + The content to be merged. + + + + Merge the specified content into this using . + + The content to be merged. + The used to merge the content. + + + + Gets the count of child JSON tokens. + + The count of child JSON tokens. + + + + Represents a collection of objects. + + The type of token. + + + + An empty collection of objects. + + + + + Initializes a new instance of the struct. + + The enumerable. + + + + Returns an enumerator that can be used to iterate through the collection. + + + A that can be used to iterate through the collection. + + + + + Gets the of with the specified key. + + + + + + Determines whether the specified is equal to this instance. + + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + + + + + Determines whether the specified is equal to this instance. + + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + + + + + Returns a hash code for this instance. + + + A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. + + + + + Represents a JSON object. + + + + + + + + Writes this token to a asynchronously. + + A into which this method will write. + The token to monitor for cancellation requests. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous load. The + property returns a that contains the JSON that was read from the specified . + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous load. The + property returns a that contains the JSON that was read from the specified . + + + + Gets the container's children tokens. + + The container's children tokens. + + + + Occurs when a property value changes. + + + + + Occurs when a property value is changing. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Initializes a new instance of the class with the specified content. + + The contents of the object. + + + + Initializes a new instance of the class with the specified content. + + The contents of the object. + + + + Gets the node type for this . + + The type. + + + + Gets an of of this object's properties. + + An of of this object's properties. + + + + Gets a the specified name. + + The property name. + A with the specified name or null. + + + + Gets a of of this object's property values. + + A of of this object's property values. + + + + Gets the with the specified key. + + The with the specified key. + + + + Gets or sets the with the specified property name. + + + + + + Loads a from a . + + A that will be read for the content of the . + A that contains the JSON that was read from the specified . + + is not valid JSON. + + + + + Loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + A that contains the JSON that was read from the specified . + + is not valid JSON. + + + + + Load a from a string that contains JSON. + + A that contains JSON. + A populated from the string that contains JSON. + + is not valid JSON. + + + + + + + + Load a from a string that contains JSON. + + A that contains JSON. + The used to load the JSON. + If this is null, default load settings will be used. + A populated from the string that contains JSON. + + is not valid JSON. + + + + + + + + Creates a from an object. + + The object that will be used to create . + A with the values of the specified object. + + + + Creates a from an object. + + The object that will be used to create . + The that will be used to read the object. + A with the values of the specified object. + + + + Writes this token to a . + + A into which this method will write. + A collection of which will be used when writing the token. + + + + Gets the with the specified property name. + + Name of the property. + The with the specified property name. + + + + Gets the with the specified property name. + The exact property name will be searched for first and if no matching property is found then + the will be used to match a property. + + Name of the property. + One of the enumeration values that specifies how the strings will be compared. + The with the specified property name. + + + + Tries to get the with the specified property name. + The exact property name will be searched for first and if no matching property is found then + the will be used to match a property. + + Name of the property. + The value. + One of the enumeration values that specifies how the strings will be compared. + true if a value was successfully retrieved; otherwise, false. + + + + Adds the specified property name. + + Name of the property. + The value. + + + + Removes the property with the specified name. + + Name of the property. + true if item was successfully removed; otherwise, false. + + + + Tries to get the with the specified property name. + + Name of the property. + The value. + true if a value was successfully retrieved; otherwise, false. + + + + Returns an enumerator that can be used to iterate through the collection. + + + A that can be used to iterate through the collection. + + + + + Raises the event with the provided arguments. + + Name of the property. + + + + Raises the event with the provided arguments. + + Name of the property. + + + + Returns the responsible for binding operations performed on this object. + + The expression tree representation of the runtime value. + + The to bind this object. + + + + + Represents a JSON property. + + + + + Writes this token to a asynchronously. + + A into which this method will write. + The token to monitor for cancellation requests. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The token to monitor for cancellation requests. The default value is . + A representing the asynchronous creation. The + property returns a that contains the JSON that was read from the specified . + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + A representing the asynchronous creation. The + property returns a that contains the JSON that was read from the specified . + + + + Gets the container's children tokens. + + The container's children tokens. + + + + Gets the property name. + + The property name. + + + + Gets or sets the property value. + + The property value. + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Gets the node type for this . + + The type. + + + + Initializes a new instance of the class. + + The property name. + The property content. + + + + Initializes a new instance of the class. + + The property name. + The property content. + + + + Writes this token to a . + + A into which this method will write. + A collection of which will be used when writing the token. + + + + Loads a from a . + + A that will be read for the content of the . + A that contains the JSON that was read from the specified . + + + + Loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + A that contains the JSON that was read from the specified . + + + + Represents a raw JSON string. + + + + + Asynchronously creates an instance of with the content of the reader's current token. + + The reader. + The token to monitor for cancellation requests. The default value is . + A representing the asynchronous creation. The + property returns an instance of with the content of the reader's current token. + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Initializes a new instance of the class. + + The raw json. + + + + Creates an instance of with the content of the reader's current token. + + The reader. + An instance of with the content of the reader's current token. + + + + Specifies the settings used when merging JSON. + + + + + Gets or sets the method used when merging JSON arrays. + + The method used when merging JSON arrays. + + + + Gets or sets how null value properties are merged. + + How null value properties are merged. + + + + Represents a view of a . + + + + + Initializes a new instance of the class. + + The name. + + + + When overridden in a derived class, returns whether resetting an object changes its value. + + + true if resetting the component changes its value; otherwise, false. + + The component to test for reset capability. + + + + When overridden in a derived class, gets the current value of the property on a component. + + + The value of a property for a given component. + + The component with the property for which to retrieve the value. + + + + When overridden in a derived class, resets the value for this property of the component to the default value. + + The component with the property value that is to be reset to the default value. + + + + When overridden in a derived class, sets the value of the component to a different value. + + The component with the property value that is to be set. + The new value. + + + + When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted. + + + true if the property should be persisted; otherwise, false. + + The component with the property to be examined for persistence. + + + + When overridden in a derived class, gets the type of the component this property is bound to. + + + A that represents the type of component this property is bound to. + When the or + + methods are invoked, the object specified might be an instance of this type. + + + + + When overridden in a derived class, gets a value indicating whether this property is read-only. + + + true if the property is read-only; otherwise, false. + + + + + When overridden in a derived class, gets the type of the property. + + + A that represents the type of the property. + + + + + Gets the hash code for the name of the member. + + + + The hash code for the name of the member. + + + + + Represents an abstract JSON token. + + + + + Writes this token to a asynchronously. + + A into which this method will write. + The token to monitor for cancellation requests. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Writes this token to a asynchronously. + + A into which this method will write. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Asynchronously creates a from a . + + An positioned at the token to read into this . + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous creation. The + property returns a that contains + the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Asynchronously creates a from a . + + An positioned at the token to read into this . + The used to load the JSON. + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous creation. The + property returns a that contains + the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Asynchronously creates a from a . + + A positioned at the token to read into this . + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous creation. The + property returns a that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Asynchronously creates a from a . + + A positioned at the token to read into this . + The used to load the JSON. + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous creation. The + property returns a that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Gets a comparer that can compare two tokens for value equality. + + A that can compare two nodes for value equality. + + + + Gets or sets the parent. + + The parent. + + + + Gets the root of this . + + The root of this . + + + + Gets the node type for this . + + The type. + + + + Gets a value indicating whether this token has child tokens. + + + true if this token has child values; otherwise, false. + + + + + Compares the values of two tokens, including the values of all descendant tokens. + + The first to compare. + The second to compare. + true if the tokens are equal; otherwise false. + + + + Gets the next sibling token of this node. + + The that contains the next sibling token. + + + + Gets the previous sibling token of this node. + + The that contains the previous sibling token. + + + + Gets the path of the JSON token. + + + + + Adds the specified content immediately after this token. + + A content object that contains simple content or a collection of content objects to be added after this token. + + + + Adds the specified content immediately before this token. + + A content object that contains simple content or a collection of content objects to be added before this token. + + + + Returns a collection of the ancestor tokens of this token. + + A collection of the ancestor tokens of this token. + + + + Returns a collection of tokens that contain this token, and the ancestors of this token. + + A collection of tokens that contain this token, and the ancestors of this token. + + + + Returns a collection of the sibling tokens after this token, in document order. + + A collection of the sibling tokens after this tokens, in document order. + + + + Returns a collection of the sibling tokens before this token, in document order. + + A collection of the sibling tokens before this token, in document order. + + + + Gets the with the specified key. + + The with the specified key. + + + + Gets the with the specified key converted to the specified type. + + The type to convert the token to. + The token key. + The converted token value. + + + + Get the first child token of this token. + + A containing the first child token of the . + + + + Get the last child token of this token. + + A containing the last child token of the . + + + + Returns a collection of the child tokens of this token, in document order. + + An of containing the child tokens of this , in document order. + + + + Returns a collection of the child tokens of this token, in document order, filtered by the specified type. + + The type to filter the child tokens on. + A containing the child tokens of this , in document order. + + + + Returns a collection of the child values of this token, in document order. + + The type to convert the values to. + A containing the child values of this , in document order. + + + + Removes this token from its parent. + + + + + Replaces this token with the specified token. + + The value. + + + + Writes this token to a . + + A into which this method will write. + A collection of which will be used when writing the token. + + + + Returns the indented JSON for this token. + + + The indented JSON for this token. + + + + + Returns the JSON for this token using the given formatting and converters. + + Indicates how the output should be formatted. + A collection of s which will be used when writing the token. + The JSON for this token using the given formatting and converters. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to []. + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from [] to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Creates a for this token. + + A that can be used to read this token and its descendants. + + + + Creates a from an object. + + The object that will be used to create . + A with the value of the specified object. + + + + Creates a from an object using the specified . + + The object that will be used to create . + The that will be used when reading the object. + A with the value of the specified object. + + + + Creates an instance of the specified .NET type from the . + + The object type that the token will be deserialized to. + The new object created from the JSON value. + + + + Creates an instance of the specified .NET type from the . + + The object type that the token will be deserialized to. + The new object created from the JSON value. + + + + Creates an instance of the specified .NET type from the using the specified . + + The object type that the token will be deserialized to. + The that will be used when creating the object. + The new object created from the JSON value. + + + + Creates an instance of the specified .NET type from the using the specified . + + The object type that the token will be deserialized to. + The that will be used when creating the object. + The new object created from the JSON value. + + + + Creates a from a . + + A positioned at the token to read into this . + + A that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Creates a from a . + + An positioned at the token to read into this . + The used to load the JSON. + If this is null, default load settings will be used. + + A that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Load a from a string that contains JSON. + + A that contains JSON. + A populated from the string that contains JSON. + + + + Load a from a string that contains JSON. + + A that contains JSON. + The used to load the JSON. + If this is null, default load settings will be used. + A populated from the string that contains JSON. + + + + Creates a from a . + + A positioned at the token to read into this . + The used to load the JSON. + If this is null, default load settings will be used. + + A that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Creates a from a . + + A positioned at the token to read into this . + + A that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Selects a using a JPath expression. Selects the token that matches the object path. + + + A that contains a JPath expression. + + A , or null. + + + + Selects a using a JPath expression. Selects the token that matches the object path. + + + A that contains a JPath expression. + + A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. + A . + + + + Selects a collection of elements using a JPath expression. + + + A that contains a JPath expression. + + An of that contains the selected elements. + + + + Selects a collection of elements using a JPath expression. + + + A that contains a JPath expression. + + A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. + An of that contains the selected elements. + + + + Returns the responsible for binding operations performed on this object. + + The expression tree representation of the runtime value. + + The to bind this object. + + + + + Returns the responsible for binding operations performed on this object. + + The expression tree representation of the runtime value. + + The to bind this object. + + + + + Creates a new instance of the . All child tokens are recursively cloned. + + A new instance of the . + + + + Adds an object to the annotation list of this . + + The annotation to add. + + + + Get the first annotation object of the specified type from this . + + The type of the annotation to retrieve. + The first annotation object that matches the specified type, or null if no annotation is of the specified type. + + + + Gets the first annotation object of the specified type from this . + + The of the annotation to retrieve. + The first annotation object that matches the specified type, or null if no annotation is of the specified type. + + + + Gets a collection of annotations of the specified type for this . + + The type of the annotations to retrieve. + An that contains the annotations for this . + + + + Gets a collection of annotations of the specified type for this . + + The of the annotations to retrieve. + An of that contains the annotations that match the specified type for this . + + + + Removes the annotations of the specified type from this . + + The type of annotations to remove. + + + + Removes the annotations of the specified type from this . + + The of annotations to remove. + + + + Compares tokens to determine whether they are equal. + + + + + Determines whether the specified objects are equal. + + The first object of type to compare. + The second object of type to compare. + + true if the specified objects are equal; otherwise, false. + + + + + Returns a hash code for the specified object. + + The for which a hash code is to be returned. + A hash code for the specified object. + The type of is a reference type and is null. + + + + Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. + + + + + Gets the at the reader's current position. + + + + + Initializes a new instance of the class. + + The token to read from. + + + + Reads the next JSON token from the underlying . + + + true if the next token was read successfully; false if there are no more tokens to read. + + + + + Gets the path of the current JSON token. + + + + + Specifies the type of token. + + + + + No token type has been set. + + + + + A JSON object. + + + + + A JSON array. + + + + + A JSON constructor. + + + + + A JSON object property. + + + + + A comment. + + + + + An integer value. + + + + + A float value. + + + + + A string value. + + + + + A boolean value. + + + + + A null value. + + + + + An undefined value. + + + + + A date value. + + + + + A raw JSON value. + + + + + A collection of bytes value. + + + + + A Guid value. + + + + + A Uri value. + + + + + A TimeSpan value. + + + + + Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. + + + + + Gets the at the writer's current position. + + + + + Gets the token being written. + + The token being written. + + + + Initializes a new instance of the class writing to the given . + + The container being written to. + + + + Initializes a new instance of the class. + + + + + Flushes whatever is in the buffer to the underlying . + + + + + Closes this writer. + If is set to true, the JSON is auto-completed. + + + Setting to true has no additional effect, since the underlying is a type that cannot be closed. + + + + + Writes the beginning of a JSON object. + + + + + Writes the beginning of a JSON array. + + + + + Writes the start of a constructor with the given name. + + The name of the constructor. + + + + Writes the end. + + The token. + + + + Writes the property name of a name/value pair on a JSON object. + + The name of the property. + + + + Writes a value. + An error will be raised if the value cannot be written as a single JSON token. + + The value to write. + + + + Writes a null value. + + + + + Writes an undefined value. + + + + + Writes raw JSON. + + The raw JSON to write. + + + + Writes a comment /*...*/ containing the specified text. + + Text to place inside the comment. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a [] value. + + The [] value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Represents a value in JSON (string, integer, date, etc). + + + + + Writes this token to a asynchronously. + + A into which this method will write. + The token to monitor for cancellation requests. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Gets a value indicating whether this token has child tokens. + + + true if this token has child values; otherwise, false. + + + + + Creates a comment with the given value. + + The value. + A comment with the given value. + + + + Creates a string with the given value. + + The value. + A string with the given value. + + + + Creates a null value. + + A null value. + + + + Creates a undefined value. + + A undefined value. + + + + Gets the node type for this . + + The type. + + + + Gets or sets the underlying token value. + + The underlying token value. + + + + Writes this token to a . + + A into which this method will write. + A collection of s which will be used when writing the token. + + + + Indicates whether the current object is equal to another object of the same type. + + + true if the current object is equal to the parameter; otherwise, false. + + An object to compare with this object. + + + + Determines whether the specified is equal to the current . + + The to compare with the current . + + true if the specified is equal to the current ; otherwise, false. + + + + + Serves as a hash function for a particular type. + + + A hash code for the current . + + + + + Returns a that represents this instance. + + + A that represents this instance. + + + + + Returns a that represents this instance. + + The format. + + A that represents this instance. + + + + + Returns a that represents this instance. + + The format provider. + + A that represents this instance. + + + + + Returns a that represents this instance. + + The format. + The format provider. + + A that represents this instance. + + + + + Returns the responsible for binding operations performed on this object. + + The expression tree representation of the runtime value. + + The to bind this object. + + + + + Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. + + An object to compare with this instance. + + A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: + Value + Meaning + Less than zero + This instance is less than . + Zero + This instance is equal to . + Greater than zero + This instance is greater than . + + + is not of the same type as this instance. + + + + + Specifies the settings used when loading JSON. + + + + + Initializes a new instance of the class. + + + + + Gets or sets how JSON comments are handled when loading JSON. + + The JSON comment handling. + + + + Gets or sets how JSON line info is handled when loading JSON. + + The JSON line info handling. + + + + Specifies how JSON arrays are merged together. + + + + Concatenate arrays. + + + Union arrays, skipping items that already exist. + + + Replace all array items. + + + Merge array items together, matched by index. + + + + Specifies how null value properties are merged. + + + + + The content's null value properties will be ignored during merging. + + + + + The content's null value properties will be merged. + + + + + Specifies the member serialization options for the . + + + + + All public members are serialized by default. Members can be excluded using or . + This is the default member serialization mode. + + + + + Only members marked with or are serialized. + This member serialization mode can also be set by marking the class with . + + + + + All public and private fields are serialized. Members can be excluded using or . + This member serialization mode can also be set by marking the class with + and setting IgnoreSerializableAttribute on to false. + + + + + Specifies metadata property handling options for the . + + + + + Read metadata properties located at the start of a JSON object. + + + + + Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. + + + + + Do not try to read metadata properties. + + + + + Specifies missing member handling options for the . + + + + + Ignore a missing member and do not attempt to deserialize it. + + + + + Throw a when a missing member is encountered during deserialization. + + + + + Specifies null value handling options for the . + + + + + + + + + Include null values when serializing and deserializing objects. + + + + + Ignore null values when serializing and deserializing objects. + + + + + Specifies how object creation is handled by the . + + + + + Reuse existing objects, create new objects when needed. + + + + + Only reuse existing objects. + + + + + Always create new objects. + + + + + Specifies reference handling options for the . + Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement . + + + + + + + + Do not preserve references when serializing types. + + + + + Preserve references when serializing into a JSON object structure. + + + + + Preserve references when serializing into a JSON array structure. + + + + + Preserve references when serializing. + + + + + Specifies reference loop handling options for the . + + + + + Throw a when a loop is encountered. + + + + + Ignore loop references and do not serialize. + + + + + Serialize loop references. + + + + + Indicating whether a property is required. + + + + + The property is not required. The default state. + + + + + The property must be defined in JSON but can be a null value. + + + + + The property must be defined in JSON and cannot be a null value. + + + + + The property is not required but it cannot be a null value. + + + + + + Contains the JSON schema extension methods. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + + Determines whether the is valid. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + The source to test. + The schema to test with. + + true if the specified is valid; otherwise, false. + + + + + + Determines whether the is valid. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + The source to test. + The schema to test with. + When this method returns, contains any error messages generated while validating. + + true if the specified is valid; otherwise, false. + + + + + + Validates the specified . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + The source to test. + The schema to test with. + + + + + Validates the specified . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + The source to test. + The schema to test with. + The validation event handler. + + + + + An in-memory representation of a JSON Schema. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets or sets the id. + + + + + Gets or sets the title. + + + + + Gets or sets whether the object is required. + + + + + Gets or sets whether the object is read-only. + + + + + Gets or sets whether the object is visible to users. + + + + + Gets or sets whether the object is transient. + + + + + Gets or sets the description of the object. + + + + + Gets or sets the types of values allowed by the object. + + The type. + + + + Gets or sets the pattern. + + The pattern. + + + + Gets or sets the minimum length. + + The minimum length. + + + + Gets or sets the maximum length. + + The maximum length. + + + + Gets or sets a number that the value should be divisible by. + + A number that the value should be divisible by. + + + + Gets or sets the minimum. + + The minimum. + + + + Gets or sets the maximum. + + The maximum. + + + + Gets or sets a flag indicating whether the value can not equal the number defined by the minimum attribute (). + + A flag indicating whether the value can not equal the number defined by the minimum attribute (). + + + + Gets or sets a flag indicating whether the value can not equal the number defined by the maximum attribute (). + + A flag indicating whether the value can not equal the number defined by the maximum attribute (). + + + + Gets or sets the minimum number of items. + + The minimum number of items. + + + + Gets or sets the maximum number of items. + + The maximum number of items. + + + + Gets or sets the of items. + + The of items. + + + + Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . + + + true if items are validated using their array position; otherwise, false. + + + + + Gets or sets the of additional items. + + The of additional items. + + + + Gets or sets a value indicating whether additional items are allowed. + + + true if additional items are allowed; otherwise, false. + + + + + Gets or sets whether the array items must be unique. + + + + + Gets or sets the of properties. + + The of properties. + + + + Gets or sets the of additional properties. + + The of additional properties. + + + + Gets or sets the pattern properties. + + The pattern properties. + + + + Gets or sets a value indicating whether additional properties are allowed. + + + true if additional properties are allowed; otherwise, false. + + + + + Gets or sets the required property if this property is present. + + The required property if this property is present. + + + + Gets or sets the a collection of valid enum values allowed. + + A collection of valid enum values allowed. + + + + Gets or sets disallowed types. + + The disallowed types. + + + + Gets or sets the default value. + + The default value. + + + + Gets or sets the collection of that this schema extends. + + The collection of that this schema extends. + + + + Gets or sets the format. + + The format. + + + + Initializes a new instance of the class. + + + + + Reads a from the specified . + + The containing the JSON Schema to read. + The object representing the JSON Schema. + + + + Reads a from the specified . + + The containing the JSON Schema to read. + The to use when resolving schema references. + The object representing the JSON Schema. + + + + Load a from a string that contains JSON Schema. + + A that contains JSON Schema. + A populated from the string that contains JSON Schema. + + + + Load a from a string that contains JSON Schema using the specified . + + A that contains JSON Schema. + The resolver. + A populated from the string that contains JSON Schema. + + + + Writes this schema to a . + + A into which this method will write. + + + + Writes this schema to a using the specified . + + A into which this method will write. + The resolver used. + + + + Returns a that represents the current . + + + A that represents the current . + + + + + + Returns detailed information about the schema exception. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets the line number indicating where the error occurred. + + The line number indicating where the error occurred. + + + + Gets the line position indicating where the error occurred. + + The line position indicating where the error occurred. + + + + Gets the path to the JSON where the error occurred. + + The path to the JSON where the error occurred. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class + with a specified error message. + + The error message that explains the reason for the exception. + + + + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Initializes a new instance of the class. + + The that holds the serialized object data about the exception being thrown. + The that contains contextual information about the source or destination. + The parameter is null. + The class name is null or is zero (0). + + + + + Generates a from a specified . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets or sets how undefined schemas are handled by the serializer. + + + + + Gets or sets the contract resolver. + + The contract resolver. + + + + Generate a from the specified type. + + The type to generate a from. + A generated from the specified type. + + + + Generate a from the specified type. + + The type to generate a from. + The used to resolve schema references. + A generated from the specified type. + + + + Generate a from the specified type. + + The type to generate a from. + Specify whether the generated root will be nullable. + A generated from the specified type. + + + + Generate a from the specified type. + + The type to generate a from. + The used to resolve schema references. + Specify whether the generated root will be nullable. + A generated from the specified type. + + + + + Resolves from an id. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets or sets the loaded schemas. + + The loaded schemas. + + + + Initializes a new instance of the class. + + + + + Gets a for the specified reference. + + The id. + A for the specified reference. + + + + + The value types allowed by the . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + No type specified. + + + + + String type. + + + + + Float type. + + + + + Integer type. + + + + + Boolean type. + + + + + Object type. + + + + + Array type. + + + + + Null type. + + + + + Any type. + + + + + + Specifies undefined schema Id handling options for the . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Do not infer a schema Id. + + + + + Use the .NET type name as the schema Id. + + + + + Use the assembly qualified .NET type name as the schema Id. + + + + + + Returns detailed information related to the . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets the associated with the validation error. + + The JsonSchemaException associated with the validation error. + + + + Gets the path of the JSON location where the validation error occurred. + + The path of the JSON location where the validation error occurred. + + + + Gets the text description corresponding to the validation error. + + The text description. + + + + + Represents the callback method that will handle JSON schema validation events and the . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Allows users to control class loading and mandate what class to load. + + + + + When implemented, controls the binding of a serialized object to a type. + + Specifies the name of the serialized object. + Specifies the name of the serialized object + The type of the object the formatter creates a new instance of. + + + + When implemented, controls the binding of a serialized object to a type. + + The type of the object the formatter creates a new instance of. + Specifies the name of the serialized object. + Specifies the name of the serialized object. + + + + A snake case naming strategy. + + + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + A flag indicating whether extension data names should be processed. + + + + + Initializes a new instance of the class. + + + + + Resolves the specified property name. + + The property name to resolve. + The resolved property name. + + + + A camel case naming strategy. + + + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + A flag indicating whether extension data names should be processed. + + + + + Initializes a new instance of the class. + + + + + Resolves the specified property name. + + The property name to resolve. + The resolved property name. + + + + Resolves member mappings for a type, camel casing property names. + + + + + Initializes a new instance of the class. + + + + + Resolves the contract for a given type. + + The type to resolve a contract for. + The contract for a given type. + + + + Used by to resolve a for a given . + + + + + Gets a value indicating whether members are being get and set using dynamic code generation. + This value is determined by the runtime permissions available. + + + true if using dynamic code generation; otherwise, false. + + + + + Gets or sets the default members search flags. + + The default members search flags. + + + + Gets or sets a value indicating whether compiler generated members should be serialized. + + + true if serialized compiler generated members; otherwise, false. + + + + + Gets or sets a value indicating whether to ignore the interface when serializing and deserializing types. + + + true if the interface will be ignored when serializing and deserializing types; otherwise, false. + + + + + Gets or sets a value indicating whether to ignore the attribute when serializing and deserializing types. + + + true if the attribute will be ignored when serializing and deserializing types; otherwise, false. + + + + + Gets or sets the naming strategy used to resolve how property names and dictionary keys are serialized. + + The naming strategy used to resolve how property names and dictionary keys are serialized. + + + + Initializes a new instance of the class. + + + + + Resolves the contract for a given type. + + The type to resolve a contract for. + The contract for a given type. + + + + Gets the serializable members for the type. + + The type to get serializable members for. + The serializable members for the type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates the constructor parameters. + + The constructor to create properties for. + The type's member properties. + Properties for the given . + + + + Creates a for the given . + + The matching member property. + The constructor parameter. + A created for the given . + + + + Resolves the default for the contract. + + Type of the object. + The contract's default . + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Determines which contract type is created for the given type. + + Type of the object. + A for the given type. + + + + Creates properties for the given . + + The type to create properties for. + /// The member serialization mode for the type. + Properties for the given . + + + + Creates the used by the serializer to get and set values from a member. + + The member. + The used by the serializer to get and set values from a member. + + + + Creates a for the given . + + The member's parent . + The member to create a for. + A created for the given . + + + + Resolves the name of the property. + + Name of the property. + Resolved name of the property. + + + + Resolves the name of the extension data. By default no changes are made to extension data names. + + Name of the extension data. + Resolved name of the extension data. + + + + Resolves the key of the dictionary. By default is used to resolve dictionary keys. + + Key of the dictionary. + Resolved key of the dictionary. + + + + Gets the resolved name of the property. + + Name of the property. + Name of the property. + + + + The default naming strategy. Property names and dictionary keys are unchanged. + + + + + Resolves the specified property name. + + The property name to resolve. + The resolved property name. + + + + The default serialization binder used when resolving and loading classes from type names. + + + + + Initializes a new instance of the class. + + + + + When overridden in a derived class, controls the binding of a serialized object to a type. + + Specifies the name of the serialized object. + Specifies the name of the serialized object. + + The type of the object the formatter creates a new instance of. + + + + + When overridden in a derived class, controls the binding of a serialized object to a type. + + The type of the object the formatter creates a new instance of. + Specifies the name of the serialized object. + Specifies the name of the serialized object. + + + + Represents a trace writer that writes to the application's instances. + + + + + Gets the that will be used to filter the trace messages passed to the writer. + For example a filter level of will exclude messages and include , + and messages. + + + The that will be used to filter the trace messages passed to the writer. + + + + + Writes the specified trace level, message and optional exception. + + The at which to write this trace. + The trace message. + The trace exception. This parameter is optional. + + + + Get and set values for a using dynamic methods. + + + + + Initializes a new instance of the class. + + The member info. + + + + Sets the value. + + The target to set the value on. + The value to set on the target. + + + + Gets the value. + + The target to get the value from. + The value. + + + + Provides information surrounding an error. + + + + + Gets the error. + + The error. + + + + Gets the original object that caused the error. + + The original object that caused the error. + + + + Gets the member that caused the error. + + The member that caused the error. + + + + Gets the path of the JSON location where the error occurred. + + The path of the JSON location where the error occurred. + + + + Gets or sets a value indicating whether this is handled. + + true if handled; otherwise, false. + + + + Provides data for the Error event. + + + + + Gets the current object the error event is being raised against. + + The current object the error event is being raised against. + + + + Gets the error context. + + The error context. + + + + Initializes a new instance of the class. + + The current object. + The error context. + + + + Get and set values for a using dynamic methods. + + + + + Initializes a new instance of the class. + + The member info. + + + + Sets the value. + + The target to set the value on. + The value to set on the target. + + + + Gets the value. + + The target to get the value from. + The value. + + + + Provides methods to get attributes. + + + + + Returns a collection of all of the attributes, or an empty collection if there are no attributes. + + When true, look up the hierarchy chain for the inherited custom attribute. + A collection of s, or an empty collection. + + + + Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. + + The type of the attributes. + When true, look up the hierarchy chain for the inherited custom attribute. + A collection of s, or an empty collection. + + + + Used by to resolve a for a given . + + + + + + + + + Resolves the contract for a given type. + + The type to resolve a contract for. + The contract for a given type. + + + + A base class for resolving how property names and dictionary keys are serialized. + + + + + A flag indicating whether dictionary keys should be processed. + Defaults to false. + + + + + A flag indicating whether extension data names should be processed. + Defaults to false. + + + + + A flag indicating whether explicitly specified property names, + e.g. a property name customized with a , should be processed. + Defaults to false. + + + + + Gets the serialized name for a given property name. + + The initial property name. + A flag indicating whether the property has had a name explicitly specified. + The serialized property name. + + + + Gets the serialized name for a given extension data name. + + The initial extension data name. + The serialized extension data name. + + + + Gets the serialized key for a given dictionary key. + + The initial dictionary key. + The serialized dictionary key. + + + + Resolves the specified property name. + + The property name to resolve. + The resolved property name. + + + + Used to resolve references when serializing and deserializing JSON by the . + + + + + Resolves a reference to its object. + + The serialization context. + The reference to resolve. + The object that was resolved from the reference. + + + + Gets the reference for the specified object. + + The serialization context. + The object to get a reference for. + The reference to the object. + + + + Determines whether the specified object is referenced. + + The serialization context. + The object to test for a reference. + + true if the specified object is referenced; otherwise, false. + + + + + Adds a reference to the specified object. + + The serialization context. + The reference. + The object to reference. + + + + Represents a trace writer. + + + + + Gets the that will be used to filter the trace messages passed to the writer. + For example a filter level of will exclude messages and include , + and messages. + + The that will be used to filter the trace messages passed to the writer. + + + + Writes the specified trace level, message and optional exception. + + The at which to write this trace. + The trace message. + The trace exception. This parameter is optional. + + + + Provides methods to get and set values. + + + + + Sets the value. + + The target to set the value on. + The value to set on the target. + + + + Gets the value. + + The target to get the value from. + The value. + + + + Contract details for a used by the . + + + + + Gets the of the collection items. + + The of the collection items. + + + + Gets a value indicating whether the collection type is a multidimensional array. + + true if the collection type is a multidimensional array; otherwise, false. + + + + Gets or sets the function used to create the object. When set this function will override . + + The function used to create the object. + + + + Gets a value indicating whether the creator has a parameter with the collection values. + + true if the creator has a parameter with the collection values; otherwise, false. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Contract details for a used by the . + + + + + Gets or sets the default collection items . + + The converter. + + + + Gets or sets a value indicating whether the collection items preserve object references. + + true if collection items preserve object references; otherwise, false. + + + + Gets or sets the collection item reference loop handling. + + The reference loop handling. + + + + Gets or sets the collection item type name handling. + + The type name handling. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Handles serialization callback events. + + The object that raised the callback event. + The streaming context. + + + + Handles serialization error callback events. + + The object that raised the callback event. + The streaming context. + The error context. + + + + Sets extension data for an object during deserialization. + + The object to set extension data on. + The extension data key. + The extension data value. + + + + Gets extension data for an object during serialization. + + The object to set extension data on. + + + + Contract details for a used by the . + + + + + Gets the underlying type for the contract. + + The underlying type for the contract. + + + + Gets or sets the type created during deserialization. + + The type created during deserialization. + + + + Gets or sets whether this type contract is serialized as a reference. + + Whether this type contract is serialized as a reference. + + + + Gets or sets the default for this contract. + + The converter. + + + + Gets or sets all methods called immediately after deserialization of the object. + + The methods called immediately after deserialization of the object. + + + + Gets or sets all methods called during deserialization of the object. + + The methods called during deserialization of the object. + + + + Gets or sets all methods called after serialization of the object graph. + + The methods called after serialization of the object graph. + + + + Gets or sets all methods called before serialization of the object. + + The methods called before serialization of the object. + + + + Gets or sets all method called when an error is thrown during the serialization of the object. + + The methods called when an error is thrown during the serialization of the object. + + + + Gets or sets the default creator method used to create the object. + + The default creator method used to create the object. + + + + Gets or sets a value indicating whether the default creator is non-public. + + true if the default object creator is non-public; otherwise, false. + + + + Contract details for a used by the . + + + + + Gets or sets the dictionary key resolver. + + The dictionary key resolver. + + + + Gets the of the dictionary keys. + + The of the dictionary keys. + + + + Gets the of the dictionary values. + + The of the dictionary values. + + + + Gets or sets the function used to create the object. When set this function will override . + + The function used to create the object. + + + + Gets a value indicating whether the creator has a parameter with the dictionary values. + + true if the creator has a parameter with the dictionary values; otherwise, false. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Contract details for a used by the . + + + + + Gets the object's properties. + + The object's properties. + + + + Gets or sets the property name resolver. + + The property name resolver. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Contract details for a used by the . + + + + + Gets or sets the object constructor. + + The object constructor. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Contract details for a used by the . + + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Contract details for a used by the . + + + + + Gets or sets the object member serialization. + + The member object serialization. + + + + Gets or sets a value that indicates whether the object's properties are required. + + + A value indicating whether the object's properties are required. + + + + + Gets the object's properties. + + The object's properties. + + + + Gets a collection of instances that define the parameters used with . + + + + + Gets or sets the function used to create the object. When set this function will override . + This function is called with a collection of arguments which are defined by the collection. + + The function used to create the object. + + + + Gets or sets the extension data setter. + + + + + Gets or sets the extension data getter. + + + + + Gets or sets the extension data value type. + + + + + Gets or sets the extension data name resolver. + + The extension data name resolver. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Contract details for a used by the . + + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Maps a JSON property to a .NET member or constructor parameter. + + + + + Gets or sets the name of the property. + + The name of the property. + + + + Gets or sets the type that declared this property. + + The type that declared this property. + + + + Gets or sets the order of serialization of a member. + + The numeric order of serialization. + + + + Gets or sets the name of the underlying member or parameter. + + The name of the underlying member or parameter. + + + + Gets the that will get and set the during serialization. + + The that will get and set the during serialization. + + + + Gets or sets the for this property. + + The for this property. + + + + Gets or sets the type of the property. + + The type of the property. + + + + Gets or sets the for the property. + If set this converter takes precedence over the contract converter for the property type. + + The converter. + + + + Gets or sets the member converter. + + The member converter. + + + + Gets or sets a value indicating whether this is ignored. + + true if ignored; otherwise, false. + + + + Gets or sets a value indicating whether this is readable. + + true if readable; otherwise, false. + + + + Gets or sets a value indicating whether this is writable. + + true if writable; otherwise, false. + + + + Gets or sets a value indicating whether this has a member attribute. + + true if has a member attribute; otherwise, false. + + + + Gets the default value. + + The default value. + + + + Gets or sets a value indicating whether this is required. + + A value indicating whether this is required. + + + + Gets or sets a value indicating whether this property preserves object references. + + + true if this instance is reference; otherwise, false. + + + + + Gets or sets the property null value handling. + + The null value handling. + + + + Gets or sets the property default value handling. + + The default value handling. + + + + Gets or sets the property reference loop handling. + + The reference loop handling. + + + + Gets or sets the property object creation handling. + + The object creation handling. + + + + Gets or sets or sets the type name handling. + + The type name handling. + + + + Gets or sets a predicate used to determine whether the property should be serialized. + + A predicate used to determine whether the property should be serialized. + + + + Gets or sets a predicate used to determine whether the property should be deserialized. + + A predicate used to determine whether the property should be deserialized. + + + + Gets or sets a predicate used to determine whether the property should be serialized. + + A predicate used to determine whether the property should be serialized. + + + + Gets or sets an action used to set whether the property has been deserialized. + + An action used to set whether the property has been deserialized. + + + + Returns a that represents this instance. + + + A that represents this instance. + + + + + Gets or sets the converter used when serializing the property's collection items. + + The collection's items converter. + + + + Gets or sets whether this property's collection items are serialized as a reference. + + Whether this property's collection items are serialized as a reference. + + + + Gets or sets the type name handling used when serializing the property's collection items. + + The collection's items type name handling. + + + + Gets or sets the reference loop handling used when serializing the property's collection items. + + The collection's items reference loop handling. + + + + A collection of objects. + + + + + Initializes a new instance of the class. + + The type. + + + + When implemented in a derived class, extracts the key from the specified element. + + The element from which to extract the key. + The key for the specified element. + + + + Adds a object. + + The property to add to the collection. + + + + Gets the closest matching object. + First attempts to get an exact case match of and then + a case insensitive match. + + Name of the property. + A matching property if found. + + + + Gets a property by property name. + + The name of the property to get. + Type property name string comparison. + A matching property if found. + + + + Contract details for a used by the . + + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Lookup and create an instance of the type described by the argument. + + The type to create. + Optional arguments to pass to an initializing constructor of the JsonConverter. + If null, the default constructor is used. + + + + Represents a trace writer that writes to memory. When the trace message limit is + reached then old trace messages will be removed as new messages are added. + + + + + Gets the that will be used to filter the trace messages passed to the writer. + For example a filter level of will exclude messages and include , + and messages. + + + The that will be used to filter the trace messages passed to the writer. + + + + + Initializes a new instance of the class. + + + + + Writes the specified trace level, message and optional exception. + + The at which to write this trace. + The trace message. + The trace exception. This parameter is optional. + + + + Returns an enumeration of the most recent trace messages. + + An enumeration of the most recent trace messages. + + + + Returns a of the most recent trace messages. + + + A of the most recent trace messages. + + + + + Represents a method that constructs an object. + + The object type to create. + + + + When applied to a method, specifies that the method is called when an error occurs serializing an object. + + + + + Provides methods to get attributes from a , , or . + + + + + Initializes a new instance of the class. + + The instance to get attributes for. This parameter should be a , , or . + + + + Returns a collection of all of the attributes, or an empty collection if there are no attributes. + + When true, look up the hierarchy chain for the inherited custom attribute. + A collection of s, or an empty collection. + + + + Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. + + The type of the attributes. + When true, look up the hierarchy chain for the inherited custom attribute. + A collection of s, or an empty collection. + + + + Get and set values for a using reflection. + + + + + Initializes a new instance of the class. + + The member info. + + + + Sets the value. + + The target to set the value on. + The value to set on the target. + + + + Gets the value. + + The target to get the value from. + The value. + + + + Indicates the method that will be used during deserialization for locating and loading assemblies. + + + + + In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the LoadWithPartialName method of the class is used to load the assembly. + + + + + In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The Load method of the class is used to load the assembly. + + + + + Specifies how strings are escaped when writing JSON text. + + + + + Only control characters (e.g. newline) are escaped. + + + + + All non-ASCII and control characters (e.g. newline) are escaped. + + + + + HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. + + + + + Specifies type name handling options for the . + + + should be used with caution when your application deserializes JSON from an external source. + Incoming types should be validated with a custom + when deserializing with a value other than . + + + + + Do not include the .NET type name when serializing types. + + + + + Include the .NET type name when serializing into a JSON object structure. + + + + + Include the .NET type name when serializing into a JSON array structure. + + + + + Always include the .NET type name when serializing. + + + + + Include the .NET type name when the type of the object being serialized is not the same as its declared type. + Note that this doesn't include the root serialized object by default. To include the root object's type name in JSON + you must specify a root type object with + or . + + + + + Determines whether the collection is null or empty. + + The collection. + + true if the collection is null or empty; otherwise, false. + + + + + Adds the elements of the specified collection to the specified generic . + + The list to add to. + The collection of elements to add. + + + + Converts the value to the specified type. If the value is unable to be converted, the + value is checked whether it assignable to the specified type. + + The value to convert. + The culture to use when converting. + The type to convert or cast the value to. + + The converted type. If conversion was unsuccessful, the initial value + is returned if assignable to the target type. + + + + + Helper method for generating a MetaObject which calls a + specific method on Dynamic that returns a result + + + + + Helper method for generating a MetaObject which calls a + specific method on Dynamic, but uses one of the arguments for + the result. + + + + + Helper method for generating a MetaObject which calls a + specific method on Dynamic, but uses one of the arguments for + the result. + + + + + Returns a Restrictions object which includes our current restrictions merged + with a restriction limiting our type + + + + + Gets a dictionary of the names and values of an type. + + + + + + Gets a dictionary of the names and values of an Enum type. + + The enum type to get names and values for. + + + + + Gets the type of the typed collection's items. + + The type. + The type of the typed collection's items. + + + + Gets the member's underlying type. + + The member. + The underlying type of the member. + + + + Determines whether the member is an indexed property. + + The member. + + true if the member is an indexed property; otherwise, false. + + + + + Determines whether the property is an indexed property. + + The property. + + true if the property is an indexed property; otherwise, false. + + + + + Gets the member's value on the object. + + The member. + The target object. + The member's value on the object. + + + + Sets the member's value on the target object. + + The member. + The target. + The value. + + + + Determines whether the specified MemberInfo can be read. + + The MemberInfo to determine whether can be read. + /// if set to true then allow the member to be gotten non-publicly. + + true if the specified MemberInfo can be read; otherwise, false. + + + + + Determines whether the specified MemberInfo can be set. + + The MemberInfo to determine whether can be set. + if set to true then allow the member to be set non-publicly. + if set to true then allow the member to be set if read-only. + + true if the specified MemberInfo can be set; otherwise, false. + + + + + Builds a string. Unlike this class lets you reuse its internal buffer. + + + + + Determines whether the string is all white space. Empty string will return false. + + The string to test whether it is all white space. + + true if the string is all white space; otherwise, false. + + + + + Specifies the state of the . + + + + + 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.10.0.2/lib/netstandard1.0/Newtonsoft.Json.xml b/packages/Newtonsoft.Json.10.0.2/lib/netstandard1.0/Newtonsoft.Json.xml new file mode 100644 index 0000000..f7a4e30 --- /dev/null +++ b/packages/Newtonsoft.Json.10.0.2/lib/netstandard1.0/Newtonsoft.Json.xml @@ -0,0 +1,10467 @@ + + + + Newtonsoft.Json + + + + + Represents a BSON Oid (object id). + + + + + Gets or sets the value of the Oid. + + The value of the Oid. + + + + Initializes a new instance of the class. + + The Oid value. + + + + Represents a reader that provides fast, non-cached, forward-only access to serialized BSON data. + + + + + Gets or sets a value indicating whether binary data reading should be compatible with incorrect Json.NET 3.5 written binary. + + + true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. + + + + + Gets or sets a value indicating whether the root object will be read as a JSON array. + + + true if the root object will be read as a JSON array; otherwise, false. + + + + + Gets or sets the used when reading values from BSON. + + The used when reading values from BSON. + + + + Initializes a new instance of the class. + + The containing the BSON data to read. + + + + Initializes a new instance of the class. + + The containing the BSON data to read. + + + + Initializes a new instance of the class. + + The containing the BSON data to read. + if set to true the root object will be read as a JSON array. + The used when reading values from BSON. + + + + Initializes a new instance of the class. + + The containing the BSON data to read. + if set to true the root object will be read as a JSON array. + The used when reading values from BSON. + + + + Reads the next JSON token from the underlying . + + + true if the next token was read successfully; false if there are no more tokens to read. + + + + + Changes the reader's state to . + If is set to true, the underlying is also closed. + + + + + Represents a writer that provides a fast, non-cached, forward-only way of generating BSON data. + + + + + Gets or sets the used when writing values to BSON. + When set to no conversion will occur. + + The used when writing values to BSON. + + + + Initializes a new instance of the class. + + The to write to. + + + + Initializes a new instance of the class. + + The to write to. + + + + Flushes whatever is in the buffer to the underlying and also flushes the underlying stream. + + + + + Writes the end. + + The token. + + + + Writes a comment /*...*/ containing the specified text. + + Text to place inside the comment. + + + + Writes the start of a constructor with the given name. + + The name of the constructor. + + + + Writes raw JSON. + + The raw JSON to write. + + + + Writes raw JSON where a value is expected and updates the writer's state. + + The raw JSON to write. + + + + Writes the beginning of a JSON array. + + + + + Writes the beginning of a JSON object. + + + + + Writes the property name of a name/value pair on a JSON object. + + The name of the property. + + + + Closes this writer. + If is set to true, the underlying is also closed. + If is set to true, the JSON is auto-completed. + + + + + Writes a value. + An error will raised if the value cannot be written as a single JSON token. + + The value to write. + + + + Writes a null value. + + + + + Writes an undefined value. + + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a [] value. + + The [] value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a [] value that represents a BSON object id. + + The Object ID value to write. + + + + Writes a BSON regex. + + The regex pattern. + The regex options. + + + + Specifies how constructors are used when initializing objects during deserialization by the . + + + + + First attempt to use the public default constructor, then fall back to a single parameterized constructor, then to the non-public default constructor. + + + + + Json.NET will use a non-public default constructor before falling back to a parameterized constructor. + + + + + Converts a binary value to and from a base 64 string value. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts a to and from JSON and BSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Creates a custom object. + + The object type to convert. + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Creates an object which will then be populated by the serializer. + + Type of the object. + The created object. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Gets a value indicating whether this can write JSON. + + + true if this can write JSON; otherwise, false. + + + + + Provides a base class for converting a to and from JSON. + + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts a F# discriminated union type to and from JSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts an to and from JSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Gets a value indicating whether this can write JSON. + + + true if this can write JSON; otherwise, false. + + + + + Converts a to and from the ISO 8601 date format (e.g. "2008-04-12T12:53Z"). + + + + + Gets or sets the date time styles used when converting a date to and from JSON. + + The date time styles used when converting a date to and from JSON. + + + + Gets or sets the date time format used when converting a date to and from JSON. + + The date time format used when converting a date to and from JSON. + + + + Gets or sets the culture used when converting a date to and from JSON. + + The culture used when converting a date to and from JSON. + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Converts a to and from a JavaScript Date constructor (e.g. new Date(52231943)). + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing property value of the JSON that is being converted. + The calling serializer. + The object value. + + + + Converts a to and from JSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts a to and from JSON and BSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts an to and from its name string value. + + + + + Gets or sets a value indicating whether the written enum text should be camel case. + + true if the written enum text will be camel case; otherwise, false. + + + + Gets or sets a value indicating whether integer values are allowed when deserializing. + + true if integers are allowed when deserializing; otherwise, false. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + true if the written enum text will be camel case; otherwise, false. + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts a to and from a string (e.g. "1.2.3.4"). + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing property value of the JSON that is being converted. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts XML to and from JSON. + + + + + Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produced multiple root elements. + + The name of the deserialized root element. + + + + Gets or sets a flag to indicate whether to write the Json.NET array attribute. + This attribute helps preserve arrays when converting the written XML back to JSON. + + true if the array attribute is written to the XML; otherwise, false. + + + + Gets or sets a value indicating whether to write the root JSON object. + + true if the JSON root object is omitted; otherwise, false. + + + + Writes the JSON representation of the object. + + The to write to. + The calling serializer. + The value. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Checks if the is a namespace attribute. + + Attribute name to test. + The attribute name prefix if it has one, otherwise an empty string. + true if attribute name is for a namespace attribute, otherwise false. + + + + Determines whether this instance can convert the specified value type. + + Type of the value. + + true if this instance can convert the specified value type; otherwise, false. + + + + + Specifies how dates are formatted when writing JSON text. + + + + + Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". + + + + + Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". + + + + + Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. + + + + + Date formatted strings are not parsed to a date type and are read as strings. + + + + + Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . + + + + + Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . + + + + + Specifies how to treat the time value when converting between string and . + + + + + Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time. + + + + + Treat as a UTC. If the object represents a local time, it is converted to a UTC. + + + + + Treat as a local time if a is being converted to a string. + If a string is being converted to , convert to a local time if a time zone is specified. + + + + + Time zone information should be preserved when converting. + + + + + Specifies default value handling options for the . + + + + + + + + + Include members where the member value is the same as the member's default value when serializing objects. + Included members are written to JSON. Has no effect when deserializing. + + + + + Ignore members where the member value is the same as the member's default value when serializing objects + so that it is not written to JSON. + This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, + decimals and floating point numbers; and false for booleans). The default value ignored can be changed by + placing the on the property. + + + + + Members with a default value but no JSON will be set to their default value when deserializing. + + + + + Ignore members where the member value is the same as the member's default value when serializing objects + and set members to their default value when deserializing. + + + + + Specifies float format handling options when writing special floating point numbers, e.g. , + and with . + + + + + Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". + + + + + Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. + Note that this will produce non-valid JSON. + + + + + Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a of property. + + + + + Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + + + + + Floating point numbers are parsed to . + + + + + Floating point numbers are parsed to . + + + + + Specifies formatting options for the . + + + + + No special formatting is applied. This is the default. + + + + + Causes child objects to be indented according to the and settings. + + + + + Provides an interface for using pooled arrays. + + The array type content. + + + + Rent an array from the pool. This array must be returned when it is no longer needed. + + The minimum required length of the array. The returned array may be longer. + The rented array from the pool. This array must be returned when it is no longer needed. + + + + Return an array to the pool. + + The array that is being returned. + + + + Provides an interface to enable a class to return line and position information. + + + + + Gets a value indicating whether the class can return line information. + + + true if and can be provided; otherwise, false. + + + + + Gets the current line number. + + The current line number or 0 if no line information is available (for example, when returns false). + + + + Gets the current line position. + + The current line position or 0 if no line information is available (for example, when returns false). + + + + Instructs the how to serialize the collection. + + + + + Gets or sets a value indicating whether null items are allowed in the collection. + + true if null items are allowed in the collection; otherwise, false. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with a flag indicating whether the array can contain null items. + + A flag indicating whether the array can contain null items. + + + + Initializes a new instance of the class with the specified container Id. + + The container Id. + + + + Instructs the to use the specified constructor when deserializing that object. + + + + + Instructs the how to serialize the object. + + + + + Gets or sets the id. + + The id. + + + + Gets or sets the title. + + The title. + + + + Gets or sets the description. + + The description. + + + + Gets or sets the collection's items converter. + + The collection's items converter. + + + + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, + order, and type of these parameters. + + + + [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] + + + + + + Gets or sets the of the . + + The of the . + + + + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, + order, and type of these parameters. + + + + [JsonContainer(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] + + + + + + Gets or sets a value that indicates whether to preserve object references. + + + true to keep object reference; otherwise, false. The default is false. + + + + + Gets or sets a value that indicates whether to preserve collection's items references. + + + true to keep collection's items object references; otherwise, false. The default is false. + + + + + Gets or sets the reference loop handling used when serializing the collection's items. + + The reference loop handling. + + + + Gets or sets the type name handling used when serializing the collection's items. + + The type name handling. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with the specified container Id. + + The container Id. + + + + Provides methods for converting between .NET types and JSON types. + + + + + + + + Gets or sets a function that creates default . + Default settings are automatically used by serialization methods on , + and and on . + To serialize without using any default settings create a with + . + + + + + Represents JavaScript's boolean value true as a string. This field is read-only. + + + + + Represents JavaScript's boolean value false as a string. This field is read-only. + + + + + Represents JavaScript's null as a string. This field is read-only. + + + + + Represents JavaScript's undefined as a string. This field is read-only. + + + + + Represents JavaScript's positive infinity as a string. This field is read-only. + + + + + Represents JavaScript's negative infinity as a string. This field is read-only. + + + + + Represents JavaScript's NaN as a string. This field is read-only. + + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation using the specified. + + The value to convert. + The format the date will be converted to. + The time zone handling when the date is converted to a string. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation using the specified. + + The value to convert. + The format the date will be converted to. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + The string delimiter character. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + The string delimiter character. + The string escape handling. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Serializes the specified object to a JSON string. + + The object to serialize. + A JSON string representation of the object. + + + + Serializes the specified object to a JSON string using formatting. + + The object to serialize. + Indicates how the output should be formatted. + + A JSON string representation of the object. + + + + + Serializes the specified object to a JSON string using a collection of . + + The object to serialize. + A collection of converters used while serializing. + A JSON string representation of the object. + + + + Serializes the specified object to a JSON string using formatting and a collection of . + + The object to serialize. + Indicates how the output should be formatted. + A collection of converters used while serializing. + A JSON string representation of the object. + + + + Serializes the specified object to a JSON string using . + + The object to serialize. + The used to serialize the object. + If this is null, default serialization settings will be used. + + A JSON string representation of the object. + + + + + Serializes the specified object to a JSON string using a type, formatting and . + + The object to serialize. + The used to serialize the object. + If this is null, default serialization settings will be used. + + The type of the value being serialized. + This parameter is used when is to write out the type name if the type of the value does not match. + Specifying the type is optional. + + + A JSON string representation of the object. + + + + + Serializes the specified object to a JSON string using formatting and . + + The object to serialize. + Indicates how the output should be formatted. + The used to serialize the object. + If this is null, default serialization settings will be used. + + A JSON string representation of the object. + + + + + Serializes the specified object to a JSON string using a type, formatting and . + + The object to serialize. + Indicates how the output should be formatted. + The used to serialize the object. + If this is null, default serialization settings will be used. + + The type of the value being serialized. + This parameter is used when is to write out the type name if the type of the value does not match. + Specifying the type is optional. + + + A JSON string representation of the object. + + + + + Deserializes the JSON to a .NET object. + + The JSON to deserialize. + The deserialized object from the JSON string. + + + + Deserializes the JSON to a .NET object using . + + The JSON to deserialize. + + The used to deserialize the object. + If this is null, default serialization settings will be used. + + The deserialized object from the JSON string. + + + + Deserializes the JSON to the specified .NET type. + + The JSON to deserialize. + The of object being deserialized. + The deserialized object from the JSON string. + + + + Deserializes the JSON to the specified .NET type. + + The type of the object to deserialize to. + The JSON to deserialize. + The deserialized object from the JSON string. + + + + Deserializes the JSON to the given anonymous type. + + + The anonymous type to deserialize to. This can't be specified + traditionally and must be inferred from the anonymous type passed + as a parameter. + + The JSON to deserialize. + The anonymous type object. + The deserialized anonymous type from the JSON string. + + + + Deserializes the JSON to the given anonymous type using . + + + The anonymous type to deserialize to. This can't be specified + traditionally and must be inferred from the anonymous type passed + as a parameter. + + The JSON to deserialize. + The anonymous type object. + + The used to deserialize the object. + If this is null, default serialization settings will be used. + + The deserialized anonymous type from the JSON string. + + + + Deserializes the JSON to the specified .NET type using a collection of . + + The type of the object to deserialize to. + The JSON to deserialize. + Converters to use while deserializing. + The deserialized object from the JSON string. + + + + Deserializes the JSON to the specified .NET type using . + + The type of the object to deserialize to. + The object to deserialize. + + The used to deserialize the object. + If this is null, default serialization settings will be used. + + The deserialized object from the JSON string. + + + + Deserializes the JSON to the specified .NET type using a collection of . + + The JSON to deserialize. + The type of the object to deserialize. + Converters to use while deserializing. + The deserialized object from the JSON string. + + + + Deserializes the JSON to the specified .NET type using . + + The JSON to deserialize. + The type of the object to deserialize to. + + The used to deserialize the object. + If this is null, default serialization settings will be used. + + The deserialized object from the JSON string. + + + + Populates the object with values from the JSON string. + + The JSON to populate values from. + The target object to populate values onto. + + + + Populates the object with values from the JSON string using . + + The JSON to populate values from. + The target object to populate values onto. + + The used to deserialize the object. + If this is null, default serialization settings will be used. + + + + + Serializes the to a JSON string. + + The node to convert to JSON. + A JSON string of the . + + + + Serializes the to a JSON string using formatting. + + The node to convert to JSON. + Indicates how the output should be formatted. + A JSON string of the . + + + + Serializes the to a JSON string using formatting and omits the root object if is true. + + The node to serialize. + Indicates how the output should be formatted. + Omits writing the root object. + A JSON string of the . + + + + Deserializes the from a JSON string. + + The JSON string. + The deserialized . + + + + Deserializes the from a JSON string nested in a root element specified by . + + The JSON string. + The name of the root element to append when deserializing. + The deserialized . + + + + Deserializes the from a JSON string nested in a root element specified by + and writes a Json.NET array attribute for collections. + + The JSON string. + The name of the root element to append when deserializing. + + A flag to indicate whether to write the Json.NET array attribute. + This attribute helps preserve arrays when converting the written XML back to JSON. + + The deserialized . + + + + Converts an object to and from JSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Gets a value indicating whether this can read JSON. + + true if this can read JSON; otherwise, false. + + + + Gets a value indicating whether this can write JSON. + + true if this can write JSON; otherwise, false. + + + + Instructs the to use the specified when serializing the member or class. + + + + + Gets the of the . + + The of the . + + + + The parameter list to use when constructing the described by . + If null, the default constructor is used. + + + + + Initializes a new instance of the class. + + Type of the . + + + + Initializes a new instance of the class. + + Type of the . + Parameter list to use when constructing the . Can be null. + + + + Represents a collection of . + + + + + Instructs the how to serialize the collection. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with the specified container Id. + + The container Id. + + + + The exception thrown when an error occurs during JSON serialization or deserialization. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class + with a specified error message. + + The error message that explains the reason for the exception. + + + + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Instructs the to deserialize properties with no matching class member into the specified collection + and write values during serialization. + + + + + Gets or sets a value that indicates whether to write extension data when serializing the object. + + + true to write extension data when serializing the object; otherwise, false. The default is true. + + + + + Gets or sets a value that indicates whether to read extension data when deserializing the object. + + + true to read extension data when deserializing the object; otherwise, false. The default is true. + + + + + Initializes a new instance of the class. + + + + + Instructs the not to serialize the public field or public read/write property value. + + + + + Instructs the how to serialize the object. + + + + + Gets or sets the member serialization. + + The member serialization. + + + + Gets or sets a value that indicates whether the object's properties are required. + + + A value indicating whether the object's properties are required. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with the specified member serialization. + + The member serialization. + + + + Initializes a new instance of the class with the specified container Id. + + The container Id. + + + + Instructs the to always serialize the member with the specified name. + + + + + Gets or sets the used when serializing the property's collection items. + + The collection's items . + + + + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, + order, and type of these parameters. + + + + [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] + + + + + + Gets or sets the of the . + + The of the . + + + + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, + order, and type of these parameters. + + + + [JsonProperty(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] + + + + + + Gets or sets the null value handling used when serializing this property. + + The null value handling. + + + + Gets or sets the default value handling used when serializing this property. + + The default value handling. + + + + Gets or sets the reference loop handling used when serializing this property. + + The reference loop handling. + + + + Gets or sets the object creation handling used when deserializing this property. + + The object creation handling. + + + + Gets or sets the type name handling used when serializing this property. + + The type name handling. + + + + Gets or sets whether this property's value is serialized as a reference. + + Whether this property's value is serialized as a reference. + + + + Gets or sets the order of serialization of a member. + + The numeric order of serialization. + + + + Gets or sets a value indicating whether this property is required. + + + A value indicating whether this property is required. + + + + + Gets or sets the name of the property. + + The name of the property. + + + + Gets or sets the reference loop handling used when serializing the property's collection items. + + The collection's items reference loop handling. + + + + Gets or sets the type name handling used when serializing the property's collection items. + + The collection's items type name handling. + + + + Gets or sets whether this property's collection items are serialized as a reference. + + Whether this property's collection items are serialized as a reference. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with the specified name. + + Name of the property. + + + + Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. + + + + + Asynchronously reads the next JSON token from the source. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns true if the next token was read successfully; false if there are no more tokens to read. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously skips the children of the current token. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a []. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the []. This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Specifies the state of the reader. + + + + + A read method has not been called. + + + + + The end of the file has been reached successfully. + + + + + Reader is at a property. + + + + + Reader is at the start of an object. + + + + + Reader is in an object. + + + + + Reader is at the start of an array. + + + + + Reader is in an array. + + + + + The method has been called. + + + + + Reader has just read a value. + + + + + Reader is at the start of a constructor. + + + + + Reader is in a constructor. + + + + + An error occurred that prevents the read operation from continuing. + + + + + The end of the file has been reached successfully. + + + + + Gets the current reader state. + + The current reader state. + + + + Gets or sets a value indicating whether the source should be closed when this reader is closed. + + + true to close the source when this reader is closed; otherwise false. The default is true. + + + + + Gets or sets a value indicating whether multiple pieces of JSON content can + be read from a continuous stream without erroring. + + + true to support reading multiple pieces of JSON content; otherwise false. + The default is false. + + + + + Gets the quotation mark character used to enclose the value of a string. + + + + + Gets or sets how time zones are handled when reading JSON. + + + + + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + + + + + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + + + + + Gets or sets how custom date formatted strings are parsed when reading JSON. + + + + + Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + + + + + Gets the type of the current JSON token. + + + + + Gets the text value of the current JSON token. + + + + + Gets the .NET type for the current JSON token. + + + + + Gets the depth of the current token in the JSON document. + + The depth of the current token in the JSON document. + + + + Gets the path of the current JSON token. + + + + + Gets or sets the culture used when reading JSON. Defaults to . + + + + + Initializes a new instance of the class. + + + + + Reads the next JSON token from the source. + + true if the next token was read successfully; false if there are no more tokens to read. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a . + + A . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a []. + + A [] or null if the next JSON token is null. This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Skips the children of the current token. + + + + + Sets the current token. + + The new token. + + + + Sets the current token and value. + + The new token. + The value. + + + + Sets the current token and value. + + The new token. + The value. + A flag indicating whether the position index inside an array should be updated. + + + + Sets the state based on current token type. + + + + + Releases unmanaged and - optionally - managed resources. + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Changes the reader's state to . + If is set to true, the source is also closed. + + + + + The exception thrown when an error occurs while reading JSON text. + + + + + Gets the line number indicating where the error occurred. + + The line number indicating where the error occurred. + + + + Gets the line position indicating where the error occurred. + + The line position indicating where the error occurred. + + + + Gets the path to the JSON where the error occurred. + + The path to the JSON where the error occurred. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class + with a specified error message. + + The error message that explains the reason for the exception. + + + + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Initializes a new instance of the class + with a specified error message, JSON path, line number, line position, and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The path to the JSON where the error occurred. + The line number indicating where the error occurred. + The line position indicating where the error occurred. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Instructs the to always serialize the member, and to require that the member has a value. + + + + + The exception thrown when an error occurs during JSON serialization or deserialization. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class + with a specified error message. + + The error message that explains the reason for the exception. + + + + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Serializes and deserializes objects into and from the JSON format. + The enables you to control how objects are encoded into JSON. + + + + + Occurs when the errors during serialization and deserialization. + + + + + Gets or sets the used by the serializer when resolving references. + + + + + Gets or sets the used by the serializer when resolving type names. + + + + + Gets or sets the used by the serializer when resolving type names. + + + + + Gets or sets the used by the serializer when writing trace messages. + + The trace writer. + + + + Gets or sets the equality comparer used by the serializer when comparing references. + + The equality comparer. + + + + Gets or sets how type name writing and reading is handled by the serializer. + + + should be used with caution when your application deserializes JSON from an external source. + Incoming types should be validated with a custom + when deserializing with a value other than . + + + + + Gets or sets how a type name assembly is written and resolved by the serializer. + + The type name assembly format. + + + + Gets or sets how a type name assembly is written and resolved by the serializer. + + The type name assembly format. + + + + Gets or sets how object references are preserved by the serializer. + + + + + Gets or sets how reference loops (e.g. a class referencing itself) is handled. + + + + + Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. + + + + + Gets or sets how null values are handled during serialization and deserialization. + + + + + Gets or sets how default values are handled during serialization and deserialization. + + + + + Gets or sets how objects are created during deserialization. + + The object creation handling. + + + + Gets or sets how constructors are used during deserialization. + + The constructor handling. + + + + Gets or sets how metadata properties are used during deserialization. + + The metadata properties handling. + + + + Gets a collection that will be used during serialization. + + Collection that will be used during serialization. + + + + Gets or sets the contract resolver used by the serializer when + serializing .NET objects to JSON and vice versa. + + + + + Gets or sets the used by the serializer when invoking serialization callback methods. + + The context. + + + + Indicates how JSON text output is formatted. + + + + + Gets or sets how dates are written to JSON text. + + + + + Gets or sets how time zones are handled during serialization and deserialization. + + + + + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + + + + + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + + + + + Gets or sets how special floating point numbers, e.g. , + and , + are written as JSON text. + + + + + Gets or sets how strings are escaped when writing JSON text. + + + + + Gets or sets how and values are formatted when writing JSON text, + and the expected date format when reading JSON text. + + + + + Gets or sets the culture used when reading JSON. Defaults to . + + + + + Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + + + + + Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. + + + true if there will be a check for additional JSON content after deserializing an object; otherwise, false. + + + + + Initializes a new instance of the class. + + + + + Creates a new instance. + The will not use default settings + from . + + + A new instance. + The will not use default settings + from . + + + + + Creates a new instance using the specified . + The will not use default settings + from . + + The settings to be applied to the . + + A new instance using the specified . + The will not use default settings + from . + + + + + Creates a new instance. + The will use default settings + from . + + + A new instance. + The will use default settings + from . + + + + + Creates a new instance using the specified . + The will use default settings + from as well as the specified . + + The settings to be applied to the . + + A new instance using the specified . + The will use default settings + from as well as the specified . + + + + + Populates the JSON values onto the target object. + + The that contains the JSON structure to reader values from. + The target object to populate values onto. + + + + Populates the JSON values onto the target object. + + The that contains the JSON structure to reader values from. + The target object to populate values onto. + + + + Deserializes the JSON structure contained by the specified . + + The that contains the JSON structure to deserialize. + The being deserialized. + + + + Deserializes the JSON structure contained by the specified + into an instance of the specified type. + + The containing the object. + The of object being deserialized. + The instance of being deserialized. + + + + Deserializes the JSON structure contained by the specified + into an instance of the specified type. + + The containing the object. + The type of the object to deserialize. + The instance of being deserialized. + + + + Deserializes the JSON structure contained by the specified + into an instance of the specified type. + + The containing the object. + The of object being deserialized. + The instance of being deserialized. + + + + Serializes the specified and writes the JSON structure + using the specified . + + The used to write the JSON structure. + The to serialize. + + + + Serializes the specified and writes the JSON structure + using the specified . + + The used to write the JSON structure. + The to serialize. + + The type of the value being serialized. + This parameter is used when is to write out the type name if the type of the value does not match. + Specifying the type is optional. + + + + + Serializes the specified and writes the JSON structure + using the specified . + + The used to write the JSON structure. + The to serialize. + + The type of the value being serialized. + This parameter is used when is Auto to write out the type name if the type of the value does not match. + Specifying the type is optional. + + + + + Serializes the specified and writes the JSON structure + using the specified . + + The used to write the JSON structure. + The to serialize. + + + + Specifies the settings on a object. + + + + + Gets or sets how reference loops (e.g. a class referencing itself) are handled. + + Reference loop handling. + + + + Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. + + Missing member handling. + + + + Gets or sets how objects are created during deserialization. + + The object creation handling. + + + + Gets or sets how null values are handled during serialization and deserialization. + + Null value handling. + + + + Gets or sets how default values are handled during serialization and deserialization. + + The default value handling. + + + + Gets or sets a collection that will be used during serialization. + + The converters. + + + + Gets or sets how object references are preserved by the serializer. + + The preserve references handling. + + + + Gets or sets how type name writing and reading is handled by the serializer. + + + should be used with caution when your application deserializes JSON from an external source. + Incoming types should be validated with a custom + when deserializing with a value other than . + + The type name handling. + + + + Gets or sets how metadata properties are used during deserialization. + + The metadata properties handling. + + + + Gets or sets how a type name assembly is written and resolved by the serializer. + + The type name assembly format. + + + + Gets or sets how a type name assembly is written and resolved by the serializer. + + The type name assembly format. + + + + Gets or sets how constructors are used during deserialization. + + The constructor handling. + + + + Gets or sets the contract resolver used by the serializer when + serializing .NET objects to JSON and vice versa. + + The contract resolver. + + + + Gets or sets the equality comparer used by the serializer when comparing references. + + The equality comparer. + + + + Gets or sets the used by the serializer when resolving references. + + The reference resolver. + + + + Gets or sets a function that creates the used by the serializer when resolving references. + + A function that creates the used by the serializer when resolving references. + + + + Gets or sets the used by the serializer when writing trace messages. + + The trace writer. + + + + Gets or sets the used by the serializer when resolving type names. + + The binder. + + + + Gets or sets the used by the serializer when resolving type names. + + The binder. + + + + Gets or sets the error handler called during serialization and deserialization. + + The error handler called during serialization and deserialization. + + + + Gets or sets the used by the serializer when invoking serialization callback methods. + + The context. + + + + Gets or sets how and values are formatted when writing JSON text, + and the expected date format when reading JSON text. + + + + + Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + + + + + Indicates how JSON text output is formatted. + + + + + Gets or sets how dates are written to JSON text. + + + + + Gets or sets how time zones are handled during serialization and deserialization. + + + + + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + + + + + Gets or sets how special floating point numbers, e.g. , + and , + are written as JSON. + + + + + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + + + + + Gets or sets how strings are escaped when writing JSON text. + + + + + Gets or sets the culture used when reading JSON. Defaults to . + + + + + Gets a value indicating whether there will be a check for additional content after deserializing an object. + + + true if there will be a check for additional content after deserializing an object; otherwise, false. + + + + + Initializes a new instance of the class. + + + + + Represents a reader that provides fast, non-cached, forward-only access to JSON text data. + + + + + Asynchronously reads the next JSON token from the source. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns true if the next token was read successfully; false if there are no more tokens to read. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a []. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the []. This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Initializes a new instance of the class with the specified . + + The containing the JSON data to read. + + + + Gets or sets the reader's character buffer pool. + + + + + Reads the next JSON token from the underlying . + + + true if the next token was read successfully; false if there are no more tokens to read. + + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a . + + A . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a []. + + A [] or null if the next JSON token is null. This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Changes the reader's state to . + If is set to true, the underlying is also closed. + + + + + Gets a value indicating whether the class can return line information. + + + true if and can be provided; otherwise, false. + + + + + Gets the current line number. + + + The current line number or 0 if no line information is available (for example, returns false). + + + + + Gets the current line position. + + + The current line position or 0 if no line information is available (for example, returns false). + + + + + Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. + + + + + Asynchronously flushes whatever is in the buffer to the destination and also flushes the destination. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the JSON value delimiter. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the specified end token. + + The end token to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously closes this writer. + If is set to true, the destination is also closed. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the end of the current JSON object or array. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes indent characters. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes an indent space. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes raw JSON without changing the writer's state. + + The raw JSON to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a null value. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the property name of a name/value pair of a JSON object. + + The name of the property. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the property name of a name/value pair of a JSON object. + + The name of the property. + A flag to indicate whether the text should be escaped when it is written as a JSON property name. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the beginning of a JSON array. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the beginning of a JSON object. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the start of a constructor with the given name. + + The name of the constructor. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes an undefined value. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the given white space. + + The string of white space characters. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a [] value. + + The [] value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a comment /*...*/ containing the specified text. + + Text to place inside the comment. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the end of an array. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the end of a constructor. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the end of a JSON object. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes raw JSON where a value is expected and updates the writer's state. + + The raw JSON to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Gets or sets the writer's character array pool. + + + + + Gets or sets how many s to write for each level in the hierarchy when is set to . + + + + + Gets or sets which character to use to quote attribute values. + + + + + Gets or sets which character to use for indenting when is set to . + + + + + Gets or sets a value indicating whether object names will be surrounded with quotes. + + + + + Initializes a new instance of the class using the specified . + + The to write to. + + + + Flushes whatever is in the buffer to the underlying and also flushes the underlying . + + + + + Closes this writer. + If is set to true, the underlying is also closed. + If is set to true, the JSON is auto-completed. + + + + + Writes the beginning of a JSON object. + + + + + Writes the beginning of a JSON array. + + + + + Writes the start of a constructor with the given name. + + The name of the constructor. + + + + Writes the specified end token. + + The end token to write. + + + + Writes the property name of a name/value pair on a JSON object. + + The name of the property. + + + + Writes the property name of a name/value pair on a JSON object. + + The name of the property. + A flag to indicate whether the text should be escaped when it is written as a JSON property name. + + + + Writes indent characters. + + + + + Writes the JSON value delimiter. + + + + + Writes an indent space. + + + + + Writes a value. + An error will raised if the value cannot be written as a single JSON token. + + The value to write. + + + + Writes a null value. + + + + + Writes an undefined value. + + + + + Writes raw JSON. + + The raw JSON to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a value. + + The value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a [] value. + + The [] value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a comment /*...*/ containing the specified text. + + Text to place inside the comment. + + + + Writes the given white space. + + The string of white space characters. + + + + Specifies the type of JSON token. + + + + + This is returned by the if a read method has not been called. + + + + + An object start token. + + + + + An array start token. + + + + + A constructor start token. + + + + + An object property name. + + + + + A comment. + + + + + Raw JSON. + + + + + An integer. + + + + + A float. + + + + + A string. + + + + + A boolean. + + + + + A null token. + + + + + An undefined token. + + + + + An object end token. + + + + + An array end token. + + + + + A constructor end token. + + + + + A Date. + + + + + Byte data. + + + + + + Represents a reader that provides validation. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Sets an event handler for receiving schema validation errors. + + + + + Gets the text value of the current JSON token. + + + + + + Gets the depth of the current token in the JSON document. + + The depth of the current token in the JSON document. + + + + Gets the path of the current JSON token. + + + + + Gets the quotation mark character used to enclose the value of a string. + + + + + + Gets the type of the current JSON token. + + + + + + Gets the .NET type for the current JSON token. + + + + + + Initializes a new instance of the class that + validates the content returned from the given . + + The to read from while validating. + + + + Gets or sets the schema. + + The schema. + + + + Gets the used to construct this . + + The specified in the constructor. + + + + Changes the reader's state to . + If is set to true, the underlying is also closed. + + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying as a []. + + + A [] or null if the next JSON token is null. + + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying as a . + + A . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying . + + + true if the next token was read successfully; false if there are no more tokens to read. + + + + + Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. + + + + + Asynchronously closes this writer. + If is set to true, the destination is also closed. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously flushes whatever is in the buffer to the destination and also flushes the destination. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the specified end token. + + The end token to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes indent characters. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the JSON value delimiter. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes an indent space. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes raw JSON without changing the writer's state. + + The raw JSON to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the end of the current JSON object or array. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the end of an array. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the end of a constructor. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the end of a JSON object. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a null value. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the property name of a name/value pair of a JSON object. + + The name of the property. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the property name of a name/value pair of a JSON object. + + The name of the property. + A flag to indicate whether the text should be escaped when it is written as a JSON property name. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the beginning of a JSON array. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a comment /*...*/ containing the specified text. + + Text to place inside the comment. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes raw JSON where a value is expected and updates the writer's state. + + The raw JSON to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the start of a constructor with the given name. + + The name of the constructor. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the beginning of a JSON object. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the current token. + + The to read the token from. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the current token. + + The to read the token from. + A flag indicating whether the current token's children should be written. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the token and its value. + + The to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the token and its value. + + The to write. + + The value to write. + A value is only required for tokens that have an associated value, e.g. the property name for . + null can be passed to the method for tokens that don't have a value, e.g. . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a [] value. + + The [] value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes an undefined value. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the given white space. + + The string of white space characters. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously ets the state of the . + + The being written. + The value being written. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Gets or sets a value indicating whether the destination should be closed when this writer is closed. + + + true to close the destination when this writer is closed; otherwise false. The default is true. + + + + + Gets or sets a value indicating whether the JSON should be auto-completed when this writer is closed. + + + true to auto-complete the JSON when this writer is closed; otherwise false. The default is true. + + + + + Gets the top. + + The top. + + + + Gets the state of the writer. + + + + + Gets the path of the writer. + + + + + Gets or sets a value indicating how JSON text output should be formatted. + + + + + Gets or sets how dates are written to JSON text. + + + + + Gets or sets how time zones are handled when writing JSON text. + + + + + Gets or sets how strings are escaped when writing JSON text. + + + + + Gets or sets how special floating point numbers, e.g. , + and , + are written to JSON text. + + + + + Gets or sets how and values are formatted when writing JSON text. + + + + + Gets or sets the culture used when writing JSON. Defaults to . + + + + + Initializes a new instance of the class. + + + + + Flushes whatever is in the buffer to the destination and also flushes the destination. + + + + + Closes this writer. + If is set to true, the destination is also closed. + If is set to true, the JSON is auto-completed. + + + + + Writes the beginning of a JSON object. + + + + + Writes the end of a JSON object. + + + + + Writes the beginning of a JSON array. + + + + + Writes the end of an array. + + + + + Writes the start of a constructor with the given name. + + The name of the constructor. + + + + Writes the end constructor. + + + + + Writes the property name of a name/value pair of a JSON object. + + The name of the property. + + + + Writes the property name of a name/value pair of a JSON object. + + The name of the property. + A flag to indicate whether the text should be escaped when it is written as a JSON property name. + + + + Writes the end of the current JSON object or array. + + + + + Writes the current token and its children. + + The to read the token from. + + + + Writes the current token. + + The to read the token from. + A flag indicating whether the current token's children should be written. + + + + Writes the token and its value. + + The to write. + + The value to write. + A value is only required for tokens that have an associated value, e.g. the property name for . + null can be passed to the method for tokens that don't have a value, e.g. . + + + + + Writes the token. + + The to write. + + + + Writes the specified end token. + + The end token to write. + + + + Writes indent characters. + + + + + Writes the JSON value delimiter. + + + + + Writes an indent space. + + + + + Writes a null value. + + + + + Writes an undefined value. + + + + + Writes raw JSON without changing the writer's state. + + The raw JSON to write. + + + + Writes raw JSON where a value is expected and updates the writer's state. + + The raw JSON to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a [] value. + + The [] value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + An error will raised if the value cannot be written as a single JSON token. + + The value to write. + + + + Writes a comment /*...*/ containing the specified text. + + Text to place inside the comment. + + + + Writes the given white space. + + The string of white space characters. + + + + Releases unmanaged and - optionally - managed resources. + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Sets the state of the . + + The being written. + The value being written. + + + + The exception thrown when an error occurs while writing JSON text. + + + + + Gets the path to the JSON where the error occurred. + + The path to the JSON where the error occurred. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class + with a specified error message. + + The error message that explains the reason for the exception. + + + + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Initializes a new instance of the class + with a specified error message, JSON path and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The path to the JSON where the error occurred. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Specifies how JSON comments are handled when loading JSON. + + + + + Ignore comments. + + + + + Load comments as a with type . + + + + + Specifies how line information is handled when loading JSON. + + + + + Ignore line information. + + + + + Load line information. + + + + + Contains the LINQ to JSON extension methods. + + + + + Returns a collection of tokens that contains the ancestors of every token in the source collection. + + The type of the objects in source, constrained to . + An of that contains the source collection. + An of that contains the ancestors of every token in the source collection. + + + + Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. + + The type of the objects in source, constrained to . + An of that contains the source collection. + An of that contains every token in the source collection, the ancestors of every token in the source collection. + + + + Returns a collection of tokens that contains the descendants of every token in the source collection. + + The type of the objects in source, constrained to . + An of that contains the source collection. + An of that contains the descendants of every token in the source collection. + + + + Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. + + The type of the objects in source, constrained to . + An of that contains the source collection. + An of that contains every token in the source collection, and the descendants of every token in the source collection. + + + + Returns a collection of child properties of every object in the source collection. + + An of that contains the source collection. + An of that contains the properties of every object in the source collection. + + + + Returns a collection of child values of every object in the source collection with the given key. + + An of that contains the source collection. + The token key. + An of that contains the values of every token in the source collection with the given key. + + + + Returns a collection of child values of every object in the source collection. + + An of that contains the source collection. + An of that contains the values of every token in the source collection. + + + + Returns a collection of converted child values of every object in the source collection with the given key. + + The type to convert the values to. + An of that contains the source collection. + The token key. + An that contains the converted values of every token in the source collection with the given key. + + + + Returns a collection of converted child values of every object in the source collection. + + The type to convert the values to. + An of that contains the source collection. + An that contains the converted values of every token in the source collection. + + + + Converts the value. + + The type to convert the value to. + A cast as a of . + A converted value. + + + + Converts the value. + + The source collection type. + The type to convert the value to. + A cast as a of . + A converted value. + + + + Returns a collection of child tokens of every array in the source collection. + + The source collection type. + An of that contains the source collection. + An of that contains the values of every token in the source collection. + + + + Returns a collection of converted child tokens of every array in the source collection. + + An of that contains the source collection. + The type to convert the values to. + The source collection type. + An that contains the converted values of every token in the source collection. + + + + Returns the input typed as . + + An of that contains the source collection. + The input typed as . + + + + Returns the input typed as . + + The source collection type. + An of that contains the source collection. + The input typed as . + + + + Represents a collection of objects. + + The type of token. + + + + Gets the of with the specified key. + + + + + + Represents a JSON array. + + + + + + + + Writes this token to a asynchronously. + + A into which this method will write. + The token to monitor for cancellation requests. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + A representing the asynchronous load. The property contains the JSON that was read from the specified . + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + A representing the asynchronous load. The property contains the JSON that was read from the specified . + + + + Gets the container's children tokens. + + The container's children tokens. + + + + Gets the node type for this . + + The type. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Initializes a new instance of the class with the specified content. + + The contents of the array. + + + + Initializes a new instance of the class with the specified content. + + The contents of the array. + + + + Loads an from a . + + A that will be read for the content of the . + A that contains the JSON that was read from the specified . + + + + Loads an from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + A that contains the JSON that was read from the specified . + + + + Load a from a string that contains JSON. + + A that contains JSON. + A populated from the string that contains JSON. + + + + + + + Load a from a string that contains JSON. + + A that contains JSON. + The used to load the JSON. + If this is null, default load settings will be used. + A populated from the string that contains JSON. + + + + + + + Creates a from an object. + + The object that will be used to create . + A with the values of the specified object. + + + + Creates a from an object. + + The object that will be used to create . + The that will be used to read the object. + A with the values of the specified object. + + + + Writes this token to a . + + A into which this method will write. + A collection of which will be used when writing the token. + + + + Gets the with the specified key. + + The with the specified key. + + + + Gets or sets the at the specified index. + + + + + + Determines the index of a specific item in the . + + The object to locate in the . + + The index of if found in the list; otherwise, -1. + + + + + Inserts an item to the at the specified index. + + The zero-based index at which should be inserted. + The object to insert into the . + + is not a valid index in the . + + + + + Removes the item at the specified index. + + The zero-based index of the item to remove. + + is not a valid index in the . + + + + + Returns an enumerator that iterates through the collection. + + + A of that can be used to iterate through the collection. + + + + + Adds an item to the . + + The object to add to the . + + + + Removes all items from the . + + + + + Determines whether the contains a specific value. + + The object to locate in the . + + true if is found in the ; otherwise, false. + + + + + Copies the elements of the to an array, starting at a particular array index. + + The array. + Index of the array. + + + + Gets a value indicating whether the is read-only. + + true if the is read-only; otherwise, false. + + + + Removes the first occurrence of a specific object from the . + + The object to remove from the . + + true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . + + + + + Represents a JSON constructor. + + + + + Writes this token to a asynchronously. + + A into which this method will write. + The token to monitor for cancellation requests. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous load. The + property returns a that contains the JSON that was read from the specified . + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous load. The + property returns a that contains the JSON that was read from the specified . + + + + Gets the container's children tokens. + + The container's children tokens. + + + + Gets or sets the name of this constructor. + + The constructor name. + + + + Gets the node type for this . + + The type. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Initializes a new instance of the class with the specified name and content. + + The constructor name. + The contents of the constructor. + + + + Initializes a new instance of the class with the specified name and content. + + The constructor name. + The contents of the constructor. + + + + Initializes a new instance of the class with the specified name. + + The constructor name. + + + + Writes this token to a . + + A into which this method will write. + A collection of which will be used when writing the token. + + + + Gets the with the specified key. + + The with the specified key. + + + + Loads a from a . + + A that will be read for the content of the . + A that contains the JSON that was read from the specified . + + + + Loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + A that contains the JSON that was read from the specified . + + + + Represents a token that can contain other tokens. + + + + + Occurs when the items list of the collection has changed, or the collection is reset. + + + + + Gets the container's children tokens. + + The container's children tokens. + + + + Raises the event. + + The instance containing the event data. + + + + Gets a value indicating whether this token has child tokens. + + + true if this token has child values; otherwise, false. + + + + + Get the first child token of this token. + + + A containing the first child token of the . + + + + + Get the last child token of this token. + + + A containing the last child token of the . + + + + + Returns a collection of the child tokens of this token, in document order. + + + An of containing the child tokens of this , in document order. + + + + + Returns a collection of the child values of this token, in document order. + + The type to convert the values to. + + A containing the child values of this , in document order. + + + + + Returns a collection of the descendant tokens for this token in document order. + + An of containing the descendant tokens of the . + + + + Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. + + An of containing this token, and all the descendant tokens of the . + + + + Adds the specified content as children of this . + + The content to be added. + + + + Adds the specified content as the first children of this . + + The content to be added. + + + + Creates a that can be used to add tokens to the . + + A that is ready to have content written to it. + + + + Replaces the child nodes of this token with the specified content. + + The content. + + + + Removes the child nodes from this token. + + + + + Merge the specified content into this . + + The content to be merged. + + + + Merge the specified content into this using . + + The content to be merged. + The used to merge the content. + + + + Gets the count of child JSON tokens. + + The count of child JSON tokens. + + + + Represents a collection of objects. + + The type of token. + + + + An empty collection of objects. + + + + + Initializes a new instance of the struct. + + The enumerable. + + + + Returns an enumerator that can be used to iterate through the collection. + + + A that can be used to iterate through the collection. + + + + + Gets the of with the specified key. + + + + + + Determines whether the specified is equal to this instance. + + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + + + + + Determines whether the specified is equal to this instance. + + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + + + + + Returns a hash code for this instance. + + + A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. + + + + + Represents a JSON object. + + + + + + + + Writes this token to a asynchronously. + + A into which this method will write. + The token to monitor for cancellation requests. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous load. The + property returns a that contains the JSON that was read from the specified . + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous load. The + property returns a that contains the JSON that was read from the specified . + + + + Gets the container's children tokens. + + The container's children tokens. + + + + Occurs when a property value changes. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Initializes a new instance of the class with the specified content. + + The contents of the object. + + + + Initializes a new instance of the class with the specified content. + + The contents of the object. + + + + Gets the node type for this . + + The type. + + + + Gets an of of this object's properties. + + An of of this object's properties. + + + + Gets a the specified name. + + The property name. + A with the specified name or null. + + + + Gets a of of this object's property values. + + A of of this object's property values. + + + + Gets the with the specified key. + + The with the specified key. + + + + Gets or sets the with the specified property name. + + + + + + Loads a from a . + + A that will be read for the content of the . + A that contains the JSON that was read from the specified . + + is not valid JSON. + + + + + Loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + A that contains the JSON that was read from the specified . + + is not valid JSON. + + + + + Load a from a string that contains JSON. + + A that contains JSON. + A populated from the string that contains JSON. + + is not valid JSON. + + + + + + + + Load a from a string that contains JSON. + + A that contains JSON. + The used to load the JSON. + If this is null, default load settings will be used. + A populated from the string that contains JSON. + + is not valid JSON. + + + + + + + + Creates a from an object. + + The object that will be used to create . + A with the values of the specified object. + + + + Creates a from an object. + + The object that will be used to create . + The that will be used to read the object. + A with the values of the specified object. + + + + Writes this token to a . + + A into which this method will write. + A collection of which will be used when writing the token. + + + + Gets the with the specified property name. + + Name of the property. + The with the specified property name. + + + + Gets the with the specified property name. + The exact property name will be searched for first and if no matching property is found then + the will be used to match a property. + + Name of the property. + One of the enumeration values that specifies how the strings will be compared. + The with the specified property name. + + + + Tries to get the with the specified property name. + The exact property name will be searched for first and if no matching property is found then + the will be used to match a property. + + Name of the property. + The value. + One of the enumeration values that specifies how the strings will be compared. + true if a value was successfully retrieved; otherwise, false. + + + + Adds the specified property name. + + Name of the property. + The value. + + + + Removes the property with the specified name. + + Name of the property. + true if item was successfully removed; otherwise, false. + + + + Tries to get the with the specified property name. + + Name of the property. + The value. + true if a value was successfully retrieved; otherwise, false. + + + + Returns an enumerator that can be used to iterate through the collection. + + + A that can be used to iterate through the collection. + + + + + Raises the event with the provided arguments. + + Name of the property. + + + + Returns the responsible for binding operations performed on this object. + + The expression tree representation of the runtime value. + + The to bind this object. + + + + + Represents a JSON property. + + + + + Writes this token to a asynchronously. + + A into which this method will write. + The token to monitor for cancellation requests. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The token to monitor for cancellation requests. The default value is . + A representing the asynchronous creation. The + property returns a that contains the JSON that was read from the specified . + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + A representing the asynchronous creation. The + property returns a that contains the JSON that was read from the specified . + + + + Gets the container's children tokens. + + The container's children tokens. + + + + Gets the property name. + + The property name. + + + + Gets or sets the property value. + + The property value. + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Gets the node type for this . + + The type. + + + + Initializes a new instance of the class. + + The property name. + The property content. + + + + Initializes a new instance of the class. + + The property name. + The property content. + + + + Writes this token to a . + + A into which this method will write. + A collection of which will be used when writing the token. + + + + Loads a from a . + + A that will be read for the content of the . + A that contains the JSON that was read from the specified . + + + + Loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + A that contains the JSON that was read from the specified . + + + + Represents a raw JSON string. + + + + + Asynchronously creates an instance of with the content of the reader's current token. + + The reader. + The token to monitor for cancellation requests. The default value is . + A representing the asynchronous creation. The + property returns an instance of with the content of the reader's current token. + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Initializes a new instance of the class. + + The raw json. + + + + Creates an instance of with the content of the reader's current token. + + The reader. + An instance of with the content of the reader's current token. + + + + Specifies the settings used when loading JSON. + + + + + Initializes a new instance of the class. + + + + + Gets or sets how JSON comments are handled when loading JSON. + + The JSON comment handling. + + + + Gets or sets how JSON line info is handled when loading JSON. + + The JSON line info handling. + + + + Specifies the settings used when merging JSON. + + + + + Gets or sets the method used when merging JSON arrays. + + The method used when merging JSON arrays. + + + + Gets or sets how null value properties are merged. + + How null value properties are merged. + + + + Represents an abstract JSON token. + + + + + Writes this token to a asynchronously. + + A into which this method will write. + The token to monitor for cancellation requests. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Writes this token to a asynchronously. + + A into which this method will write. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Asynchronously creates a from a . + + An positioned at the token to read into this . + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous creation. The + property returns a that contains + the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Asynchronously creates a from a . + + An positioned at the token to read into this . + The used to load the JSON. + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous creation. The + property returns a that contains + the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Asynchronously creates a from a . + + A positioned at the token to read into this . + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous creation. The + property returns a that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Asynchronously creates a from a . + + A positioned at the token to read into this . + The used to load the JSON. + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous creation. The + property returns a that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Gets a comparer that can compare two tokens for value equality. + + A that can compare two nodes for value equality. + + + + Gets or sets the parent. + + The parent. + + + + Gets the root of this . + + The root of this . + + + + Gets the node type for this . + + The type. + + + + Gets a value indicating whether this token has child tokens. + + + true if this token has child values; otherwise, false. + + + + + Compares the values of two tokens, including the values of all descendant tokens. + + The first to compare. + The second to compare. + true if the tokens are equal; otherwise false. + + + + Gets the next sibling token of this node. + + The that contains the next sibling token. + + + + Gets the previous sibling token of this node. + + The that contains the previous sibling token. + + + + Gets the path of the JSON token. + + + + + Adds the specified content immediately after this token. + + A content object that contains simple content or a collection of content objects to be added after this token. + + + + Adds the specified content immediately before this token. + + A content object that contains simple content or a collection of content objects to be added before this token. + + + + Returns a collection of the ancestor tokens of this token. + + A collection of the ancestor tokens of this token. + + + + Returns a collection of tokens that contain this token, and the ancestors of this token. + + A collection of tokens that contain this token, and the ancestors of this token. + + + + Returns a collection of the sibling tokens after this token, in document order. + + A collection of the sibling tokens after this tokens, in document order. + + + + Returns a collection of the sibling tokens before this token, in document order. + + A collection of the sibling tokens before this token, in document order. + + + + Gets the with the specified key. + + The with the specified key. + + + + Gets the with the specified key converted to the specified type. + + The type to convert the token to. + The token key. + The converted token value. + + + + Get the first child token of this token. + + A containing the first child token of the . + + + + Get the last child token of this token. + + A containing the last child token of the . + + + + Returns a collection of the child tokens of this token, in document order. + + An of containing the child tokens of this , in document order. + + + + Returns a collection of the child tokens of this token, in document order, filtered by the specified type. + + The type to filter the child tokens on. + A containing the child tokens of this , in document order. + + + + Returns a collection of the child values of this token, in document order. + + The type to convert the values to. + A containing the child values of this , in document order. + + + + Removes this token from its parent. + + + + + Replaces this token with the specified token. + + The value. + + + + Writes this token to a . + + A into which this method will write. + A collection of which will be used when writing the token. + + + + Returns the indented JSON for this token. + + + The indented JSON for this token. + + + + + Returns the JSON for this token using the given formatting and converters. + + Indicates how the output should be formatted. + A collection of s which will be used when writing the token. + The JSON for this token using the given formatting and converters. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to []. + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from [] to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Creates a for this token. + + A that can be used to read this token and its descendants. + + + + Creates a from an object. + + The object that will be used to create . + A with the value of the specified object. + + + + Creates a from an object using the specified . + + The object that will be used to create . + The that will be used when reading the object. + A with the value of the specified object. + + + + Creates an instance of the specified .NET type from the . + + The object type that the token will be deserialized to. + The new object created from the JSON value. + + + + Creates an instance of the specified .NET type from the . + + The object type that the token will be deserialized to. + The new object created from the JSON value. + + + + Creates an instance of the specified .NET type from the using the specified . + + The object type that the token will be deserialized to. + The that will be used when creating the object. + The new object created from the JSON value. + + + + Creates an instance of the specified .NET type from the using the specified . + + The object type that the token will be deserialized to. + The that will be used when creating the object. + The new object created from the JSON value. + + + + Creates a from a . + + A positioned at the token to read into this . + + A that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Creates a from a . + + An positioned at the token to read into this . + The used to load the JSON. + If this is null, default load settings will be used. + + A that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Load a from a string that contains JSON. + + A that contains JSON. + A populated from the string that contains JSON. + + + + Load a from a string that contains JSON. + + A that contains JSON. + The used to load the JSON. + If this is null, default load settings will be used. + A populated from the string that contains JSON. + + + + Creates a from a . + + A positioned at the token to read into this . + The used to load the JSON. + If this is null, default load settings will be used. + + A that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Creates a from a . + + A positioned at the token to read into this . + + A that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Selects a using a JPath expression. Selects the token that matches the object path. + + + A that contains a JPath expression. + + A , or null. + + + + Selects a using a JPath expression. Selects the token that matches the object path. + + + A that contains a JPath expression. + + A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. + A . + + + + Selects a collection of elements using a JPath expression. + + + A that contains a JPath expression. + + An of that contains the selected elements. + + + + Selects a collection of elements using a JPath expression. + + + A that contains a JPath expression. + + A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. + An of that contains the selected elements. + + + + Returns the responsible for binding operations performed on this object. + + The expression tree representation of the runtime value. + + The to bind this object. + + + + + Returns the responsible for binding operations performed on this object. + + The expression tree representation of the runtime value. + + The to bind this object. + + + + + Creates a new instance of the . All child tokens are recursively cloned. + + A new instance of the . + + + + Adds an object to the annotation list of this . + + The annotation to add. + + + + Get the first annotation object of the specified type from this . + + The type of the annotation to retrieve. + The first annotation object that matches the specified type, or null if no annotation is of the specified type. + + + + Gets the first annotation object of the specified type from this . + + The of the annotation to retrieve. + The first annotation object that matches the specified type, or null if no annotation is of the specified type. + + + + Gets a collection of annotations of the specified type for this . + + The type of the annotations to retrieve. + An that contains the annotations for this . + + + + Gets a collection of annotations of the specified type for this . + + The of the annotations to retrieve. + An of that contains the annotations that match the specified type for this . + + + + Removes the annotations of the specified type from this . + + The type of annotations to remove. + + + + Removes the annotations of the specified type from this . + + The of annotations to remove. + + + + Compares tokens to determine whether they are equal. + + + + + Determines whether the specified objects are equal. + + The first object of type to compare. + The second object of type to compare. + + true if the specified objects are equal; otherwise, false. + + + + + Returns a hash code for the specified object. + + The for which a hash code is to be returned. + A hash code for the specified object. + The type of is a reference type and is null. + + + + Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. + + + + + Gets the at the reader's current position. + + + + + Initializes a new instance of the class. + + The token to read from. + + + + Reads the next JSON token from the underlying . + + + true if the next token was read successfully; false if there are no more tokens to read. + + + + + Gets the path of the current JSON token. + + + + + Specifies the type of token. + + + + + No token type has been set. + + + + + A JSON object. + + + + + A JSON array. + + + + + A JSON constructor. + + + + + A JSON object property. + + + + + A comment. + + + + + An integer value. + + + + + A float value. + + + + + A string value. + + + + + A boolean value. + + + + + A null value. + + + + + An undefined value. + + + + + A date value. + + + + + A raw JSON value. + + + + + A collection of bytes value. + + + + + A Guid value. + + + + + A Uri value. + + + + + A TimeSpan value. + + + + + Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. + + + + + Gets the at the writer's current position. + + + + + Gets the token being written. + + The token being written. + + + + Initializes a new instance of the class writing to the given . + + The container being written to. + + + + Initializes a new instance of the class. + + + + + Flushes whatever is in the buffer to the underlying . + + + + + Closes this writer. + If is set to true, the JSON is auto-completed. + + + Setting to true has no additional effect, since the underlying is a type that cannot be closed. + + + + + Writes the beginning of a JSON object. + + + + + Writes the beginning of a JSON array. + + + + + Writes the start of a constructor with the given name. + + The name of the constructor. + + + + Writes the end. + + The token. + + + + Writes the property name of a name/value pair on a JSON object. + + The name of the property. + + + + Writes a value. + An error will be raised if the value cannot be written as a single JSON token. + + The value to write. + + + + Writes a null value. + + + + + Writes an undefined value. + + + + + Writes raw JSON. + + The raw JSON to write. + + + + Writes a comment /*...*/ containing the specified text. + + Text to place inside the comment. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a [] value. + + The [] value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Represents a value in JSON (string, integer, date, etc). + + + + + Writes this token to a asynchronously. + + A into which this method will write. + The token to monitor for cancellation requests. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Gets a value indicating whether this token has child tokens. + + + true if this token has child values; otherwise, false. + + + + + Creates a comment with the given value. + + The value. + A comment with the given value. + + + + Creates a string with the given value. + + The value. + A string with the given value. + + + + Creates a null value. + + A null value. + + + + Creates a undefined value. + + A undefined value. + + + + Gets the node type for this . + + The type. + + + + Gets or sets the underlying token value. + + The underlying token value. + + + + Writes this token to a . + + A into which this method will write. + A collection of s which will be used when writing the token. + + + + Indicates whether the current object is equal to another object of the same type. + + + true if the current object is equal to the parameter; otherwise, false. + + An object to compare with this object. + + + + Determines whether the specified is equal to the current . + + The to compare with the current . + + true if the specified is equal to the current ; otherwise, false. + + + + + Serves as a hash function for a particular type. + + + A hash code for the current . + + + + + Returns a that represents this instance. + + + A that represents this instance. + + + + + Returns a that represents this instance. + + The format. + + A that represents this instance. + + + + + Returns a that represents this instance. + + The format provider. + + A that represents this instance. + + + + + Returns a that represents this instance. + + The format. + The format provider. + + A that represents this instance. + + + + + Returns the responsible for binding operations performed on this object. + + The expression tree representation of the runtime value. + + The to bind this object. + + + + + Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. + + An object to compare with this instance. + + A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: + Value + Meaning + Less than zero + This instance is less than . + Zero + This instance is equal to . + Greater than zero + This instance is greater than . + + + is not of the same type as this instance. + + + + + Specifies how JSON arrays are merged together. + + + + Concatenate arrays. + + + Union arrays, skipping items that already exist. + + + Replace all array items. + + + Merge array items together, matched by index. + + + + Specifies how null value properties are merged. + + + + + The content's null value properties will be ignored during merging. + + + + + The content's null value properties will be merged. + + + + + Specifies the member serialization options for the . + + + + + All public members are serialized by default. Members can be excluded using or . + This is the default member serialization mode. + + + + + Only members marked with or are serialized. + This member serialization mode can also be set by marking the class with . + + + + + All public and private fields are serialized. Members can be excluded using or . + This member serialization mode can also be set by marking the class with + and setting IgnoreSerializableAttribute on to false. + + + + + Specifies metadata property handling options for the . + + + + + Read metadata properties located at the start of a JSON object. + + + + + Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. + + + + + Do not try to read metadata properties. + + + + + Specifies missing member handling options for the . + + + + + Ignore a missing member and do not attempt to deserialize it. + + + + + Throw a when a missing member is encountered during deserialization. + + + + + Specifies null value handling options for the . + + + + + + + + + Include null values when serializing and deserializing objects. + + + + + Ignore null values when serializing and deserializing objects. + + + + + Specifies how object creation is handled by the . + + + + + Reuse existing objects, create new objects when needed. + + + + + Only reuse existing objects. + + + + + Always create new objects. + + + + + Specifies reference handling options for the . + Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement . + + + + + + + + Do not preserve references when serializing types. + + + + + Preserve references when serializing into a JSON object structure. + + + + + Preserve references when serializing into a JSON array structure. + + + + + Preserve references when serializing. + + + + + Specifies reference loop handling options for the . + + + + + Throw a when a loop is encountered. + + + + + Ignore loop references and do not serialize. + + + + + Serialize loop references. + + + + + Indicating whether a property is required. + + + + + The property is not required. The default state. + + + + + The property must be defined in JSON but can be a null value. + + + + + The property must be defined in JSON and cannot be a null value. + + + + + The property is not required but it cannot be a null value. + + + + + + Contains the JSON schema extension methods. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + + Determines whether the is valid. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + The source to test. + The schema to test with. + + true if the specified is valid; otherwise, false. + + + + + + Determines whether the is valid. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + The source to test. + The schema to test with. + When this method returns, contains any error messages generated while validating. + + true if the specified is valid; otherwise, false. + + + + + + Validates the specified . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + The source to test. + The schema to test with. + + + + + Validates the specified . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + The source to test. + The schema to test with. + The validation event handler. + + + + + An in-memory representation of a JSON Schema. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets or sets the id. + + + + + Gets or sets the title. + + + + + Gets or sets whether the object is required. + + + + + Gets or sets whether the object is read-only. + + + + + Gets or sets whether the object is visible to users. + + + + + Gets or sets whether the object is transient. + + + + + Gets or sets the description of the object. + + + + + Gets or sets the types of values allowed by the object. + + The type. + + + + Gets or sets the pattern. + + The pattern. + + + + Gets or sets the minimum length. + + The minimum length. + + + + Gets or sets the maximum length. + + The maximum length. + + + + Gets or sets a number that the value should be divisible by. + + A number that the value should be divisible by. + + + + Gets or sets the minimum. + + The minimum. + + + + Gets or sets the maximum. + + The maximum. + + + + Gets or sets a flag indicating whether the value can not equal the number defined by the minimum attribute (). + + A flag indicating whether the value can not equal the number defined by the minimum attribute (). + + + + Gets or sets a flag indicating whether the value can not equal the number defined by the maximum attribute (). + + A flag indicating whether the value can not equal the number defined by the maximum attribute (). + + + + Gets or sets the minimum number of items. + + The minimum number of items. + + + + Gets or sets the maximum number of items. + + The maximum number of items. + + + + Gets or sets the of items. + + The of items. + + + + Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . + + + true if items are validated using their array position; otherwise, false. + + + + + Gets or sets the of additional items. + + The of additional items. + + + + Gets or sets a value indicating whether additional items are allowed. + + + true if additional items are allowed; otherwise, false. + + + + + Gets or sets whether the array items must be unique. + + + + + Gets or sets the of properties. + + The of properties. + + + + Gets or sets the of additional properties. + + The of additional properties. + + + + Gets or sets the pattern properties. + + The pattern properties. + + + + Gets or sets a value indicating whether additional properties are allowed. + + + true if additional properties are allowed; otherwise, false. + + + + + Gets or sets the required property if this property is present. + + The required property if this property is present. + + + + Gets or sets the a collection of valid enum values allowed. + + A collection of valid enum values allowed. + + + + Gets or sets disallowed types. + + The disallowed types. + + + + Gets or sets the default value. + + The default value. + + + + Gets or sets the collection of that this schema extends. + + The collection of that this schema extends. + + + + Gets or sets the format. + + The format. + + + + Initializes a new instance of the class. + + + + + Reads a from the specified . + + The containing the JSON Schema to read. + The object representing the JSON Schema. + + + + Reads a from the specified . + + The containing the JSON Schema to read. + The to use when resolving schema references. + The object representing the JSON Schema. + + + + Load a from a string that contains JSON Schema. + + A that contains JSON Schema. + A populated from the string that contains JSON Schema. + + + + Load a from a string that contains JSON Schema using the specified . + + A that contains JSON Schema. + The resolver. + A populated from the string that contains JSON Schema. + + + + Writes this schema to a . + + A into which this method will write. + + + + Writes this schema to a using the specified . + + A into which this method will write. + The resolver used. + + + + Returns a that represents the current . + + + A that represents the current . + + + + + + Returns detailed information about the schema exception. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets the line number indicating where the error occurred. + + The line number indicating where the error occurred. + + + + Gets the line position indicating where the error occurred. + + The line position indicating where the error occurred. + + + + Gets the path to the JSON where the error occurred. + + The path to the JSON where the error occurred. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class + with a specified error message. + + The error message that explains the reason for the exception. + + + + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + + Generates a from a specified . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets or sets how undefined schemas are handled by the serializer. + + + + + Gets or sets the contract resolver. + + The contract resolver. + + + + Generate a from the specified type. + + The type to generate a from. + A generated from the specified type. + + + + Generate a from the specified type. + + The type to generate a from. + The used to resolve schema references. + A generated from the specified type. + + + + Generate a from the specified type. + + The type to generate a from. + Specify whether the generated root will be nullable. + A generated from the specified type. + + + + Generate a from the specified type. + + The type to generate a from. + The used to resolve schema references. + Specify whether the generated root will be nullable. + A generated from the specified type. + + + + + Resolves from an id. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets or sets the loaded schemas. + + The loaded schemas. + + + + Initializes a new instance of the class. + + + + + Gets a for the specified reference. + + The id. + A for the specified reference. + + + + + The value types allowed by the . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + No type specified. + + + + + String type. + + + + + Float type. + + + + + Integer type. + + + + + Boolean type. + + + + + Object type. + + + + + Array type. + + + + + Null type. + + + + + Any type. + + + + + + Specifies undefined schema Id handling options for the . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Do not infer a schema Id. + + + + + Use the .NET type name as the schema Id. + + + + + Use the assembly qualified .NET type name as the schema Id. + + + + + + Returns detailed information related to the . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets the associated with the validation error. + + The JsonSchemaException associated with the validation error. + + + + Gets the path of the JSON location where the validation error occurred. + + The path of the JSON location where the validation error occurred. + + + + Gets the text description corresponding to the validation error. + + The text description. + + + + + Represents the callback method that will handle JSON schema validation events and the . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Allows users to control class loading and mandate what class to load. + + + + + When overridden in a derived class, controls the binding of a serialized object to a type. + + Specifies the name of the serialized object. + Specifies the name of the serialized object + The type of the object the formatter creates a new instance of. + + + + When overridden in a derived class, controls the binding of a serialized object to a type. + + The type of the object the formatter creates a new instance of. + Specifies the name of the serialized object. + Specifies the name of the serialized object. + + + + A camel case naming strategy. + + + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + A flag indicating whether extension data names should be processed. + + + + + Initializes a new instance of the class. + + + + + Resolves the specified property name. + + The property name to resolve. + The resolved property name. + + + + Resolves member mappings for a type, camel casing property names. + + + + + Initializes a new instance of the class. + + + + + Resolves the contract for a given type. + + The type to resolve a contract for. + The contract for a given type. + + + + Used by to resolve a for a given . + + + + + Gets a value indicating whether members are being get and set using dynamic code generation. + This value is determined by the runtime permissions available. + + + true if using dynamic code generation; otherwise, false. + + + + + Gets or sets a value indicating whether compiler generated members should be serialized. + + + true if serialized compiler generated members; otherwise, false. + + + + + Gets or sets 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 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 a value that indicates whether the object's properties are required. + + + A value indicating whether the object's properties are required. + + + + + Gets the object's properties. + + The object's properties. + + + + Gets a collection of instances that define the parameters used with . + + + + + Gets or sets the function used to create the object. When set this function will override . + This function is called with a collection of arguments which are defined by the collection. + + The function used to create the object. + + + + Gets or sets the extension data setter. + + + + + Gets or sets the extension data getter. + + + + + Gets or sets the extension data value type. + + + + + Gets or sets the extension data name resolver. + + The extension data name resolver. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Contract details for a used by the . + + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Maps a JSON property to a .NET member or constructor parameter. + + + + + Gets or sets the name of the property. + + The name of the property. + + + + Gets or sets the type that declared this property. + + The type that declared this property. + + + + Gets or sets the order of serialization of a member. + + The numeric order of serialization. + + + + Gets or sets the name of the underlying member or parameter. + + The name of the underlying member or parameter. + + + + Gets the that will get and set the during serialization. + + The that will get and set the during serialization. + + + + Gets or sets the for this property. + + The for this property. + + + + Gets or sets the type of the property. + + The type of the property. + + + + Gets or sets the for the property. + If set this converter takes precedence over the contract converter for the property type. + + The converter. + + + + Gets or sets the member converter. + + The member converter. + + + + Gets or sets a value indicating whether this is ignored. + + true if ignored; otherwise, false. + + + + Gets or sets a value indicating whether this is readable. + + true if readable; otherwise, false. + + + + Gets or sets a value indicating whether this is writable. + + true if writable; otherwise, false. + + + + Gets or sets a value indicating whether this has a member attribute. + + true if has a member attribute; otherwise, false. + + + + Gets the default value. + + The default value. + + + + Gets or sets a value indicating whether this is required. + + A value indicating whether this is required. + + + + Gets or sets a value indicating whether this property preserves object references. + + + true if this instance is reference; otherwise, false. + + + + + Gets or sets the property null value handling. + + The null value handling. + + + + Gets or sets the property default value handling. + + The default value handling. + + + + Gets or sets the property reference loop handling. + + The reference loop handling. + + + + Gets or sets the property object creation handling. + + The object creation handling. + + + + Gets or sets or sets the type name handling. + + The type name handling. + + + + Gets or sets a predicate used to determine whether the property should be serialized. + + A predicate used to determine whether the property should be serialized. + + + + Gets or sets a predicate used to determine whether the property should be deserialized. + + A predicate used to determine whether the property should be deserialized. + + + + Gets or sets a predicate used to determine whether the property should be serialized. + + A predicate used to determine whether the property should be serialized. + + + + Gets or sets an action used to set whether the property has been deserialized. + + An action used to set whether the property has been deserialized. + + + + Returns a that represents this instance. + + + A that represents this instance. + + + + + Gets or sets the converter used when serializing the property's collection items. + + The collection's items converter. + + + + Gets or sets whether this property's collection items are serialized as a reference. + + Whether this property's collection items are serialized as a reference. + + + + Gets or sets the type name handling used when serializing the property's collection items. + + The collection's items type name handling. + + + + Gets or sets the reference loop handling used when serializing the property's collection items. + + The collection's items reference loop handling. + + + + A collection of objects. + + + + + Initializes a new instance of the class. + + The type. + + + + When implemented in a derived class, extracts the key from the specified element. + + The element from which to extract the key. + The key for the specified element. + + + + Adds a object. + + The property to add to the collection. + + + + Gets the closest matching object. + First attempts to get an exact case match of and then + a case insensitive match. + + Name of the property. + A matching property if found. + + + + Gets a property by property name. + + The name of the property to get. + Type property name string comparison. + A matching property if found. + + + + Contract details for a used by the . + + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Lookup and create an instance of the type described by the argument. + + The type to create. + Optional arguments to pass to an initializing constructor of the JsonConverter. + If null, the default constructor is used. + + + + Represents a trace writer that writes to memory. When the trace message limit is + reached then old trace messages will be removed as new messages are added. + + + + + Gets the that will be used to filter the trace messages passed to the writer. + For example a filter level of will exclude messages and include , + and messages. + + + The that will be used to filter the trace messages passed to the writer. + + + + + Initializes a new instance of the class. + + + + + Writes the specified trace level, message and optional exception. + + The at which to write this trace. + The trace message. + The trace exception. This parameter is optional. + + + + Returns an enumeration of the most recent trace messages. + + An enumeration of the most recent trace messages. + + + + Returns a of the most recent trace messages. + + + A of the most recent trace messages. + + + + + A base class for resolving how property names and dictionary keys are serialized. + + + + + A flag indicating whether dictionary keys should be processed. + Defaults to false. + + + + + A flag indicating whether extension data names should be processed. + Defaults to false. + + + + + A flag indicating whether explicitly specified property names, + e.g. a property name customized with a , should be processed. + Defaults to false. + + + + + Gets the serialized name for a given property name. + + The initial property name. + A flag indicating whether the property has had a name explicitly specified. + The serialized property name. + + + + Gets the serialized name for a given extension data name. + + The initial extension data name. + The serialized extension data name. + + + + Gets the serialized key for a given dictionary key. + + The initial dictionary key. + The serialized dictionary key. + + + + Resolves the specified property name. + + The property name to resolve. + The resolved property name. + + + + Represents a method that constructs an object. + + The object type to create. + + + + When applied to a method, specifies that the method is called when an error occurs serializing an object. + + + + + Provides methods to get attributes from a , , or . + + + + + Initializes a new instance of the class. + + The instance to get attributes for. This parameter should be a , , or . + + + + Returns a collection of all of the attributes, or an empty collection if there are no attributes. + + When true, look up the hierarchy chain for the inherited custom attribute. + A collection of s, or an empty collection. + + + + Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. + + The type of the attributes. + When true, look up the hierarchy chain for the inherited custom attribute. + A collection of s, or an empty collection. + + + + Get and set values for a using reflection. + + + + + Initializes a new instance of the class. + + The member info. + + + + Sets the value. + + The target to set the value on. + The value to set on the target. + + + + Gets the value. + + The target to get the value from. + The value. + + + + A snake case naming strategy. + + + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + A flag indicating whether extension data names should be processed. + + + + + Initializes a new instance of the class. + + + + + Resolves the specified property name. + + The property name to resolve. + The resolved property name. + + + + Specifies how strings are escaped when writing JSON text. + + + + + Only control characters (e.g. newline) are escaped. + + + + + All non-ASCII and control characters (e.g. newline) are escaped. + + + + + HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. + + + + + Specifies what messages to output for the class. + + + + + Output no tracing and debugging messages. + + + + + Output error-handling messages. + + + + + Output warnings and error-handling messages. + + + + + Output informational messages, warnings, and error-handling messages. + + + + + Output all debugging and tracing messages. + + + + + Indicates the method that will be used during deserialization for locating and loading assemblies. + + + + + In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the LoadWithPartialName method of the class is used to load the assembly. + + + + + In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The Load method of the class is used to load the assembly. + + + + + Specifies type name handling options for the . + + + should be used with caution when your application deserializes JSON from an external source. + Incoming types should be validated with a custom + when deserializing with a value other than . + + + + + Do not include the .NET type name when serializing types. + + + + + Include the .NET type name when serializing into a JSON object structure. + + + + + Include the .NET type name when serializing into a JSON array structure. + + + + + Always include the .NET type name when serializing. + + + + + Include the .NET type name when the type of the object being serialized is not the same as its declared type. + Note that this doesn't include the root serialized object by default. To include the root object's type name in JSON + you must specify a root type object with + or . + + + + + Determines whether the collection is null or empty. + + The collection. + + true if the collection is null or empty; otherwise, false. + + + + + Adds the elements of the specified collection to the specified generic . + + The list to add to. + The collection of elements to add. + + + + Converts the value to the specified type. If the value is unable to be converted, the + value is checked whether it assignable to the specified type. + + The value to convert. + The culture to use when converting. + The type to convert or cast the value to. + + The converted type. If conversion was unsuccessful, the initial value + is returned if assignable to the target type. + + + + + Helper method for generating a MetaObject which calls a + specific method on Dynamic that returns a result + + + + + Helper method for generating a MetaObject which calls a + specific method on Dynamic, but uses one of the arguments for + the result. + + + + + Helper method for generating a MetaObject which calls a + specific method on Dynamic, but uses one of the arguments for + the result. + + + + + Returns a Restrictions object which includes our current restrictions merged + with a restriction limiting our type + + + + + Gets a dictionary of the names and values of an type. + + + + + + Gets a dictionary of the names and values of an Enum type. + + The enum type to get names and values for. + + + + + List of primitive types which can be widened. + + + + + Widening masks for primitive types above. + Index of the value in this array defines a type we're widening, + while the bits in mask define types it can be widened to (including itself). + + For example, value at index 0 defines a bool type, and it only has bit 0 set, + i.e. bool values can be assigned only to bool. + + + + + Checks if value of primitive type can be + assigned to parameter of primitive type . + + Source primitive type. + Target primitive type. + true if source type can be widened to target type, false otherwise. + + + + Checks if a set of values with given can be used + to invoke a method with specified . + + Method parameters. + Argument types. + Try to pack extra arguments into the last parameter when it is marked up with . + true if method can be called with given arguments, false otherwise. + + + + Compares two sets of parameters to determine + which one suits better for given argument types. + + + + + Returns a best method overload for given argument . + + List of method candidates. + Argument types. + Best method overload, or null if none matched. + + + + Gets the type of the typed collection's items. + + The type. + The type of the typed collection's items. + + + + Gets the member's underlying type. + + The member. + The underlying type of the member. + + + + Determines whether the member is an indexed property. + + The member. + + true if the member is an indexed property; otherwise, false. + + + + + Determines whether the property is an indexed property. + + The property. + + true if the property is an indexed property; otherwise, false. + + + + + Gets the member's value on the object. + + The member. + The target object. + The member's value on the object. + + + + Sets the member's value on the target object. + + The member. + The target. + The value. + + + + Determines whether the specified MemberInfo can be read. + + The MemberInfo to determine whether can be read. + /// if set to true then allow the member to be gotten non-publicly. + + true if the specified MemberInfo can be read; otherwise, false. + + + + + Determines whether the specified MemberInfo can be set. + + The MemberInfo to determine whether can be set. + if set to true then allow the member to be set non-publicly. + if set to true then allow the member to be set if read-only. + + true if the specified MemberInfo can be set; otherwise, false. + + + + + Builds a string. Unlike this class lets you reuse its internal buffer. + + + + + Determines whether the string is all white space. Empty string will return false. + + The string to test whether it is all white space. + + true if the string is all white space; otherwise, false. + + + + + Specifies the state of the . + + + + + An exception has been thrown, which has left the in an invalid state. + You may call the method to put the in the Closed state. + Any other method calls result in an being thrown. + + + + + The method has been called. + + + + + An object is being written. + + + + + An array is being written. + + + + + A constructor is being written. + + + + + A property is being written. + + + + + A write method has not been called. + + + + + Indicates the method that will be used during deserialization for locating and loading assemblies. + + + + + In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the method is used to load the assembly. + + + + + In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The is used to load the assembly. + + + + diff --git a/packages/Newtonsoft.Json.10.0.2/lib/netstandard1.3/Newtonsoft.Json.xml b/packages/Newtonsoft.Json.10.0.2/lib/netstandard1.3/Newtonsoft.Json.xml new file mode 100644 index 0000000..6aae8c6 --- /dev/null +++ b/packages/Newtonsoft.Json.10.0.2/lib/netstandard1.3/Newtonsoft.Json.xml @@ -0,0 +1,10559 @@ + + + + Newtonsoft.Json + + + + + Represents a BSON Oid (object id). + + + + + Gets or sets the value of the Oid. + + The value of the Oid. + + + + Initializes a new instance of the class. + + The Oid value. + + + + Represents a reader that provides fast, non-cached, forward-only access to serialized BSON data. + + + + + Gets or sets a value indicating whether binary data reading should be compatible with incorrect Json.NET 3.5 written binary. + + + true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. + + + + + Gets or sets a value indicating whether the root object will be read as a JSON array. + + + true if the root object will be read as a JSON array; otherwise, false. + + + + + Gets or sets the used when reading values from BSON. + + The used when reading values from BSON. + + + + Initializes a new instance of the class. + + The containing the BSON data to read. + + + + Initializes a new instance of the class. + + The containing the BSON data to read. + + + + Initializes a new instance of the class. + + The containing the BSON data to read. + if set to true the root object will be read as a JSON array. + The used when reading values from BSON. + + + + Initializes a new instance of the class. + + The containing the BSON data to read. + if set to true the root object will be read as a JSON array. + The used when reading values from BSON. + + + + Reads the next JSON token from the underlying . + + + true if the next token was read successfully; false if there are no more tokens to read. + + + + + Changes the reader's state to . + If is set to true, the underlying is also closed. + + + + + Represents a writer that provides a fast, non-cached, forward-only way of generating BSON data. + + + + + Gets or sets the used when writing values to BSON. + When set to no conversion will occur. + + The used when writing values to BSON. + + + + Initializes a new instance of the class. + + The to write to. + + + + Initializes a new instance of the class. + + The to write to. + + + + Flushes whatever is in the buffer to the underlying and also flushes the underlying stream. + + + + + Writes the end. + + The token. + + + + Writes a comment /*...*/ containing the specified text. + + Text to place inside the comment. + + + + Writes the start of a constructor with the given name. + + The name of the constructor. + + + + Writes raw JSON. + + The raw JSON to write. + + + + Writes raw JSON where a value is expected and updates the writer's state. + + The raw JSON to write. + + + + Writes the beginning of a JSON array. + + + + + Writes the beginning of a JSON object. + + + + + Writes the property name of a name/value pair on a JSON object. + + The name of the property. + + + + Closes this writer. + If is set to true, the underlying is also closed. + If is set to true, the JSON is auto-completed. + + + + + Writes a value. + An error will raised if the value cannot be written as a single JSON token. + + The value to write. + + + + Writes a null value. + + + + + Writes an undefined value. + + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a [] value. + + The [] value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a [] value that represents a BSON object id. + + The Object ID value to write. + + + + Writes a BSON regex. + + The regex pattern. + The regex options. + + + + Specifies how constructors are used when initializing objects during deserialization by the . + + + + + First attempt to use the public default constructor, then fall back to a single parameterized constructor, then to the non-public default constructor. + + + + + Json.NET will use a non-public default constructor before falling back to a parameterized constructor. + + + + + Converts a binary value to and from a base 64 string value. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts a to and from JSON and BSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Creates a custom object. + + The object type to convert. + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Creates an object which will then be populated by the serializer. + + Type of the object. + The created object. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Gets a value indicating whether this can write JSON. + + + true if this can write JSON; otherwise, false. + + + + + Provides a base class for converting a to and from JSON. + + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts a F# discriminated union type to and from JSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts an to and from JSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Gets a value indicating whether this can write JSON. + + + true if this can write JSON; otherwise, false. + + + + + Converts a to and from the ISO 8601 date format (e.g. "2008-04-12T12:53Z"). + + + + + Gets or sets the date time styles used when converting a date to and from JSON. + + The date time styles used when converting a date to and from JSON. + + + + Gets or sets the date time format used when converting a date to and from JSON. + + The date time format used when converting a date to and from JSON. + + + + Gets or sets the culture used when converting a date to and from JSON. + + The culture used when converting a date to and from JSON. + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Converts a to and from a JavaScript Date constructor (e.g. new Date(52231943)). + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing property value of the JSON that is being converted. + The calling serializer. + The object value. + + + + Converts a to and from JSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts a to and from JSON and BSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts an to and from its name string value. + + + + + Gets or sets a value indicating whether the written enum text should be camel case. + + true if the written enum text will be camel case; otherwise, false. + + + + Gets or sets a value indicating whether integer values are allowed when deserializing. + + true if integers are allowed when deserializing; otherwise, false. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + true if the written enum text will be camel case; otherwise, false. + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts a to and from a string (e.g. "1.2.3.4"). + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing property value of the JSON that is being converted. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts XML to and from JSON. + + + + + Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produced multiple root elements. + + The name of the deserialized root element. + + + + Gets or sets a flag to indicate whether to write the Json.NET array attribute. + This attribute helps preserve arrays when converting the written XML back to JSON. + + true if the array attribute is written to the XML; otherwise, false. + + + + Gets or sets a value indicating whether to write the root JSON object. + + true if the JSON root object is omitted; otherwise, false. + + + + Writes the JSON representation of the object. + + The to write to. + The calling serializer. + The value. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Checks if the is a namespace attribute. + + Attribute name to test. + The attribute name prefix if it has one, otherwise an empty string. + true if attribute name is for a namespace attribute, otherwise false. + + + + Determines whether this instance can convert the specified value type. + + Type of the value. + + true if this instance can convert the specified value type; otherwise, false. + + + + + Specifies how dates are formatted when writing JSON text. + + + + + Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". + + + + + Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". + + + + + Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. + + + + + Date formatted strings are not parsed to a date type and are read as strings. + + + + + Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . + + + + + Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . + + + + + Specifies how to treat the time value when converting between string and . + + + + + Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time. + + + + + Treat as a UTC. If the object represents a local time, it is converted to a UTC. + + + + + Treat as a local time if a is being converted to a string. + If a string is being converted to , convert to a local time if a time zone is specified. + + + + + Time zone information should be preserved when converting. + + + + + Specifies default value handling options for the . + + + + + + + + + Include members where the member value is the same as the member's default value when serializing objects. + Included members are written to JSON. Has no effect when deserializing. + + + + + Ignore members where the member value is the same as the member's default value when serializing objects + so that it is not written to JSON. + This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, + decimals and floating point numbers; and false for booleans). The default value ignored can be changed by + placing the on the property. + + + + + Members with a default value but no JSON will be set to their default value when deserializing. + + + + + Ignore members where the member value is the same as the member's default value when serializing objects + and set members to their default value when deserializing. + + + + + Specifies float format handling options when writing special floating point numbers, e.g. , + and with . + + + + + Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". + + + + + Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. + Note that this will produce non-valid JSON. + + + + + Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a of property. + + + + + Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + + + + + Floating point numbers are parsed to . + + + + + Floating point numbers are parsed to . + + + + + Specifies formatting options for the . + + + + + No special formatting is applied. This is the default. + + + + + Causes child objects to be indented according to the and settings. + + + + + Provides an interface for using pooled arrays. + + The array type content. + + + + Rent an array from the pool. This array must be returned when it is no longer needed. + + The minimum required length of the array. The returned array may be longer. + The rented array from the pool. This array must be returned when it is no longer needed. + + + + Return an array to the pool. + + The array that is being returned. + + + + Provides an interface to enable a class to return line and position information. + + + + + Gets a value indicating whether the class can return line information. + + + true if and can be provided; otherwise, false. + + + + + Gets the current line number. + + The current line number or 0 if no line information is available (for example, when returns false). + + + + Gets the current line position. + + The current line position or 0 if no line information is available (for example, when returns false). + + + + Instructs the how to serialize the collection. + + + + + Gets or sets a value indicating whether null items are allowed in the collection. + + true if null items are allowed in the collection; otherwise, false. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with a flag indicating whether the array can contain null items. + + A flag indicating whether the array can contain null items. + + + + Initializes a new instance of the class with the specified container Id. + + The container Id. + + + + Instructs the to use the specified constructor when deserializing that object. + + + + + Instructs the how to serialize the object. + + + + + Gets or sets the id. + + The id. + + + + Gets or sets the title. + + The title. + + + + Gets or sets the description. + + The description. + + + + Gets or sets the collection's items converter. + + The collection's items converter. + + + + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, + order, and type of these parameters. + + + + [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] + + + + + + Gets or sets the of the . + + The of the . + + + + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, + order, and type of these parameters. + + + + [JsonContainer(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] + + + + + + Gets or sets a value that indicates whether to preserve object references. + + + true to keep object reference; otherwise, false. The default is false. + + + + + Gets or sets a value that indicates whether to preserve collection's items references. + + + true to keep collection's items object references; otherwise, false. The default is false. + + + + + Gets or sets the reference loop handling used when serializing the collection's items. + + The reference loop handling. + + + + Gets or sets the type name handling used when serializing the collection's items. + + The type name handling. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with the specified container Id. + + The container Id. + + + + Provides methods for converting between .NET types and JSON types. + + + + + + + + Gets or sets a function that creates default . + Default settings are automatically used by serialization methods on , + and and on . + To serialize without using any default settings create a with + . + + + + + Represents JavaScript's boolean value true as a string. This field is read-only. + + + + + Represents JavaScript's boolean value false as a string. This field is read-only. + + + + + Represents JavaScript's null as a string. This field is read-only. + + + + + Represents JavaScript's undefined as a string. This field is read-only. + + + + + Represents JavaScript's positive infinity as a string. This field is read-only. + + + + + Represents JavaScript's negative infinity as a string. This field is read-only. + + + + + Represents JavaScript's NaN as a string. This field is read-only. + + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation using the specified. + + The value to convert. + The format the date will be converted to. + The time zone handling when the date is converted to a string. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation using the specified. + + The value to convert. + The format the date will be converted to. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + The string delimiter character. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + The string delimiter character. + The string escape handling. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Serializes the specified object to a JSON string. + + The object to serialize. + A JSON string representation of the object. + + + + Serializes the specified object to a JSON string using formatting. + + The object to serialize. + Indicates how the output should be formatted. + + A JSON string representation of the object. + + + + + Serializes the specified object to a JSON string using a collection of . + + The object to serialize. + A collection of converters used while serializing. + A JSON string representation of the object. + + + + Serializes the specified object to a JSON string using formatting and a collection of . + + The object to serialize. + Indicates how the output should be formatted. + A collection of converters used while serializing. + A JSON string representation of the object. + + + + Serializes the specified object to a JSON string using . + + The object to serialize. + The used to serialize the object. + If this is null, default serialization settings will be used. + + A JSON string representation of the object. + + + + + Serializes the specified object to a JSON string using a type, formatting and . + + The object to serialize. + The used to serialize the object. + If this is null, default serialization settings will be used. + + The type of the value being serialized. + This parameter is used when is to write out the type name if the type of the value does not match. + Specifying the type is optional. + + + A JSON string representation of the object. + + + + + Serializes the specified object to a JSON string using formatting and . + + The object to serialize. + Indicates how the output should be formatted. + The used to serialize the object. + If this is null, default serialization settings will be used. + + A JSON string representation of the object. + + + + + Serializes the specified object to a JSON string using a type, formatting and . + + The object to serialize. + Indicates how the output should be formatted. + The used to serialize the object. + If this is null, default serialization settings will be used. + + The type of the value being serialized. + This parameter is used when is to write out the type name if the type of the value does not match. + Specifying the type is optional. + + + A JSON string representation of the object. + + + + + Deserializes the JSON to a .NET object. + + The JSON to deserialize. + The deserialized object from the JSON string. + + + + Deserializes the JSON to a .NET object using . + + The JSON to deserialize. + + The used to deserialize the object. + If this is null, default serialization settings will be used. + + The deserialized object from the JSON string. + + + + Deserializes the JSON to the specified .NET type. + + The JSON to deserialize. + The of object being deserialized. + The deserialized object from the JSON string. + + + + Deserializes the JSON to the specified .NET type. + + The type of the object to deserialize to. + The JSON to deserialize. + The deserialized object from the JSON string. + + + + Deserializes the JSON to the given anonymous type. + + + The anonymous type to deserialize to. This can't be specified + traditionally and must be inferred from the anonymous type passed + as a parameter. + + The JSON to deserialize. + The anonymous type object. + The deserialized anonymous type from the JSON string. + + + + Deserializes the JSON to the given anonymous type using . + + + The anonymous type to deserialize to. This can't be specified + traditionally and must be inferred from the anonymous type passed + as a parameter. + + The JSON to deserialize. + The anonymous type object. + + The used to deserialize the object. + If this is null, default serialization settings will be used. + + The deserialized anonymous type from the JSON string. + + + + Deserializes the JSON to the specified .NET type using a collection of . + + The type of the object to deserialize to. + The JSON to deserialize. + Converters to use while deserializing. + The deserialized object from the JSON string. + + + + Deserializes the JSON to the specified .NET type using . + + The type of the object to deserialize to. + The object to deserialize. + + The used to deserialize the object. + If this is null, default serialization settings will be used. + + The deserialized object from the JSON string. + + + + Deserializes the JSON to the specified .NET type using a collection of . + + The JSON to deserialize. + The type of the object to deserialize. + Converters to use while deserializing. + The deserialized object from the JSON string. + + + + Deserializes the JSON to the specified .NET type using . + + The JSON to deserialize. + The type of the object to deserialize to. + + The used to deserialize the object. + If this is null, default serialization settings will be used. + + The deserialized object from the JSON string. + + + + Populates the object with values from the JSON string. + + The JSON to populate values from. + The target object to populate values onto. + + + + Populates the object with values from the JSON string using . + + The JSON to populate values from. + The target object to populate values onto. + + The used to deserialize the object. + If this is null, default serialization settings will be used. + + + + + Serializes the to a JSON string. + + The node to serialize. + A JSON string of the . + + + + Serializes the to a JSON string using formatting. + + The node to serialize. + Indicates how the output should be formatted. + A JSON string of the . + + + + Serializes the to a JSON string using formatting and omits the root object if is true. + + The node to serialize. + Indicates how the output should be formatted. + Omits writing the root object. + A JSON string of the . + + + + Deserializes the from a JSON string. + + The JSON string. + The deserialized . + + + + Deserializes the from a JSON string nested in a root element specified by . + + The JSON string. + The name of the root element to append when deserializing. + The deserialized . + + + + Deserializes the from a JSON string nested in a root element specified by + and writes a Json.NET array attribute for collections. + + The JSON string. + The name of the root element to append when deserializing. + + A flag to indicate whether to write the Json.NET array attribute. + This attribute helps preserve arrays when converting the written XML back to JSON. + + The deserialized . + + + + Serializes the to a JSON string. + + The node to convert to JSON. + A JSON string of the . + + + + Serializes the to a JSON string using formatting. + + The node to convert to JSON. + Indicates how the output should be formatted. + A JSON string of the . + + + + Serializes the to a JSON string using formatting and omits the root object if is true. + + The node to serialize. + Indicates how the output should be formatted. + Omits writing the root object. + A JSON string of the . + + + + Deserializes the from a JSON string. + + The JSON string. + The deserialized . + + + + Deserializes the from a JSON string nested in a root element specified by . + + The JSON string. + The name of the root element to append when deserializing. + The deserialized . + + + + Deserializes the from a JSON string nested in a root element specified by + and writes a Json.NET array attribute for collections. + + The JSON string. + The name of the root element to append when deserializing. + + A flag to indicate whether to write the Json.NET array attribute. + This attribute helps preserve arrays when converting the written XML back to JSON. + + The deserialized . + + + + Converts an object to and from JSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Gets a value indicating whether this can read JSON. + + true if this can read JSON; otherwise, false. + + + + Gets a value indicating whether this can write JSON. + + true if this can write JSON; otherwise, false. + + + + Instructs the to use the specified when serializing the member or class. + + + + + Gets the of the . + + The of the . + + + + The parameter list to use when constructing the described by . + If null, the default constructor is used. + + + + + Initializes a new instance of the class. + + Type of the . + + + + Initializes a new instance of the class. + + Type of the . + Parameter list to use when constructing the . Can be null. + + + + Represents a collection of . + + + + + Instructs the how to serialize the collection. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with the specified container Id. + + The container Id. + + + + The exception thrown when an error occurs during JSON serialization or deserialization. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class + with a specified error message. + + The error message that explains the reason for the exception. + + + + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Instructs the to deserialize properties with no matching class member into the specified collection + and write values during serialization. + + + + + Gets or sets a value that indicates whether to write extension data when serializing the object. + + + true to write extension data when serializing the object; otherwise, false. The default is true. + + + + + Gets or sets a value that indicates whether to read extension data when deserializing the object. + + + true to read extension data when deserializing the object; otherwise, false. The default is true. + + + + + Initializes a new instance of the class. + + + + + Instructs the not to serialize the public field or public read/write property value. + + + + + Instructs the how to serialize the object. + + + + + Gets or sets the member serialization. + + The member serialization. + + + + Gets or sets a value that indicates whether the object's properties are required. + + + A value indicating whether the object's properties are required. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with the specified member serialization. + + The member serialization. + + + + Initializes a new instance of the class with the specified container Id. + + The container Id. + + + + Instructs the to always serialize the member with the specified name. + + + + + Gets or sets the used when serializing the property's collection items. + + The collection's items . + + + + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, + order, and type of these parameters. + + + + [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] + + + + + + Gets or sets the of the . + + The of the . + + + + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, + order, and type of these parameters. + + + + [JsonProperty(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] + + + + + + Gets or sets the null value handling used when serializing this property. + + The null value handling. + + + + Gets or sets the default value handling used when serializing this property. + + The default value handling. + + + + Gets or sets the reference loop handling used when serializing this property. + + The reference loop handling. + + + + Gets or sets the object creation handling used when deserializing this property. + + The object creation handling. + + + + Gets or sets the type name handling used when serializing this property. + + The type name handling. + + + + Gets or sets whether this property's value is serialized as a reference. + + Whether this property's value is serialized as a reference. + + + + Gets or sets the order of serialization of a member. + + The numeric order of serialization. + + + + Gets or sets a value indicating whether this property is required. + + + A value indicating whether this property is required. + + + + + Gets or sets the name of the property. + + The name of the property. + + + + Gets or sets the reference loop handling used when serializing the property's collection items. + + The collection's items reference loop handling. + + + + Gets or sets the type name handling used when serializing the property's collection items. + + The collection's items type name handling. + + + + Gets or sets whether this property's collection items are serialized as a reference. + + Whether this property's collection items are serialized as a reference. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with the specified name. + + Name of the property. + + + + Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. + + + + + Asynchronously reads the next JSON token from the source. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns true if the next token was read successfully; false if there are no more tokens to read. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously skips the children of the current token. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a []. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the []. This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Specifies the state of the reader. + + + + + A read method has not been called. + + + + + The end of the file has been reached successfully. + + + + + Reader is at a property. + + + + + Reader is at the start of an object. + + + + + Reader is in an object. + + + + + Reader is at the start of an array. + + + + + Reader is in an array. + + + + + The method has been called. + + + + + Reader has just read a value. + + + + + Reader is at the start of a constructor. + + + + + Reader is in a constructor. + + + + + An error occurred that prevents the read operation from continuing. + + + + + The end of the file has been reached successfully. + + + + + Gets the current reader state. + + The current reader state. + + + + Gets or sets a value indicating whether the source should be closed when this reader is closed. + + + true to close the source when this reader is closed; otherwise false. The default is true. + + + + + Gets or sets a value indicating whether multiple pieces of JSON content can + be read from a continuous stream without erroring. + + + true to support reading multiple pieces of JSON content; otherwise false. + The default is false. + + + + + Gets the quotation mark character used to enclose the value of a string. + + + + + Gets or sets how time zones are handled when reading JSON. + + + + + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + + + + + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + + + + + Gets or sets how custom date formatted strings are parsed when reading JSON. + + + + + Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + + + + + Gets the type of the current JSON token. + + + + + Gets the text value of the current JSON token. + + + + + Gets the .NET type for the current JSON token. + + + + + Gets the depth of the current token in the JSON document. + + The depth of the current token in the JSON document. + + + + Gets the path of the current JSON token. + + + + + Gets or sets the culture used when reading JSON. Defaults to . + + + + + Initializes a new instance of the class. + + + + + Reads the next JSON token from the source. + + true if the next token was read successfully; false if there are no more tokens to read. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a . + + A . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a []. + + A [] or null if the next JSON token is null. This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Skips the children of the current token. + + + + + Sets the current token. + + The new token. + + + + Sets the current token and value. + + The new token. + The value. + + + + Sets the current token and value. + + The new token. + The value. + A flag indicating whether the position index inside an array should be updated. + + + + Sets the state based on current token type. + + + + + Releases unmanaged and - optionally - managed resources. + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Changes the reader's state to . + If is set to true, the source is also closed. + + + + + The exception thrown when an error occurs while reading JSON text. + + + + + Gets the line number indicating where the error occurred. + + The line number indicating where the error occurred. + + + + Gets the line position indicating where the error occurred. + + The line position indicating where the error occurred. + + + + Gets the path to the JSON where the error occurred. + + The path to the JSON where the error occurred. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class + with a specified error message. + + The error message that explains the reason for the exception. + + + + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Initializes a new instance of the class + with a specified error message, JSON path, line number, line position, and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The path to the JSON where the error occurred. + The line number indicating where the error occurred. + The line position indicating where the error occurred. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Instructs the to always serialize the member, and to require that the member has a value. + + + + + The exception thrown when an error occurs during JSON serialization or deserialization. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class + with a specified error message. + + The error message that explains the reason for the exception. + + + + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Serializes and deserializes objects into and from the JSON format. + The enables you to control how objects are encoded into JSON. + + + + + Occurs when the errors during serialization and deserialization. + + + + + Gets or sets the used by the serializer when resolving references. + + + + + Gets or sets the used by the serializer when resolving type names. + + + + + Gets or sets the used by the serializer when resolving type names. + + + + + Gets or sets the used by the serializer when writing trace messages. + + The trace writer. + + + + Gets or sets the equality comparer used by the serializer when comparing references. + + The equality comparer. + + + + Gets or sets how type name writing and reading is handled by the serializer. + + + should be used with caution when your application deserializes JSON from an external source. + Incoming types should be validated with a custom + when deserializing with a value other than . + + + + + Gets or sets how a type name assembly is written and resolved by the serializer. + + The type name assembly format. + + + + Gets or sets how a type name assembly is written and resolved by the serializer. + + The type name assembly format. + + + + Gets or sets how object references are preserved by the serializer. + + + + + Gets or sets how reference loops (e.g. a class referencing itself) is handled. + + + + + Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. + + + + + Gets or sets how null values are handled during serialization and deserialization. + + + + + Gets or sets how default values are handled during serialization and deserialization. + + + + + Gets or sets how objects are created during deserialization. + + The object creation handling. + + + + Gets or sets how constructors are used during deserialization. + + The constructor handling. + + + + Gets or sets how metadata properties are used during deserialization. + + The metadata properties handling. + + + + Gets a collection that will be used during serialization. + + Collection that will be used during serialization. + + + + Gets or sets the contract resolver used by the serializer when + serializing .NET objects to JSON and vice versa. + + + + + Gets or sets the used by the serializer when invoking serialization callback methods. + + The context. + + + + Indicates how JSON text output is formatted. + + + + + Gets or sets how dates are written to JSON text. + + + + + Gets or sets how time zones are handled during serialization and deserialization. + + + + + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + + + + + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + + + + + Gets or sets how special floating point numbers, e.g. , + and , + are written as JSON text. + + + + + Gets or sets how strings are escaped when writing JSON text. + + + + + Gets or sets how and values are formatted when writing JSON text, + and the expected date format when reading JSON text. + + + + + Gets or sets the culture used when reading JSON. Defaults to . + + + + + Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + + + + + Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. + + + true if there will be a check for additional JSON content after deserializing an object; otherwise, false. + + + + + Initializes a new instance of the class. + + + + + Creates a new instance. + The will not use default settings + from . + + + A new instance. + The will not use default settings + from . + + + + + Creates a new instance using the specified . + The will not use default settings + from . + + The settings to be applied to the . + + A new instance using the specified . + The will not use default settings + from . + + + + + Creates a new instance. + The will use default settings + from . + + + A new instance. + The will use default settings + from . + + + + + Creates a new instance using the specified . + The will use default settings + from as well as the specified . + + The settings to be applied to the . + + A new instance using the specified . + The will use default settings + from as well as the specified . + + + + + Populates the JSON values onto the target object. + + The that contains the JSON structure to reader values from. + The target object to populate values onto. + + + + Populates the JSON values onto the target object. + + The that contains the JSON structure to reader values from. + The target object to populate values onto. + + + + Deserializes the JSON structure contained by the specified . + + The that contains the JSON structure to deserialize. + The being deserialized. + + + + Deserializes the JSON structure contained by the specified + into an instance of the specified type. + + The containing the object. + The of object being deserialized. + The instance of being deserialized. + + + + Deserializes the JSON structure contained by the specified + into an instance of the specified type. + + The containing the object. + The type of the object to deserialize. + The instance of being deserialized. + + + + Deserializes the JSON structure contained by the specified + into an instance of the specified type. + + The containing the object. + The of object being deserialized. + The instance of being deserialized. + + + + Serializes the specified and writes the JSON structure + using the specified . + + The used to write the JSON structure. + The to serialize. + + + + Serializes the specified and writes the JSON structure + using the specified . + + The used to write the JSON structure. + The to serialize. + + The type of the value being serialized. + This parameter is used when is to write out the type name if the type of the value does not match. + Specifying the type is optional. + + + + + Serializes the specified and writes the JSON structure + using the specified . + + The used to write the JSON structure. + The to serialize. + + The type of the value being serialized. + This parameter is used when is Auto to write out the type name if the type of the value does not match. + Specifying the type is optional. + + + + + Serializes the specified and writes the JSON structure + using the specified . + + The used to write the JSON structure. + The to serialize. + + + + Specifies the settings on a object. + + + + + Gets or sets how reference loops (e.g. a class referencing itself) are handled. + + Reference loop handling. + + + + Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. + + Missing member handling. + + + + Gets or sets how objects are created during deserialization. + + The object creation handling. + + + + Gets or sets how null values are handled during serialization and deserialization. + + Null value handling. + + + + Gets or sets how default values are handled during serialization and deserialization. + + The default value handling. + + + + Gets or sets a collection that will be used during serialization. + + The converters. + + + + Gets or sets how object references are preserved by the serializer. + + The preserve references handling. + + + + Gets or sets how type name writing and reading is handled by the serializer. + + + should be used with caution when your application deserializes JSON from an external source. + Incoming types should be validated with a custom + when deserializing with a value other than . + + The type name handling. + + + + Gets or sets how metadata properties are used during deserialization. + + The metadata properties handling. + + + + Gets or sets how a type name assembly is written and resolved by the serializer. + + The type name assembly format. + + + + Gets or sets how a type name assembly is written and resolved by the serializer. + + The type name assembly format. + + + + Gets or sets how constructors are used during deserialization. + + The constructor handling. + + + + Gets or sets the contract resolver used by the serializer when + serializing .NET objects to JSON and vice versa. + + The contract resolver. + + + + Gets or sets the equality comparer used by the serializer when comparing references. + + The equality comparer. + + + + Gets or sets the used by the serializer when resolving references. + + The reference resolver. + + + + Gets or sets a function that creates the used by the serializer when resolving references. + + A function that creates the used by the serializer when resolving references. + + + + Gets or sets the used by the serializer when writing trace messages. + + The trace writer. + + + + Gets or sets the used by the serializer when resolving type names. + + The binder. + + + + Gets or sets the used by the serializer when resolving type names. + + The binder. + + + + Gets or sets the error handler called during serialization and deserialization. + + The error handler called during serialization and deserialization. + + + + Gets or sets the used by the serializer when invoking serialization callback methods. + + The context. + + + + Gets or sets how and values are formatted when writing JSON text, + and the expected date format when reading JSON text. + + + + + Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + + + + + Indicates how JSON text output is formatted. + + + + + Gets or sets how dates are written to JSON text. + + + + + Gets or sets how time zones are handled during serialization and deserialization. + + + + + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + + + + + Gets or sets how special floating point numbers, e.g. , + and , + are written as JSON. + + + + + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + + + + + Gets or sets how strings are escaped when writing JSON text. + + + + + Gets or sets the culture used when reading JSON. Defaults to . + + + + + Gets a value indicating whether there will be a check for additional content after deserializing an object. + + + true if there will be a check for additional content after deserializing an object; otherwise, false. + + + + + Initializes a new instance of the class. + + + + + Represents a reader that provides fast, non-cached, forward-only access to JSON text data. + + + + + Asynchronously reads the next JSON token from the source. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns true if the next token was read successfully; false if there are no more tokens to read. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a []. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the []. This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Initializes a new instance of the class with the specified . + + The containing the JSON data to read. + + + + Gets or sets the reader's character buffer pool. + + + + + Reads the next JSON token from the underlying . + + + true if the next token was read successfully; false if there are no more tokens to read. + + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a . + + A . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a []. + + A [] or null if the next JSON token is null. This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Changes the reader's state to . + If is set to true, the underlying is also closed. + + + + + Gets a value indicating whether the class can return line information. + + + true if and can be provided; otherwise, false. + + + + + Gets the current line number. + + + The current line number or 0 if no line information is available (for example, returns false). + + + + + Gets the current line position. + + + The current line position or 0 if no line information is available (for example, returns false). + + + + + Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. + + + + + Asynchronously flushes whatever is in the buffer to the destination and also flushes the destination. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the JSON value delimiter. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the specified end token. + + The end token to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously closes this writer. + If is set to true, the destination is also closed. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the end of the current JSON object or array. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes indent characters. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes an indent space. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes raw JSON without changing the writer's state. + + The raw JSON to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a null value. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the property name of a name/value pair of a JSON object. + + The name of the property. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the property name of a name/value pair of a JSON object. + + The name of the property. + A flag to indicate whether the text should be escaped when it is written as a JSON property name. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the beginning of a JSON array. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the beginning of a JSON object. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the start of a constructor with the given name. + + The name of the constructor. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes an undefined value. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the given white space. + + The string of white space characters. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a [] value. + + The [] value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a comment /*...*/ containing the specified text. + + Text to place inside the comment. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the end of an array. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the end of a constructor. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the end of a JSON object. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes raw JSON where a value is expected and updates the writer's state. + + The raw JSON to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Gets or sets the writer's character array pool. + + + + + Gets or sets how many s to write for each level in the hierarchy when is set to . + + + + + Gets or sets which character to use to quote attribute values. + + + + + Gets or sets which character to use for indenting when is set to . + + + + + Gets or sets a value indicating whether object names will be surrounded with quotes. + + + + + Initializes a new instance of the class using the specified . + + The to write to. + + + + Flushes whatever is in the buffer to the underlying and also flushes the underlying . + + + + + Closes this writer. + If is set to true, the underlying is also closed. + If is set to true, the JSON is auto-completed. + + + + + Writes the beginning of a JSON object. + + + + + Writes the beginning of a JSON array. + + + + + Writes the start of a constructor with the given name. + + The name of the constructor. + + + + Writes the specified end token. + + The end token to write. + + + + Writes the property name of a name/value pair on a JSON object. + + The name of the property. + + + + Writes the property name of a name/value pair on a JSON object. + + The name of the property. + A flag to indicate whether the text should be escaped when it is written as a JSON property name. + + + + Writes indent characters. + + + + + Writes the JSON value delimiter. + + + + + Writes an indent space. + + + + + Writes a value. + An error will raised if the value cannot be written as a single JSON token. + + The value to write. + + + + Writes a null value. + + + + + Writes an undefined value. + + + + + Writes raw JSON. + + The raw JSON to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a value. + + The value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a [] value. + + The [] value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a comment /*...*/ containing the specified text. + + Text to place inside the comment. + + + + Writes the given white space. + + The string of white space characters. + + + + Specifies the type of JSON token. + + + + + This is returned by the if a read method has not been called. + + + + + An object start token. + + + + + An array start token. + + + + + A constructor start token. + + + + + An object property name. + + + + + A comment. + + + + + Raw JSON. + + + + + An integer. + + + + + A float. + + + + + A string. + + + + + A boolean. + + + + + A null token. + + + + + An undefined token. + + + + + An object end token. + + + + + An array end token. + + + + + A constructor end token. + + + + + A Date. + + + + + Byte data. + + + + + + Represents a reader that provides validation. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Sets an event handler for receiving schema validation errors. + + + + + Gets the text value of the current JSON token. + + + + + + Gets the depth of the current token in the JSON document. + + The depth of the current token in the JSON document. + + + + Gets the path of the current JSON token. + + + + + Gets the quotation mark character used to enclose the value of a string. + + + + + + Gets the type of the current JSON token. + + + + + + Gets the .NET type for the current JSON token. + + + + + + Initializes a new instance of the class that + validates the content returned from the given . + + The to read from while validating. + + + + Gets or sets the schema. + + The schema. + + + + Gets the used to construct this . + + The specified in the constructor. + + + + Changes the reader's state to . + If is set to true, the underlying is also closed. + + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying as a []. + + + A [] or null if the next JSON token is null. + + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying as a . + + A . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying . + + + true if the next token was read successfully; false if there are no more tokens to read. + + + + + Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. + + + + + Asynchronously closes this writer. + If is set to true, the destination is also closed. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously flushes whatever is in the buffer to the destination and also flushes the destination. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the specified end token. + + The end token to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes indent characters. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the JSON value delimiter. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes an indent space. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes raw JSON without changing the writer's state. + + The raw JSON to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the end of the current JSON object or array. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the end of an array. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the end of a constructor. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the end of a JSON object. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a null value. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the property name of a name/value pair of a JSON object. + + The name of the property. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the property name of a name/value pair of a JSON object. + + The name of the property. + A flag to indicate whether the text should be escaped when it is written as a JSON property name. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the beginning of a JSON array. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a comment /*...*/ containing the specified text. + + Text to place inside the comment. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes raw JSON where a value is expected and updates the writer's state. + + The raw JSON to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the start of a constructor with the given name. + + The name of the constructor. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the beginning of a JSON object. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the current token. + + The to read the token from. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the current token. + + The to read the token from. + A flag indicating whether the current token's children should be written. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the token and its value. + + The to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the token and its value. + + The to write. + + The value to write. + A value is only required for tokens that have an associated value, e.g. the property name for . + null can be passed to the method for tokens that don't have a value, e.g. . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a [] value. + + The [] value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes an undefined value. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the given white space. + + The string of white space characters. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously ets the state of the . + + The being written. + The value being written. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Gets or sets a value indicating whether the destination should be closed when this writer is closed. + + + true to close the destination when this writer is closed; otherwise false. The default is true. + + + + + Gets or sets a value indicating whether the JSON should be auto-completed when this writer is closed. + + + true to auto-complete the JSON when this writer is closed; otherwise false. The default is true. + + + + + Gets the top. + + The top. + + + + Gets the state of the writer. + + + + + Gets the path of the writer. + + + + + Gets or sets a value indicating how JSON text output should be formatted. + + + + + Gets or sets how dates are written to JSON text. + + + + + Gets or sets how time zones are handled when writing JSON text. + + + + + Gets or sets how strings are escaped when writing JSON text. + + + + + Gets or sets how special floating point numbers, e.g. , + and , + are written to JSON text. + + + + + Gets or sets how and values are formatted when writing JSON text. + + + + + Gets or sets the culture used when writing JSON. Defaults to . + + + + + Initializes a new instance of the class. + + + + + Flushes whatever is in the buffer to the destination and also flushes the destination. + + + + + Closes this writer. + If is set to true, the destination is also closed. + If is set to true, the JSON is auto-completed. + + + + + Writes the beginning of a JSON object. + + + + + Writes the end of a JSON object. + + + + + Writes the beginning of a JSON array. + + + + + Writes the end of an array. + + + + + Writes the start of a constructor with the given name. + + The name of the constructor. + + + + Writes the end constructor. + + + + + Writes the property name of a name/value pair of a JSON object. + + The name of the property. + + + + Writes the property name of a name/value pair of a JSON object. + + The name of the property. + A flag to indicate whether the text should be escaped when it is written as a JSON property name. + + + + Writes the end of the current JSON object or array. + + + + + Writes the current token and its children. + + The to read the token from. + + + + Writes the current token. + + The to read the token from. + A flag indicating whether the current token's children should be written. + + + + Writes the token and its value. + + The to write. + + The value to write. + A value is only required for tokens that have an associated value, e.g. the property name for . + null can be passed to the method for tokens that don't have a value, e.g. . + + + + + Writes the token. + + The to write. + + + + Writes the specified end token. + + The end token to write. + + + + Writes indent characters. + + + + + Writes the JSON value delimiter. + + + + + Writes an indent space. + + + + + Writes a null value. + + + + + Writes an undefined value. + + + + + Writes raw JSON without changing the writer's state. + + The raw JSON to write. + + + + Writes raw JSON where a value is expected and updates the writer's state. + + The raw JSON to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a [] value. + + The [] value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + An error will raised if the value cannot be written as a single JSON token. + + The value to write. + + + + Writes a comment /*...*/ containing the specified text. + + Text to place inside the comment. + + + + Writes the given white space. + + The string of white space characters. + + + + Releases unmanaged and - optionally - managed resources. + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Sets the state of the . + + The being written. + The value being written. + + + + The exception thrown when an error occurs while writing JSON text. + + + + + Gets the path to the JSON where the error occurred. + + The path to the JSON where the error occurred. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class + with a specified error message. + + The error message that explains the reason for the exception. + + + + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Initializes a new instance of the class + with a specified error message, JSON path and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The path to the JSON where the error occurred. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Specifies how JSON comments are handled when loading JSON. + + + + + Ignore comments. + + + + + Load comments as a with type . + + + + + Specifies how line information is handled when loading JSON. + + + + + Ignore line information. + + + + + Load line information. + + + + + Contains the LINQ to JSON extension methods. + + + + + Returns a collection of tokens that contains the ancestors of every token in the source collection. + + The type of the objects in source, constrained to . + An of that contains the source collection. + An of that contains the ancestors of every token in the source collection. + + + + Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. + + The type of the objects in source, constrained to . + An of that contains the source collection. + An of that contains every token in the source collection, the ancestors of every token in the source collection. + + + + Returns a collection of tokens that contains the descendants of every token in the source collection. + + The type of the objects in source, constrained to . + An of that contains the source collection. + An of that contains the descendants of every token in the source collection. + + + + Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. + + The type of the objects in source, constrained to . + An of that contains the source collection. + An of that contains every token in the source collection, and the descendants of every token in the source collection. + + + + Returns a collection of child properties of every object in the source collection. + + An of that contains the source collection. + An of that contains the properties of every object in the source collection. + + + + Returns a collection of child values of every object in the source collection with the given key. + + An of that contains the source collection. + The token key. + An of that contains the values of every token in the source collection with the given key. + + + + Returns a collection of child values of every object in the source collection. + + An of that contains the source collection. + An of that contains the values of every token in the source collection. + + + + Returns a collection of converted child values of every object in the source collection with the given key. + + The type to convert the values to. + An of that contains the source collection. + The token key. + An that contains the converted values of every token in the source collection with the given key. + + + + Returns a collection of converted child values of every object in the source collection. + + The type to convert the values to. + An of that contains the source collection. + An that contains the converted values of every token in the source collection. + + + + Converts the value. + + The type to convert the value to. + A cast as a of . + A converted value. + + + + Converts the value. + + The source collection type. + The type to convert the value to. + A cast as a of . + A converted value. + + + + Returns a collection of child tokens of every array in the source collection. + + The source collection type. + An of that contains the source collection. + An of that contains the values of every token in the source collection. + + + + Returns a collection of converted child tokens of every array in the source collection. + + An of that contains the source collection. + The type to convert the values to. + The source collection type. + An that contains the converted values of every token in the source collection. + + + + Returns the input typed as . + + An of that contains the source collection. + The input typed as . + + + + Returns the input typed as . + + The source collection type. + An of that contains the source collection. + The input typed as . + + + + Represents a collection of objects. + + The type of token. + + + + Gets the of with the specified key. + + + + + + Represents a JSON array. + + + + + + + + Writes this token to a asynchronously. + + A into which this method will write. + The token to monitor for cancellation requests. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + A representing the asynchronous load. The property contains the JSON that was read from the specified . + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + A representing the asynchronous load. The property contains the JSON that was read from the specified . + + + + Gets the container's children tokens. + + The container's children tokens. + + + + Gets the node type for this . + + The type. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Initializes a new instance of the class with the specified content. + + The contents of the array. + + + + Initializes a new instance of the class with the specified content. + + The contents of the array. + + + + Loads an from a . + + A that will be read for the content of the . + A that contains the JSON that was read from the specified . + + + + Loads an from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + A that contains the JSON that was read from the specified . + + + + Load a from a string that contains JSON. + + A that contains JSON. + A populated from the string that contains JSON. + + + + + + + Load a from a string that contains JSON. + + A that contains JSON. + The used to load the JSON. + If this is null, default load settings will be used. + A populated from the string that contains JSON. + + + + + + + Creates a from an object. + + The object that will be used to create . + A with the values of the specified object. + + + + Creates a from an object. + + The object that will be used to create . + The that will be used to read the object. + A with the values of the specified object. + + + + Writes this token to a . + + A into which this method will write. + A collection of which will be used when writing the token. + + + + Gets the with the specified key. + + The with the specified key. + + + + Gets or sets the at the specified index. + + + + + + Determines the index of a specific item in the . + + The object to locate in the . + + The index of if found in the list; otherwise, -1. + + + + + Inserts an item to the at the specified index. + + The zero-based index at which should be inserted. + The object to insert into the . + + is not a valid index in the . + + + + + Removes the item at the specified index. + + The zero-based index of the item to remove. + + is not a valid index in the . + + + + + Returns an enumerator that iterates through the collection. + + + A of that can be used to iterate through the collection. + + + + + Adds an item to the . + + The object to add to the . + + + + Removes all items from the . + + + + + Determines whether the contains a specific value. + + The object to locate in the . + + true if is found in the ; otherwise, false. + + + + + Copies the elements of the to an array, starting at a particular array index. + + The array. + Index of the array. + + + + Gets a value indicating whether the is read-only. + + true if the is read-only; otherwise, false. + + + + Removes the first occurrence of a specific object from the . + + The object to remove from the . + + true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . + + + + + Represents a JSON constructor. + + + + + Writes this token to a asynchronously. + + A into which this method will write. + The token to monitor for cancellation requests. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous load. The + property returns a that contains the JSON that was read from the specified . + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous load. The + property returns a that contains the JSON that was read from the specified . + + + + Gets the container's children tokens. + + The container's children tokens. + + + + Gets or sets the name of this constructor. + + The constructor name. + + + + Gets the node type for this . + + The type. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Initializes a new instance of the class with the specified name and content. + + The constructor name. + The contents of the constructor. + + + + Initializes a new instance of the class with the specified name and content. + + The constructor name. + The contents of the constructor. + + + + Initializes a new instance of the class with the specified name. + + The constructor name. + + + + Writes this token to a . + + A into which this method will write. + A collection of which will be used when writing the token. + + + + Gets the with the specified key. + + The with the specified key. + + + + Loads a from a . + + A that will be read for the content of the . + A that contains the JSON that was read from the specified . + + + + Loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + A that contains the JSON that was read from the specified . + + + + Represents a token that can contain other tokens. + + + + + Occurs when the items list of the collection has changed, or the collection is reset. + + + + + Gets the container's children tokens. + + The container's children tokens. + + + + Raises the event. + + The instance containing the event data. + + + + Gets a value indicating whether this token has child tokens. + + + true if this token has child values; otherwise, false. + + + + + Get the first child token of this token. + + + A containing the first child token of the . + + + + + Get the last child token of this token. + + + A containing the last child token of the . + + + + + Returns a collection of the child tokens of this token, in document order. + + + An of containing the child tokens of this , in document order. + + + + + Returns a collection of the child values of this token, in document order. + + The type to convert the values to. + + A containing the child values of this , in document order. + + + + + Returns a collection of the descendant tokens for this token in document order. + + An of containing the descendant tokens of the . + + + + Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. + + An of containing this token, and all the descendant tokens of the . + + + + Adds the specified content as children of this . + + The content to be added. + + + + Adds the specified content as the first children of this . + + The content to be added. + + + + Creates a that can be used to add tokens to the . + + A that is ready to have content written to it. + + + + Replaces the child nodes of this token with the specified content. + + The content. + + + + Removes the child nodes from this token. + + + + + Merge the specified content into this . + + The content to be merged. + + + + Merge the specified content into this using . + + The content to be merged. + The used to merge the content. + + + + Gets the count of child JSON tokens. + + The count of child JSON tokens. + + + + Represents a collection of objects. + + The type of token. + + + + An empty collection of objects. + + + + + Initializes a new instance of the struct. + + The enumerable. + + + + Returns an enumerator that can be used to iterate through the collection. + + + A that can be used to iterate through the collection. + + + + + Gets the of with the specified key. + + + + + + Determines whether the specified is equal to this instance. + + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + + + + + Determines whether the specified is equal to this instance. + + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + + + + + Returns a hash code for this instance. + + + A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. + + + + + Represents a JSON object. + + + + + + + + Writes this token to a asynchronously. + + A into which this method will write. + The token to monitor for cancellation requests. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous load. The + property returns a that contains the JSON that was read from the specified . + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous load. The + property returns a that contains the JSON that was read from the specified . + + + + Gets the container's children tokens. + + The container's children tokens. + + + + Occurs when a property value changes. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Initializes a new instance of the class with the specified content. + + The contents of the object. + + + + Initializes a new instance of the class with the specified content. + + The contents of the object. + + + + Gets the node type for this . + + The type. + + + + Gets an of of this object's properties. + + An of of this object's properties. + + + + Gets a the specified name. + + The property name. + A with the specified name or null. + + + + Gets a of of this object's property values. + + A of of this object's property values. + + + + Gets the with the specified key. + + The with the specified key. + + + + Gets or sets the with the specified property name. + + + + + + Loads a from a . + + A that will be read for the content of the . + A that contains the JSON that was read from the specified . + + is not valid JSON. + + + + + Loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + A that contains the JSON that was read from the specified . + + is not valid JSON. + + + + + Load a from a string that contains JSON. + + A that contains JSON. + A populated from the string that contains JSON. + + is not valid JSON. + + + + + + + + Load a from a string that contains JSON. + + A that contains JSON. + The used to load the JSON. + If this is null, default load settings will be used. + A populated from the string that contains JSON. + + is not valid JSON. + + + + + + + + Creates a from an object. + + The object that will be used to create . + A with the values of the specified object. + + + + Creates a from an object. + + The object that will be used to create . + The that will be used to read the object. + A with the values of the specified object. + + + + Writes this token to a . + + A into which this method will write. + A collection of which will be used when writing the token. + + + + Gets the with the specified property name. + + Name of the property. + The with the specified property name. + + + + Gets the with the specified property name. + The exact property name will be searched for first and if no matching property is found then + the will be used to match a property. + + Name of the property. + One of the enumeration values that specifies how the strings will be compared. + The with the specified property name. + + + + Tries to get the with the specified property name. + The exact property name will be searched for first and if no matching property is found then + the will be used to match a property. + + Name of the property. + The value. + One of the enumeration values that specifies how the strings will be compared. + true if a value was successfully retrieved; otherwise, false. + + + + Adds the specified property name. + + Name of the property. + The value. + + + + Removes the property with the specified name. + + Name of the property. + true if item was successfully removed; otherwise, false. + + + + Tries to get the with the specified property name. + + Name of the property. + The value. + true if a value was successfully retrieved; otherwise, false. + + + + Returns an enumerator that can be used to iterate through the collection. + + + A that can be used to iterate through the collection. + + + + + Raises the event with the provided arguments. + + Name of the property. + + + + Returns the responsible for binding operations performed on this object. + + The expression tree representation of the runtime value. + + The to bind this object. + + + + + Represents a JSON property. + + + + + Writes this token to a asynchronously. + + A into which this method will write. + The token to monitor for cancellation requests. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The token to monitor for cancellation requests. The default value is . + A representing the asynchronous creation. The + property returns a that contains the JSON that was read from the specified . + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + A representing the asynchronous creation. The + property returns a that contains the JSON that was read from the specified . + + + + Gets the container's children tokens. + + The container's children tokens. + + + + Gets the property name. + + The property name. + + + + Gets or sets the property value. + + The property value. + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Gets the node type for this . + + The type. + + + + Initializes a new instance of the class. + + The property name. + The property content. + + + + Initializes a new instance of the class. + + The property name. + The property content. + + + + Writes this token to a . + + A into which this method will write. + A collection of which will be used when writing the token. + + + + Loads a from a . + + A that will be read for the content of the . + A that contains the JSON that was read from the specified . + + + + Loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + A that contains the JSON that was read from the specified . + + + + Represents a raw JSON string. + + + + + Asynchronously creates an instance of with the content of the reader's current token. + + The reader. + The token to monitor for cancellation requests. The default value is . + A representing the asynchronous creation. The + property returns an instance of with the content of the reader's current token. + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Initializes a new instance of the class. + + The raw json. + + + + Creates an instance of with the content of the reader's current token. + + The reader. + An instance of with the content of the reader's current token. + + + + Specifies the settings used when loading JSON. + + + + + Initializes a new instance of the class. + + + + + Gets or sets how JSON comments are handled when loading JSON. + + The JSON comment handling. + + + + Gets or sets how JSON line info is handled when loading JSON. + + The JSON line info handling. + + + + Specifies the settings used when merging JSON. + + + + + Gets or sets the method used when merging JSON arrays. + + The method used when merging JSON arrays. + + + + Gets or sets how null value properties are merged. + + How null value properties are merged. + + + + Represents an abstract JSON token. + + + + + Writes this token to a asynchronously. + + A into which this method will write. + The token to monitor for cancellation requests. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Writes this token to a asynchronously. + + A into which this method will write. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Asynchronously creates a from a . + + An positioned at the token to read into this . + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous creation. The + property returns a that contains + the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Asynchronously creates a from a . + + An positioned at the token to read into this . + The used to load the JSON. + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous creation. The + property returns a that contains + the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Asynchronously creates a from a . + + A positioned at the token to read into this . + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous creation. The + property returns a that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Asynchronously creates a from a . + + A positioned at the token to read into this . + The used to load the JSON. + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous creation. The + property returns a that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Gets a comparer that can compare two tokens for value equality. + + A that can compare two nodes for value equality. + + + + Gets or sets the parent. + + The parent. + + + + Gets the root of this . + + The root of this . + + + + Gets the node type for this . + + The type. + + + + Gets a value indicating whether this token has child tokens. + + + true if this token has child values; otherwise, false. + + + + + Compares the values of two tokens, including the values of all descendant tokens. + + The first to compare. + The second to compare. + true if the tokens are equal; otherwise false. + + + + Gets the next sibling token of this node. + + The that contains the next sibling token. + + + + Gets the previous sibling token of this node. + + The that contains the previous sibling token. + + + + Gets the path of the JSON token. + + + + + Adds the specified content immediately after this token. + + A content object that contains simple content or a collection of content objects to be added after this token. + + + + Adds the specified content immediately before this token. + + A content object that contains simple content or a collection of content objects to be added before this token. + + + + Returns a collection of the ancestor tokens of this token. + + A collection of the ancestor tokens of this token. + + + + Returns a collection of tokens that contain this token, and the ancestors of this token. + + A collection of tokens that contain this token, and the ancestors of this token. + + + + Returns a collection of the sibling tokens after this token, in document order. + + A collection of the sibling tokens after this tokens, in document order. + + + + Returns a collection of the sibling tokens before this token, in document order. + + A collection of the sibling tokens before this token, in document order. + + + + Gets the with the specified key. + + The with the specified key. + + + + Gets the with the specified key converted to the specified type. + + The type to convert the token to. + The token key. + The converted token value. + + + + Get the first child token of this token. + + A containing the first child token of the . + + + + Get the last child token of this token. + + A containing the last child token of the . + + + + Returns a collection of the child tokens of this token, in document order. + + An of containing the child tokens of this , in document order. + + + + Returns a collection of the child tokens of this token, in document order, filtered by the specified type. + + The type to filter the child tokens on. + A containing the child tokens of this , in document order. + + + + Returns a collection of the child values of this token, in document order. + + The type to convert the values to. + A containing the child values of this , in document order. + + + + Removes this token from its parent. + + + + + Replaces this token with the specified token. + + The value. + + + + Writes this token to a . + + A into which this method will write. + A collection of which will be used when writing the token. + + + + Returns the indented JSON for this token. + + + The indented JSON for this token. + + + + + Returns the JSON for this token using the given formatting and converters. + + Indicates how the output should be formatted. + A collection of s which will be used when writing the token. + The JSON for this token using the given formatting and converters. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to []. + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from [] to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Creates a for this token. + + A that can be used to read this token and its descendants. + + + + Creates a from an object. + + The object that will be used to create . + A with the value of the specified object. + + + + Creates a from an object using the specified . + + The object that will be used to create . + The that will be used when reading the object. + A with the value of the specified object. + + + + Creates an instance of the specified .NET type from the . + + The object type that the token will be deserialized to. + The new object created from the JSON value. + + + + Creates an instance of the specified .NET type from the . + + The object type that the token will be deserialized to. + The new object created from the JSON value. + + + + Creates an instance of the specified .NET type from the using the specified . + + The object type that the token will be deserialized to. + The that will be used when creating the object. + The new object created from the JSON value. + + + + Creates an instance of the specified .NET type from the using the specified . + + The object type that the token will be deserialized to. + The that will be used when creating the object. + The new object created from the JSON value. + + + + Creates a from a . + + A positioned at the token to read into this . + + A that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Creates a from a . + + An positioned at the token to read into this . + The used to load the JSON. + If this is null, default load settings will be used. + + A that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Load a from a string that contains JSON. + + A that contains JSON. + A populated from the string that contains JSON. + + + + Load a from a string that contains JSON. + + A that contains JSON. + The used to load the JSON. + If this is null, default load settings will be used. + A populated from the string that contains JSON. + + + + Creates a from a . + + A positioned at the token to read into this . + The used to load the JSON. + If this is null, default load settings will be used. + + A that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Creates a from a . + + A positioned at the token to read into this . + + A that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Selects a using a JPath expression. Selects the token that matches the object path. + + + A that contains a JPath expression. + + A , or null. + + + + Selects a using a JPath expression. Selects the token that matches the object path. + + + A that contains a JPath expression. + + A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. + A . + + + + Selects a collection of elements using a JPath expression. + + + A that contains a JPath expression. + + An of that contains the selected elements. + + + + Selects a collection of elements using a JPath expression. + + + A that contains a JPath expression. + + A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. + An of that contains the selected elements. + + + + Returns the responsible for binding operations performed on this object. + + The expression tree representation of the runtime value. + + The to bind this object. + + + + + Returns the responsible for binding operations performed on this object. + + The expression tree representation of the runtime value. + + The to bind this object. + + + + + Creates a new instance of the . All child tokens are recursively cloned. + + A new instance of the . + + + + Adds an object to the annotation list of this . + + The annotation to add. + + + + Get the first annotation object of the specified type from this . + + The type of the annotation to retrieve. + The first annotation object that matches the specified type, or null if no annotation is of the specified type. + + + + Gets the first annotation object of the specified type from this . + + The of the annotation to retrieve. + The first annotation object that matches the specified type, or null if no annotation is of the specified type. + + + + Gets a collection of annotations of the specified type for this . + + The type of the annotations to retrieve. + An that contains the annotations for this . + + + + Gets a collection of annotations of the specified type for this . + + The of the annotations to retrieve. + An of that contains the annotations that match the specified type for this . + + + + Removes the annotations of the specified type from this . + + The type of annotations to remove. + + + + Removes the annotations of the specified type from this . + + The of annotations to remove. + + + + Compares tokens to determine whether they are equal. + + + + + Determines whether the specified objects are equal. + + The first object of type to compare. + The second object of type to compare. + + true if the specified objects are equal; otherwise, false. + + + + + Returns a hash code for the specified object. + + The for which a hash code is to be returned. + A hash code for the specified object. + The type of is a reference type and is null. + + + + Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. + + + + + Gets the at the reader's current position. + + + + + Initializes a new instance of the class. + + The token to read from. + + + + Reads the next JSON token from the underlying . + + + true if the next token was read successfully; false if there are no more tokens to read. + + + + + Gets the path of the current JSON token. + + + + + Specifies the type of token. + + + + + No token type has been set. + + + + + A JSON object. + + + + + A JSON array. + + + + + A JSON constructor. + + + + + A JSON object property. + + + + + A comment. + + + + + An integer value. + + + + + A float value. + + + + + A string value. + + + + + A boolean value. + + + + + A null value. + + + + + An undefined value. + + + + + A date value. + + + + + A raw JSON value. + + + + + A collection of bytes value. + + + + + A Guid value. + + + + + A Uri value. + + + + + A TimeSpan value. + + + + + Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. + + + + + Gets the at the writer's current position. + + + + + Gets the token being written. + + The token being written. + + + + Initializes a new instance of the class writing to the given . + + The container being written to. + + + + Initializes a new instance of the class. + + + + + Flushes whatever is in the buffer to the underlying . + + + + + Closes this writer. + If is set to true, the JSON is auto-completed. + + + Setting to true has no additional effect, since the underlying is a type that cannot be closed. + + + + + Writes the beginning of a JSON object. + + + + + Writes the beginning of a JSON array. + + + + + Writes the start of a constructor with the given name. + + The name of the constructor. + + + + Writes the end. + + The token. + + + + Writes the property name of a name/value pair on a JSON object. + + The name of the property. + + + + Writes a value. + An error will be raised if the value cannot be written as a single JSON token. + + The value to write. + + + + Writes a null value. + + + + + Writes an undefined value. + + + + + Writes raw JSON. + + The raw JSON to write. + + + + Writes a comment /*...*/ containing the specified text. + + Text to place inside the comment. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a [] value. + + The [] value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Represents a value in JSON (string, integer, date, etc). + + + + + Writes this token to a asynchronously. + + A into which this method will write. + The token to monitor for cancellation requests. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Gets a value indicating whether this token has child tokens. + + + true if this token has child values; otherwise, false. + + + + + Creates a comment with the given value. + + The value. + A comment with the given value. + + + + Creates a string with the given value. + + The value. + A string with the given value. + + + + Creates a null value. + + A null value. + + + + Creates a undefined value. + + A undefined value. + + + + Gets the node type for this . + + The type. + + + + Gets or sets the underlying token value. + + The underlying token value. + + + + Writes this token to a . + + A into which this method will write. + A collection of s which will be used when writing the token. + + + + Indicates whether the current object is equal to another object of the same type. + + + true if the current object is equal to the parameter; otherwise, false. + + An object to compare with this object. + + + + Determines whether the specified is equal to the current . + + The to compare with the current . + + true if the specified is equal to the current ; otherwise, false. + + + + + Serves as a hash function for a particular type. + + + A hash code for the current . + + + + + Returns a that represents this instance. + + + A that represents this instance. + + + + + Returns a that represents this instance. + + The format. + + A that represents this instance. + + + + + Returns a that represents this instance. + + The format provider. + + A that represents this instance. + + + + + Returns a that represents this instance. + + The format. + The format provider. + + A that represents this instance. + + + + + Returns the responsible for binding operations performed on this object. + + The expression tree representation of the runtime value. + + The to bind this object. + + + + + Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. + + An object to compare with this instance. + + A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: + Value + Meaning + Less than zero + This instance is less than . + Zero + This instance is equal to . + Greater than zero + This instance is greater than . + + + is not of the same type as this instance. + + + + + Specifies how JSON arrays are merged together. + + + + Concatenate arrays. + + + Union arrays, skipping items that already exist. + + + Replace all array items. + + + Merge array items together, matched by index. + + + + Specifies how null value properties are merged. + + + + + The content's null value properties will be ignored during merging. + + + + + The content's null value properties will be merged. + + + + + Specifies the member serialization options for the . + + + + + All public members are serialized by default. Members can be excluded using or . + This is the default member serialization mode. + + + + + Only members marked with or are serialized. + This member serialization mode can also be set by marking the class with . + + + + + All public and private fields are serialized. Members can be excluded using or . + This member serialization mode can also be set by marking the class with + and setting IgnoreSerializableAttribute on to false. + + + + + Specifies metadata property handling options for the . + + + + + Read metadata properties located at the start of a JSON object. + + + + + Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. + + + + + Do not try to read metadata properties. + + + + + Specifies missing member handling options for the . + + + + + Ignore a missing member and do not attempt to deserialize it. + + + + + Throw a when a missing member is encountered during deserialization. + + + + + Specifies null value handling options for the . + + + + + + + + + Include null values when serializing and deserializing objects. + + + + + Ignore null values when serializing and deserializing objects. + + + + + Specifies how object creation is handled by the . + + + + + Reuse existing objects, create new objects when needed. + + + + + Only reuse existing objects. + + + + + Always create new objects. + + + + + Specifies reference handling options for the . + Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement . + + + + + + + + Do not preserve references when serializing types. + + + + + Preserve references when serializing into a JSON object structure. + + + + + Preserve references when serializing into a JSON array structure. + + + + + Preserve references when serializing. + + + + + Specifies reference loop handling options for the . + + + + + Throw a when a loop is encountered. + + + + + Ignore loop references and do not serialize. + + + + + Serialize loop references. + + + + + Indicating whether a property is required. + + + + + The property is not required. The default state. + + + + + The property must be defined in JSON but can be a null value. + + + + + The property must be defined in JSON and cannot be a null value. + + + + + The property is not required but it cannot be a null value. + + + + + + Contains the JSON schema extension methods. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + + Determines whether the is valid. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + The source to test. + The schema to test with. + + true if the specified is valid; otherwise, false. + + + + + + Determines whether the is valid. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + The source to test. + The schema to test with. + When this method returns, contains any error messages generated while validating. + + true if the specified is valid; otherwise, false. + + + + + + Validates the specified . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + The source to test. + The schema to test with. + + + + + Validates the specified . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + The source to test. + The schema to test with. + The validation event handler. + + + + + An in-memory representation of a JSON Schema. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets or sets the id. + + + + + Gets or sets the title. + + + + + Gets or sets whether the object is required. + + + + + Gets or sets whether the object is read-only. + + + + + Gets or sets whether the object is visible to users. + + + + + Gets or sets whether the object is transient. + + + + + Gets or sets the description of the object. + + + + + Gets or sets the types of values allowed by the object. + + The type. + + + + Gets or sets the pattern. + + The pattern. + + + + Gets or sets the minimum length. + + The minimum length. + + + + Gets or sets the maximum length. + + The maximum length. + + + + Gets or sets a number that the value should be divisible by. + + A number that the value should be divisible by. + + + + Gets or sets the minimum. + + The minimum. + + + + Gets or sets the maximum. + + The maximum. + + + + Gets or sets a flag indicating whether the value can not equal the number defined by the minimum attribute (). + + A flag indicating whether the value can not equal the number defined by the minimum attribute (). + + + + Gets or sets a flag indicating whether the value can not equal the number defined by the maximum attribute (). + + A flag indicating whether the value can not equal the number defined by the maximum attribute (). + + + + Gets or sets the minimum number of items. + + The minimum number of items. + + + + Gets or sets the maximum number of items. + + The maximum number of items. + + + + Gets or sets the of items. + + The of items. + + + + Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . + + + true if items are validated using their array position; otherwise, false. + + + + + Gets or sets the of additional items. + + The of additional items. + + + + Gets or sets a value indicating whether additional items are allowed. + + + true if additional items are allowed; otherwise, false. + + + + + Gets or sets whether the array items must be unique. + + + + + Gets or sets the of properties. + + The of properties. + + + + Gets or sets the of additional properties. + + The of additional properties. + + + + Gets or sets the pattern properties. + + The pattern properties. + + + + Gets or sets a value indicating whether additional properties are allowed. + + + true if additional properties are allowed; otherwise, false. + + + + + Gets or sets the required property if this property is present. + + The required property if this property is present. + + + + Gets or sets the a collection of valid enum values allowed. + + A collection of valid enum values allowed. + + + + Gets or sets disallowed types. + + The disallowed types. + + + + Gets or sets the default value. + + The default value. + + + + Gets or sets the collection of that this schema extends. + + The collection of that this schema extends. + + + + Gets or sets the format. + + The format. + + + + Initializes a new instance of the class. + + + + + Reads a from the specified . + + The containing the JSON Schema to read. + The object representing the JSON Schema. + + + + Reads a from the specified . + + The containing the JSON Schema to read. + The to use when resolving schema references. + The object representing the JSON Schema. + + + + Load a from a string that contains JSON Schema. + + A that contains JSON Schema. + A populated from the string that contains JSON Schema. + + + + Load a from a string that contains JSON Schema using the specified . + + A that contains JSON Schema. + The resolver. + A populated from the string that contains JSON Schema. + + + + Writes this schema to a . + + A into which this method will write. + + + + Writes this schema to a using the specified . + + A into which this method will write. + The resolver used. + + + + Returns a that represents the current . + + + A that represents the current . + + + + + + Returns detailed information about the schema exception. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets the line number indicating where the error occurred. + + The line number indicating where the error occurred. + + + + Gets the line position indicating where the error occurred. + + The line position indicating where the error occurred. + + + + Gets the path to the JSON where the error occurred. + + The path to the JSON where the error occurred. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class + with a specified error message. + + The error message that explains the reason for the exception. + + + + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + + Generates a from a specified . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets or sets how undefined schemas are handled by the serializer. + + + + + Gets or sets the contract resolver. + + The contract resolver. + + + + Generate a from the specified type. + + The type to generate a from. + A generated from the specified type. + + + + Generate a from the specified type. + + The type to generate a from. + The used to resolve schema references. + A generated from the specified type. + + + + Generate a from the specified type. + + The type to generate a from. + Specify whether the generated root will be nullable. + A generated from the specified type. + + + + Generate a from the specified type. + + The type to generate a from. + The used to resolve schema references. + Specify whether the generated root will be nullable. + A generated from the specified type. + + + + + Resolves from an id. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets or sets the loaded schemas. + + The loaded schemas. + + + + Initializes a new instance of the class. + + + + + Gets a for the specified reference. + + The id. + A for the specified reference. + + + + + The value types allowed by the . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + No type specified. + + + + + String type. + + + + + Float type. + + + + + Integer type. + + + + + Boolean type. + + + + + Object type. + + + + + Array type. + + + + + Null type. + + + + + Any type. + + + + + + Specifies undefined schema Id handling options for the . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Do not infer a schema Id. + + + + + Use the .NET type name as the schema Id. + + + + + Use the assembly qualified .NET type name as the schema Id. + + + + + + Returns detailed information related to the . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets the associated with the validation error. + + The JsonSchemaException associated with the validation error. + + + + Gets the path of the JSON location where the validation error occurred. + + The path of the JSON location where the validation error occurred. + + + + Gets the text description corresponding to the validation error. + + The text description. + + + + + Represents the callback method that will handle JSON schema validation events and the . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Allows users to control class loading and mandate what class to load. + + + + + When overridden in a derived class, controls the binding of a serialized object to a type. + + Specifies the name of the serialized object. + Specifies the name of the serialized object + The type of the object the formatter creates a new instance of. + + + + When overridden in a derived class, controls the binding of a serialized object to a type. + + The type of the object the formatter creates a new instance of. + Specifies the name of the serialized object. + Specifies the name of the serialized object. + + + + A camel case naming strategy. + + + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + A flag indicating whether extension data names should be processed. + + + + + Initializes a new instance of the class. + + + + + Resolves the specified property name. + + The property name to resolve. + The resolved property name. + + + + Resolves member mappings for a type, camel casing property names. + + + + + Initializes a new instance of the class. + + + + + Resolves the contract for a given type. + + The type to resolve a contract for. + The contract for a given type. + + + + Used by to resolve a for a given . + + + + + Gets a value indicating whether members are being get and set using dynamic code generation. + This value is determined by the runtime permissions available. + + + true if using dynamic code generation; otherwise, false. + + + + + Gets or sets a value indicating whether compiler generated members should be serialized. + + + true if serialized compiler generated members; otherwise, false. + + + + + Gets or sets a value indicating whether to ignore the interface when serializing and deserializing types. + + + true if the interface will be ignored when serializing and deserializing types; otherwise, false. + + + + + Gets or sets a value indicating whether to ignore the attribute when serializing and deserializing types. + + + true if the attribute will be ignored when serializing and deserializing types; otherwise, false. + + + + + Gets or sets the naming strategy used to resolve how property names and dictionary keys are serialized. + + The naming strategy used to resolve how property names and dictionary keys are serialized. + + + + Initializes a new instance of the class. + + + + + Resolves the contract for a given type. + + The type to resolve a contract for. + The contract for a given type. + + + + Gets the serializable members for the type. + + The type to get serializable members for. + The serializable members for the type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates the constructor parameters. + + The constructor to create properties for. + The type's member properties. + Properties for the given . + + + + Creates a for the given . + + The matching member property. + The constructor parameter. + A created for the given . + + + + Resolves the default for the contract. + + Type of the object. + The contract's default . + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Determines which contract type is created for the given type. + + Type of the object. + A for the given type. + + + + Creates properties for the given . + + The type to create properties for. + /// The member serialization mode for the type. + Properties for the given . + + + + Creates the used by the serializer to get and set values from a member. + + The member. + The used by the serializer to get and set values from a member. + + + + Creates a for the given . + + The member's parent . + The member to create a for. + A created for the given . + + + + Resolves the name of the property. + + Name of the property. + Resolved name of the property. + + + + Resolves the name of the extension data. By default no changes are made to extension data names. + + Name of the extension data. + Resolved name of the extension data. + + + + Resolves the key of the dictionary. By default is used to resolve dictionary keys. + + Key of the dictionary. + Resolved key of the dictionary. + + + + Gets the resolved name of the property. + + Name of the property. + Name of the property. + + + + The default naming strategy. Property names and dictionary keys are unchanged. + + + + + Resolves the specified property name. + + The property name to resolve. + The resolved property name. + + + + The default serialization binder used when resolving and loading classes from type names. + + + + + Initializes a new instance of the class. + + + + + When overridden in a derived class, controls the binding of a serialized object to a type. + + Specifies the name of the serialized object. + Specifies the name of the serialized object. + + The type of the object the formatter creates a new instance of. + + + + + When overridden in a derived class, controls the binding of a serialized object to a type. + + The type of the object the formatter creates a new instance of. + Specifies the name of the serialized object. + Specifies the name of the serialized object. + + + + Provides information surrounding an error. + + + + + Gets the error. + + The error. + + + + Gets the original object that caused the error. + + The original object that caused the error. + + + + Gets the member that caused the error. + + The member that caused the error. + + + + Gets the path of the JSON location where the error occurred. + + The path of the JSON location where the error occurred. + + + + Gets or sets a value indicating whether this is handled. + + true if handled; otherwise, false. + + + + Provides data for the Error event. + + + + + Gets the current object the error event is being raised against. + + The current object the error event is being raised against. + + + + Gets the error context. + + The error context. + + + + Initializes a new instance of the class. + + The current object. + The error context. + + + + Get and set values for a using dynamic methods. + + + + + Initializes a new instance of the class. + + The member info. + + + + Sets the value. + + The target to set the value on. + The value to set on the target. + + + + Gets the value. + + The target to get the value from. + The value. + + + + Provides methods to get attributes. + + + + + Returns a collection of all of the attributes, or an empty collection if there are no attributes. + + When true, look up the hierarchy chain for the inherited custom attribute. + A collection of s, or an empty collection. + + + + Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. + + The type of the attributes. + When true, look up the hierarchy chain for the inherited custom attribute. + A collection of s, or an empty collection. + + + + Used by to resolve a for a given . + + + + + + + + + Resolves the contract for a given type. + + The type to resolve a contract for. + The contract for a given type. + + + + Used to resolve references when serializing and deserializing JSON by the . + + + + + Resolves a reference to its object. + + The serialization context. + The reference to resolve. + The object that was resolved from the reference. + + + + Gets the reference for the specified object. + + The serialization context. + The object to get a reference for. + The reference to the object. + + + + Determines whether the specified object is referenced. + + The serialization context. + The object to test for a reference. + + true if the specified object is referenced; otherwise, false. + + + + + Adds a reference to the specified object. + + The serialization context. + The reference. + The object to reference. + + + + Allows users to control class loading and mandate what class to load. + + + + + When implemented, controls the binding of a serialized object to a type. + + Specifies the name of the serialized object. + Specifies the name of the serialized object + The type of the object the formatter creates a new instance of. + + + + When implemented, controls the binding of a serialized object to a type. + + The type of the object the formatter creates a new instance of. + Specifies the name of the serialized object. + Specifies the name of the serialized object. + + + + Represents a trace writer. + + + + + Gets the that will be used to filter the trace messages passed to the writer. + For example a filter level of will exclude messages and include , + and messages. + + The that will be used to filter the trace messages passed to the writer. + + + + Writes the specified trace level, message and optional exception. + + The at which to write this trace. + The trace message. + The trace exception. This parameter is optional. + + + + Provides methods to get and set values. + + + + + Sets the value. + + The target to set the value on. + The value to set on the target. + + + + Gets the value. + + The target to get the value from. + The value. + + + + Contract details for a used by the . + + + + + Gets the of the collection items. + + The of the collection items. + + + + Gets a value indicating whether the collection type is a multidimensional array. + + true if the collection type is a multidimensional array; otherwise, false. + + + + Gets or sets the function used to create the object. When set this function will override . + + The function used to create the object. + + + + Gets a value indicating whether the creator has a parameter with the collection values. + + true if the creator has a parameter with the collection values; otherwise, false. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Contract details for a used by the . + + + + + Gets or sets the default collection items . + + The converter. + + + + Gets or sets a value indicating whether the collection items preserve object references. + + true if collection items preserve object references; otherwise, false. + + + + Gets or sets the collection item reference loop handling. + + The reference loop handling. + + + + Gets or sets the collection item type name handling. + + The type name handling. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Handles serialization callback events. + + The object that raised the callback event. + The streaming context. + + + + Handles serialization error callback events. + + The object that raised the callback event. + The streaming context. + The error context. + + + + Sets extension data for an object during deserialization. + + The object to set extension data on. + The extension data key. + The extension data value. + + + + Gets extension data for an object during serialization. + + The object to set extension data on. + + + + Contract details for a used by the . + + + + + Gets the underlying type for the contract. + + The underlying type for the contract. + + + + Gets or sets the type created during deserialization. + + The type created during deserialization. + + + + Gets or sets whether this type contract is serialized as a reference. + + Whether this type contract is serialized as a reference. + + + + Gets or sets the default for this contract. + + The converter. + + + + Gets or sets all methods called immediately after deserialization of the object. + + The methods called immediately after deserialization of the object. + + + + Gets or sets all methods called during deserialization of the object. + + The methods called during deserialization of the object. + + + + Gets or sets all methods called after serialization of the object graph. + + The methods called after serialization of the object graph. + + + + Gets or sets all methods called before serialization of the object. + + The methods called before serialization of the object. + + + + Gets or sets all method called when an error is thrown during the serialization of the object. + + The methods called when an error is thrown during the serialization of the object. + + + + Gets or sets the default creator method used to create the object. + + The default creator method used to create the object. + + + + Gets or sets a value indicating whether the default creator is non-public. + + true if the default object creator is non-public; otherwise, false. + + + + Contract details for a used by the . + + + + + Gets or sets the dictionary key resolver. + + The dictionary key resolver. + + + + Gets the of the dictionary keys. + + The of the dictionary keys. + + + + Gets the of the dictionary values. + + The of the dictionary values. + + + + Gets or sets the function used to create the object. When set this function will override . + + The function used to create the object. + + + + Gets a value indicating whether the creator has a parameter with the dictionary values. + + true if the creator has a parameter with the dictionary values; otherwise, false. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Contract details for a used by the . + + + + + Gets the object's properties. + + The object's properties. + + + + Gets or sets the property name resolver. + + The property name resolver. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Contract details for a used by the . + + + + + Gets or sets the object constructor. + + The object constructor. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Contract details for a used by the . + + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Contract details for a used by the . + + + + + Gets or sets the object member serialization. + + The member object serialization. + + + + Gets or sets a value that indicates whether the object's properties are required. + + + A value indicating whether the object's properties are required. + + + + + Gets the object's properties. + + The object's properties. + + + + Gets a collection of instances that define the parameters used with . + + + + + Gets or sets the function used to create the object. When set this function will override . + This function is called with a collection of arguments which are defined by the collection. + + The function used to create the object. + + + + Gets or sets the extension data setter. + + + + + Gets or sets the extension data getter. + + + + + Gets or sets the extension data value type. + + + + + Gets or sets the extension data name resolver. + + The extension data name resolver. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Contract details for a used by the . + + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Maps a JSON property to a .NET member or constructor parameter. + + + + + Gets or sets the name of the property. + + The name of the property. + + + + Gets or sets the type that declared this property. + + The type that declared this property. + + + + Gets or sets the order of serialization of a member. + + The numeric order of serialization. + + + + Gets or sets the name of the underlying member or parameter. + + The name of the underlying member or parameter. + + + + Gets the that will get and set the during serialization. + + The that will get and set the during serialization. + + + + Gets or sets the for this property. + + The for this property. + + + + Gets or sets the type of the property. + + The type of the property. + + + + Gets or sets the for the property. + If set this converter takes precedence over the contract converter for the property type. + + The converter. + + + + Gets or sets the member converter. + + The member converter. + + + + Gets or sets a value indicating whether this is ignored. + + true if ignored; otherwise, false. + + + + Gets or sets a value indicating whether this is readable. + + true if readable; otherwise, false. + + + + Gets or sets a value indicating whether this is writable. + + true if writable; otherwise, false. + + + + Gets or sets a value indicating whether this has a member attribute. + + true if has a member attribute; otherwise, false. + + + + Gets the default value. + + The default value. + + + + Gets or sets a value indicating whether this is required. + + A value indicating whether this is required. + + + + Gets or sets a value indicating whether this property preserves object references. + + + true if this instance is reference; otherwise, false. + + + + + Gets or sets the property null value handling. + + The null value handling. + + + + Gets or sets the property default value handling. + + The default value handling. + + + + Gets or sets the property reference loop handling. + + The reference loop handling. + + + + Gets or sets the property object creation handling. + + The object creation handling. + + + + Gets or sets or sets the type name handling. + + The type name handling. + + + + Gets or sets a predicate used to determine whether the property should be serialized. + + A predicate used to determine whether the property should be serialized. + + + + Gets or sets a predicate used to determine whether the property should be deserialized. + + A predicate used to determine whether the property should be deserialized. + + + + Gets or sets a predicate used to determine whether the property should be serialized. + + A predicate used to determine whether the property should be serialized. + + + + Gets or sets an action used to set whether the property has been deserialized. + + An action used to set whether the property has been deserialized. + + + + Returns a that represents this instance. + + + A that represents this instance. + + + + + Gets or sets the converter used when serializing the property's collection items. + + The collection's items converter. + + + + Gets or sets whether this property's collection items are serialized as a reference. + + Whether this property's collection items are serialized as a reference. + + + + Gets or sets the type name handling used when serializing the property's collection items. + + The collection's items type name handling. + + + + Gets or sets the reference loop handling used when serializing the property's collection items. + + The collection's items reference loop handling. + + + + A collection of objects. + + + + + Initializes a new instance of the class. + + The type. + + + + When implemented in a derived class, extracts the key from the specified element. + + The element from which to extract the key. + The key for the specified element. + + + + Adds a object. + + The property to add to the collection. + + + + Gets the closest matching object. + First attempts to get an exact case match of and then + a case insensitive match. + + Name of the property. + A matching property if found. + + + + Gets a property by property name. + + The name of the property to get. + Type property name string comparison. + A matching property if found. + + + + Contract details for a used by the . + + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Lookup and create an instance of the type described by the argument. + + The type to create. + Optional arguments to pass to an initializing constructor of the JsonConverter. + If null, the default constructor is used. + + + + Represents a trace writer that writes to memory. When the trace message limit is + reached then old trace messages will be removed as new messages are added. + + + + + Gets the that will be used to filter the trace messages passed to the writer. + For example a filter level of will exclude messages and include , + and messages. + + + The that will be used to filter the trace messages passed to the writer. + + + + + Initializes a new instance of the class. + + + + + Writes the specified trace level, message and optional exception. + + The at which to write this trace. + The trace message. + The trace exception. This parameter is optional. + + + + Returns an enumeration of the most recent trace messages. + + An enumeration of the most recent trace messages. + + + + Returns a of the most recent trace messages. + + + A of the most recent trace messages. + + + + + A base class for resolving how property names and dictionary keys are serialized. + + + + + A flag indicating whether dictionary keys should be processed. + Defaults to false. + + + + + A flag indicating whether extension data names should be processed. + Defaults to false. + + + + + A flag indicating whether explicitly specified property names, + e.g. a property name customized with a , should be processed. + Defaults to false. + + + + + Gets the serialized name for a given property name. + + The initial property name. + A flag indicating whether the property has had a name explicitly specified. + The serialized property name. + + + + Gets the serialized name for a given extension data name. + + The initial extension data name. + The serialized extension data name. + + + + Gets the serialized key for a given dictionary key. + + The initial dictionary key. + The serialized dictionary key. + + + + Resolves the specified property name. + + The property name to resolve. + The resolved property name. + + + + Represents a method that constructs an object. + + The object type to create. + + + + When applied to a method, specifies that the method is called when an error occurs serializing an object. + + + + + Provides methods to get attributes from a , , or . + + + + + Initializes a new instance of the class. + + The instance to get attributes for. This parameter should be a , , or . + + + + Returns a collection of all of the attributes, or an empty collection if there are no attributes. + + When true, look up the hierarchy chain for the inherited custom attribute. + A collection of s, or an empty collection. + + + + Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. + + The type of the attributes. + When true, look up the hierarchy chain for the inherited custom attribute. + A collection of s, or an empty collection. + + + + Get and set values for a using reflection. + + + + + Initializes a new instance of the class. + + The member info. + + + + Sets the value. + + The target to set the value on. + The value to set on the target. + + + + Gets the value. + + The target to get the value from. + The value. + + + + A snake case naming strategy. + + + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + A flag indicating whether extension data names should be processed. + + + + + Initializes a new instance of the class. + + + + + Resolves the specified property name. + + The property name to resolve. + The resolved property name. + + + + Specifies how strings are escaped when writing JSON text. + + + + + Only control characters (e.g. newline) are escaped. + + + + + All non-ASCII and control characters (e.g. newline) are escaped. + + + + + HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. + + + + + Specifies what messages to output for the class. + + + + + Output no tracing and debugging messages. + + + + + Output error-handling messages. + + + + + Output warnings and error-handling messages. + + + + + Output informational messages, warnings, and error-handling messages. + + + + + Output all debugging and tracing messages. + + + + + Indicates the method that will be used during deserialization for locating and loading assemblies. + + + + + In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the LoadWithPartialName method of the class is used to load the assembly. + + + + + In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The Load method of the class is used to load the assembly. + + + + + Specifies type name handling options for the . + + + should be used with caution when your application deserializes JSON from an external source. + Incoming types should be validated with a custom + when deserializing with a value other than . + + + + + Do not include the .NET type name when serializing types. + + + + + Include the .NET type name when serializing into a JSON object structure. + + + + + Include the .NET type name when serializing into a JSON array structure. + + + + + Always include the .NET type name when serializing. + + + + + Include the .NET type name when the type of the object being serialized is not the same as its declared type. + Note that this doesn't include the root serialized object by default. To include the root object's type name in JSON + you must specify a root type object with + or . + + + + + Determines whether the collection is null or empty. + + The collection. + + true if the collection is null or empty; otherwise, false. + + + + + Adds the elements of the specified collection to the specified generic . + + The list to add to. + The collection of elements to add. + + + + Converts the value to the specified type. If the value is unable to be converted, the + value is checked whether it assignable to the specified type. + + The value to convert. + The culture to use when converting. + The type to convert or cast the value to. + + The converted type. If conversion was unsuccessful, the initial value + is returned if assignable to the target type. + + + + + Helper method for generating a MetaObject which calls a + specific method on Dynamic that returns a result + + + + + Helper method for generating a MetaObject which calls a + specific method on Dynamic, but uses one of the arguments for + the result. + + + + + Helper method for generating a MetaObject which calls a + specific method on Dynamic, but uses one of the arguments for + the result. + + + + + Returns a Restrictions object which includes our current restrictions merged + with a restriction limiting our type + + + + + Gets a dictionary of the names and values of an type. + + + + + + Gets a dictionary of the names and values of an Enum type. + + The enum type to get names and values for. + + + + + List of primitive types which can be widened. + + + + + Widening masks for primitive types above. + Index of the value in this array defines a type we're widening, + while the bits in mask define types it can be widened to (including itself). + + For example, value at index 0 defines a bool type, and it only has bit 0 set, + i.e. bool values can be assigned only to bool. + + + + + Checks if value of primitive type can be + assigned to parameter of primitive type . + + Source primitive type. + Target primitive type. + true if source type can be widened to target type, false otherwise. + + + + Checks if a set of values with given can be used + to invoke a method with specified . + + Method parameters. + Argument types. + Try to pack extra arguments into the last parameter when it is marked up with . + true if method can be called with given arguments, false otherwise. + + + + Compares two sets of parameters to determine + which one suits better for given argument types. + + + + + Returns a best method overload for given argument . + + List of method candidates. + Argument types. + Best method overload, or null if none matched. + + + + Gets the type of the typed collection's items. + + The type. + The type of the typed collection's items. + + + + Gets the member's underlying type. + + The member. + The underlying type of the member. + + + + Determines whether the member is an indexed property. + + The member. + + true if the member is an indexed property; otherwise, false. + + + + + Determines whether the property is an indexed property. + + The property. + + true if the property is an indexed property; otherwise, false. + + + + + Gets the member's value on the object. + + The member. + The target object. + The member's value on the object. + + + + Sets the member's value on the target object. + + The member. + The target. + The value. + + + + Determines whether the specified MemberInfo can be read. + + The MemberInfo to determine whether can be read. + /// if set to true then allow the member to be gotten non-publicly. + + true if the specified MemberInfo can be read; otherwise, false. + + + + + Determines whether the specified MemberInfo can be set. + + The MemberInfo to determine whether can be set. + if set to true then allow the member to be set non-publicly. + if set to true then allow the member to be set if read-only. + + true if the specified MemberInfo can be set; otherwise, false. + + + + + Builds a string. Unlike this class lets you reuse its internal buffer. + + + + + Determines whether the string is all white space. Empty string will return false. + + The string to test whether it is all white space. + + true if the string is all white space; otherwise, false. + + + + + Specifies the state of the . + + + + + An exception has been thrown, which has left the in an invalid state. + You may call the method to put the in the Closed state. + Any other method calls result in an being thrown. + + + + + The method has been called. + + + + + An object is being written. + + + + + An array is being written. + + + + + A constructor is being written. + + + + + A property is being written. + + + + + A write method has not been called. + + + + + Indicates the method that will be used during deserialization for locating and loading assemblies. + + + + + In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the method is used to load the assembly. + + + + + In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The is used to load the assembly. + + + + diff --git a/packages/Newtonsoft.Json.10.0.2/lib/portable-net40+sl5+win8+wpa81+wp8/Newtonsoft.Json.xml b/packages/Newtonsoft.Json.10.0.2/lib/portable-net40+sl5+win8+wpa81+wp8/Newtonsoft.Json.xml new file mode 100644 index 0000000..9550e31 --- /dev/null +++ b/packages/Newtonsoft.Json.10.0.2/lib/portable-net40+sl5+win8+wpa81+wp8/Newtonsoft.Json.xml @@ -0,0 +1,8555 @@ + + + + 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 a to and from the ISO 8601 date format (e.g. "2008-04-12T12:53Z"). + + + + + Gets or sets the date time styles used when converting a date to and from JSON. + + The date time styles used when converting a date to and from JSON. + + + + Gets or sets the date time format used when converting a date to and from JSON. + + The date time format used when converting a date to and from JSON. + + + + Gets or sets the culture used when converting a date to and from JSON. + + The culture used when converting a date to and from JSON. + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Converts a to and from a JavaScript Date constructor (e.g. new Date(52231943)). + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing property value of the JSON that is being converted. + The calling serializer. + The object value. + + + + Converts a to and from JSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts a to and from JSON and BSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts an to and from its name string value. + + + + + Gets or sets a value indicating whether the written enum text should be camel case. + + true if the written enum text will be camel case; otherwise, false. + + + + Gets or sets a value indicating whether integer values are allowed when deserializing. + + true if integers are allowed when deserializing; otherwise, false. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + true if the written enum text will be camel case; otherwise, false. + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts a to and from a string (e.g. "1.2.3.4"). + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing property value of the JSON that is being converted. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Specifies how dates are formatted when writing JSON text. + + + + + Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". + + + + + Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". + + + + + Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. + + + + + Date formatted strings are not parsed to a date type and are read as strings. + + + + + Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . + + + + + Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . + + + + + Specifies how to treat the time value when converting between string and . + + + + + Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time. + + + + + Treat as a UTC. If the object represents a local time, it is converted to a UTC. + + + + + Treat as a local time if a is being converted to a string. + If a string is being converted to , convert to a local time if a time zone is specified. + + + + + Time zone information should be preserved when converting. + + + + + Specifies default value handling options for the . + + + + + + + + + Include members where the member value is the same as the member's default value when serializing objects. + Included members are written to JSON. Has no effect when deserializing. + + + + + Ignore members where the member value is the same as the member's default value when serializing objects + so that it is not written to JSON. + This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, + decimals and floating point numbers; and false for booleans). The default value ignored can be changed by + placing the on the property. + + + + + Members with a default value but no JSON will be set to their default value when deserializing. + + + + + Ignore members where the member value is the same as the member's default value when serializing objects + and set members to their default value when deserializing. + + + + + Specifies float format handling options when writing special floating point numbers, e.g. , + and with . + + + + + Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". + + + + + Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. + Note that this will produce non-valid JSON. + + + + + Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a of property. + + + + + Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + + + + + Floating point numbers are parsed to . + + + + + Floating point numbers are parsed to . + + + + + Specifies formatting options for the . + + + + + No special formatting is applied. This is the default. + + + + + Causes child objects to be indented according to the and settings. + + + + + Provides an interface for using pooled arrays. + + The array type content. + + + + Rent an array from the pool. This array must be returned when it is no longer needed. + + The minimum required length of the array. The returned array may be longer. + The rented array from the pool. This array must be returned when it is no longer needed. + + + + Return an array to the pool. + + The array that is being returned. + + + + Provides an interface to enable a class to return line and position information. + + + + + Gets a value indicating whether the class can return line information. + + + true if and can be provided; otherwise, false. + + + + + Gets the current line number. + + The current line number or 0 if no line information is available (for example, when returns false). + + + + Gets the current line position. + + The current line position or 0 if no line information is available (for example, when returns false). + + + + Instructs the how to serialize the collection. + + + + + Gets or sets a value indicating whether null items are allowed in the collection. + + true if null items are allowed in the collection; otherwise, false. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with a flag indicating whether the array can contain null items. + + A flag indicating whether the array can contain null items. + + + + Initializes a new instance of the class with the specified container Id. + + The container Id. + + + + Instructs the to use the specified constructor when deserializing that object. + + + + + Instructs the how to serialize the object. + + + + + Gets or sets the id. + + The id. + + + + Gets or sets the title. + + The title. + + + + Gets or sets the description. + + The description. + + + + Gets or sets the collection's items converter. + + The collection's items converter. + + + + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, + order, and type of these parameters. + + + + [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] + + + + + + Gets or sets the of the . + + The of the . + + + + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, + order, and type of these parameters. + + + + [JsonContainer(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] + + + + + + Gets or sets a value that indicates whether to preserve object references. + + + true to keep object reference; otherwise, false. The default is false. + + + + + Gets or sets a value that indicates whether to preserve collection's items references. + + + true to keep collection's items object references; otherwise, false. The default is false. + + + + + Gets or sets the reference loop handling used when serializing the collection's items. + + The reference loop handling. + + + + Gets or sets the type name handling used when serializing the collection's items. + + The type name handling. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with the specified container Id. + + The container Id. + + + + Provides methods for converting between .NET types and JSON types. + + + + + + + + Gets or sets a function that creates default . + Default settings are automatically used by serialization methods on , + and and on . + To serialize without using any default settings create a with + . + + + + + Represents JavaScript's boolean value true as a string. This field is read-only. + + + + + Represents JavaScript's boolean value false as a string. This field is read-only. + + + + + Represents JavaScript's null as a string. This field is read-only. + + + + + Represents JavaScript's undefined as a string. This field is read-only. + + + + + Represents JavaScript's positive infinity as a string. This field is read-only. + + + + + Represents JavaScript's negative infinity as a string. This field is read-only. + + + + + Represents JavaScript's NaN as a string. This field is read-only. + + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation using the specified. + + The value to convert. + The format the date will be converted to. + The time zone handling when the date is converted to a string. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation using the specified. + + The value to convert. + The format the date will be converted to. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + The string delimiter character. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + The string delimiter character. + The string escape handling. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Serializes the specified object to a JSON string. + + The object to serialize. + A JSON string representation of the object. + + + + Serializes the specified object to a JSON string using formatting. + + The object to serialize. + Indicates how the output should be formatted. + + A JSON string representation of the object. + + + + + Serializes the specified object to a JSON string using a collection of . + + The object to serialize. + A collection of converters used while serializing. + A JSON string representation of the object. + + + + Serializes the specified object to a JSON string using formatting and a collection of . + + The object to serialize. + Indicates how the output should be formatted. + A collection of converters used while serializing. + A JSON string representation of the object. + + + + Serializes the specified object to a JSON string using . + + The object to serialize. + The used to serialize the object. + If this is null, default serialization settings will be used. + + A JSON string representation of the object. + + + + + Serializes the specified object to a JSON string using a type, formatting and . + + The object to serialize. + The used to serialize the object. + If this is null, default serialization settings will be used. + + The type of the value being serialized. + This parameter is used when is to write out the type name if the type of the value does not match. + Specifying the type is optional. + + + A JSON string representation of the object. + + + + + Serializes the specified object to a JSON string using formatting and . + + The object to serialize. + Indicates how the output should be formatted. + The used to serialize the object. + If this is null, default serialization settings will be used. + + A JSON string representation of the object. + + + + + Serializes the specified object to a JSON string using a type, formatting and . + + The object to serialize. + Indicates how the output should be formatted. + The used to serialize the object. + If this is null, default serialization settings will be used. + + The type of the value being serialized. + This parameter is used when is to write out the type name if the type of the value does not match. + Specifying the type is optional. + + + A JSON string representation of the object. + + + + + Deserializes the JSON to a .NET object. + + The JSON to deserialize. + The deserialized object from the JSON string. + + + + Deserializes the JSON to a .NET object using . + + The JSON to deserialize. + + The used to deserialize the object. + If this is null, default serialization settings will be used. + + The deserialized object from the JSON string. + + + + Deserializes the JSON to the specified .NET type. + + The JSON to deserialize. + The of object being deserialized. + The deserialized object from the JSON string. + + + + Deserializes the JSON to the specified .NET type. + + The type of the object to deserialize to. + The JSON to deserialize. + The deserialized object from the JSON string. + + + + Deserializes the JSON to the given anonymous type. + + + The anonymous type to deserialize to. This can't be specified + traditionally and must be inferred from the anonymous type passed + as a parameter. + + The JSON to deserialize. + The anonymous type object. + The deserialized anonymous type from the JSON string. + + + + Deserializes the JSON to the given anonymous type using . + + + The anonymous type to deserialize to. This can't be specified + traditionally and must be inferred from the anonymous type passed + as a parameter. + + The JSON to deserialize. + The anonymous type object. + + The used to deserialize the object. + If this is null, default serialization settings will be used. + + The deserialized anonymous type from the JSON string. + + + + Deserializes the JSON to the specified .NET type using a collection of . + + The type of the object to deserialize to. + The JSON to deserialize. + Converters to use while deserializing. + The deserialized object from the JSON string. + + + + Deserializes the JSON to the specified .NET type using . + + The type of the object to deserialize to. + The object to deserialize. + + The used to deserialize the object. + If this is null, default serialization settings will be used. + + The deserialized object from the JSON string. + + + + Deserializes the JSON to the specified .NET type using a collection of . + + The JSON to deserialize. + The type of the object to deserialize. + Converters to use while deserializing. + The deserialized object from the JSON string. + + + + Deserializes the JSON to the specified .NET type using . + + The JSON to deserialize. + The type of the object to deserialize to. + + The used to deserialize the object. + If this is null, default serialization settings will be used. + + The deserialized object from the JSON string. + + + + Populates the object with values from the JSON string. + + The JSON to populate values from. + The target object to populate values onto. + + + + Populates the object with values from the JSON string using . + + The JSON to populate values from. + The target object to populate values onto. + + The used to deserialize the object. + If this is null, default serialization settings will be used. + + + + + Converts an object to and from JSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Gets a value indicating whether this can read JSON. + + true if this can read JSON; otherwise, false. + + + + Gets a value indicating whether this can write JSON. + + true if this can write JSON; otherwise, false. + + + + Instructs the to use the specified when serializing the member or class. + + + + + Gets the of the . + + The of the . + + + + The parameter list to use when constructing the described by . + If null, the default constructor is used. + + + + + Initializes a new instance of the class. + + Type of the . + + + + Initializes a new instance of the class. + + Type of the . + Parameter list to use when constructing the . Can be null. + + + + Represents a collection of . + + + + + Instructs the how to serialize the collection. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with the specified container Id. + + The container Id. + + + + The exception thrown when an error occurs during JSON serialization or deserialization. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class + with a specified error message. + + The error message that explains the reason for the exception. + + + + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Instructs the to deserialize properties with no matching class member into the specified collection + and write values during serialization. + + + + + Gets or sets a value that indicates whether to write extension data when serializing the object. + + + true to write extension data when serializing the object; otherwise, false. The default is true. + + + + + Gets or sets a value that indicates whether to read extension data when deserializing the object. + + + true to read extension data when deserializing the object; otherwise, false. The default is true. + + + + + Initializes a new instance of the class. + + + + + Instructs the not to serialize the public field or public read/write property value. + + + + + Instructs the how to serialize the object. + + + + + Gets or sets the member serialization. + + The member serialization. + + + + Gets or sets a value that indicates whether the object's properties are required. + + + A value indicating whether the object's properties are required. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with the specified member serialization. + + The member serialization. + + + + Initializes a new instance of the class with the specified container Id. + + The container Id. + + + + Instructs the to always serialize the member with the specified name. + + + + + Gets or sets the used when serializing the property's collection items. + + The collection's items . + + + + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, + order, and type of these parameters. + + + + [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] + + + + + + Gets or sets the of the . + + The of the . + + + + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, + order, and type of these parameters. + + + + [JsonProperty(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] + + + + + + Gets or sets the null value handling used when serializing this property. + + The null value handling. + + + + Gets or sets the default value handling used when serializing this property. + + The default value handling. + + + + Gets or sets the reference loop handling used when serializing this property. + + The reference loop handling. + + + + Gets or sets the object creation handling used when deserializing this property. + + The object creation handling. + + + + Gets or sets the type name handling used when serializing this property. + + The type name handling. + + + + Gets or sets whether this property's value is serialized as a reference. + + Whether this property's value is serialized as a reference. + + + + Gets or sets the order of serialization of a member. + + The numeric order of serialization. + + + + Gets or sets a value indicating whether this property is required. + + + A value indicating whether this property is required. + + + + + Gets or sets the name of the property. + + The name of the property. + + + + Gets or sets the reference loop handling used when serializing the property's collection items. + + The collection's items reference loop handling. + + + + Gets or sets the type name handling used when serializing the property's collection items. + + The collection's items type name handling. + + + + Gets or sets whether this property's collection items are serialized as a reference. + + Whether this property's collection items are serialized as a reference. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with the specified name. + + Name of the property. + + + + Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. + + + + + Specifies the state of the reader. + + + + + A read method has not been called. + + + + + The end of the file has been reached successfully. + + + + + Reader is at a property. + + + + + Reader is at the start of an object. + + + + + Reader is in an object. + + + + + Reader is at the start of an array. + + + + + Reader is in an array. + + + + + The method has been called. + + + + + Reader has just read a value. + + + + + Reader is at the start of a constructor. + + + + + Reader is in a constructor. + + + + + An error occurred that prevents the read operation from continuing. + + + + + The end of the file has been reached successfully. + + + + + Gets the current reader state. + + The current reader state. + + + + Gets or sets a value indicating whether the source should be closed when this reader is closed. + + + true to close the source when this reader is closed; otherwise false. The default is true. + + + + + Gets or sets a value indicating whether multiple pieces of JSON content can + be read from a continuous stream without erroring. + + + true to support reading multiple pieces of JSON content; otherwise false. + The default is false. + + + + + Gets the quotation mark character used to enclose the value of a string. + + + + + Gets or sets how time zones are handled when reading JSON. + + + + + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + + + + + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + + + + + Gets or sets how custom date formatted strings are parsed when reading JSON. + + + + + Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + + + + + Gets the type of the current JSON token. + + + + + Gets the text value of the current JSON token. + + + + + Gets the .NET type for the current JSON token. + + + + + Gets the depth of the current token in the JSON document. + + The depth of the current token in the JSON document. + + + + Gets the path of the current JSON token. + + + + + Gets or sets the culture used when reading JSON. Defaults to . + + + + + Initializes a new instance of the class. + + + + + Reads the next JSON token from the source. + + true if the next token was read successfully; false if there are no more tokens to read. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a . + + A . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a []. + + A [] or null if the next JSON token is null. This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Skips the children of the current token. + + + + + Sets the current token. + + The new token. + + + + Sets the current token and value. + + The new token. + The value. + + + + Sets the current token and value. + + The new token. + The value. + A flag indicating whether the position index inside an array should be updated. + + + + Sets the state based on current token type. + + + + + Releases unmanaged and - optionally - managed resources. + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Changes the reader's state to . + If is set to true, the source is also closed. + + + + + The exception thrown when an error occurs while reading JSON text. + + + + + Gets the line number indicating where the error occurred. + + The line number indicating where the error occurred. + + + + Gets the line position indicating where the error occurred. + + The line position indicating where the error occurred. + + + + Gets the path to the JSON where the error occurred. + + The path to the JSON where the error occurred. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class + with a specified error message. + + The error message that explains the reason for the exception. + + + + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Initializes a new instance of the class + with a specified error message, JSON path, line number, line position, and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The path to the JSON where the error occurred. + The line number indicating where the error occurred. + The line position indicating where the error occurred. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Instructs the to always serialize the member, and to require that the member has a value. + + + + + The exception thrown when an error occurs during JSON serialization or deserialization. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class + with a specified error message. + + The error message that explains the reason for the exception. + + + + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Serializes and deserializes objects into and from the JSON format. + The enables you to control how objects are encoded into JSON. + + + + + Occurs when the errors during serialization and deserialization. + + + + + Gets or sets the used by the serializer when resolving references. + + + + + Gets or sets the used by the serializer when resolving type names. + + + + + Gets or sets the used by the serializer when resolving type names. + + + + + Gets or sets the used by the serializer when writing trace messages. + + The trace writer. + + + + Gets or sets the equality comparer used by the serializer when comparing references. + + The equality comparer. + + + + Gets or sets how type name writing and reading is handled by the serializer. + + + should be used with caution when your application deserializes JSON from an external source. + Incoming types should be validated with a custom + when deserializing with a value other than . + + + + + Gets or sets how a type name assembly is written and resolved by the serializer. + + The type name assembly format. + + + + Gets or sets how a type name assembly is written and resolved by the serializer. + + The type name assembly format. + + + + Gets or sets how object references are preserved by the serializer. + + + + + Gets or sets how reference loops (e.g. a class referencing itself) is handled. + + + + + Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. + + + + + Gets or sets how null values are handled during serialization and deserialization. + + + + + Gets or sets how default values are handled during serialization and deserialization. + + + + + Gets or sets how objects are created during deserialization. + + The object creation handling. + + + + Gets or sets how constructors are used during deserialization. + + The constructor handling. + + + + Gets or sets how metadata properties are used during deserialization. + + The metadata properties handling. + + + + Gets a collection that will be used during serialization. + + Collection that will be used during serialization. + + + + Gets or sets the contract resolver used by the serializer when + serializing .NET objects to JSON and vice versa. + + + + + Gets or sets the used by the serializer when invoking serialization callback methods. + + The context. + + + + Indicates how JSON text output is formatted. + + + + + Gets or sets how dates are written to JSON text. + + + + + Gets or sets how time zones are handled during serialization and deserialization. + + + + + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + + + + + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + + + + + Gets or sets how special floating point numbers, e.g. , + and , + are written as JSON text. + + + + + Gets or sets how strings are escaped when writing JSON text. + + + + + Gets or sets how and values are formatted when writing JSON text, + and the expected date format when reading JSON text. + + + + + Gets or sets the culture used when reading JSON. Defaults to . + + + + + Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + + + + + Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. + + + true if there will be a check for additional JSON content after deserializing an object; otherwise, false. + + + + + Initializes a new instance of the class. + + + + + Creates a new instance. + The will not use default settings + from . + + + A new instance. + The will not use default settings + from . + + + + + Creates a new instance using the specified . + The will not use default settings + from . + + The settings to be applied to the . + + A new instance using the specified . + The will not use default settings + from . + + + + + Creates a new instance. + The will use default settings + from . + + + A new instance. + The will use default settings + from . + + + + + Creates a new instance using the specified . + The will use default settings + from as well as the specified . + + The settings to be applied to the . + + A new instance using the specified . + The will use default settings + from as well as the specified . + + + + + Populates the JSON values onto the target object. + + The that contains the JSON structure to reader values from. + The target object to populate values onto. + + + + Populates the JSON values onto the target object. + + The that contains the JSON structure to reader values from. + The target object to populate values onto. + + + + Deserializes the JSON structure contained by the specified . + + The that contains the JSON structure to deserialize. + The being deserialized. + + + + Deserializes the JSON structure contained by the specified + into an instance of the specified type. + + The containing the object. + The of object being deserialized. + The instance of being deserialized. + + + + Deserializes the JSON structure contained by the specified + into an instance of the specified type. + + The containing the object. + The type of the object to deserialize. + The instance of being deserialized. + + + + Deserializes the JSON structure contained by the specified + into an instance of the specified type. + + The containing the object. + The of object being deserialized. + The instance of being deserialized. + + + + Serializes the specified and writes the JSON structure + using the specified . + + The used to write the JSON structure. + The to serialize. + + + + Serializes the specified and writes the JSON structure + using the specified . + + The used to write the JSON structure. + The to serialize. + + The type of the value being serialized. + This parameter is used when is to write out the type name if the type of the value does not match. + Specifying the type is optional. + + + + + Serializes the specified and writes the JSON structure + using the specified . + + The used to write the JSON structure. + The to serialize. + + The type of the value being serialized. + This parameter is used when is Auto to write out the type name if the type of the value does not match. + Specifying the type is optional. + + + + + Serializes the specified and writes the JSON structure + using the specified . + + The used to write the JSON structure. + The to serialize. + + + + Specifies the settings on a object. + + + + + Gets or sets how reference loops (e.g. a class referencing itself) are handled. + + Reference loop handling. + + + + Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. + + Missing member handling. + + + + Gets or sets how objects are created during deserialization. + + The object creation handling. + + + + Gets or sets how null values are handled during serialization and deserialization. + + Null value handling. + + + + Gets or sets how default values are handled during serialization and deserialization. + + The default value handling. + + + + Gets or sets a collection that will be used during serialization. + + The converters. + + + + Gets or sets how object references are preserved by the serializer. + + The preserve references handling. + + + + Gets or sets how type name writing and reading is handled by the serializer. + + + should be used with caution when your application deserializes JSON from an external source. + Incoming types should be validated with a custom + when deserializing with a value other than . + + The type name handling. + + + + Gets or sets how metadata properties are used during deserialization. + + The metadata properties handling. + + + + Gets or sets how a type name assembly is written and resolved by the serializer. + + The type name assembly format. + + + + Gets or sets how a type name assembly is written and resolved by the serializer. + + The type name assembly format. + + + + Gets or sets how constructors are used during deserialization. + + The constructor handling. + + + + Gets or sets the contract resolver used by the serializer when + serializing .NET objects to JSON and vice versa. + + The contract resolver. + + + + Gets or sets the equality comparer used by the serializer when comparing references. + + The equality comparer. + + + + Gets or sets the used by the serializer when resolving references. + + The reference resolver. + + + + Gets or sets a function that creates the used by the serializer when resolving references. + + A function that creates the used by the serializer when resolving references. + + + + Gets or sets the used by the serializer when writing trace messages. + + The trace writer. + + + + Gets or sets the used by the serializer when resolving type names. + + The binder. + + + + Gets or sets the used by the serializer when resolving type names. + + The binder. + + + + Gets or sets the error handler called during serialization and deserialization. + + The error handler called during serialization and deserialization. + + + + Gets or sets the used by the serializer when invoking serialization callback methods. + + The context. + + + + Gets or sets how and values are formatted when writing JSON text, + and the expected date format when reading JSON text. + + + + + Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + + + + + Indicates how JSON text output is formatted. + + + + + Gets or sets how dates are written to JSON text. + + + + + Gets or sets how time zones are handled during serialization and deserialization. + + + + + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + + + + + Gets or sets how special floating point numbers, e.g. , + and , + are written as JSON. + + + + + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + + + + + Gets or sets how strings are escaped when writing JSON text. + + + + + Gets or sets the culture used when reading JSON. Defaults to . + + + + + Gets a value indicating whether there will be a check for additional content after deserializing an object. + + + true if there will be a check for additional content after deserializing an object; otherwise, false. + + + + + Initializes a new instance of the class. + + + + + Represents a reader that provides fast, non-cached, forward-only access to JSON text data. + + + + + Initializes a new instance of the class with the specified . + + The containing the JSON data to read. + + + + Gets or sets the reader's character buffer pool. + + + + + Reads the next JSON token from the underlying . + + + true if the next token was read successfully; false if there are no more tokens to read. + + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a . + + A . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a []. + + A [] or null if the next JSON token is null. This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Changes the reader's state to . + If is set to true, the underlying is also closed. + + + + + Gets a value indicating whether the class can return line information. + + + true if and can be provided; otherwise, false. + + + + + Gets the current line number. + + + The current line number or 0 if no line information is available (for example, returns false). + + + + + Gets the current line position. + + + The current line position or 0 if no line information is available (for example, returns false). + + + + + Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. + + + + + Gets or sets the writer's character array pool. + + + + + Gets or sets how many s to write for each level in the hierarchy when is set to . + + + + + Gets or sets which character to use to quote attribute values. + + + + + Gets or sets which character to use for indenting when is set to . + + + + + Gets or sets a value indicating whether object names will be surrounded with quotes. + + + + + Initializes a new instance of the class using the specified . + + The to write to. + + + + Flushes whatever is in the buffer to the underlying and also flushes the underlying . + + + + + Closes this writer. + If is set to true, the underlying is also closed. + If is set to true, the JSON is auto-completed. + + + + + Writes the beginning of a JSON object. + + + + + Writes the beginning of a JSON array. + + + + + Writes the start of a constructor with the given name. + + The name of the constructor. + + + + Writes the specified end token. + + The end token to write. + + + + Writes the property name of a name/value pair on a JSON object. + + The name of the property. + + + + Writes the property name of a name/value pair on a JSON object. + + The name of the property. + A flag to indicate whether the text should be escaped when it is written as a JSON property name. + + + + Writes indent characters. + + + + + Writes the JSON value delimiter. + + + + + Writes an indent space. + + + + + Writes a value. + An error will raised if the value cannot be written as a single JSON token. + + The value to write. + + + + Writes a null value. + + + + + Writes an undefined value. + + + + + Writes raw JSON. + + The raw JSON to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a value. + + The value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a [] value. + + The [] value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a comment /*...*/ containing the specified text. + + Text to place inside the comment. + + + + Writes the given white space. + + The string of white space characters. + + + + Specifies the type of JSON token. + + + + + This is returned by the if a read method has not been called. + + + + + An object start token. + + + + + An array start token. + + + + + A constructor start token. + + + + + An object property name. + + + + + A comment. + + + + + Raw JSON. + + + + + An integer. + + + + + A float. + + + + + A string. + + + + + A boolean. + + + + + A null token. + + + + + An undefined token. + + + + + An object end token. + + + + + An array end token. + + + + + A constructor end token. + + + + + A Date. + + + + + Byte data. + + + + + + Represents a reader that provides validation. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Sets an event handler for receiving schema validation errors. + + + + + Gets the text value of the current JSON token. + + + + + + Gets the depth of the current token in the JSON document. + + The depth of the current token in the JSON document. + + + + Gets the path of the current JSON token. + + + + + Gets the quotation mark character used to enclose the value of a string. + + + + + + Gets the type of the current JSON token. + + + + + + Gets the .NET type for the current JSON token. + + + + + + Initializes a new instance of the class that + validates the content returned from the given . + + The to read from while validating. + + + + Gets or sets the schema. + + The schema. + + + + Gets the used to construct this . + + The specified in the constructor. + + + + Changes the reader's state to . + If is set to true, the underlying is also closed. + + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying as a []. + + + A [] or null if the next JSON token is null. + + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying as a . + + A . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying . + + + true if the next token was read successfully; false if there are no more tokens to read. + + + + + Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. + + + + + Gets or sets a value indicating whether the destination should be closed when this writer is closed. + + + true to close the destination when this writer is closed; otherwise false. The default is true. + + + + + Gets or sets a value indicating whether the JSON should be auto-completed when this writer is closed. + + + true to auto-complete the JSON when this writer is closed; otherwise false. The default is true. + + + + + Gets the top. + + The top. + + + + Gets the state of the writer. + + + + + Gets the path of the writer. + + + + + Gets or sets a value indicating how JSON text output should be formatted. + + + + + Gets or sets how dates are written to JSON text. + + + + + Gets or sets how time zones are handled when writing JSON text. + + + + + Gets or sets how strings are escaped when writing JSON text. + + + + + Gets or sets how special floating point numbers, e.g. , + and , + are written to JSON text. + + + + + Gets or sets how and values are formatted when writing JSON text. + + + + + Gets or sets the culture used when writing JSON. Defaults to . + + + + + Initializes a new instance of the class. + + + + + Flushes whatever is in the buffer to the destination and also flushes the destination. + + + + + Closes this writer. + If is set to true, the destination is also closed. + If is set to true, the JSON is auto-completed. + + + + + Writes the beginning of a JSON object. + + + + + Writes the end of a JSON object. + + + + + Writes the beginning of a JSON array. + + + + + Writes the end of an array. + + + + + Writes the start of a constructor with the given name. + + The name of the constructor. + + + + Writes the end constructor. + + + + + Writes the property name of a name/value pair of a JSON object. + + The name of the property. + + + + Writes the property name of a name/value pair of a JSON object. + + The name of the property. + A flag to indicate whether the text should be escaped when it is written as a JSON property name. + + + + Writes the end of the current JSON object or array. + + + + + Writes the current token and its children. + + The to read the token from. + + + + Writes the current token. + + The to read the token from. + A flag indicating whether the current token's children should be written. + + + + Writes the token and its value. + + The to write. + + The value to write. + A value is only required for tokens that have an associated value, e.g. the property name for . + null can be passed to the method for tokens that don't have a value, e.g. . + + + + + Writes the token. + + The to write. + + + + Writes the specified end token. + + The end token to write. + + + + Writes indent characters. + + + + + Writes the JSON value delimiter. + + + + + Writes an indent space. + + + + + Writes a null value. + + + + + Writes an undefined value. + + + + + Writes raw JSON without changing the writer's state. + + The raw JSON to write. + + + + Writes raw JSON where a value is expected and updates the writer's state. + + The raw JSON to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a [] value. + + The [] value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + An error will raised if the value cannot be written as a single JSON token. + + The value to write. + + + + Writes a comment /*...*/ containing the specified text. + + Text to place inside the comment. + + + + Writes the given white space. + + The string of white space characters. + + + + Releases unmanaged and - optionally - managed resources. + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Sets the state of the . + + The being written. + The value being written. + + + + The exception thrown when an error occurs while writing JSON text. + + + + + Gets the path to the JSON where the error occurred. + + The path to the JSON where the error occurred. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class + with a specified error message. + + The error message that explains the reason for the exception. + + + + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Initializes a new instance of the class + with a specified error message, JSON path and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The path to the JSON where the error occurred. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Specifies how JSON comments are handled when loading JSON. + + + + + Ignore comments. + + + + + Load comments as a with type . + + + + + Specifies how line information is handled when loading JSON. + + + + + Ignore line information. + + + + + Load line information. + + + + + Contains the LINQ to JSON extension methods. + + + + + Returns a collection of tokens that contains the ancestors of every token in the source collection. + + The type of the objects in source, constrained to . + An of that contains the source collection. + An of that contains the ancestors of every token in the source collection. + + + + Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. + + The type of the objects in source, constrained to . + An of that contains the source collection. + An of that contains every token in the source collection, the ancestors of every token in the source collection. + + + + Returns a collection of tokens that contains the descendants of every token in the source collection. + + The type of the objects in source, constrained to . + An of that contains the source collection. + An of that contains the descendants of every token in the source collection. + + + + Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. + + The type of the objects in source, constrained to . + An of that contains the source collection. + An of that contains every token in the source collection, and the descendants of every token in the source collection. + + + + Returns a collection of child properties of every object in the source collection. + + An of that contains the source collection. + An of that contains the properties of every object in the source collection. + + + + Returns a collection of child values of every object in the source collection with the given key. + + An of that contains the source collection. + The token key. + An of that contains the values of every token in the source collection with the given key. + + + + Returns a collection of child values of every object in the source collection. + + An of that contains the source collection. + An of that contains the values of every token in the source collection. + + + + Returns a collection of converted child values of every object in the source collection with the given key. + + The type to convert the values to. + An of that contains the source collection. + The token key. + An that contains the converted values of every token in the source collection with the given key. + + + + Returns a collection of converted child values of every object in the source collection. + + The type to convert the values to. + An of that contains the source collection. + An that contains the converted values of every token in the source collection. + + + + Converts the value. + + The type to convert the value to. + A cast as a of . + A converted value. + + + + Converts the value. + + The source collection type. + The type to convert the value to. + A cast as a of . + A converted value. + + + + Returns a collection of child tokens of every array in the source collection. + + The source collection type. + An of that contains the source collection. + An of that contains the values of every token in the source collection. + + + + Returns a collection of converted child tokens of every array in the source collection. + + An of that contains the source collection. + The type to convert the values to. + The source collection type. + An that contains the converted values of every token in the source collection. + + + + Returns the input typed as . + + An of that contains the source collection. + The input typed as . + + + + Returns the input typed as . + + The source collection type. + An of that contains the source collection. + The input typed as . + + + + Represents a collection of objects. + + The type of token. + + + + Gets the of with the specified key. + + + + + + Represents a JSON array. + + + + + + + + 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. + + + + + Gets the container's children tokens. + + The container's children tokens. + + + + Gets a value indicating whether this token has child tokens. + + + true if this token has child values; otherwise, false. + + + + + Get the first child token of this token. + + + A containing the first child token of the . + + + + + Get the last child token of this token. + + + A containing the last child token of the . + + + + + Returns a collection of the child tokens of this token, in document order. + + + An of containing the child tokens of this , in document order. + + + + + Returns a collection of the child values of this token, in document order. + + The type to convert the values to. + + A containing the child values of this , in document order. + + + + + Returns a collection of the descendant tokens for this token in document order. + + An 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 the specified name. + + The property name. + A with the specified name or null. + + + + Gets a of of this object's property values. + + A of of this object's property values. + + + + Gets the with the specified key. + + The with the specified key. + + + + Gets or sets the with the specified property name. + + + + + + Loads a from a . + + A that will be read for the content of the . + A that contains the JSON that was read from the specified . + + is not valid JSON. + + + + + Loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + A that contains the JSON that was read from the specified . + + is not valid JSON. + + + + + Load a from a string that contains JSON. + + A that contains JSON. + A populated from the string that contains JSON. + + is not valid JSON. + + + + + + + + Load a from a string that contains JSON. + + A that contains JSON. + The used to load the JSON. + If this is null, default load settings will be used. + A populated from the string that contains JSON. + + is not valid JSON. + + + + + + + + Creates a from an object. + + The object that will be used to create . + A with the values of the specified object. + + + + Creates a from an object. + + The object that will be used to create . + The that will be used to read the object. + A with the values of the specified object. + + + + Writes this token to a . + + A into which this method will write. + A collection of which will be used when writing the token. + + + + Gets the with the specified property name. + + Name of the property. + The with the specified property name. + + + + Gets the with the specified property name. + The exact property name will be searched for first and if no matching property is found then + the will be used to match a property. + + Name of the property. + One of the enumeration values that specifies how the strings will be compared. + The with the specified property name. + + + + Tries to get the with the specified property name. + The exact property name will be searched for first and if no matching property is found then + the will be used to match a property. + + Name of the property. + The value. + One of the enumeration values that specifies how the strings will be compared. + true if a value was successfully retrieved; otherwise, false. + + + + Adds the specified property name. + + Name of the property. + The value. + + + + Removes the property with the specified name. + + Name of the property. + true if item was successfully removed; otherwise, false. + + + + Tries to get the with the specified property name. + + Name of the property. + The value. + true if a value was successfully retrieved; otherwise, false. + + + + Returns an enumerator that can be used to iterate through the collection. + + + A that can be used to iterate through the collection. + + + + + Raises the event with the provided arguments. + + Name of the property. + + + + 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 raw JSON string. + + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Initializes a new instance of the class. + + The raw json. + + + + Creates an instance of with the content of the reader's current token. + + The reader. + An instance of with the content of the reader's current token. + + + + Specifies the settings used when loading JSON. + + + + + Initializes a new instance of the class. + + + + + Gets or sets how JSON comments are handled when loading JSON. + + The JSON comment handling. + + + + Gets or sets how JSON line info is handled when loading JSON. + + The JSON line info handling. + + + + Specifies the settings used when merging JSON. + + + + + Gets or sets the method used when merging JSON arrays. + + The method used when merging JSON arrays. + + + + Gets or sets how null value properties are merged. + + How null value properties are merged. + + + + Represents an abstract JSON token. + + + + + Gets a comparer that can compare two tokens for value equality. + + A that can compare two nodes for value equality. + + + + Gets or sets the parent. + + The parent. + + + + Gets the root of this . + + The root of this . + + + + Gets the node type for this . + + The type. + + + + Gets a value indicating whether this token has child tokens. + + + true if this token has child values; otherwise, false. + + + + + Compares the values of two tokens, including the values of all descendant tokens. + + The first to compare. + The second to compare. + true if the tokens are equal; otherwise false. + + + + Gets the next sibling token of this node. + + The that contains the next sibling token. + + + + Gets the previous sibling token of this node. + + The that contains the previous sibling token. + + + + Gets the path of the JSON token. + + + + + Adds the specified content immediately after this token. + + A content object that contains simple content or a collection of content objects to be added after this token. + + + + Adds the specified content immediately before this token. + + A content object that contains simple content or a collection of content objects to be added before this token. + + + + Returns a collection of the ancestor tokens of this token. + + A collection of the ancestor tokens of this token. + + + + Returns a collection of tokens that contain this token, and the ancestors of this token. + + A collection of tokens that contain this token, and the ancestors of this token. + + + + Returns a collection of the sibling tokens after this token, in document order. + + A collection of the sibling tokens after this tokens, in document order. + + + + Returns a collection of the sibling tokens before this token, in document order. + + A collection of the sibling tokens before this token, in document order. + + + + Gets the with the specified key. + + The with the specified key. + + + + Gets the with the specified key converted to the specified type. + + The type to convert the token to. + The token key. + The converted token value. + + + + Get the first child token of this token. + + A containing the first child token of the . + + + + Get the last child token of this token. + + A containing the last child token of the . + + + + Returns a collection of the child tokens of this token, in document order. + + An of containing the child tokens of this , in document order. + + + + Returns a collection of the child tokens of this token, in document order, filtered by the specified type. + + The type to filter the child tokens on. + A containing the child tokens of this , in document order. + + + + Returns a collection of the child values of this token, in document order. + + The type to convert the values to. + A containing the child values of this , in document order. + + + + Removes this token from its parent. + + + + + Replaces this token with the specified token. + + The value. + + + + Writes this token to a . + + A into which this method will write. + A collection of which will be used when writing the token. + + + + Returns the indented JSON for this token. + + + The indented JSON for this token. + + + + + Returns the JSON for this token using the given formatting and converters. + + Indicates how the output should be formatted. + A collection of s which will be used when writing the token. + The JSON for this token using the given formatting and converters. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to []. + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from [] to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Creates a for this token. + + A that can be used to read this token and its descendants. + + + + Creates a from an object. + + The object that will be used to create . + A with the value of the specified object. + + + + Creates a from an object using the specified . + + The object that will be used to create . + The that will be used when reading the object. + A with the value of the specified object. + + + + Creates an instance of the specified .NET type from the . + + The object type that the token will be deserialized to. + The new object created from the JSON value. + + + + Creates an instance of the specified .NET type from the . + + The object type that the token will be deserialized to. + The new object created from the JSON value. + + + + Creates an instance of the specified .NET type from the using the specified . + + The object type that the token will be deserialized to. + The that will be used when creating the object. + The new object created from the JSON value. + + + + Creates an instance of the specified .NET type from the using the specified . + + The object type that the token will be deserialized to. + The that will be used when creating the object. + The new object created from the JSON value. + + + + Creates a from a . + + A positioned at the token to read into this . + + A that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Creates a from a . + + An positioned at the token to read into this . + The used to load the JSON. + If this is null, default load settings will be used. + + A that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Load a from a string that contains JSON. + + A that contains JSON. + A populated from the string that contains JSON. + + + + Load a from a string that contains JSON. + + A that contains JSON. + The used to load the JSON. + If this is null, default load settings will be used. + A populated from the string that contains JSON. + + + + Creates a from a . + + A positioned at the token to read into this . + The used to load the JSON. + If this is null, default load settings will be used. + + A that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Creates a from a . + + A positioned at the token to read into this . + + A that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Selects a using a JPath expression. Selects the token that matches the object path. + + + A that contains a JPath expression. + + A , or null. + + + + Selects a using a JPath expression. Selects the token that matches the object path. + + + A that contains a JPath expression. + + A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. + A . + + + + Selects a collection of elements using a JPath expression. + + + A that contains a JPath expression. + + An of that contains the selected elements. + + + + Selects a collection of elements using a JPath expression. + + + A that contains a JPath expression. + + A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. + An of that contains the selected elements. + + + + Creates a new instance of the . All child tokens are recursively cloned. + + A new instance of the . + + + + Adds an object to the annotation list of this . + + The annotation to add. + + + + Get the first annotation object of the specified type from this . + + The type of the annotation to retrieve. + The first annotation object that matches the specified type, or null if no annotation is of the specified type. + + + + Gets the first annotation object of the specified type from this . + + The of the annotation to retrieve. + The first annotation object that matches the specified type, or null if no annotation is of the specified type. + + + + Gets a collection of annotations of the specified type for this . + + The type of the annotations to retrieve. + An that contains the annotations for this . + + + + Gets a collection of annotations of the specified type for this . + + The of the annotations to retrieve. + An of that contains the annotations that match the specified type for this . + + + + Removes the annotations of the specified type from this . + + The type of annotations to remove. + + + + Removes the annotations of the specified type from this . + + The of annotations to remove. + + + + Compares tokens to determine whether they are equal. + + + + + Determines whether the specified objects are equal. + + The first object of type to compare. + The second object of type to compare. + + true if the specified objects are equal; otherwise, false. + + + + + Returns a hash code for the specified object. + + The for which a hash code is to be returned. + A hash code for the specified object. + The type of is a reference type and is null. + + + + Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. + + + + + Gets the at the reader's current position. + + + + + Initializes a new instance of the class. + + The token to read from. + + + + Reads the next JSON token from the underlying . + + + true if the next token was read successfully; false if there are no more tokens to read. + + + + + Gets the path of the current JSON token. + + + + + Specifies the type of token. + + + + + No token type has been set. + + + + + A JSON object. + + + + + A JSON array. + + + + + A JSON constructor. + + + + + A JSON object property. + + + + + A comment. + + + + + An integer value. + + + + + A float value. + + + + + A string value. + + + + + A boolean value. + + + + + A null value. + + + + + An undefined value. + + + + + A date value. + + + + + A raw JSON value. + + + + + A collection of bytes value. + + + + + A Guid value. + + + + + A Uri value. + + + + + A TimeSpan value. + + + + + Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. + + + + + Gets the at the writer's current position. + + + + + Gets the token being written. + + The token being written. + + + + Initializes a new instance of the class writing to the given . + + The container being written to. + + + + Initializes a new instance of the class. + + + + + Flushes whatever is in the buffer to the underlying . + + + + + Closes this writer. + If is set to true, the JSON is auto-completed. + + + Setting to true has no additional effect, since the underlying is a type that cannot be closed. + + + + + Writes the beginning of a JSON object. + + + + + Writes the beginning of a JSON array. + + + + + Writes the start of a constructor with the given name. + + The name of the constructor. + + + + Writes the end. + + The token. + + + + Writes the property name of a name/value pair on a JSON object. + + The name of the property. + + + + Writes a value. + An error will be raised if the value cannot be written as a single JSON token. + + The value to write. + + + + Writes a null value. + + + + + Writes an undefined value. + + + + + Writes raw JSON. + + The raw JSON to write. + + + + Writes a comment /*...*/ containing the specified text. + + Text to place inside the comment. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a [] value. + + The [] value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Represents a value in JSON (string, integer, date, etc). + + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Gets a value indicating whether this token has child tokens. + + + true if this token has child values; otherwise, false. + + + + + Creates a comment with the given value. + + The value. + A comment with the given value. + + + + Creates a string with the given value. + + The value. + A string with the given value. + + + + Creates a null value. + + A null value. + + + + Creates a undefined value. + + A undefined value. + + + + Gets the node type for this . + + The type. + + + + Gets or sets the underlying token value. + + The underlying token value. + + + + Writes this token to a . + + A into which this method will write. + A collection of s which will be used when writing the token. + + + + Indicates whether the current object is equal to another object of the same type. + + + true if the current object is equal to the parameter; otherwise, false. + + An object to compare with this object. + + + + Determines whether the specified is equal to the current . + + The to compare with the current . + + true if the specified is equal to the current ; otherwise, false. + + + + + Serves as a hash function for a particular type. + + + A hash code for the current . + + + + + Returns a that represents this instance. + + + A that represents this instance. + + + + + Returns a that represents this instance. + + The format. + + A that represents this instance. + + + + + Returns a that represents this instance. + + The format provider. + + A that represents this instance. + + + + + Returns a that represents this instance. + + The format. + The format provider. + + A that represents this instance. + + + + + Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. + + An object to compare with this instance. + + A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: + Value + Meaning + Less than zero + This instance is less than . + Zero + This instance is equal to . + Greater than zero + This instance is greater than . + + + is not of the same type as this instance. + + + + + Specifies how JSON arrays are merged together. + + + + Concatenate arrays. + + + Union arrays, skipping items that already exist. + + + Replace all array items. + + + Merge array items together, matched by index. + + + + Specifies how null value properties are merged. + + + + + The content's null value properties will be ignored during merging. + + + + + The content's null value properties will be merged. + + + + + Specifies the member serialization options for the . + + + + + All public members are serialized by default. Members can be excluded using or . + This is the default member serialization mode. + + + + + Only members marked with or are serialized. + This member serialization mode can also be set by marking the class with . + + + + + All public and private fields are serialized. Members can be excluded using or . + This member serialization mode can also be set by marking the class with + and setting IgnoreSerializableAttribute on to false. + + + + + Specifies metadata property handling options for the . + + + + + Read metadata properties located at the start of a JSON object. + + + + + Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. + + + + + Do not try to read metadata properties. + + + + + Specifies missing member handling options for the . + + + + + Ignore a missing member and do not attempt to deserialize it. + + + + + Throw a when a missing member is encountered during deserialization. + + + + + Specifies null value handling options for the . + + + + + + + + + Include null values when serializing and deserializing objects. + + + + + Ignore null values when serializing and deserializing objects. + + + + + Specifies how object creation is handled by the . + + + + + Reuse existing objects, create new objects when needed. + + + + + Only reuse existing objects. + + + + + Always create new objects. + + + + + Specifies reference handling options for the . + Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement . + + + + + + + + Do not preserve references when serializing types. + + + + + Preserve references when serializing into a JSON object structure. + + + + + Preserve references when serializing into a JSON array structure. + + + + + Preserve references when serializing. + + + + + Specifies reference loop handling options for the . + + + + + Throw a when a loop is encountered. + + + + + Ignore loop references and do not serialize. + + + + + Serialize loop references. + + + + + Indicating whether a property is required. + + + + + The property is not required. The default state. + + + + + The property must be defined in JSON but can be a null value. + + + + + The property must be defined in JSON and cannot be a null value. + + + + + The property is not required but it cannot be a null value. + + + + + + Contains the JSON schema extension methods. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + + Determines whether the is valid. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + The source to test. + The schema to test with. + + true if the specified is valid; otherwise, false. + + + + + + Determines whether the is valid. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + The source to test. + The schema to test with. + When this method returns, contains any error messages generated while validating. + + true if the specified is valid; otherwise, false. + + + + + + Validates the specified . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + The source to test. + The schema to test with. + + + + + Validates the specified . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + The source to test. + The schema to test with. + The validation event handler. + + + + + An in-memory representation of a JSON Schema. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets or sets the id. + + + + + Gets or sets the title. + + + + + Gets or sets whether the object is required. + + + + + Gets or sets whether the object is read-only. + + + + + Gets or sets whether the object is visible to users. + + + + + Gets or sets whether the object is transient. + + + + + Gets or sets the description of the object. + + + + + Gets or sets the types of values allowed by the object. + + The type. + + + + Gets or sets the pattern. + + The pattern. + + + + Gets or sets the minimum length. + + The minimum length. + + + + Gets or sets the maximum length. + + The maximum length. + + + + Gets or sets a number that the value should be divisible by. + + A number that the value should be divisible by. + + + + Gets or sets the minimum. + + The minimum. + + + + Gets or sets the maximum. + + The maximum. + + + + Gets or sets a flag indicating whether the value can not equal the number defined by the minimum attribute (). + + A flag indicating whether the value can not equal the number defined by the minimum attribute (). + + + + Gets or sets a flag indicating whether the value can not equal the number defined by the maximum attribute (). + + A flag indicating whether the value can not equal the number defined by the maximum attribute (). + + + + Gets or sets the minimum number of items. + + The minimum number of items. + + + + Gets or sets the maximum number of items. + + The maximum number of items. + + + + Gets or sets the of items. + + The of items. + + + + Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . + + + true if items are validated using their array position; otherwise, false. + + + + + Gets or sets the of additional items. + + The of additional items. + + + + Gets or sets a value indicating whether additional items are allowed. + + + true if additional items are allowed; otherwise, false. + + + + + Gets or sets whether the array items must be unique. + + + + + Gets or sets the of properties. + + The of properties. + + + + Gets or sets the of additional properties. + + The of additional properties. + + + + Gets or sets the pattern properties. + + The pattern properties. + + + + Gets or sets a value indicating whether additional properties are allowed. + + + true if additional properties are allowed; otherwise, false. + + + + + Gets or sets the required property if this property is present. + + The required property if this property is present. + + + + Gets or sets the a collection of valid enum values allowed. + + A collection of valid enum values allowed. + + + + Gets or sets disallowed types. + + The disallowed types. + + + + Gets or sets the default value. + + The default value. + + + + Gets or sets the collection of that this schema extends. + + The collection of that this schema extends. + + + + Gets or sets the format. + + The format. + + + + Initializes a new instance of the class. + + + + + Reads a from the specified . + + The containing the JSON Schema to read. + The object representing the JSON Schema. + + + + Reads a from the specified . + + The containing the JSON Schema to read. + The to use when resolving schema references. + The object representing the JSON Schema. + + + + Load a from a string that contains JSON Schema. + + A that contains JSON Schema. + A populated from the string that contains JSON Schema. + + + + Load a from a string that contains JSON Schema using the specified . + + A that contains JSON Schema. + The resolver. + A populated from the string that contains JSON Schema. + + + + Writes this schema to a . + + A into which this method will write. + + + + Writes this schema to a using the specified . + + A into which this method will write. + The resolver used. + + + + Returns a that represents the current . + + + A that represents the current . + + + + + + Returns detailed information about the schema exception. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets the line number indicating where the error occurred. + + The line number indicating where the error occurred. + + + + Gets the line position indicating where the error occurred. + + The line position indicating where the error occurred. + + + + Gets the path to the JSON where the error occurred. + + The path to the JSON where the error occurred. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class + with a specified error message. + + The error message that explains the reason for the exception. + + + + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + + Generates a from a specified . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets or sets how undefined schemas are handled by the serializer. + + + + + Gets or sets the contract resolver. + + The contract resolver. + + + + Generate a from the specified type. + + The type to generate a from. + A generated from the specified type. + + + + Generate a from the specified type. + + The type to generate a from. + The used to resolve schema references. + A generated from the specified type. + + + + Generate a from the specified type. + + The type to generate a from. + Specify whether the generated root will be nullable. + A generated from the specified type. + + + + Generate a from the specified type. + + The type to generate a from. + The used to resolve schema references. + Specify whether the generated root will be nullable. + A generated from the specified type. + + + + + Resolves from an id. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets or sets the loaded schemas. + + The loaded schemas. + + + + Initializes a new instance of the class. + + + + + Gets a for the specified reference. + + The id. + A for the specified reference. + + + + + The value types allowed by the . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + No type specified. + + + + + String type. + + + + + Float type. + + + + + Integer type. + + + + + Boolean type. + + + + + Object type. + + + + + Array type. + + + + + Null type. + + + + + Any type. + + + + + + Specifies undefined schema Id handling options for the . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Do not infer a schema Id. + + + + + Use the .NET type name as the schema Id. + + + + + Use the assembly qualified .NET type name as the schema Id. + + + + + + Returns detailed information related to the . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets the associated with the validation error. + + The JsonSchemaException associated with the validation error. + + + + Gets the path of the JSON location where the validation error occurred. + + The path of the JSON location where the validation error occurred. + + + + Gets the text description corresponding to the validation error. + + The text description. + + + + + Represents the callback method that will handle JSON schema validation events and the . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Allows users to control class loading and mandate what class to load. + + + + + When overridden in a derived class, controls the binding of a serialized object to a type. + + Specifies the name of the serialized object. + Specifies the name of the serialized object + The type of the object the formatter creates a new instance of. + + + + When overridden in a derived class, controls the binding of a serialized object to a type. + + The type of the object the formatter creates a new instance of. + Specifies the name of the serialized object. + Specifies the name of the serialized object. + + + + A camel case naming strategy. + + + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + A flag indicating whether extension data names should be processed. + + + + + Initializes a new instance of the class. + + + + + Resolves the specified property name. + + The property name to resolve. + The resolved property name. + + + + Resolves member mappings for a type, camel casing property names. + + + + + Initializes a new instance of the class. + + + + + Resolves the contract for a given type. + + The type to resolve a contract for. + The contract for a given type. + + + + Used by to resolve a for a given . + + + + + Gets a value indicating whether members are being get and set using dynamic code generation. + This value is determined by the runtime permissions available. + + + true if using dynamic code generation; otherwise, false. + + + + + Gets or sets 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 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. + + + + Determines which contract type is created for the given type. + + Type of the object. + A for the given type. + + + + Creates properties for the given . + + The type to create properties for. + /// The member serialization mode for the type. + Properties for the given . + + + + Creates the used by the serializer to get and set values from a member. + + The member. + The used by the serializer to get and set values from a member. + + + + Creates a for the given . + + The member's parent . + The member to create a for. + A created for the given . + + + + Resolves the name of the property. + + Name of the property. + Resolved name of the property. + + + + Resolves the name of the extension data. By default no changes are made to extension data names. + + Name of the extension data. + Resolved name of the extension data. + + + + Resolves the key of the dictionary. By default is used to resolve dictionary keys. + + Key of the dictionary. + Resolved key of the dictionary. + + + + Gets the resolved name of the property. + + Name of the property. + Name of the property. + + + + The default naming strategy. Property names and dictionary keys are unchanged. + + + + + Resolves the specified property name. + + The property name to resolve. + The resolved property name. + + + + The default serialization binder used when resolving and loading classes from type names. + + + + + Initializes a new instance of the class. + + + + + When overridden in a derived class, controls the binding of a serialized object to a type. + + Specifies the name of the serialized object. + Specifies the name of the serialized object. + + The type of the object the formatter creates a new instance of. + + + + + When overridden in a derived class, controls the binding of a serialized object to a type. + + The type of the object the formatter creates a new instance of. + Specifies the name of the serialized object. + Specifies the name of the serialized object. + + + + Provides information surrounding an error. + + + + + Gets the error. + + The error. + + + + Gets the original object that caused the error. + + The original object that caused the error. + + + + Gets the member that caused the error. + + The member that caused the error. + + + + Gets the path of the JSON location where the error occurred. + + The path of the JSON location where the error occurred. + + + + Gets or sets a value indicating whether this is handled. + + true if handled; otherwise, false. + + + + Provides data for the Error event. + + + + + Gets the current object the error event is being raised against. + + The current object the error event is being raised against. + + + + Gets the error context. + + The error context. + + + + Initializes a new instance of the class. + + The current object. + The error context. + + + + Get and set values for a using dynamic methods. + + + + + Initializes a new instance of the class. + + The member info. + + + + Sets the value. + + The target to set the value on. + The value to set on the target. + + + + Gets the value. + + The target to get the value from. + The value. + + + + Provides methods to get attributes. + + + + + Returns a collection of all of the attributes, or an empty collection if there are no attributes. + + When true, look up the hierarchy chain for the inherited custom attribute. + A collection of s, or an empty collection. + + + + Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. + + The type of the attributes. + When true, look up the hierarchy chain for the inherited custom attribute. + A collection of s, or an empty collection. + + + + Used by to resolve a for a given . + + + + + + + + + Resolves the contract for a given type. + + The type to resolve a contract for. + The contract for a given type. + + + + Used to resolve references when serializing and deserializing JSON by the . + + + + + Resolves a reference to its object. + + The serialization context. + The reference to resolve. + The object that was resolved from the reference. + + + + Gets the reference for the specified object. + + The serialization context. + The object to get a reference for. + The reference to the object. + + + + Determines whether the specified object is referenced. + + The serialization context. + The object to test for a reference. + + true if the specified object is referenced; otherwise, false. + + + + + Adds a reference to the specified object. + + The serialization context. + The reference. + The object to reference. + + + + Allows users to control class loading and mandate what class to load. + + + + + When implemented, controls the binding of a serialized object to a type. + + Specifies the name of the serialized object. + Specifies the name of the serialized object + The type of the object the formatter creates a new instance of. + + + + When implemented, controls the binding of a serialized object to a type. + + The type of the object the formatter creates a new instance of. + Specifies the name of the serialized object. + Specifies the name of the serialized object. + + + + Represents a trace writer. + + + + + Gets the that will be used to filter the trace messages passed to the writer. + For example a filter level of will exclude messages and include , + and messages. + + The that will be used to filter the trace messages passed to the writer. + + + + Writes the specified trace level, message and optional exception. + + The at which to write this trace. + The trace message. + The trace exception. This parameter is optional. + + + + Provides methods to get and set values. + + + + + Sets the value. + + The target to set the value on. + The value to set on the target. + + + + Gets the value. + + The target to get the value from. + The value. + + + + Contract details for a used by the . + + + + + Gets the of the collection items. + + The of the collection items. + + + + Gets a value indicating whether the collection type is a multidimensional array. + + true if the collection type is a multidimensional array; otherwise, false. + + + + Gets or sets the function used to create the object. When set this function will override . + + The function used to create the object. + + + + Gets a value indicating whether the creator has a parameter with the collection values. + + true if the creator has a parameter with the collection values; otherwise, false. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Contract details for a used by the . + + + + + Gets or sets the default collection items . + + The converter. + + + + Gets or sets a value indicating whether the collection items preserve object references. + + true if collection items preserve object references; otherwise, false. + + + + Gets or sets the collection item reference loop handling. + + The reference loop handling. + + + + Gets or sets the collection item type name handling. + + The type name handling. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Handles serialization callback events. + + The object that raised the callback event. + The streaming context. + + + + Handles serialization error callback events. + + The object that raised the callback event. + The streaming context. + The error context. + + + + Sets extension data for an object during deserialization. + + The object to set extension data on. + The extension data key. + The extension data value. + + + + Gets extension data for an object during serialization. + + The object to set extension data on. + + + + Contract details for a used by the . + + + + + Gets the underlying type for the contract. + + The underlying type for the contract. + + + + Gets or sets the type created during deserialization. + + The type created during deserialization. + + + + Gets or sets whether this type contract is serialized as a reference. + + Whether this type contract is serialized as a reference. + + + + Gets or sets the default for this contract. + + The converter. + + + + Gets or sets all methods called immediately after deserialization of the object. + + The methods called immediately after deserialization of the object. + + + + Gets or sets all methods called during deserialization of the object. + + The methods called during deserialization of the object. + + + + Gets or sets all methods called after serialization of the object graph. + + The methods called after serialization of the object graph. + + + + Gets or sets all methods called before serialization of the object. + + The methods called before serialization of the object. + + + + Gets or sets all method called when an error is thrown during the serialization of the object. + + The methods called when an error is thrown during the serialization of the object. + + + + Gets or sets the default creator method used to create the object. + + The default creator method used to create the object. + + + + Gets or sets a value indicating whether the default creator is non-public. + + true if the default object creator is non-public; otherwise, false. + + + + Contract details for a used by the . + + + + + Gets or sets the dictionary key resolver. + + The dictionary key resolver. + + + + Gets the of the dictionary keys. + + The of the dictionary keys. + + + + Gets the of the dictionary values. + + The of the dictionary values. + + + + Gets or sets the function used to create the object. When set this function will override . + + The function used to create the object. + + + + Gets a value indicating whether the creator has a parameter with the dictionary values. + + true if the creator has a parameter with the dictionary values; otherwise, false. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Contract details for a used by the . + + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Contract details for a used by the . + + + + + Gets or sets the object member serialization. + + The member object serialization. + + + + Gets or sets a value that indicates whether the object's properties are required. + + + A value indicating whether the object's properties are required. + + + + + Gets the object's properties. + + The object's properties. + + + + Gets a collection of instances that define the parameters used with . + + + + + Gets or sets the function used to create the object. When set this function will override . + This function is called with a collection of arguments which are defined by the collection. + + The function used to create the object. + + + + Gets or sets the extension data setter. + + + + + Gets or sets the extension data getter. + + + + + Gets or sets the extension data value type. + + + + + Gets or sets the extension data name resolver. + + The extension data name resolver. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Contract details for a used by the . + + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Maps a JSON property to a .NET member or constructor parameter. + + + + + Gets or sets the name of the property. + + The name of the property. + + + + Gets or sets the type that declared this property. + + The type that declared this property. + + + + Gets or sets the order of serialization of a member. + + The numeric order of serialization. + + + + Gets or sets the name of the underlying member or parameter. + + The name of the underlying member or parameter. + + + + Gets the that will get and set the during serialization. + + The that will get and set the during serialization. + + + + Gets or sets the for this property. + + The for this property. + + + + Gets or sets the type of the property. + + The type of the property. + + + + Gets or sets the for the property. + If set this converter takes precedence over the contract converter for the property type. + + The converter. + + + + Gets or sets the member converter. + + The member converter. + + + + Gets or sets a value indicating whether this is ignored. + + true if ignored; otherwise, false. + + + + Gets or sets a value indicating whether this is readable. + + true if readable; otherwise, false. + + + + Gets or sets a value indicating whether this is writable. + + true if writable; otherwise, false. + + + + Gets or sets a value indicating whether this has a member attribute. + + true if has a member attribute; otherwise, false. + + + + Gets the default value. + + The default value. + + + + Gets or sets a value indicating whether this is required. + + A value indicating whether this is required. + + + + Gets or sets a value indicating whether this property preserves object references. + + + true if this instance is reference; otherwise, false. + + + + + Gets or sets the property null value handling. + + The null value handling. + + + + Gets or sets the property default value handling. + + The default value handling. + + + + Gets or sets the property reference loop handling. + + The reference loop handling. + + + + Gets or sets the property object creation handling. + + The object creation handling. + + + + Gets or sets or sets the type name handling. + + The type name handling. + + + + Gets or sets a predicate used to determine whether the property should be serialized. + + A predicate used to determine whether the property should be serialized. + + + + Gets or sets a predicate used to determine whether the property should be deserialized. + + A predicate used to determine whether the property should be deserialized. + + + + Gets or sets a predicate used to determine whether the property should be serialized. + + A predicate used to determine whether the property should be serialized. + + + + Gets or sets an action used to set whether the property has been deserialized. + + An action used to set whether the property has been deserialized. + + + + Returns a that represents this instance. + + + A that represents this instance. + + + + + Gets or sets the converter used when serializing the property's collection items. + + The collection's items converter. + + + + Gets or sets whether this property's collection items are serialized as a reference. + + Whether this property's collection items are serialized as a reference. + + + + Gets or sets the type name handling used when serializing the property's collection items. + + The collection's items type name handling. + + + + Gets or sets the reference loop handling used when serializing the property's collection items. + + The collection's items reference loop handling. + + + + A collection of objects. + + + + + Initializes a new instance of the class. + + The type. + + + + When implemented in a derived class, extracts the key from the specified element. + + The element from which to extract the key. + The key for the specified element. + + + + Adds a object. + + The property to add to the collection. + + + + Gets the closest matching object. + First attempts to get an exact case match of and then + a case insensitive match. + + Name of the property. + A matching property if found. + + + + Gets a property by property name. + + The name of the property to get. + Type property name string comparison. + A matching property if found. + + + + Contract details for a used by the . + + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Lookup and create an instance of the type described by the argument. + + The type to create. + Optional arguments to pass to an initializing constructor of the JsonConverter. + If null, the default constructor is used. + + + + Represents a trace writer that writes to memory. When the trace message limit is + reached then old trace messages will be removed as new messages are added. + + + + + Gets the that will be used to filter the trace messages passed to the writer. + For example a filter level of will exclude messages and include , + and messages. + + + The that will be used to filter the trace messages passed to the writer. + + + + + Initializes a new instance of the class. + + + + + Writes the specified trace level, message and optional exception. + + The at which to write this trace. + The trace message. + The trace exception. This parameter is optional. + + + + Returns an enumeration of the most recent trace messages. + + An enumeration of the most recent trace messages. + + + + Returns a of the most recent trace messages. + + + A of the most recent trace messages. + + + + + A base class for resolving how property names and dictionary keys are serialized. + + + + + A flag indicating whether dictionary keys should be processed. + Defaults to false. + + + + + A flag indicating whether extension data names should be processed. + Defaults to false. + + + + + A flag indicating whether explicitly specified property names, + e.g. a property name customized with a , should be processed. + Defaults to false. + + + + + Gets the serialized name for a given property name. + + The initial property name. + A flag indicating whether the property has had a name explicitly specified. + The serialized property name. + + + + Gets the serialized name for a given extension data name. + + The initial extension data name. + The serialized extension data name. + + + + Gets the serialized key for a given dictionary key. + + The initial dictionary key. + The serialized dictionary key. + + + + Resolves the specified property name. + + The property name to resolve. + The resolved property name. + + + + Represents a method that constructs an object. + + The object type to create. + + + + When applied to a method, specifies that the method is called when an error occurs serializing an object. + + + + + Provides methods to get attributes from a , , or . + + + + + Initializes a new instance of the class. + + The instance to get attributes for. This parameter should be a , , or . + + + + Returns a collection of all of the attributes, or an empty collection if there are no attributes. + + When true, look up the hierarchy chain for the inherited custom attribute. + A collection of s, or an empty collection. + + + + Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. + + The type of the attributes. + When true, look up the hierarchy chain for the inherited custom attribute. + A collection of s, or an empty collection. + + + + Get and set values for a using reflection. + + + + + Initializes a new instance of the class. + + The member info. + + + + Sets the value. + + The target to set the value on. + The value to set on the target. + + + + Gets the value. + + The target to get the value from. + The value. + + + + A snake case naming strategy. + + + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + A flag indicating whether extension data names should be processed. + + + + + Initializes a new instance of the class. + + + + + Resolves the specified property name. + + The property name to resolve. + The resolved property name. + + + + Specifies how strings are escaped when writing JSON text. + + + + + Only control characters (e.g. newline) are escaped. + + + + + All non-ASCII and control characters (e.g. newline) are escaped. + + + + + HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. + + + + + Specifies what messages to output for the class. + + + + + Output no tracing and debugging messages. + + + + + Output error-handling messages. + + + + + Output warnings and error-handling messages. + + + + + Output informational messages, warnings, and error-handling messages. + + + + + Output all debugging and tracing messages. + + + + + Indicates the method that will be used during deserialization for locating and loading assemblies. + + + + + In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the LoadWithPartialName method of the class is used to load the assembly. + + + + + In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The Load method of the class is used to load the assembly. + + + + + Specifies type name handling options for the . + + + should be used with caution when your application deserializes JSON from an external source. + Incoming types should be validated with a custom + when deserializing with a value other than . + + + + + Do not include the .NET type name when serializing types. + + + + + Include the .NET type name when serializing into a JSON object structure. + + + + + Include the .NET type name when serializing into a JSON array structure. + + + + + Always include the .NET type name when serializing. + + + + + Include the .NET type name when the type of the object being serialized is not the same as its declared type. + Note that this doesn't include the root serialized object by default. To include the root object's type name in JSON + you must specify a root type object with + or . + + + + + Determines whether the collection is null or empty. + + The collection. + + true if the collection is null or empty; otherwise, false. + + + + + Adds the elements of the specified collection to the specified generic . + + The list to add to. + The collection of elements to add. + + + + Converts the value to the specified type. If the value is unable to be converted, the + value is checked whether it assignable to the specified type. + + The value to convert. + The culture to use when converting. + The type to convert or cast the value to. + + The converted type. If conversion was unsuccessful, the initial value + is returned if assignable to the target type. + + + + + Gets a dictionary of the names and values of an type. + + + + + + Gets a dictionary of the names and values of an Enum type. + + The enum type to get names and values for. + + + + + Gets the type of the typed collection's items. + + The type. + The type of the typed collection's items. + + + + Gets the member's underlying type. + + The member. + The underlying type of the member. + + + + Determines whether the member is an indexed property. + + The member. + + true if the member is an indexed property; otherwise, false. + + + + + Determines whether the property is an indexed property. + + The property. + + true if the property is an indexed property; otherwise, false. + + + + + Gets the member's value on the object. + + The member. + The target object. + The member's value on the object. + + + + Sets the member's value on the target object. + + The member. + The target. + The value. + + + + Determines whether the specified MemberInfo can be read. + + The MemberInfo to determine whether can be read. + /// if set to true then allow the member to be gotten non-publicly. + + true if the specified MemberInfo can be read; otherwise, false. + + + + + Determines whether the specified MemberInfo can be set. + + The MemberInfo to determine whether can be set. + if set to true then allow the member to be set non-publicly. + if set to true then allow the member to be set if read-only. + + true if the specified MemberInfo can be set; otherwise, false. + + + + + Builds a string. Unlike this class lets you reuse its internal buffer. + + + + + Determines whether the string is all white space. Empty string will return false. + + The string to test whether it is all white space. + + true if the string is all white space; otherwise, false. + + + + + Specifies the state of the . + + + + + An exception has been thrown, which has left the in an invalid state. + You may call the method to put the in the Closed state. + Any other method calls result in an being thrown. + + + + + The method has been called. + + + + + An object is being written. + + + + + An array is being written. + + + + + A constructor is being written. + + + + + A property is being written. + + + + + A write method has not been called. + + + + + Indicates the method that will be used during deserialization for locating and loading assemblies. + + + + + In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the method is used to load the assembly. + + + + + In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The is used to load the assembly. + + + + diff --git a/packages/Newtonsoft.Json.10.0.2/lib/portable-net45+win8+wpa81+wp8/Newtonsoft.Json.xml b/packages/Newtonsoft.Json.10.0.2/lib/portable-net45+win8+wpa81+wp8/Newtonsoft.Json.xml new file mode 100644 index 0000000..8a0c043 --- /dev/null +++ b/packages/Newtonsoft.Json.10.0.2/lib/portable-net45+win8+wpa81+wp8/Newtonsoft.Json.xml @@ -0,0 +1,10467 @@ + + + + Newtonsoft.Json + + + + + Represents a BSON Oid (object id). + + + + + Gets or sets the value of the Oid. + + The value of the Oid. + + + + Initializes a new instance of the class. + + The Oid value. + + + + Represents a reader that provides fast, non-cached, forward-only access to serialized BSON data. + + + + + Gets or sets a value indicating whether binary data reading should be compatible with incorrect Json.NET 3.5 written binary. + + + true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. + + + + + Gets or sets a value indicating whether the root object will be read as a JSON array. + + + true if the root object will be read as a JSON array; otherwise, false. + + + + + Gets or sets the used when reading values from BSON. + + The used when reading values from BSON. + + + + Initializes a new instance of the class. + + The containing the BSON data to read. + + + + Initializes a new instance of the class. + + The containing the BSON data to read. + + + + Initializes a new instance of the class. + + The containing the BSON data to read. + if set to true the root object will be read as a JSON array. + The used when reading values from BSON. + + + + Initializes a new instance of the class. + + The containing the BSON data to read. + if set to true the root object will be read as a JSON array. + The used when reading values from BSON. + + + + Reads the next JSON token from the underlying . + + + true if the next token was read successfully; false if there are no more tokens to read. + + + + + Changes the reader's state to . + If is set to true, the underlying is also closed. + + + + + Represents a writer that provides a fast, non-cached, forward-only way of generating BSON data. + + + + + Gets or sets the used when writing values to BSON. + When set to no conversion will occur. + + The used when writing values to BSON. + + + + Initializes a new instance of the class. + + The to write to. + + + + Initializes a new instance of the class. + + The to write to. + + + + Flushes whatever is in the buffer to the underlying and also flushes the underlying stream. + + + + + Writes the end. + + The token. + + + + Writes a comment /*...*/ containing the specified text. + + Text to place inside the comment. + + + + Writes the start of a constructor with the given name. + + The name of the constructor. + + + + Writes raw JSON. + + The raw JSON to write. + + + + Writes raw JSON where a value is expected and updates the writer's state. + + The raw JSON to write. + + + + Writes the beginning of a JSON array. + + + + + Writes the beginning of a JSON object. + + + + + Writes the property name of a name/value pair on a JSON object. + + The name of the property. + + + + Closes this writer. + If is set to true, the underlying is also closed. + If is set to true, the JSON is auto-completed. + + + + + Writes a value. + An error will raised if the value cannot be written as a single JSON token. + + The value to write. + + + + Writes a null value. + + + + + Writes an undefined value. + + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a [] value. + + The [] value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a [] value that represents a BSON object id. + + The Object ID value to write. + + + + Writes a BSON regex. + + The regex pattern. + The regex options. + + + + Specifies how constructors are used when initializing objects during deserialization by the . + + + + + First attempt to use the public default constructor, then fall back to a single parameterized constructor, then to the non-public default constructor. + + + + + Json.NET will use a non-public default constructor before falling back to a parameterized constructor. + + + + + Converts a binary value to and from a base 64 string value. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts a to and from JSON and BSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Creates a custom object. + + The object type to convert. + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Creates an object which will then be populated by the serializer. + + Type of the object. + The created object. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Gets a value indicating whether this can write JSON. + + + true if this can write JSON; otherwise, false. + + + + + Provides a base class for converting a to and from JSON. + + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts a F# discriminated union type to and from JSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts an to and from JSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Gets a value indicating whether this can write JSON. + + + true if this can write JSON; otherwise, false. + + + + + Converts a to and from the ISO 8601 date format (e.g. "2008-04-12T12:53Z"). + + + + + Gets or sets the date time styles used when converting a date to and from JSON. + + The date time styles used when converting a date to and from JSON. + + + + Gets or sets the date time format used when converting a date to and from JSON. + + The date time format used when converting a date to and from JSON. + + + + Gets or sets the culture used when converting a date to and from JSON. + + The culture used when converting a date to and from JSON. + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Converts a to and from a JavaScript Date constructor (e.g. new Date(52231943)). + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing property value of the JSON that is being converted. + The calling serializer. + The object value. + + + + Converts a to and from JSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts a to and from JSON and BSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts an to and from its name string value. + + + + + Gets or sets a value indicating whether the written enum text should be camel case. + + true if the written enum text will be camel case; otherwise, false. + + + + Gets or sets a value indicating whether integer values are allowed when deserializing. + + true if integers are allowed when deserializing; otherwise, false. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + true if the written enum text will be camel case; otherwise, false. + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts a to and from a string (e.g. "1.2.3.4"). + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing property value of the JSON that is being converted. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts XML to and from JSON. + + + + + Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produced multiple root elements. + + The name of the deserialized root element. + + + + Gets or sets a flag to indicate whether to write the Json.NET array attribute. + This attribute helps preserve arrays when converting the written XML back to JSON. + + true if the array attribute is written to the XML; otherwise, false. + + + + Gets or sets a value indicating whether to write the root JSON object. + + true if the JSON root object is omitted; otherwise, false. + + + + Writes the JSON representation of the object. + + The to write to. + The calling serializer. + The value. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Checks if the is a namespace attribute. + + Attribute name to test. + The attribute name prefix if it has one, otherwise an empty string. + true if attribute name is for a namespace attribute, otherwise false. + + + + Determines whether this instance can convert the specified value type. + + Type of the value. + + true if this instance can convert the specified value type; otherwise, false. + + + + + Specifies how dates are formatted when writing JSON text. + + + + + Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". + + + + + Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". + + + + + Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. + + + + + Date formatted strings are not parsed to a date type and are read as strings. + + + + + Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . + + + + + Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . + + + + + Specifies how to treat the time value when converting between string and . + + + + + Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time. + + + + + Treat as a UTC. If the object represents a local time, it is converted to a UTC. + + + + + Treat as a local time if a is being converted to a string. + If a string is being converted to , convert to a local time if a time zone is specified. + + + + + Time zone information should be preserved when converting. + + + + + Specifies default value handling options for the . + + + + + + + + + Include members where the member value is the same as the member's default value when serializing objects. + Included members are written to JSON. Has no effect when deserializing. + + + + + Ignore members where the member value is the same as the member's default value when serializing objects + so that it is not written to JSON. + This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, + decimals and floating point numbers; and false for booleans). The default value ignored can be changed by + placing the on the property. + + + + + Members with a default value but no JSON will be set to their default value when deserializing. + + + + + Ignore members where the member value is the same as the member's default value when serializing objects + and set members to their default value when deserializing. + + + + + Specifies float format handling options when writing special floating point numbers, e.g. , + and with . + + + + + Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". + + + + + Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. + Note that this will produce non-valid JSON. + + + + + Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a of property. + + + + + Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + + + + + Floating point numbers are parsed to . + + + + + Floating point numbers are parsed to . + + + + + Specifies formatting options for the . + + + + + No special formatting is applied. This is the default. + + + + + Causes child objects to be indented according to the and settings. + + + + + Provides an interface for using pooled arrays. + + The array type content. + + + + Rent an array from the pool. This array must be returned when it is no longer needed. + + The minimum required length of the array. The returned array may be longer. + The rented array from the pool. This array must be returned when it is no longer needed. + + + + Return an array to the pool. + + The array that is being returned. + + + + Provides an interface to enable a class to return line and position information. + + + + + Gets a value indicating whether the class can return line information. + + + true if and can be provided; otherwise, false. + + + + + Gets the current line number. + + The current line number or 0 if no line information is available (for example, when returns false). + + + + Gets the current line position. + + The current line position or 0 if no line information is available (for example, when returns false). + + + + Instructs the how to serialize the collection. + + + + + Gets or sets a value indicating whether null items are allowed in the collection. + + true if null items are allowed in the collection; otherwise, false. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with a flag indicating whether the array can contain null items. + + A flag indicating whether the array can contain null items. + + + + Initializes a new instance of the class with the specified container Id. + + The container Id. + + + + Instructs the to use the specified constructor when deserializing that object. + + + + + Instructs the how to serialize the object. + + + + + Gets or sets the id. + + The id. + + + + Gets or sets the title. + + The title. + + + + Gets or sets the description. + + The description. + + + + Gets or sets the collection's items converter. + + The collection's items converter. + + + + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, + order, and type of these parameters. + + + + [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] + + + + + + Gets or sets the of the . + + The of the . + + + + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, + order, and type of these parameters. + + + + [JsonContainer(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] + + + + + + Gets or sets a value that indicates whether to preserve object references. + + + true to keep object reference; otherwise, false. The default is false. + + + + + Gets or sets a value that indicates whether to preserve collection's items references. + + + true to keep collection's items object references; otherwise, false. The default is false. + + + + + Gets or sets the reference loop handling used when serializing the collection's items. + + The reference loop handling. + + + + Gets or sets the type name handling used when serializing the collection's items. + + The type name handling. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with the specified container Id. + + The container Id. + + + + Provides methods for converting between .NET types and JSON types. + + + + + + + + Gets or sets a function that creates default . + Default settings are automatically used by serialization methods on , + and and on . + To serialize without using any default settings create a with + . + + + + + Represents JavaScript's boolean value true as a string. This field is read-only. + + + + + Represents JavaScript's boolean value false as a string. This field is read-only. + + + + + Represents JavaScript's null as a string. This field is read-only. + + + + + Represents JavaScript's undefined as a string. This field is read-only. + + + + + Represents JavaScript's positive infinity as a string. This field is read-only. + + + + + Represents JavaScript's negative infinity as a string. This field is read-only. + + + + + Represents JavaScript's NaN as a string. This field is read-only. + + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation using the specified. + + The value to convert. + The format the date will be converted to. + The time zone handling when the date is converted to a string. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation using the specified. + + The value to convert. + The format the date will be converted to. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + The string delimiter character. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + The string delimiter character. + The string escape handling. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Serializes the specified object to a JSON string. + + The object to serialize. + A JSON string representation of the object. + + + + Serializes the specified object to a JSON string using formatting. + + The object to serialize. + Indicates how the output should be formatted. + + A JSON string representation of the object. + + + + + Serializes the specified object to a JSON string using a collection of . + + The object to serialize. + A collection of converters used while serializing. + A JSON string representation of the object. + + + + Serializes the specified object to a JSON string using formatting and a collection of . + + The object to serialize. + Indicates how the output should be formatted. + A collection of converters used while serializing. + A JSON string representation of the object. + + + + Serializes the specified object to a JSON string using . + + The object to serialize. + The used to serialize the object. + If this is null, default serialization settings will be used. + + A JSON string representation of the object. + + + + + Serializes the specified object to a JSON string using a type, formatting and . + + The object to serialize. + The used to serialize the object. + If this is null, default serialization settings will be used. + + The type of the value being serialized. + This parameter is used when is to write out the type name if the type of the value does not match. + Specifying the type is optional. + + + A JSON string representation of the object. + + + + + Serializes the specified object to a JSON string using formatting and . + + The object to serialize. + Indicates how the output should be formatted. + The used to serialize the object. + If this is null, default serialization settings will be used. + + A JSON string representation of the object. + + + + + Serializes the specified object to a JSON string using a type, formatting and . + + The object to serialize. + Indicates how the output should be formatted. + The used to serialize the object. + If this is null, default serialization settings will be used. + + The type of the value being serialized. + This parameter is used when is to write out the type name if the type of the value does not match. + Specifying the type is optional. + + + A JSON string representation of the object. + + + + + Deserializes the JSON to a .NET object. + + The JSON to deserialize. + The deserialized object from the JSON string. + + + + Deserializes the JSON to a .NET object using . + + The JSON to deserialize. + + The used to deserialize the object. + If this is null, default serialization settings will be used. + + The deserialized object from the JSON string. + + + + Deserializes the JSON to the specified .NET type. + + The JSON to deserialize. + The of object being deserialized. + The deserialized object from the JSON string. + + + + Deserializes the JSON to the specified .NET type. + + The type of the object to deserialize to. + The JSON to deserialize. + The deserialized object from the JSON string. + + + + Deserializes the JSON to the given anonymous type. + + + The anonymous type to deserialize to. This can't be specified + traditionally and must be inferred from the anonymous type passed + as a parameter. + + The JSON to deserialize. + The anonymous type object. + The deserialized anonymous type from the JSON string. + + + + Deserializes the JSON to the given anonymous type using . + + + The anonymous type to deserialize to. This can't be specified + traditionally and must be inferred from the anonymous type passed + as a parameter. + + The JSON to deserialize. + The anonymous type object. + + The used to deserialize the object. + If this is null, default serialization settings will be used. + + The deserialized anonymous type from the JSON string. + + + + Deserializes the JSON to the specified .NET type using a collection of . + + The type of the object to deserialize to. + The JSON to deserialize. + Converters to use while deserializing. + The deserialized object from the JSON string. + + + + Deserializes the JSON to the specified .NET type using . + + The type of the object to deserialize to. + The object to deserialize. + + The used to deserialize the object. + If this is null, default serialization settings will be used. + + The deserialized object from the JSON string. + + + + Deserializes the JSON to the specified .NET type using a collection of . + + The JSON to deserialize. + The type of the object to deserialize. + Converters to use while deserializing. + The deserialized object from the JSON string. + + + + Deserializes the JSON to the specified .NET type using . + + The JSON to deserialize. + The type of the object to deserialize to. + + The used to deserialize the object. + If this is null, default serialization settings will be used. + + The deserialized object from the JSON string. + + + + Populates the object with values from the JSON string. + + The JSON to populate values from. + The target object to populate values onto. + + + + Populates the object with values from the JSON string using . + + The JSON to populate values from. + The target object to populate values onto. + + The used to deserialize the object. + If this is null, default serialization settings will be used. + + + + + Serializes the to a JSON string. + + The node to convert to JSON. + A JSON string of the . + + + + Serializes the to a JSON string using formatting. + + The node to convert to JSON. + Indicates how the output should be formatted. + A JSON string of the . + + + + Serializes the to a JSON string using formatting and omits the root object if is true. + + The node to serialize. + Indicates how the output should be formatted. + Omits writing the root object. + A JSON string of the . + + + + Deserializes the from a JSON string. + + The JSON string. + The deserialized . + + + + Deserializes the from a JSON string nested in a root element specified by . + + The JSON string. + The name of the root element to append when deserializing. + The deserialized . + + + + Deserializes the from a JSON string nested in a root element specified by + and writes a Json.NET array attribute for collections. + + The JSON string. + The name of the root element to append when deserializing. + + A flag to indicate whether to write the Json.NET array attribute. + This attribute helps preserve arrays when converting the written XML back to JSON. + + The deserialized . + + + + Converts an object to and from JSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Gets a value indicating whether this can read JSON. + + true if this can read JSON; otherwise, false. + + + + Gets a value indicating whether this can write JSON. + + true if this can write JSON; otherwise, false. + + + + Instructs the to use the specified when serializing the member or class. + + + + + Gets the of the . + + The of the . + + + + The parameter list to use when constructing the described by . + If null, the default constructor is used. + + + + + Initializes a new instance of the class. + + Type of the . + + + + Initializes a new instance of the class. + + Type of the . + Parameter list to use when constructing the . Can be null. + + + + Represents a collection of . + + + + + Instructs the how to serialize the collection. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with the specified container Id. + + The container Id. + + + + The exception thrown when an error occurs during JSON serialization or deserialization. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class + with a specified error message. + + The error message that explains the reason for the exception. + + + + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Instructs the to deserialize properties with no matching class member into the specified collection + and write values during serialization. + + + + + Gets or sets a value that indicates whether to write extension data when serializing the object. + + + true to write extension data when serializing the object; otherwise, false. The default is true. + + + + + Gets or sets a value that indicates whether to read extension data when deserializing the object. + + + true to read extension data when deserializing the object; otherwise, false. The default is true. + + + + + Initializes a new instance of the class. + + + + + Instructs the not to serialize the public field or public read/write property value. + + + + + Instructs the how to serialize the object. + + + + + Gets or sets the member serialization. + + The member serialization. + + + + Gets or sets a value that indicates whether the object's properties are required. + + + A value indicating whether the object's properties are required. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with the specified member serialization. + + The member serialization. + + + + Initializes a new instance of the class with the specified container Id. + + The container Id. + + + + Instructs the to always serialize the member with the specified name. + + + + + Gets or sets the used when serializing the property's collection items. + + The collection's items . + + + + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, + order, and type of these parameters. + + + + [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] + + + + + + Gets or sets the of the . + + The of the . + + + + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, + order, and type of these parameters. + + + + [JsonProperty(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] + + + + + + Gets or sets the null value handling used when serializing this property. + + The null value handling. + + + + Gets or sets the default value handling used when serializing this property. + + The default value handling. + + + + Gets or sets the reference loop handling used when serializing this property. + + The reference loop handling. + + + + Gets or sets the object creation handling used when deserializing this property. + + The object creation handling. + + + + Gets or sets the type name handling used when serializing this property. + + The type name handling. + + + + Gets or sets whether this property's value is serialized as a reference. + + Whether this property's value is serialized as a reference. + + + + Gets or sets the order of serialization of a member. + + The numeric order of serialization. + + + + Gets or sets a value indicating whether this property is required. + + + A value indicating whether this property is required. + + + + + Gets or sets the name of the property. + + The name of the property. + + + + Gets or sets the reference loop handling used when serializing the property's collection items. + + The collection's items reference loop handling. + + + + Gets or sets the type name handling used when serializing the property's collection items. + + The collection's items type name handling. + + + + Gets or sets whether this property's collection items are serialized as a reference. + + Whether this property's collection items are serialized as a reference. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with the specified name. + + Name of the property. + + + + Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. + + + + + Asynchronously reads the next JSON token from the source. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns true if the next token was read successfully; false if there are no more tokens to read. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously skips the children of the current token. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a []. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the []. This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously reads the next JSON token from the source as a . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Specifies the state of the reader. + + + + + A read method has not been called. + + + + + The end of the file has been reached successfully. + + + + + Reader is at a property. + + + + + Reader is at the start of an object. + + + + + Reader is in an object. + + + + + Reader is at the start of an array. + + + + + Reader is in an array. + + + + + The method has been called. + + + + + Reader has just read a value. + + + + + Reader is at the start of a constructor. + + + + + Reader is in a constructor. + + + + + An error occurred that prevents the read operation from continuing. + + + + + The end of the file has been reached successfully. + + + + + Gets the current reader state. + + The current reader state. + + + + Gets or sets a value indicating whether the source should be closed when this reader is closed. + + + true to close the source when this reader is closed; otherwise false. The default is true. + + + + + Gets or sets a value indicating whether multiple pieces of JSON content can + be read from a continuous stream without erroring. + + + true to support reading multiple pieces of JSON content; otherwise false. + The default is false. + + + + + Gets the quotation mark character used to enclose the value of a string. + + + + + Gets or sets how time zones are handled when reading JSON. + + + + + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + + + + + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + + + + + Gets or sets how custom date formatted strings are parsed when reading JSON. + + + + + Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + + + + + Gets the type of the current JSON token. + + + + + Gets the text value of the current JSON token. + + + + + Gets the .NET type for the current JSON token. + + + + + Gets the depth of the current token in the JSON document. + + The depth of the current token in the JSON document. + + + + Gets the path of the current JSON token. + + + + + Gets or sets the culture used when reading JSON. Defaults to . + + + + + Initializes a new instance of the class. + + + + + Reads the next JSON token from the source. + + true if the next token was read successfully; false if there are no more tokens to read. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a . + + A . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a []. + + A [] or null if the next JSON token is null. This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Skips the children of the current token. + + + + + Sets the current token. + + The new token. + + + + Sets the current token and value. + + The new token. + The value. + + + + Sets the current token and value. + + The new token. + The value. + A flag indicating whether the position index inside an array should be updated. + + + + Sets the state based on current token type. + + + + + Releases unmanaged and - optionally - managed resources. + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Changes the reader's state to . + If is set to true, the source is also closed. + + + + + The exception thrown when an error occurs while reading JSON text. + + + + + Gets the line number indicating where the error occurred. + + The line number indicating where the error occurred. + + + + Gets the line position indicating where the error occurred. + + The line position indicating where the error occurred. + + + + Gets the path to the JSON where the error occurred. + + The path to the JSON where the error occurred. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class + with a specified error message. + + The error message that explains the reason for the exception. + + + + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Initializes a new instance of the class + with a specified error message, JSON path, line number, line position, and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The path to the JSON where the error occurred. + The line number indicating where the error occurred. + The line position indicating where the error occurred. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Instructs the to always serialize the member, and to require that the member has a value. + + + + + The exception thrown when an error occurs during JSON serialization or deserialization. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class + with a specified error message. + + The error message that explains the reason for the exception. + + + + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Serializes and deserializes objects into and from the JSON format. + The enables you to control how objects are encoded into JSON. + + + + + Occurs when the errors during serialization and deserialization. + + + + + Gets or sets the used by the serializer when resolving references. + + + + + Gets or sets the used by the serializer when resolving type names. + + + + + Gets or sets the used by the serializer when resolving type names. + + + + + Gets or sets the used by the serializer when writing trace messages. + + The trace writer. + + + + Gets or sets the equality comparer used by the serializer when comparing references. + + The equality comparer. + + + + Gets or sets how type name writing and reading is handled by the serializer. + + + should be used with caution when your application deserializes JSON from an external source. + Incoming types should be validated with a custom + when deserializing with a value other than . + + + + + Gets or sets how a type name assembly is written and resolved by the serializer. + + The type name assembly format. + + + + Gets or sets how a type name assembly is written and resolved by the serializer. + + The type name assembly format. + + + + Gets or sets how object references are preserved by the serializer. + + + + + Gets or sets how reference loops (e.g. a class referencing itself) is handled. + + + + + Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. + + + + + Gets or sets how null values are handled during serialization and deserialization. + + + + + Gets or sets how default values are handled during serialization and deserialization. + + + + + Gets or sets how objects are created during deserialization. + + The object creation handling. + + + + Gets or sets how constructors are used during deserialization. + + The constructor handling. + + + + Gets or sets how metadata properties are used during deserialization. + + The metadata properties handling. + + + + Gets a collection that will be used during serialization. + + Collection that will be used during serialization. + + + + Gets or sets the contract resolver used by the serializer when + serializing .NET objects to JSON and vice versa. + + + + + Gets or sets the used by the serializer when invoking serialization callback methods. + + The context. + + + + Indicates how JSON text output is formatted. + + + + + Gets or sets how dates are written to JSON text. + + + + + Gets or sets how time zones are handled during serialization and deserialization. + + + + + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + + + + + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + + + + + Gets or sets how special floating point numbers, e.g. , + and , + are written as JSON text. + + + + + Gets or sets how strings are escaped when writing JSON text. + + + + + Gets or sets how and values are formatted when writing JSON text, + and the expected date format when reading JSON text. + + + + + Gets or sets the culture used when reading JSON. Defaults to . + + + + + Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + + + + + Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. + + + true if there will be a check for additional JSON content after deserializing an object; otherwise, false. + + + + + Initializes a new instance of the class. + + + + + Creates a new instance. + The will not use default settings + from . + + + A new instance. + The will not use default settings + from . + + + + + Creates a new instance using the specified . + The will not use default settings + from . + + The settings to be applied to the . + + A new instance using the specified . + The will not use default settings + from . + + + + + Creates a new instance. + The will use default settings + from . + + + A new instance. + The will use default settings + from . + + + + + Creates a new instance using the specified . + The will use default settings + from as well as the specified . + + The settings to be applied to the . + + A new instance using the specified . + The will use default settings + from as well as the specified . + + + + + Populates the JSON values onto the target object. + + The that contains the JSON structure to reader values from. + The target object to populate values onto. + + + + Populates the JSON values onto the target object. + + The that contains the JSON structure to reader values from. + The target object to populate values onto. + + + + Deserializes the JSON structure contained by the specified . + + The that contains the JSON structure to deserialize. + The being deserialized. + + + + Deserializes the JSON structure contained by the specified + into an instance of the specified type. + + The containing the object. + The of object being deserialized. + The instance of being deserialized. + + + + Deserializes the JSON structure contained by the specified + into an instance of the specified type. + + The containing the object. + The type of the object to deserialize. + The instance of being deserialized. + + + + Deserializes the JSON structure contained by the specified + into an instance of the specified type. + + The containing the object. + The of object being deserialized. + The instance of being deserialized. + + + + Serializes the specified and writes the JSON structure + using the specified . + + The used to write the JSON structure. + The to serialize. + + + + Serializes the specified and writes the JSON structure + using the specified . + + The used to write the JSON structure. + The to serialize. + + The type of the value being serialized. + This parameter is used when is to write out the type name if the type of the value does not match. + Specifying the type is optional. + + + + + Serializes the specified and writes the JSON structure + using the specified . + + The used to write the JSON structure. + The to serialize. + + The type of the value being serialized. + This parameter is used when is Auto to write out the type name if the type of the value does not match. + Specifying the type is optional. + + + + + Serializes the specified and writes the JSON structure + using the specified . + + The used to write the JSON structure. + The to serialize. + + + + Specifies the settings on a object. + + + + + Gets or sets how reference loops (e.g. a class referencing itself) are handled. + + Reference loop handling. + + + + Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. + + Missing member handling. + + + + Gets or sets how objects are created during deserialization. + + The object creation handling. + + + + Gets or sets how null values are handled during serialization and deserialization. + + Null value handling. + + + + Gets or sets how default values are handled during serialization and deserialization. + + The default value handling. + + + + Gets or sets a collection that will be used during serialization. + + The converters. + + + + Gets or sets how object references are preserved by the serializer. + + The preserve references handling. + + + + Gets or sets how type name writing and reading is handled by the serializer. + + + should be used with caution when your application deserializes JSON from an external source. + Incoming types should be validated with a custom + when deserializing with a value other than . + + The type name handling. + + + + Gets or sets how metadata properties are used during deserialization. + + The metadata properties handling. + + + + Gets or sets how a type name assembly is written and resolved by the serializer. + + The type name assembly format. + + + + Gets or sets how a type name assembly is written and resolved by the serializer. + + The type name assembly format. + + + + Gets or sets how constructors are used during deserialization. + + The constructor handling. + + + + Gets or sets the contract resolver used by the serializer when + serializing .NET objects to JSON and vice versa. + + The contract resolver. + + + + Gets or sets the equality comparer used by the serializer when comparing references. + + The equality comparer. + + + + Gets or sets the used by the serializer when resolving references. + + The reference resolver. + + + + Gets or sets a function that creates the used by the serializer when resolving references. + + A function that creates the used by the serializer when resolving references. + + + + Gets or sets the used by the serializer when writing trace messages. + + The trace writer. + + + + Gets or sets the used by the serializer when resolving type names. + + The binder. + + + + Gets or sets the used by the serializer when resolving type names. + + The binder. + + + + Gets or sets the error handler called during serialization and deserialization. + + The error handler called during serialization and deserialization. + + + + Gets or sets the used by the serializer when invoking serialization callback methods. + + The context. + + + + Gets or sets how and values are formatted when writing JSON text, + and the expected date format when reading JSON text. + + + + + Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + + + + + Indicates how JSON text output is formatted. + + + + + Gets or sets how dates are written to JSON text. + + + + + Gets or sets how time zones are handled during serialization and deserialization. + + + + + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + + + + + Gets or sets how special floating point numbers, e.g. , + and , + are written as JSON. + + + + + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + + + + + Gets or sets how strings are escaped when writing JSON text. + + + + + Gets or sets the culture used when reading JSON. Defaults to . + + + + + Gets a value indicating whether there will be a check for additional content after deserializing an object. + + + true if there will be a check for additional content after deserializing an object; otherwise, false. + + + + + Initializes a new instance of the class. + + + + + Represents a reader that provides fast, non-cached, forward-only access to JSON text data. + + + + + Asynchronously reads the next JSON token from the source. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns true if the next token was read successfully; false if there are no more tokens to read. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a []. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the []. This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Initializes a new instance of the class with the specified . + + The containing the JSON data to read. + + + + Gets or sets the reader's character buffer pool. + + + + + Reads the next JSON token from the underlying . + + + true if the next token was read successfully; false if there are no more tokens to read. + + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a . + + A . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a []. + + A [] or null if the next JSON token is null. This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Changes the reader's state to . + If is set to true, the underlying is also closed. + + + + + Gets a value indicating whether the class can return line information. + + + true if and can be provided; otherwise, false. + + + + + Gets the current line number. + + + The current line number or 0 if no line information is available (for example, returns false). + + + + + Gets the current line position. + + + The current line position or 0 if no line information is available (for example, returns false). + + + + + Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. + + + + + Asynchronously flushes whatever is in the buffer to the destination and also flushes the destination. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the JSON value delimiter. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the specified end token. + + The end token to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously closes this writer. + If is set to true, the destination is also closed. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the end of the current JSON object or array. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes indent characters. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes an indent space. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes raw JSON without changing the writer's state. + + The raw JSON to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a null value. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the property name of a name/value pair of a JSON object. + + The name of the property. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the property name of a name/value pair of a JSON object. + + The name of the property. + A flag to indicate whether the text should be escaped when it is written as a JSON property name. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the beginning of a JSON array. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the beginning of a JSON object. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the start of a constructor with the given name. + + The name of the constructor. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes an undefined value. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the given white space. + + The string of white space characters. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a [] value. + + The [] value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a comment /*...*/ containing the specified text. + + Text to place inside the comment. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the end of an array. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the end of a constructor. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the end of a JSON object. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes raw JSON where a value is expected and updates the writer's state. + + The raw JSON to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Gets or sets the writer's character array pool. + + + + + Gets or sets how many s to write for each level in the hierarchy when is set to . + + + + + Gets or sets which character to use to quote attribute values. + + + + + Gets or sets which character to use for indenting when is set to . + + + + + Gets or sets a value indicating whether object names will be surrounded with quotes. + + + + + Initializes a new instance of the class using the specified . + + The to write to. + + + + Flushes whatever is in the buffer to the underlying and also flushes the underlying . + + + + + Closes this writer. + If is set to true, the underlying is also closed. + If is set to true, the JSON is auto-completed. + + + + + Writes the beginning of a JSON object. + + + + + Writes the beginning of a JSON array. + + + + + Writes the start of a constructor with the given name. + + The name of the constructor. + + + + Writes the specified end token. + + The end token to write. + + + + Writes the property name of a name/value pair on a JSON object. + + The name of the property. + + + + Writes the property name of a name/value pair on a JSON object. + + The name of the property. + A flag to indicate whether the text should be escaped when it is written as a JSON property name. + + + + Writes indent characters. + + + + + Writes the JSON value delimiter. + + + + + Writes an indent space. + + + + + Writes a value. + An error will raised if the value cannot be written as a single JSON token. + + The value to write. + + + + Writes a null value. + + + + + Writes an undefined value. + + + + + Writes raw JSON. + + The raw JSON to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a value. + + The value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a [] value. + + The [] value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a comment /*...*/ containing the specified text. + + Text to place inside the comment. + + + + Writes the given white space. + + The string of white space characters. + + + + Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. + + + + + Asynchronously closes this writer. + If is set to true, the destination is also closed. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously flushes whatever is in the buffer to the destination and also flushes the destination. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the specified end token. + + The end token to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes indent characters. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the JSON value delimiter. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes an indent space. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes raw JSON without changing the writer's state. + + The raw JSON to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the end of the current JSON object or array. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the end of an array. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the end of a constructor. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the end of a JSON object. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a null value. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the property name of a name/value pair of a JSON object. + + The name of the property. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the property name of a name/value pair of a JSON object. + + The name of the property. + A flag to indicate whether the text should be escaped when it is written as a JSON property name. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the beginning of a JSON array. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a comment /*...*/ containing the specified text. + + Text to place inside the comment. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes raw JSON where a value is expected and updates the writer's state. + + The raw JSON to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the start of a constructor with the given name. + + The name of the constructor. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the beginning of a JSON object. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the current token. + + The to read the token from. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the current token. + + The to read the token from. + A flag indicating whether the current token's children should be written. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the token and its value. + + The to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the token and its value. + + The to write. + + The value to write. + A value is only required for tokens that have an associated value, e.g. the property name for . + null can be passed to the method for tokens that don't have a value, e.g. . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a [] value. + + The [] value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes an undefined value. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously writes the given white space. + + The string of white space characters. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Asynchronously ets the state of the . + + The being written. + The value being written. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asychronousity. + + + + Gets or sets a value indicating whether the destination should be closed when this writer is closed. + + + true to close the destination when this writer is closed; otherwise false. The default is true. + + + + + Gets or sets a value indicating whether the JSON should be auto-completed when this writer is closed. + + + true to auto-complete the JSON when this writer is closed; otherwise false. The default is true. + + + + + Gets the top. + + The top. + + + + Gets the state of the writer. + + + + + Gets the path of the writer. + + + + + Gets or sets a value indicating how JSON text output should be formatted. + + + + + Gets or sets how dates are written to JSON text. + + + + + Gets or sets how time zones are handled when writing JSON text. + + + + + Gets or sets how strings are escaped when writing JSON text. + + + + + Gets or sets how special floating point numbers, e.g. , + and , + are written to JSON text. + + + + + Gets or sets how and values are formatted when writing JSON text. + + + + + Gets or sets the culture used when writing JSON. Defaults to . + + + + + Initializes a new instance of the class. + + + + + Flushes whatever is in the buffer to the destination and also flushes the destination. + + + + + Closes this writer. + If is set to true, the destination is also closed. + If is set to true, the JSON is auto-completed. + + + + + Writes the beginning of a JSON object. + + + + + Writes the end of a JSON object. + + + + + Writes the beginning of a JSON array. + + + + + Writes the end of an array. + + + + + Writes the start of a constructor with the given name. + + The name of the constructor. + + + + Writes the end constructor. + + + + + Writes the property name of a name/value pair of a JSON object. + + The name of the property. + + + + Writes the property name of a name/value pair of a JSON object. + + The name of the property. + A flag to indicate whether the text should be escaped when it is written as a JSON property name. + + + + Writes the end of the current JSON object or array. + + + + + Writes the current token and its children. + + The to read the token from. + + + + Writes the current token. + + The to read the token from. + A flag indicating whether the current token's children should be written. + + + + Writes the token and its value. + + The to write. + + The value to write. + A value is only required for tokens that have an associated value, e.g. the property name for . + null can be passed to the method for tokens that don't have a value, e.g. . + + + + + Writes the token. + + The to write. + + + + Writes the specified end token. + + The end token to write. + + + + Writes indent characters. + + + + + Writes the JSON value delimiter. + + + + + Writes an indent space. + + + + + Writes a null value. + + + + + Writes an undefined value. + + + + + Writes raw JSON without changing the writer's state. + + The raw JSON to write. + + + + Writes raw JSON where a value is expected and updates the writer's state. + + The raw JSON to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a [] value. + + The [] value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + An error will raised if the value cannot be written as a single JSON token. + + The value to write. + + + + Writes a comment /*...*/ containing the specified text. + + Text to place inside the comment. + + + + Writes the given white space. + + The string of white space characters. + + + + Releases unmanaged and - optionally - managed resources. + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Sets the state of the . + + The being written. + The value being written. + + + + Specifies the type of JSON token. + + + + + This is returned by the if a read method has not been called. + + + + + An object start token. + + + + + An array start token. + + + + + A constructor start token. + + + + + An object property name. + + + + + A comment. + + + + + Raw JSON. + + + + + An integer. + + + + + A float. + + + + + A string. + + + + + A boolean. + + + + + A null token. + + + + + An undefined token. + + + + + An object end token. + + + + + An array end token. + + + + + A constructor end token. + + + + + A Date. + + + + + Byte data. + + + + + + Represents a reader that provides validation. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Sets an event handler for receiving schema validation errors. + + + + + Gets the text value of the current JSON token. + + + + + + Gets the depth of the current token in the JSON document. + + The depth of the current token in the JSON document. + + + + Gets the path of the current JSON token. + + + + + Gets the quotation mark character used to enclose the value of a string. + + + + + + Gets the type of the current JSON token. + + + + + + Gets the .NET type for the current JSON token. + + + + + + Initializes a new instance of the class that + validates the content returned from the given . + + The to read from while validating. + + + + Gets or sets the schema. + + The schema. + + + + Gets the used to construct this . + + The specified in the constructor. + + + + Changes the reader's state to . + If is set to true, the underlying is also closed. + + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying as a []. + + + A [] or null if the next JSON token is null. + + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying as a . + + A . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying . + + + true if the next token was read successfully; false if there are no more tokens to read. + + + + + The exception thrown when an error occurs while writing JSON text. + + + + + Gets the path to the JSON where the error occurred. + + The path to the JSON where the error occurred. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class + with a specified error message. + + The error message that explains the reason for the exception. + + + + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Initializes a new instance of the class + with a specified error message, JSON path and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The path to the JSON where the error occurred. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Specifies how JSON comments are handled when loading JSON. + + + + + Ignore comments. + + + + + Load comments as a with type . + + + + + Specifies how line information is handled when loading JSON. + + + + + Ignore line information. + + + + + Load line information. + + + + + Contains the LINQ to JSON extension methods. + + + + + Returns a collection of tokens that contains the ancestors of every token in the source collection. + + The type of the objects in source, constrained to . + An of that contains the source collection. + An of that contains the ancestors of every token in the source collection. + + + + Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. + + The type of the objects in source, constrained to . + An of that contains the source collection. + An of that contains every token in the source collection, the ancestors of every token in the source collection. + + + + Returns a collection of tokens that contains the descendants of every token in the source collection. + + The type of the objects in source, constrained to . + An of that contains the source collection. + An of that contains the descendants of every token in the source collection. + + + + Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. + + The type of the objects in source, constrained to . + An of that contains the source collection. + An of that contains every token in the source collection, and the descendants of every token in the source collection. + + + + Returns a collection of child properties of every object in the source collection. + + An of that contains the source collection. + An of that contains the properties of every object in the source collection. + + + + Returns a collection of child values of every object in the source collection with the given key. + + An of that contains the source collection. + The token key. + An of that contains the values of every token in the source collection with the given key. + + + + Returns a collection of child values of every object in the source collection. + + An of that contains the source collection. + An of that contains the values of every token in the source collection. + + + + Returns a collection of converted child values of every object in the source collection with the given key. + + The type to convert the values to. + An of that contains the source collection. + The token key. + An that contains the converted values of every token in the source collection with the given key. + + + + Returns a collection of converted child values of every object in the source collection. + + The type to convert the values to. + An of that contains the source collection. + An that contains the converted values of every token in the source collection. + + + + Converts the value. + + The type to convert the value to. + A cast as a of . + A converted value. + + + + Converts the value. + + The source collection type. + The type to convert the value to. + A cast as a of . + A converted value. + + + + Returns a collection of child tokens of every array in the source collection. + + The source collection type. + An of that contains the source collection. + An of that contains the values of every token in the source collection. + + + + Returns a collection of converted child tokens of every array in the source collection. + + An of that contains the source collection. + The type to convert the values to. + The source collection type. + An that contains the converted values of every token in the source collection. + + + + Returns the input typed as . + + An of that contains the source collection. + The input typed as . + + + + Returns the input typed as . + + The source collection type. + An of that contains the source collection. + The input typed as . + + + + Represents a collection of objects. + + The type of token. + + + + Gets the of with the specified key. + + + + + + Represents a JSON array. + + + + + + + + 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 . + + + + + 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 . + + + + 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 . + + + + Writes this token to a asynchronously. + + A into which this method will write. + The token to monitor for cancellation requests. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous load. The + property returns a that contains the JSON that was read from the specified . + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous load. The + property returns a that contains the JSON that was read from the specified . + + + + Represents a token that can contain other tokens. + + + + + 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. + + + + + + + + Gets the container's children tokens. + + The container's children tokens. + + + + Occurs when a property value changes. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Initializes a new instance of the class with the specified content. + + The contents of the object. + + + + Initializes a new instance of the class with the specified content. + + The contents of the object. + + + + Gets the node type for this . + + The type. + + + + Gets an of of this object's properties. + + An of of this object's properties. + + + + Gets a the specified name. + + The property name. + A with the specified name or null. + + + + Gets a of of this object's property values. + + A of of this object's property values. + + + + Gets the with the specified key. + + The with the specified key. + + + + Gets or sets the with the specified property name. + + + + + + Loads a from a . + + A that will be read for the content of the . + A that contains the JSON that was read from the specified . + + is not valid JSON. + + + + + Loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + A that contains the JSON that was read from the specified . + + is not valid JSON. + + + + + Load a from a string that contains JSON. + + A that contains JSON. + A populated from the string that contains JSON. + + is not valid JSON. + + + + + + + + Load a from a string that contains JSON. + + A that contains JSON. + The used to load the JSON. + If this is null, default load settings will be used. + A populated from the string that contains JSON. + + is not valid JSON. + + + + + + + + Creates a from an object. + + The object that will be used to create . + A with the values of the specified object. + + + + Creates a from an object. + + The object that will be used to create . + The that will be used to read the object. + A with the values of the specified object. + + + + Writes this token to a . + + A into which this method will write. + A collection of which will be used when writing the token. + + + + Gets the with the specified property name. + + Name of the property. + The with the specified property name. + + + + Gets the with the specified property name. + The exact property name will be searched for first and if no matching property is found then + the will be used to match a property. + + Name of the property. + One of the enumeration values that specifies how the strings will be compared. + The with the specified property name. + + + + Tries to get the with the specified property name. + The exact property name will be searched for first and if no matching property is found then + the will be used to match a property. + + Name of the property. + The value. + One of the enumeration values that specifies how the strings will be compared. + true if a value was successfully retrieved; otherwise, false. + + + + Adds the specified property name. + + Name of the property. + The value. + + + + Removes the property with the specified name. + + Name of the property. + true if item was successfully removed; otherwise, false. + + + + Tries to get the with the specified property name. + + Name of the property. + The value. + true if a value was successfully retrieved; otherwise, false. + + + + Returns an enumerator that can be used to iterate through the collection. + + + A that can be used to iterate through the collection. + + + + + Raises the event with the provided arguments. + + Name of the property. + + + + Returns the responsible for binding operations performed on this object. + + The expression tree representation of the runtime value. + + The to bind this object. + + + + + Writes this token to a asynchronously. + + A into which this method will write. + The token to monitor for cancellation requests. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous load. The + property returns a that contains the JSON that was read from the specified . + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous load. The + property returns a that contains the JSON that was read from the specified . + + + + Represents a JSON property. + + + + + 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 . + + + + Writes this token to a asynchronously. + + A into which this method will write. + The token to monitor for cancellation requests. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The token to monitor for cancellation requests. The default value is . + A representing the asynchronous creation. The + property returns a that contains the JSON that was read from the specified . + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + A representing the asynchronous creation. The + property returns a that contains the JSON that was read from the specified . + + + + Represents a raw JSON string. + + + + + 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. + + + + Asynchronously creates an instance of with the content of the reader's current token. + + The reader. + The token to monitor for cancellation requests. The default value is . + A representing the asynchronous creation. The + property returns an instance of with the content of the reader's current token. + + + + Specifies the settings used when loading JSON. + + + + + Initializes a new instance of the class. + + + + + Gets or sets how JSON comments are handled when loading JSON. + + The JSON comment handling. + + + + Gets or sets how JSON line info is handled when loading JSON. + + The JSON line info handling. + + + + Specifies the settings used when merging JSON. + + + + + Gets or sets the method used when merging JSON arrays. + + The method used when merging JSON arrays. + + + + Gets or sets how null value properties are merged. + + How null value properties are merged. + + + + Represents an abstract JSON token. + + + + + Gets a comparer that can compare two tokens for value equality. + + A that can compare two nodes for value equality. + + + + Gets or sets the parent. + + The parent. + + + + Gets the root of this . + + The root of this . + + + + Gets the node type for this . + + The type. + + + + Gets a value indicating whether this token has child tokens. + + + true if this token has child values; otherwise, false. + + + + + Compares the values of two tokens, including the values of all descendant tokens. + + The first to compare. + The second to compare. + true if the tokens are equal; otherwise false. + + + + Gets the next sibling token of this node. + + The that contains the next sibling token. + + + + Gets the previous sibling token of this node. + + The that contains the previous sibling token. + + + + Gets the path of the JSON token. + + + + + Adds the specified content immediately after this token. + + A content object that contains simple content or a collection of content objects to be added after this token. + + + + Adds the specified content immediately before this token. + + A content object that contains simple content or a collection of content objects to be added before this token. + + + + Returns a collection of the ancestor tokens of this token. + + A collection of the ancestor tokens of this token. + + + + Returns a collection of tokens that contain this token, and the ancestors of this token. + + A collection of tokens that contain this token, and the ancestors of this token. + + + + Returns a collection of the sibling tokens after this token, in document order. + + A collection of the sibling tokens after this tokens, in document order. + + + + Returns a collection of the sibling tokens before this token, in document order. + + A collection of the sibling tokens before this token, in document order. + + + + Gets the with the specified key. + + The with the specified key. + + + + Gets the with the specified key converted to the specified type. + + The type to convert the token to. + The token key. + The converted token value. + + + + Get the first child token of this token. + + A containing the first child token of the . + + + + Get the last child token of this token. + + A containing the last child token of the . + + + + Returns a collection of the child tokens of this token, in document order. + + An of containing the child tokens of this , in document order. + + + + Returns a collection of the child tokens of this token, in document order, filtered by the specified type. + + The type to filter the child tokens on. + A containing the child tokens of this , in document order. + + + + Returns a collection of the child values of this token, in document order. + + The type to convert the values to. + A containing the child values of this , in document order. + + + + Removes this token from its parent. + + + + + Replaces this token with the specified token. + + The value. + + + + Writes this token to a . + + A into which this method will write. + A collection of which will be used when writing the token. + + + + Returns the indented JSON for this token. + + + The indented JSON for this token. + + + + + Returns the JSON for this token using the given formatting and converters. + + Indicates how the output should be formatted. + A collection of s which will be used when writing the token. + The JSON for this token using the given formatting and converters. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to []. + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from [] to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Creates a for this token. + + A that can be used to read this token and its descendants. + + + + Creates a from an object. + + The object that will be used to create . + A with the value of the specified object. + + + + Creates a from an object using the specified . + + The object that will be used to create . + The that will be used when reading the object. + A with the value of the specified object. + + + + Creates an instance of the specified .NET type from the . + + The object type that the token will be deserialized to. + The new object created from the JSON value. + + + + Creates an instance of the specified .NET type from the . + + The object type that the token will be deserialized to. + The new object created from the JSON value. + + + + Creates an instance of the specified .NET type from the using the specified . + + The object type that the token will be deserialized to. + The that will be used when creating the object. + The new object created from the JSON value. + + + + Creates an instance of the specified .NET type from the using the specified . + + The object type that the token will be deserialized to. + The that will be used when creating the object. + The new object created from the JSON value. + + + + Creates a from a . + + A positioned at the token to read into this . + + A that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Creates a from a . + + An positioned at the token to read into this . + The used to load the JSON. + If this is null, default load settings will be used. + + A that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Load a from a string that contains JSON. + + A that contains JSON. + A populated from the string that contains JSON. + + + + Load a from a string that contains JSON. + + A that contains JSON. + The used to load the JSON. + If this is null, default load settings will be used. + A populated from the string that contains JSON. + + + + Creates a from a . + + A positioned at the token to read into this . + The used to load the JSON. + If this is null, default load settings will be used. + + A that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Creates a from a . + + A positioned at the token to read into this . + + A that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Selects a using a JPath expression. Selects the token that matches the object path. + + + A that contains a JPath expression. + + A , or null. + + + + Selects a using a JPath expression. Selects the token that matches the object path. + + + A that contains a JPath expression. + + A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. + A . + + + + Selects a collection of elements using a JPath expression. + + + A that contains a JPath expression. + + An of that contains the selected elements. + + + + Selects a collection of elements using a JPath expression. + + + A that contains a JPath expression. + + A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. + An of that contains the selected elements. + + + + Returns the responsible for binding operations performed on this object. + + The expression tree representation of the runtime value. + + The to bind this object. + + + + + Returns the responsible for binding operations performed on this object. + + The expression tree representation of the runtime value. + + The to bind this object. + + + + + Creates a new instance of the . All child tokens are recursively cloned. + + A new instance of the . + + + + Adds an object to the annotation list of this . + + The annotation to add. + + + + Get the first annotation object of the specified type from this . + + The type of the annotation to retrieve. + The first annotation object that matches the specified type, or null if no annotation is of the specified type. + + + + Gets the first annotation object of the specified type from this . + + The of the annotation to retrieve. + The first annotation object that matches the specified type, or null if no annotation is of the specified type. + + + + Gets a collection of annotations of the specified type for this . + + The type of the annotations to retrieve. + An that contains the annotations for this . + + + + Gets a collection of annotations of the specified type for this . + + The of the annotations to retrieve. + An of that contains the annotations that match the specified type for this . + + + + Removes the annotations of the specified type from this . + + The type of annotations to remove. + + + + Removes the annotations of the specified type from this . + + The of annotations to remove. + + + + Writes this token to a asynchronously. + + A into which this method will write. + The token to monitor for cancellation requests. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Writes this token to a asynchronously. + + A into which this method will write. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Asynchronously creates a from a . + + An positioned at the token to read into this . + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous creation. The + property returns a that contains + the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Asynchronously creates a from a . + + An positioned at the token to read into this . + The used to load the JSON. + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous creation. The + property returns a that contains + the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Asynchronously creates a from a . + + A positioned at the token to read into this . + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous creation. The + property returns a that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Asynchronously creates a from a . + + A positioned at the token to read into this . + The used to load the JSON. + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous creation. The + property returns a that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Compares tokens to determine whether they are equal. + + + + + Determines whether the specified objects are equal. + + The first object of type to compare. + The second object of type to compare. + + true if the specified objects are equal; otherwise, false. + + + + + Returns a hash code for the specified object. + + The for which a hash code is to be returned. + A hash code for the specified object. + The type of is a reference type and is null. + + + + Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. + + + + + Gets the at the reader's current position. + + + + + Initializes a new instance of the class. + + The token to read from. + + + + Reads the next JSON token from the underlying . + + + true if the next token was read successfully; false if there are no more tokens to read. + + + + + Gets the path of the current JSON token. + + + + + Specifies the type of token. + + + + + No token type has been set. + + + + + A JSON object. + + + + + A JSON array. + + + + + A JSON constructor. + + + + + A JSON object property. + + + + + A comment. + + + + + An integer value. + + + + + A float value. + + + + + A string value. + + + + + A boolean value. + + + + + A null value. + + + + + An undefined value. + + + + + A date value. + + + + + A raw JSON value. + + + + + A collection of bytes value. + + + + + A Guid value. + + + + + A Uri value. + + + + + A TimeSpan value. + + + + + Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. + + + + + Gets the at the writer's current position. + + + + + Gets the token being written. + + The token being written. + + + + Initializes a new instance of the class writing to the given . + + The container being written to. + + + + Initializes a new instance of the class. + + + + + Flushes whatever is in the buffer to the underlying . + + + + + Closes this writer. + If is set to true, the JSON is auto-completed. + + + Setting to true has no additional effect, since the underlying is a type that cannot be closed. + + + + + Writes the beginning of a JSON object. + + + + + Writes the beginning of a JSON array. + + + + + Writes the start of a constructor with the given name. + + The name of the constructor. + + + + Writes the end. + + The token. + + + + Writes the property name of a name/value pair on a JSON object. + + The name of the property. + + + + Writes a value. + An error will be raised if the value cannot be written as a single JSON token. + + The value to write. + + + + Writes a null value. + + + + + Writes an undefined value. + + + + + Writes raw JSON. + + The raw JSON to write. + + + + Writes a comment /*...*/ containing the specified text. + + Text to place inside the comment. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a [] value. + + The [] value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Represents a value in JSON (string, integer, date, etc). + + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Gets a value indicating whether this token has child tokens. + + + true if this token has child values; otherwise, false. + + + + + Creates a comment with the given value. + + The value. + A comment with the given value. + + + + Creates a string with the given value. + + The value. + A string with the given value. + + + + Creates a null value. + + A null value. + + + + Creates a undefined value. + + A undefined value. + + + + Gets the node type for this . + + The type. + + + + Gets or sets the underlying token value. + + The underlying token value. + + + + Writes this token to a . + + A into which this method will write. + A collection of s which will be used when writing the token. + + + + Indicates whether the current object is equal to another object of the same type. + + + true if the current object is equal to the parameter; otherwise, false. + + An object to compare with this object. + + + + Determines whether the specified is equal to the current . + + The to compare with the current . + + true if the specified is equal to the current ; otherwise, false. + + + + + Serves as a hash function for a particular type. + + + A hash code for the current . + + + + + Returns a that represents this instance. + + + A that represents this instance. + + + + + Returns a that represents this instance. + + The format. + + A that represents this instance. + + + + + Returns a that represents this instance. + + The format provider. + + A that represents this instance. + + + + + Returns a that represents this instance. + + The format. + The format provider. + + A that represents this instance. + + + + + Returns the responsible for binding operations performed on this object. + + The expression tree representation of the runtime value. + + The to bind this object. + + + + + Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. + + An object to compare with this instance. + + A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: + Value + Meaning + Less than zero + This instance is less than . + Zero + This instance is equal to . + Greater than zero + This instance is greater than . + + + is not of the same type as this instance. + + + + + Writes this token to a asynchronously. + + A into which this method will write. + The token to monitor for cancellation requests. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Specifies how JSON arrays are merged together. + + + + Concatenate arrays. + + + Union arrays, skipping items that already exist. + + + Replace all array items. + + + Merge array items together, matched by index. + + + + Specifies how null value properties are merged. + + + + + The content's null value properties will be ignored during merging. + + + + + The content's null value properties will be merged. + + + + + Specifies the member serialization options for the . + + + + + All public members are serialized by default. Members can be excluded using or . + This is the default member serialization mode. + + + + + Only members marked with or are serialized. + This member serialization mode can also be set by marking the class with . + + + + + All public and private fields are serialized. Members can be excluded using or . + This member serialization mode can also be set by marking the class with + and setting IgnoreSerializableAttribute on to false. + + + + + Specifies metadata property handling options for the . + + + + + Read metadata properties located at the start of a JSON object. + + + + + Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. + + + + + Do not try to read metadata properties. + + + + + Specifies missing member handling options for the . + + + + + Ignore a missing member and do not attempt to deserialize it. + + + + + Throw a when a missing member is encountered during deserialization. + + + + + Specifies null value handling options for the . + + + + + + + + + Include null values when serializing and deserializing objects. + + + + + Ignore null values when serializing and deserializing objects. + + + + + Specifies how object creation is handled by the . + + + + + Reuse existing objects, create new objects when needed. + + + + + Only reuse existing objects. + + + + + Always create new objects. + + + + + Specifies reference handling options for the . + Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement . + + + + + + + + Do not preserve references when serializing types. + + + + + Preserve references when serializing into a JSON object structure. + + + + + Preserve references when serializing into a JSON array structure. + + + + + Preserve references when serializing. + + + + + Specifies reference loop handling options for the . + + + + + Throw a when a loop is encountered. + + + + + Ignore loop references and do not serialize. + + + + + Serialize loop references. + + + + + Indicating whether a property is required. + + + + + The property is not required. The default state. + + + + + The property must be defined in JSON but can be a null value. + + + + + The property must be defined in JSON and cannot be a null value. + + + + + The property is not required but it cannot be a null value. + + + + + + Contains the JSON schema extension methods. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + + Determines whether the is valid. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + The source to test. + The schema to test with. + + true if the specified is valid; otherwise, false. + + + + + + Determines whether the is valid. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + The source to test. + The schema to test with. + When this method returns, contains any error messages generated while validating. + + true if the specified is valid; otherwise, false. + + + + + + Validates the specified . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + The source to test. + The schema to test with. + + + + + Validates the specified . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + The source to test. + The schema to test with. + The validation event handler. + + + + + An in-memory representation of a JSON Schema. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets or sets the id. + + + + + Gets or sets the title. + + + + + Gets or sets whether the object is required. + + + + + Gets or sets whether the object is read-only. + + + + + Gets or sets whether the object is visible to users. + + + + + Gets or sets whether the object is transient. + + + + + Gets or sets the description of the object. + + + + + Gets or sets the types of values allowed by the object. + + The type. + + + + Gets or sets the pattern. + + The pattern. + + + + Gets or sets the minimum length. + + The minimum length. + + + + Gets or sets the maximum length. + + The maximum length. + + + + Gets or sets a number that the value should be divisible by. + + A number that the value should be divisible by. + + + + Gets or sets the minimum. + + The minimum. + + + + Gets or sets the maximum. + + The maximum. + + + + Gets or sets a flag indicating whether the value can not equal the number defined by the minimum attribute (). + + A flag indicating whether the value can not equal the number defined by the minimum attribute (). + + + + Gets or sets a flag indicating whether the value can not equal the number defined by the maximum attribute (). + + A flag indicating whether the value can not equal the number defined by the maximum attribute (). + + + + Gets or sets the minimum number of items. + + The minimum number of items. + + + + Gets or sets the maximum number of items. + + The maximum number of items. + + + + Gets or sets the of items. + + The of items. + + + + Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . + + + true if items are validated using their array position; otherwise, false. + + + + + Gets or sets the of additional items. + + The of additional items. + + + + Gets or sets a value indicating whether additional items are allowed. + + + true if additional items are allowed; otherwise, false. + + + + + Gets or sets whether the array items must be unique. + + + + + Gets or sets the of properties. + + The of properties. + + + + Gets or sets the of additional properties. + + The of additional properties. + + + + Gets or sets the pattern properties. + + The pattern properties. + + + + Gets or sets a value indicating whether additional properties are allowed. + + + true if additional properties are allowed; otherwise, false. + + + + + Gets or sets the required property if this property is present. + + The required property if this property is present. + + + + Gets or sets the a collection of valid enum values allowed. + + A collection of valid enum values allowed. + + + + Gets or sets disallowed types. + + The disallowed types. + + + + Gets or sets the default value. + + The default value. + + + + Gets or sets the collection of that this schema extends. + + The collection of that this schema extends. + + + + Gets or sets the format. + + The format. + + + + Initializes a new instance of the class. + + + + + Reads a from the specified . + + The containing the JSON Schema to read. + The object representing the JSON Schema. + + + + Reads a from the specified . + + The containing the JSON Schema to read. + The to use when resolving schema references. + The object representing the JSON Schema. + + + + Load a from a string that contains JSON Schema. + + A that contains JSON Schema. + A populated from the string that contains JSON Schema. + + + + Load a from a string that contains JSON Schema using the specified . + + A that contains JSON Schema. + The resolver. + A populated from the string that contains JSON Schema. + + + + Writes this schema to a . + + A into which this method will write. + + + + Writes this schema to a using the specified . + + A into which this method will write. + The resolver used. + + + + Returns a that represents the current . + + + A that represents the current . + + + + + + Returns detailed information about the schema exception. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets the line number indicating where the error occurred. + + The line number indicating where the error occurred. + + + + Gets the line position indicating where the error occurred. + + The line position indicating where the error occurred. + + + + Gets the path to the JSON where the error occurred. + + The path to the JSON where the error occurred. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class + with a specified error message. + + The error message that explains the reason for the exception. + + + + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + + Generates a from a specified . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets or sets how undefined schemas are handled by the serializer. + + + + + Gets or sets the contract resolver. + + The contract resolver. + + + + Generate a from the specified type. + + The type to generate a from. + A generated from the specified type. + + + + Generate a from the specified type. + + The type to generate a from. + The used to resolve schema references. + A generated from the specified type. + + + + Generate a from the specified type. + + The type to generate a from. + Specify whether the generated root will be nullable. + A generated from the specified type. + + + + Generate a from the specified type. + + The type to generate a from. + The used to resolve schema references. + Specify whether the generated root will be nullable. + A generated from the specified type. + + + + + Resolves from an id. + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets or sets the loaded schemas. + + The loaded schemas. + + + + Initializes a new instance of the class. + + + + + Gets a for the specified reference. + + The id. + A for the specified reference. + + + + + The value types allowed by the . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + No type specified. + + + + + String type. + + + + + Float type. + + + + + Integer type. + + + + + Boolean type. + + + + + Object type. + + + + + Array type. + + + + + Null type. + + + + + Any type. + + + + + + Specifies undefined schema Id handling options for the . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Do not infer a schema Id. + + + + + Use the .NET type name as the schema Id. + + + + + Use the assembly qualified .NET type name as the schema Id. + + + + + + Returns detailed information related to the . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets the associated with the validation error. + + The JsonSchemaException associated with the validation error. + + + + Gets the path of the JSON location where the validation error occurred. + + The path of the JSON location where the validation error occurred. + + + + Gets the text description corresponding to the validation error. + + The text description. + + + + + Represents the callback method that will handle JSON schema validation events and the . + + + JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. + + + + + + Allows users to control class loading and mandate what class to load. + + + + + When overridden in a derived class, controls the binding of a serialized object to a type. + + Specifies the name of the serialized object. + Specifies the name of the serialized object + The type of the object the formatter creates a new instance of. + + + + When overridden in a derived class, controls the binding of a serialized object to a type. + + The type of the object the formatter creates a new instance of. + Specifies the name of the serialized object. + Specifies the name of the serialized object. + + + + A camel case naming strategy. + + + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + A flag indicating whether extension data names should be processed. + + + + + Initializes a new instance of the class. + + + + + Resolves the specified property name. + + The property name to resolve. + The resolved property name. + + + + Resolves member mappings for a type, camel casing property names. + + + + + Initializes a new instance of the class. + + + + + Resolves the contract for a given type. + + The type to resolve a contract for. + The contract for a given type. + + + + 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. + + + + Get and set values for a using dynamic methods. + + + + + Initializes a new instance of the class. + + The member info. + + + + Sets the value. + + The target to set the value on. + The value to set on the target. + + + + Gets the value. + + The target to get the value from. + The value. + + + + Used by to 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 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 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. + + + + Provides methods to get attributes. + + + + + Returns a collection of all of the attributes, or an empty collection if there are no attributes. + + When true, look up the hierarchy chain for the inherited custom attribute. + A collection of s, or an empty collection. + + + + Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. + + The type of the attributes. + When true, look up the hierarchy chain for the inherited custom attribute. + A collection of s, or an empty collection. + + + + Used by to resolve a for a given . + + + + + + + + + Resolves the contract for a given type. + + The type to resolve a contract for. + The contract for a given type. + + + + Used to resolve references when serializing and deserializing JSON by the . + + + + + Resolves a reference to its object. + + The serialization context. + The reference to resolve. + The object that was resolved from the reference. + + + + Gets the reference for the specified object. + + The serialization context. + The object to get a reference for. + The reference to the object. + + + + Determines whether the specified object is referenced. + + The serialization context. + The object to test for a reference. + + true if the specified object is referenced; otherwise, false. + + + + + Adds a reference to the specified object. + + The serialization context. + The reference. + The object to reference. + + + + Allows users to control class loading and mandate what class to load. + + + + + When implemented, controls the binding of a serialized object to a type. + + Specifies the name of the serialized object. + Specifies the name of the serialized object + The type of the object the formatter creates a new instance of. + + + + When implemented, controls the binding of a serialized object to a type. + + The type of the object the formatter creates a new instance of. + Specifies the name of the serialized object. + Specifies the name of the serialized object. + + + + Represents a trace writer. + + + + + Gets the that will be used to filter the trace messages passed to the writer. + For example a filter level of will exclude messages and include , + and messages. + + The that will be used to filter the trace messages passed to the writer. + + + + Writes the specified trace level, message and optional exception. + + The at which to write this trace. + The trace message. + The trace exception. This parameter is optional. + + + + Provides methods to get and set values. + + + + + Sets the value. + + The target to set the value on. + The value to set on the target. + + + + Gets the value. + + The target to get the value from. + The value. + + + + Contract details for a used by the . + + + + + Gets the of the collection items. + + The of the collection items. + + + + Gets a value indicating whether the collection type is a multidimensional array. + + true if the collection type is a multidimensional array; otherwise, false. + + + + Gets or sets the function used to create the object. When set this function will override . + + The function used to create the object. + + + + Gets a value indicating whether the creator has a parameter with the collection values. + + true if the creator has a parameter with the collection values; otherwise, false. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Contract details for a used by the . + + + + + Gets or sets the default collection items . + + The converter. + + + + Gets or sets a value indicating whether the collection items preserve object references. + + true if collection items preserve object references; otherwise, false. + + + + Gets or sets the collection item reference loop handling. + + The reference loop handling. + + + + Gets or sets the collection item type name handling. + + The type name handling. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Handles serialization callback events. + + The object that raised the callback event. + The streaming context. + + + + Handles serialization error callback events. + + The object that raised the callback event. + The streaming context. + The error context. + + + + Sets extension data for an object during deserialization. + + The object to set extension data on. + The extension data key. + The extension data value. + + + + Gets extension data for an object during serialization. + + The object to set extension data on. + + + + Contract details for a used by the . + + + + + Gets the underlying type for the contract. + + The underlying type for the contract. + + + + Gets or sets the type created during deserialization. + + The type created during deserialization. + + + + Gets or sets whether this type contract is serialized as a reference. + + Whether this type contract is serialized as a reference. + + + + Gets or sets the default for this contract. + + The converter. + + + + Gets or sets all methods called immediately after deserialization of the object. + + The methods called immediately after deserialization of the object. + + + + Gets or sets all methods called during deserialization of the object. + + The methods called during deserialization of the object. + + + + Gets or sets all methods called after serialization of the object graph. + + The methods called after serialization of the object graph. + + + + Gets or sets all methods called before serialization of the object. + + The methods called before serialization of the object. + + + + Gets or sets all method called when an error is thrown during the serialization of the object. + + The methods called when an error is thrown during the serialization of the object. + + + + Gets or sets the default creator method used to create the object. + + The default creator method used to create the object. + + + + Gets or sets a value indicating whether the default creator is non-public. + + true if the default object creator is non-public; otherwise, false. + + + + Contract details for a used by the . + + + + + Gets or sets the dictionary key resolver. + + The dictionary key resolver. + + + + Gets the of the dictionary keys. + + The of the dictionary keys. + + + + Gets the of the dictionary values. + + The of the dictionary values. + + + + Gets or sets the function used to create the object. When set this function will override . + + The function used to create the object. + + + + Gets a value indicating whether the creator has a parameter with the dictionary values. + + true if the creator has a parameter with the dictionary values; otherwise, false. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Contract details for a used by the . + + + + + Gets the object's properties. + + The object's properties. + + + + Gets or sets the property name resolver. + + The property name resolver. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Contract details for a used by the . + + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Contract details for a used by the . + + + + + Gets or sets the object member serialization. + + The member object serialization. + + + + Gets or sets a value that indicates whether the object's properties are required. + + + A value indicating whether the object's properties are required. + + + + + Gets the object's properties. + + The object's properties. + + + + Gets a collection of instances that define the parameters used with . + + + + + Gets or sets the function used to create the object. When set this function will override . + This function is called with a collection of arguments which are defined by the collection. + + The function used to create the object. + + + + Gets or sets the extension data setter. + + + + + Gets or sets the extension data getter. + + + + + Gets or sets the extension data value type. + + + + + Gets or sets the extension data name resolver. + + The extension data name resolver. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Contract details for a used by the . + + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Maps a JSON property to a .NET member or constructor parameter. + + + + + Gets or sets the name of the property. + + The name of the property. + + + + Gets or sets the type that declared this property. + + The type that declared this property. + + + + Gets or sets the order of serialization of a member. + + The numeric order of serialization. + + + + Gets or sets the name of the underlying member or parameter. + + The name of the underlying member or parameter. + + + + Gets the that will get and set the during serialization. + + The that will get and set the during serialization. + + + + Gets or sets the for this property. + + The for this property. + + + + Gets or sets the type of the property. + + The type of the property. + + + + Gets or sets the for the property. + If set this converter takes precedence over the contract converter for the property type. + + The converter. + + + + Gets or sets the member converter. + + The member converter. + + + + Gets or sets a value indicating whether this is ignored. + + true if ignored; otherwise, false. + + + + Gets or sets a value indicating whether this is readable. + + true if readable; otherwise, false. + + + + Gets or sets a value indicating whether this is writable. + + true if writable; otherwise, false. + + + + Gets or sets a value indicating whether this has a member attribute. + + true if has a member attribute; otherwise, false. + + + + Gets the default value. + + The default value. + + + + Gets or sets a value indicating whether this is required. + + A value indicating whether this is required. + + + + Gets or sets a value indicating whether this property preserves object references. + + + true if this instance is reference; otherwise, false. + + + + + Gets or sets the property null value handling. + + The null value handling. + + + + Gets or sets the property default value handling. + + The default value handling. + + + + Gets or sets the property reference loop handling. + + The reference loop handling. + + + + Gets or sets the property object creation handling. + + The object creation handling. + + + + Gets or sets or sets the type name handling. + + The type name handling. + + + + Gets or sets a predicate used to determine whether the property should be serialized. + + A predicate used to determine whether the property should be serialized. + + + + Gets or sets a predicate used to determine whether the property should be deserialized. + + A predicate used to determine whether the property should be deserialized. + + + + Gets or sets a predicate used to determine whether the property should be serialized. + + A predicate used to determine whether the property should be serialized. + + + + Gets or sets an action used to set whether the property has been deserialized. + + An action used to set whether the property has been deserialized. + + + + Returns a that represents this instance. + + + A that represents this instance. + + + + + Gets or sets the converter used when serializing the property's collection items. + + The collection's items converter. + + + + Gets or sets whether this property's collection items are serialized as a reference. + + Whether this property's collection items are serialized as a reference. + + + + Gets or sets the type name handling used when serializing the property's collection items. + + The collection's items type name handling. + + + + Gets or sets the reference loop handling used when serializing the property's collection items. + + The collection's items reference loop handling. + + + + A collection of objects. + + + + + Initializes a new instance of the class. + + The type. + + + + When implemented in a derived class, extracts the key from the specified element. + + The element from which to extract the key. + The key for the specified element. + + + + Adds a object. + + The property to add to the collection. + + + + Gets the closest matching object. + First attempts to get an exact case match of and then + a case insensitive match. + + Name of the property. + A matching property if found. + + + + Gets a property by property name. + + The name of the property to get. + Type property name string comparison. + A matching property if found. + + + + Contract details for a used by the . + + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Lookup and create an instance of the type described by the argument. + + The type to create. + Optional arguments to pass to an initializing constructor of the JsonConverter. + If null, the default constructor is used. + + + + Represents a trace writer that writes to memory. When the trace message limit is + reached then old trace messages will be removed as new messages are added. + + + + + Gets the that will be used to filter the trace messages passed to the writer. + For example a filter level of will exclude messages and include , + and messages. + + + The that will be used to filter the trace messages passed to the writer. + + + + + Initializes a new instance of the class. + + + + + Writes the specified trace level, message and optional exception. + + The at which to write this trace. + The trace message. + The trace exception. This parameter is optional. + + + + Returns an enumeration of the most recent trace messages. + + An enumeration of the most recent trace messages. + + + + Returns a of the most recent trace messages. + + + A of the most recent trace messages. + + + + + A base class for resolving how property names and dictionary keys are serialized. + + + + + A flag indicating whether dictionary keys should be processed. + Defaults to false. + + + + + A flag indicating whether extension data names should be processed. + Defaults to false. + + + + + A flag indicating whether explicitly specified property names, + e.g. a property name customized with a , should be processed. + Defaults to false. + + + + + Gets the serialized name for a given property name. + + The initial property name. + A flag indicating whether the property has had a name explicitly specified. + The serialized property name. + + + + Gets the serialized name for a given extension data name. + + The initial extension data name. + The serialized extension data name. + + + + Gets the serialized key for a given dictionary key. + + The initial dictionary key. + The serialized dictionary key. + + + + Resolves the specified property name. + + The property name to resolve. + The resolved property name. + + + + Represents a method that constructs an object. + + The object type to create. + + + + When applied to a method, specifies that the method is called when an error occurs serializing an object. + + + + + Provides methods to get attributes from a , , or . + + + + + Initializes a new instance of the class. + + The instance to get attributes for. This parameter should be a , , or . + + + + Returns a collection of all of the attributes, or an empty collection if there are no attributes. + + When true, look up the hierarchy chain for the inherited custom attribute. + A collection of s, or an empty collection. + + + + Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. + + The type of the attributes. + When true, look up the hierarchy chain for the inherited custom attribute. + A collection of s, or an empty collection. + + + + Get and set values for a using reflection. + + + + + Initializes a new instance of the class. + + The member info. + + + + Sets the value. + + The target to set the value on. + The value to set on the target. + + + + Gets the value. + + The target to get the value from. + The value. + + + + A snake case naming strategy. + + + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + A flag indicating whether extension data names should be processed. + + + + + Initializes a new instance of the class. + + + + + Resolves the specified property name. + + The property name to resolve. + The resolved property name. + + + + Specifies how strings are escaped when writing JSON text. + + + + + Only control characters (e.g. newline) are escaped. + + + + + All non-ASCII and control characters (e.g. newline) are escaped. + + + + + HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. + + + + + Specifies what messages to output for the class. + + + + + Output no tracing and debugging messages. + + + + + Output error-handling messages. + + + + + Output warnings and error-handling messages. + + + + + Output informational messages, warnings, and error-handling messages. + + + + + Output all debugging and tracing messages. + + + + + Indicates the method that will be used during deserialization for locating and loading assemblies. + + + + + In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the LoadWithPartialName method of the class is used to load the assembly. + + + + + In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The Load method of the class is used to load the assembly. + + + + + Specifies type name handling options for the . + + + should be used with caution when your application deserializes JSON from an external source. + Incoming types should be validated with a custom + when deserializing with a value other than . + + + + + Do not include the .NET type name when serializing types. + + + + + Include the .NET type name when serializing into a JSON object structure. + + + + + Include the .NET type name when serializing into a JSON array structure. + + + + + Always include the .NET type name when serializing. + + + + + Include the .NET type name when the type of the object being serialized is not the same as its declared type. + Note that this doesn't include the root serialized object by default. To include the root object's type name in JSON + you must specify a root type object with + or . + + + + + Determines whether the collection is null or empty. + + The collection. + + true if the collection is null or empty; otherwise, false. + + + + + Adds the elements of the specified collection to the specified generic . + + The list to add to. + The collection of elements to add. + + + + Converts the value to the specified type. If the value is unable to be converted, the + value is checked whether it assignable to the specified type. + + The value to convert. + The culture to use when converting. + The type to convert or cast the value to. + + The converted type. If conversion was unsuccessful, the initial value + is returned if assignable to the target type. + + + + + Helper method for generating a MetaObject which calls a + specific method on Dynamic that returns a result + + + + + Helper method for generating a MetaObject which calls a + specific method on Dynamic, but uses one of the arguments for + the result. + + + + + Helper method for generating a MetaObject which calls a + specific method on Dynamic, but uses one of the arguments for + the result. + + + + + Returns a Restrictions object which includes our current restrictions merged + with a restriction limiting our type + + + + + Gets a dictionary of the names and values of an type. + + + + + + Gets a dictionary of the names and values of an Enum type. + + The enum type to get names and values for. + + + + + List of primitive types which can be widened. + + + + + Widening masks for primitive types above. + Index of the value in this array defines a type we're widening, + while the bits in mask define types it can be widened to (including itself). + + For example, value at index 0 defines a bool type, and it only has bit 0 set, + i.e. bool values can be assigned only to bool. + + + + + Checks if value of primitive type can be + assigned to parameter of primitive type . + + Source primitive type. + Target primitive type. + true if source type can be widened to target type, false otherwise. + + + + Checks if a set of values with given can be used + to invoke a method with specified . + + Method parameters. + Argument types. + Try to pack extra arguments into the last parameter when it is marked up with . + true if method can be called with given arguments, false otherwise. + + + + Compares two sets of parameters to determine + which one suits better for given argument types. + + + + + Returns a best method overload for given argument . + + List of method candidates. + Argument types. + Best method overload, or null if none matched. + + + + Gets the type of the typed collection's items. + + The type. + The type of the typed collection's items. + + + + Gets the member's underlying type. + + The member. + The underlying type of the member. + + + + Determines whether the member is an indexed property. + + The member. + + true if the member is an indexed property; otherwise, false. + + + + + Determines whether the property is an indexed property. + + The property. + + true if the property is an indexed property; otherwise, false. + + + + + Gets the member's value on the object. + + The member. + The target object. + The member's value on the object. + + + + Sets the member's value on the target object. + + The member. + The target. + The value. + + + + Determines whether the specified MemberInfo can be read. + + The MemberInfo to determine whether can be read. + /// if set to true then allow the member to be gotten non-publicly. + + true if the specified MemberInfo can be read; otherwise, false. + + + + + Determines whether the specified MemberInfo can be set. + + The MemberInfo to determine whether can be set. + if set to true then allow the member to be set non-publicly. + if set to true then allow the member to be set if read-only. + + true if the specified MemberInfo can be set; otherwise, false. + + + + + Builds a string. Unlike this class lets you reuse its internal buffer. + + + + + Determines whether the string is all white space. Empty string will return false. + + The string to test whether it is all white space. + + true if the string is all white space; otherwise, false. + + + + + Specifies the state of the . + + + + + An exception has been thrown, which has left the in an invalid state. + You may call the method to put the in the Closed state. + Any other method calls result in an being thrown. + + + + + The method has been called. + + + + + An object is being written. + + + + + An array is being written. + + + + + A constructor is being written. + + + + + A property is being written. + + + + + A write method has not been called. + + + + + Indicates the method that will be used during deserialization for locating and loading assemblies. + + + + + In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the method is used to load the assembly. + + + + + In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The is used to load the assembly. + + + + diff --git a/packages/Newtonsoft.Json.10.0.2/tools/install.ps1 b/packages/Newtonsoft.Json.10.0.2/tools/install.ps1 new file mode 100644 index 0000000..0cebb5e --- /dev/null +++ b/packages/Newtonsoft.Json.10.0.2/tools/install.ps1 @@ -0,0 +1,116 @@ +param($installPath, $toolsPath, $package, $project) + +# open json.net splash page on package install +# don't open if json.net is installed as a dependency + +try +{ + $url = "http://www.newtonsoft.com/json/install?version=" + $package.Version + $dte2 = Get-Interface $dte ([EnvDTE80.DTE2]) + + if ($dte2.ActiveWindow.Caption -eq "Package Manager Console") + { + # user is installing from VS NuGet console + # get reference to the window, the console host and the input history + # show webpage if "install-package newtonsoft.json" was last input + + $consoleWindow = $(Get-VSComponentModel).GetService([NuGetConsole.IPowerConsoleWindow]) + + $props = $consoleWindow.GetType().GetProperties([System.Reflection.BindingFlags]::Instance -bor ` + [System.Reflection.BindingFlags]::NonPublic) + + $prop = $props | ? { $_.Name -eq "ActiveHostInfo" } | select -first 1 + if ($prop -eq $null) { return } + + $hostInfo = $prop.GetValue($consoleWindow) + if ($hostInfo -eq $null) { return } + + $history = $hostInfo.WpfConsole.InputHistory.History + + $lastCommand = $history | select -last 1 + + if ($lastCommand) + { + $lastCommand = $lastCommand.Trim().ToLower() + if ($lastCommand.StartsWith("install-package") -and $lastCommand.Contains("newtonsoft.json")) + { + $dte2.ItemOperations.Navigate($url) | Out-Null + } + } + } + else + { + # user is installing from VS NuGet dialog + # get reference to the window, then smart output console provider + # show webpage if messages in buffered console contains "installing...newtonsoft.json" in last operation + + $instanceField = [NuGet.Dialog.PackageManagerWindow].GetField("CurrentInstance", [System.Reflection.BindingFlags]::Static -bor ` + [System.Reflection.BindingFlags]::NonPublic) + + $consoleField = [NuGet.Dialog.PackageManagerWindow].GetField("_smartOutputConsoleProvider", [System.Reflection.BindingFlags]::Instance -bor ` + [System.Reflection.BindingFlags]::NonPublic) + + if ($instanceField -eq $null -or $consoleField -eq $null) { return } + + $instance = $instanceField.GetValue($null) + + if ($instance -eq $null) { return } + + $consoleProvider = $consoleField.GetValue($instance) + if ($consoleProvider -eq $null) { return } + + $console = $consoleProvider.CreateOutputConsole($false) + + $messagesField = $console.GetType().GetField("_messages", [System.Reflection.BindingFlags]::Instance -bor ` + [System.Reflection.BindingFlags]::NonPublic) + if ($messagesField -eq $null) { return } + + $messages = $messagesField.GetValue($console) + if ($messages -eq $null) { return } + + $operations = $messages -split "==============================" + + $lastOperation = $operations | select -last 1 + + if ($lastOperation) + { + $lastOperation = $lastOperation.ToLower() + + $lines = $lastOperation -split "`r`n" + + $installMatch = $lines | ? { $_.StartsWith("------- installing...newtonsoft.json ") } | select -first 1 + + if ($installMatch) + { + $dte2.ItemOperations.Navigate($url) | Out-Null + } + } + } +} +catch +{ + try + { + $pmPane = $dte2.ToolWindows.OutputWindow.OutputWindowPanes.Item("Package Manager") + + $selection = $pmPane.TextDocument.Selection + $selection.StartOfDocument($false) + $selection.EndOfDocument($true) + + if ($selection.Text.StartsWith("Attempting to gather dependencies information for package 'Newtonsoft.Json." + $package.Version + "'")) + { + # don't show on upgrade + if (!$selection.Text.Contains("Removed package")) + { + $dte2.ItemOperations.Navigate($url) | Out-Null + } + } + } + catch + { + # stop potential errors from bubbling up + # worst case the splash page won't open + } +} + +# still yolo \ No newline at end of file diff --git a/packages/RestSharp.105.2.3/RestSharp.105.2.3.nupkg b/packages/RestSharp.105.2.3/RestSharp.105.2.3.nupkg new file mode 100644 index 0000000..af89bda Binary files /dev/null and b/packages/RestSharp.105.2.3/RestSharp.105.2.3.nupkg differ diff --git a/packages/RestSharp.105.2.3/lib/MonoAndroid10/RestSharp.xml b/packages/RestSharp.105.2.3/lib/MonoAndroid10/RestSharp.xml new file mode 100644 index 0000000..d48b003 --- /dev/null +++ b/packages/RestSharp.105.2.3/lib/MonoAndroid10/RestSharp.xml @@ -0,0 +1,3020 @@ + + + + RestSharp + + + + + Types of parameters that can be added to requests + + + + + Data formats + + + + + HTTP method to use when making requests + + + + + Format strings for commonly-used date formats + + + + + .NET format string for ISO 8601 date format + + + + + .NET format string for roundtrip date format + + + + + Status for responses (surprised?) + + + + + Convert a to a instance. + + The response status. + + responseStatus + + + + Container for files to be uploaded with requests + + + + + Creates a file parameter from an array of bytes. + + The parameter name to use in the request. + The data to use as the file's contents. + The filename to use in the request. + The content type to use in the request. + The + + + + Creates a file parameter from an array of bytes. + + The parameter name to use in the request. + The data to use as the file's contents. + The filename to use in the request. + The using the default content type. + + + + The length of data to be sent + + + + + Provides raw data for file + + + + + Name of the file to use when uploading + + + + + MIME content type of file + + + + + Name of the parameter + + + + + HttpWebRequest wrapper (async methods) + + + HttpWebRequest wrapper + + + HttpWebRequest wrapper (sync methods) + + + + + Always send a multipart/form-data request - even when no Files are present. + + + + + An alternative to RequestBody, for when the caller already has the byte array. + + + + + Execute an async POST-style request with the specified HTTP Method. + + + The HTTP method to execute. + + + + + Execute an async GET-style request with the specified HTTP Method. + + + The HTTP method to execute. + + + + + Creates an IHttp + + + + + + Default constructor + + + + + Execute a POST request + + + + + Execute a PUT request + + + + + Execute a GET request + + + + + Execute a HEAD request + + + + + Execute an OPTIONS request + + + + + Execute a DELETE request + + + + + Execute a PATCH request + + + + + Execute a MERGE request + + + + + Execute a GET-style request with the specified HTTP Method. + + The HTTP method to execute. + + + + + Execute a POST-style request with the specified HTTP Method. + + The HTTP method to execute. + + + + + True if this HTTP request has any HTTP parameters + + + + + True if this HTTP request has any HTTP cookies + + + + + True if a request body has been specified + + + + + True if files have been set to be uploaded + + + + + Always send a multipart/form-data request - even when no Files are present. + + + + + UserAgent to be sent with request + + + + + Timeout in milliseconds to be used for the request + + + + + The number of milliseconds before the writing or reading times out. + + + + + System.Net.ICredentials to be sent with request + + + + + The System.Net.CookieContainer to be used for the request + + + + + The method to use to write the response instead of reading into RawBytes + + + + + Collection of files to be sent with request + + + + + Whether or not HTTP 3xx response redirects should be automatically followed + + + + + X509CertificateCollection to be sent with request + + + + + Maximum number of automatic redirects to follow if FollowRedirects is true + + + + + Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) + will be sent along to the server. + + + + + HTTP headers to be sent with request + + + + + HTTP parameters (QueryString or Form values) to be sent with request + + + + + HTTP cookies to be sent with request + + + + + Request body to be sent with request + + + + + Content type of the request body. + + + + + An alternative to RequestBody, for when the caller already has the byte array. + + + + + URL to call for this request + + + + + Flag to send authorisation header with the HttpWebRequest + + + + + Proxy info to be sent with request + + + + + Caching policy for requests created with this wrapper. + + + + + Representation of an HTTP cookie + + + + + Comment of the cookie + + + + + Comment of the cookie + + + + + Indicates whether the cookie should be discarded at the end of the session + + + + + Domain of the cookie + + + + + Indicates whether the cookie is expired + + + + + Date and time that the cookie expires + + + + + Indicates that this cookie should only be accessed by the server + + + + + Name of the cookie + + + + + Path of the cookie + + + + + Port of the cookie + + + + + Indicates that the cookie should only be sent over secure channels + + + + + Date and time the cookie was created + + + + + Value of the cookie + + + + + Version of the cookie + + + + + Container for HTTP file + + + + + The length of data to be sent + + + + + Provides raw data for file + + + + + Name of the file to use when uploading + + + + + MIME content type of file + + + + + Name of the parameter + + + + + Representation of an HTTP header + + + + + Name of the header + + + + + Value of the header + + + + + Representation of an HTTP parameter (QueryString or Form value) + + + + + Name of the parameter + + + + + Value of the parameter + + + + + Content-Type of the parameter + + + + + HTTP response data + + + + + HTTP response data + + + + + MIME content type of response + + + + + Length in bytes of the response content + + + + + Encoding of the response content + + + + + String representation of response content + + + + + HTTP response status code + + + + + Description of HTTP status returned + + + + + Response content + + + + + The URL that actually responded to the content (different from request if redirected) + + + + + HttpWebResponse.Server + + + + + Headers returned by server with the response + + + + + Cookies returned by server with the response + + + + + Status of the request. Will return Error for transport errors. + HTTP errors will still return ResponseStatus.Completed, check StatusCode instead + + + + + Transport or other non-HTTP error generated while attempting request + + + + + Exception thrown when error is encountered. + + + + + Default constructor + + + + + MIME content type of response + + + + + Length in bytes of the response content + + + + + Encoding of the response content + + + + + Lazy-loaded string representation of response content + + + + + HTTP response status code + + + + + Description of HTTP status returned + + + + + Response content + + + + + The URL that actually responded to the content (different from request if redirected) + + + + + HttpWebResponse.Server + + + + + Headers returned by server with the response + + + + + Cookies returned by server with the response + + + + + Status of the request. Will return Error for transport errors. + HTTP errors will still return ResponseStatus.Completed, check StatusCode instead + + + + + Transport or other non-HTTP error generated while attempting request + + + + + Exception thrown when error is encountered. + + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + The HTTP method to execute + + + + Executes a POST-style request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + The HTTP method to execute + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + The HTTP method to execute + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + The HTTP method to execute + + + + Executes the request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes the request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes a GET-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes a GET-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes a POST-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes a POST-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes the request and callback asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Executes the request asynchronously, authenticating if needed + + Request to be executed + + + + Executes a GET-style asynchronously, authenticating if needed + + Request to be executed + + + + Executes a GET-style asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Executes a POST-style asynchronously, authenticating if needed + + Request to be executed + + + + Executes a POST-style asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + X509CertificateCollection to be sent with request + + + + + Parameter container for REST requests + + + + + Return a human-readable representation of this parameter + + String + + + + Name of the parameter + + + + + Value of the parameter + + + + + Type of the parameter + + + + + MIME content type of the parameter + + + + + Client to translate RestRequests into Http requests and process response result + + + + + Executes the request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + The HTTP method to execute + + + + Executes a POST-style request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + The HTTP method to execute + + + + Executes the request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + The HTTP method to execute + + + + Executes a POST-style request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + The HTTP method to execute + + + + Executes a GET-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes a GET-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes a POST-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes a POST-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes the request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes the request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes the request asynchronously, authenticating if needed + + Request to be executed + + + + Executes a GET-style asynchronously, authenticating if needed + + Request to be executed + + + + Executes a GET-style asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Executes a POST-style asynchronously, authenticating if needed + + Request to be executed + + + + Executes a POST-style asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Executes the request asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Default constructor that registers default content handlers + + + + + Sets the BaseUrl property for requests made by this client instance + + + + + + Sets the BaseUrl property for requests made by this client instance + + + + + + Registers a content handler to process response content + + MIME content type of the response content + Deserializer to use to process content + + + + Remove a content handler for the specified MIME content type + + MIME content type to remove + + + + Remove all content handlers + + + + + Retrieve the handler for the specified MIME content type + + MIME content type to retrieve + IDeserializer instance + + + + Assembles URL to call based on parameters, method and resource + + RestRequest to execute + Assembled System.Uri + + + + Executes the specified request and downloads the response data + + Request to execute + Response data + + + + Executes the request and returns a response, authenticating if needed + + Request to be executed + RestResponse + + + + Executes the specified request and deserializes the response content using the appropriate content handler + + Target deserialization type + Request to execute + RestResponse[[T]] with deserialized data in Data property + + + + Maximum number of redirects to follow if FollowRedirects is true + + + + + X509CertificateCollection to be sent with request + + + + + Proxy to use for requests made by this client instance. + Passed on to underlying WebRequest if set. + + + + + The cache policy to use for requests initiated by this client instance. + + + + + Default is true. Determine whether or not requests that result in + HTTP status codes of 3xx should follow returned redirect + + + + + The CookieContainer used for requests made by this client instance + + + + + UserAgent to use for requests made by this client instance + + + + + Timeout in milliseconds to use for requests made by this client instance + + + + + The number of milliseconds before the writing or reading times out. + + + + + Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked + + + + + Authenticator to use for requests made by this client instance + + + + + Combined with Request.Resource to construct URL for request + Should include scheme and domain without trailing slash. + + + client.BaseUrl = new Uri("http://example.com"); + + + + + Parameters included with every request made with this instance of RestClient + If specified in both client and request, the request wins + + + + + Executes the request and callback asynchronously, authenticating if needed + + The IRestClient this method extends + Request to be executed + Callback function to be executed upon completion + + + + Executes the request and callback asynchronously, authenticating if needed + + The IRestClient this method extends + Target deserialization type + Request to be executed + Callback function to be executed upon completion providing access to the async handle + + + + Add a parameter to use on every request made with this client instance + + The IRestClient instance + Parameter to add + + + + + Removes a parameter from the default parameters that are used on every request made with this client instance + + The IRestClient instance + The name of the parameter that needs to be removed + + + + + Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) + Used on every request made by this client instance + + The IRestClient instance + Name of the parameter + Value of the parameter + This request + + + + Adds a parameter to the request. There are four types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - RequestBody: Used by AddBody() (not recommended to use directly) + + The IRestClient instance + Name of the parameter + Value of the parameter + The type of parameter to add + This request + + + + Shortcut to AddDefaultParameter(name, value, HttpHeader) overload + + The IRestClient instance + Name of the header to add + Value of the header to add + + + + + Shortcut to AddDefaultParameter(name, value, UrlSegment) overload + + The IRestClient instance + Name of the segment to add + Value of the segment to add + + + + + Container for data used to make requests + + + + + Adds a file to the Files collection to be included with a POST or PUT request + (other methods do not support file uploads). + + The parameter name to use in the request + Full path to file to upload + The MIME type of the file to upload + This request + + + + Adds the bytes to the Files collection with the specified file name and content type + + The parameter name to use in the request + The file data + The file name to use for the uploaded file + The MIME type of the file to upload + This request + + + + Adds the bytes to the Files collection with the specified file name and content type + + The parameter name to use in the request + A function that writes directly to the stream. Should NOT close the stream. + The file name to use for the uploaded file + The MIME type of the file to upload + This request + + + + Add bytes to the Files collection as if it was a file of specific type + + A form parameter name + The file data + The file name to use for the uploaded file + Specific content type. Es: application/x-gzip + + + + + Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer + The default format is XML. Change RequestFormat if you wish to use a different serialization format. + + The object to serialize + The XML namespace to use when serializing + This request + + + + Serializes obj to data format specified by RequestFormat and adds it to the request body. + The default format is XML. Change RequestFormat if you wish to use a different serialization format. + + The object to serialize + This request + + + + Serializes obj to JSON format and adds it to the request body. + + The object to serialize + This request + + + + Serializes obj to XML format and adds it to the request body. + + The object to serialize + This request + + + + Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer + Serializes obj to XML format and passes xmlNamespace then adds it to the request body. + + The object to serialize + The XML namespace to use when serializing + This request + + + + Calls AddParameter() for all public, readable properties specified in the includedProperties list + + + request.AddObject(product, "ProductId", "Price", ...); + + The object with properties to add as parameters + The names of the properties to include + This request + + + + Calls AddParameter() for all public, readable properties of obj + + The object with properties to add as parameters + This request + + + + Add the parameter to the request + + Parameter to add + + + + + Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) + + Name of the parameter + Value of the parameter + This request + + + + Adds a parameter to the request. There are five types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - Cookie: Adds the name/value pair to the HTTP request's Cookies collection + - RequestBody: Used by AddBody() (not recommended to use directly) + + Name of the parameter + Value of the parameter + The type of parameter to add + This request + + + + Adds a parameter to the request. There are five types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - Cookie: Adds the name/value pair to the HTTP request's Cookies collection + - RequestBody: Used by AddBody() (not recommended to use directly) + + Name of the parameter + Value of the parameter + Content-Type of the parameter + The type of parameter to add + This request + + + + Shortcut to AddParameter(name, value, HttpHeader) overload + + Name of the header to add + Value of the header to add + + + + + Shortcut to AddParameter(name, value, Cookie) overload + + Name of the cookie to add + Value of the cookie to add + + + + + Shortcut to AddParameter(name, value, UrlSegment) overload + + Name of the segment to add + Value of the segment to add + + + + + Shortcut to AddParameter(name, value, QueryString) overload + + Name of the parameter to add + Value of the parameter to add + + + + + Always send a multipart/form-data request - even when no Files are present. + + + + + Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. + By default the included JsonSerializer is used (currently using JSON.NET default serialization). + + + + + Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. + By default the included XmlSerializer is used. + + + + + Set this to write response to Stream rather than reading into memory. + + + + + Container of all HTTP parameters to be passed with the request. + See AddParameter() for explanation of the types of parameters that can be passed + + + + + Container of all the files to be uploaded with the request. + + + + + Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS + Default is GET + + + + + The Resource URL to make the request against. + Tokens are substituted with UrlSegment parameters and match by name. + Should not include the scheme or domain. Do not include leading slash. + Combined with RestClient.BaseUrl to assemble final URL: + {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) + + + // example for url token replacement + request.Resource = "Products/{ProductId}"; + request.AddParameter("ProductId", 123, ParameterType.UrlSegment); + + + + + Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. + By default XmlSerializer is used. + + + + + Used by the default deserializers to determine where to start deserializing from. + Can be used to skip container or root elements that do not have corresponding deserialzation targets. + + + + + Used by the default deserializers to explicitly set which date format string to use when parsing dates. + + + + + Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. + + + + + In general you would not need to set this directly. Used by the NtlmAuthenticator. + + + + + Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. + + + + + The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. + + + + + How many attempts were made to send this Request? + + + This Number is incremented each time the RestClient sends the request. + Useful when using Asynchronous Execution with Callbacks + + + + + Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) + will be sent along to the server. The default is false. + + + + + Default constructor + + + + + Sets Method property to value of method + + Method to use for this request + + + + Sets Resource property + + Resource to use for this request + + + + Sets Resource and Method properties + + Resource to use for this request + Method to use for this request + + + + Sets Resource property + + Resource to use for this request + + + + Sets Resource and Method properties + + Resource to use for this request + Method to use for this request + + + + Adds a file to the Files collection to be included with a POST or PUT request + (other methods do not support file uploads). + + The parameter name to use in the request + Full path to file to upload + The MIME type of the file to upload + This request + + + + Adds the bytes to the Files collection with the specified file name + + The parameter name to use in the request + The file data + The file name to use for the uploaded file + The MIME type of the file to upload + This request + + + + Adds the bytes to the Files collection with the specified file name and content type + + The parameter name to use in the request + A function that writes directly to the stream. Should NOT close the stream. + The file name to use for the uploaded file + The MIME type of the file to upload + This request + + + + Add bytes to the Files collection as if it was a file of specific type + + A form parameter name + The file data + The file name to use for the uploaded file + Specific content type. Es: application/x-gzip + + + + + Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer + The default format is XML. Change RequestFormat if you wish to use a different serialization format. + + The object to serialize + The XML namespace to use when serializing + This request + + + + Serializes obj to data format specified by RequestFormat and adds it to the request body. + The default format is XML. Change RequestFormat if you wish to use a different serialization format. + + The object to serialize + This request + + + + Serializes obj to JSON format and adds it to the request body. + + The object to serialize + This request + + + + Serializes obj to XML format and adds it to the request body. + + The object to serialize + This request + + + + Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer + Serializes obj to XML format and passes xmlNamespace then adds it to the request body. + + The object to serialize + The XML namespace to use when serializing + This request + + + + Calls AddParameter() for all public, readable properties specified in the includedProperties list + + + request.AddObject(product, "ProductId", "Price", ...); + + The object with properties to add as parameters + The names of the properties to include + This request + + + + Calls AddParameter() for all public, readable properties of obj + + The object with properties to add as parameters + This request + + + + Add the parameter to the request + + Parameter to add + + + + + Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) + + Name of the parameter + Value of the parameter + This request + + + + Adds a parameter to the request. There are four types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - RequestBody: Used by AddBody() (not recommended to use directly) + + Name of the parameter + Value of the parameter + The type of parameter to add + This request + + + + Adds a parameter to the request. There are four types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - RequestBody: Used by AddBody() (not recommended to use directly) + + Name of the parameter + Value of the parameter + Content-Type of the parameter + The type of parameter to add + This request + + + + Shortcut to AddParameter(name, value, HttpHeader) overload + + Name of the header to add + Value of the header to add + + + + + Shortcut to AddParameter(name, value, Cookie) overload + + Name of the cookie to add + Value of the cookie to add + + + + + Shortcut to AddParameter(name, value, UrlSegment) overload + + Name of the segment to add + Value of the segment to add + + + + + Shortcut to AddParameter(name, value, QueryString) overload + + Name of the parameter to add + Value of the parameter to add + + + + + Internal Method so that RestClient can increase the number of attempts + + + + + Always send a multipart/form-data request - even when no Files are present. + + + + + Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. + By default the included JsonSerializer is used (currently using JSON.NET default serialization). + + + + + Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. + By default the included XmlSerializer is used. + + + + + Set this to write response to Stream rather than reading into memory. + + + + + Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) + will be sent along to the server. The default is false. + + + + + Container of all HTTP parameters to be passed with the request. + See AddParameter() for explanation of the types of parameters that can be passed + + + + + Container of all the files to be uploaded with the request. + + + + + Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS + Default is GET + + + + + The Resource URL to make the request against. + Tokens are substituted with UrlSegment parameters and match by name. + Should not include the scheme or domain. Do not include leading slash. + Combined with RestClient.BaseUrl to assemble final URL: + {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) + + + // example for url token replacement + request.Resource = "Products/{ProductId}"; + request.AddParameter("ProductId", 123, ParameterType.UrlSegment); + + + + + Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. + By default XmlSerializer is used. + + + + + Used by the default deserializers to determine where to start deserializing from. + Can be used to skip container or root elements that do not have corresponding deserialzation targets. + + + + + A function to run prior to deserializing starting (e.g. change settings if error encountered) + + + + + Used by the default deserializers to explicitly set which date format string to use when parsing dates. + + + + + Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. + + + + + In general you would not need to set this directly. Used by the NtlmAuthenticator. + + + + + Gets or sets a user-defined state object that contains information about a request and which can be later + retrieved when the request completes. + + + + + Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. + + + + + The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. + + + + + How many attempts were made to send this Request? + + + This Number is incremented each time the RestClient sends the request. + Useful when using Asynchronous Execution with Callbacks + + + + + Base class for common properties shared by RestResponse and RestResponse[[T]] + + + + + Default constructor + + + + + Assists with debugging responses by displaying in the debugger output + + + + + + The RestRequest that was made to get this RestResponse + + + Mainly for debugging if ResponseStatus is not OK + + + + + MIME content type of response + + + + + Length in bytes of the response content + + + + + Encoding of the response content + + + + + String representation of response content + + + + + HTTP response status code + + + + + Description of HTTP status returned + + + + + Response content + + + + + The URL that actually responded to the content (different from request if redirected) + + + + + HttpWebResponse.Server + + + + + Cookies returned by server with the response + + + + + Headers returned by server with the response + + + + + Status of the request. Will return Error for transport errors. + HTTP errors will still return ResponseStatus.Completed, check StatusCode instead + + + + + Transport or other non-HTTP error generated while attempting request + + + + + The exception thrown during the request, if any + + + + + Container for data sent back from API including deserialized data + + Type of data to deserialize to + + + + Container for data sent back from API including deserialized data + + Type of data to deserialize to + + + + Container for data sent back from API + + + + + The RestRequest that was made to get this RestResponse + + + Mainly for debugging if ResponseStatus is not OK + + + + + MIME content type of response + + + + + Length in bytes of the response content + + + + + Encoding of the response content + + + + + String representation of response content + + + + + HTTP response status code + + + + + Description of HTTP status returned + + + + + Response content + + + + + The URL that actually responded to the content (different from request if redirected) + + + + + HttpWebResponse.Server + + + + + Cookies returned by server with the response + + + + + Headers returned by server with the response + + + + + Status of the request. Will return Error for transport errors. + HTTP errors will still return ResponseStatus.Completed, check StatusCode instead + + + + + Transport or other non-HTTP error generated while attempting request + + + + + Exceptions thrown during the request, if any. + + Will contain only network transport or framework exceptions thrown during the request. + HTTP protocol errors are handled by RestSharp and will not appear here. + + + + Deserialized entity data + + + + + Deserialized entity data + + + + + Container for data sent back from API + + + + + Represents the json array. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The capacity of the json array. + + + + The json representation of the array. + + The json representation of the array. + + + + Represents the json object. + + + + + The internal member dictionary. + + + + + Initializes a new instance of . + + + + + Initializes a new instance of . + + The implementation to use when comparing keys, or null to use the default for the type of the key. + + + + Adds the specified key. + + The key. + The value. + + + + Determines whether the specified key contains key. + + The key. + + true if the specified key contains key; otherwise, false. + + + + + Removes the specified key. + + The key. + + + + + Tries the get value. + + The key. + The value. + + + + + Adds the specified item. + + The item. + + + + Clears this instance. + + + + + Determines whether [contains] [the specified item]. + + The item. + + true if [contains] [the specified item]; otherwise, false. + + + + + Copies to. + + The array. + Index of the array. + + + + Removes the specified item. + + The item. + + + + + Gets the enumerator. + + + + + + Returns an enumerator that iterates through a collection. + + + An object that can be used to iterate through the collection. + + + + + Returns a json that represents the current . + + + A json that represents the current . + + + + + Gets the at the specified index. + + + + + + Gets the keys. + + The keys. + + + + Gets the values. + + The values. + + + + Gets or sets the with the specified key. + + + + + + Gets the count. + + The count. + + + + Gets a value indicating whether this instance is read only. + + + true if this instance is read only; otherwise, false. + + + + + This class encodes and decodes JSON strings. + Spec. details, see http://www.json.org/ + + JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>). + All numbers are parsed to doubles. + + + + + Parses the string json into a value + + A JSON string. + An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false + + + + Try parsing the json string into a value. + + + A JSON string. + + + The object. + + + Returns true if successfull otherwise false. + + + + + Converts a IDictionary<string,object> / IList<object> object into a JSON string + + A IDictionary<string,object> / IList<object> + Serializer strategy to use + A JSON encoded string, or null if object 'json' is not serializable + + + + Determines if a given object is numeric in any way + (can be integer, double, null, etc). + + + + + Helper methods for validating required values + + + + + Require a parameter to not be null + + Name of the parameter + Value of the parameter + + + + Helper methods for validating values + + + + + Validate an integer value is between the specified values (exclusive of min/max) + + Value to validate + Exclusive minimum value + Exclusive maximum value + + + + Validate a string length + + String to be validated + Maximum length of the string + + + + Default JSON serializer for request bodies + Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes + + + + + Default serializer + + + + + Serialize the object as JSON + + Object to serialize + JSON as String + + + + Unused for JSON Serialization + + + + + Unused for JSON Serialization + + + + + Unused for JSON Serialization + + + + + Content type for serialized content + + + + + Allows control how class and property names and values are serialized by XmlSerializer + Currently not supported with the JsonSerializer + When specified at the property level the class-level specification is overridden + + + + + Called by the attribute when NameStyle is speficied + + The string to transform + String + + + + The name to use for the serialized element + + + + + Sets the value to be serialized as an Attribute instead of an Element + + + + + The culture to use when serializing + + + + + Transforms the casing of the name based on the selected value. + + + + + The order to serialize the element. Default is int.MaxValue. + + + + + Options for transforming casing of element names + + + + + Wrapper for System.Xml.Serialization.XmlSerializer. + + + + + Default constructor, does not specify namespace + + + + + Specify the namespaced to be used when serializing + + XML namespace + + + + Serialize the object as XML + + Object to serialize + XML as string + + + + Name of the root element to use when serializing + + + + + XML namespace to use when serializing + + + + + Format string to use when serializing dates + + + + + Content type for serialized content + + + + + Encoding for serialized content + + + + + Need to subclass StringWriter in order to override Encoding + + + + + Default XML Serializer + + + + + Default constructor, does not specify namespace + + + + + Specify the namespaced to be used when serializing + + XML namespace + + + + Serialize the object as XML + + Object to serialize + XML as string + + + + Determines if a given object is numeric in any way + (can be integer, double, null, etc). + + + + + Name of the root element to use when serializing + + + + + XML namespace to use when serializing + + + + + Format string to use when serializing dates + + + + + Content type for serialized content + + + + + Extension method overload! + + + + + Save a byte array to a file + + Bytes to save + Full path to save file to + + + + Read a stream into a byte array + + Stream to read + byte[] + + + + Copies bytes from one stream to another + + The input stream. + The output stream. + + + + Converts a byte array to a string, using its byte order mark to convert it to the right encoding. + http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx + + An array of bytes to convert + The byte as a string. + + + + Reflection extensions + + + + + Retrieve an attribute from a member (property) + + Type of attribute to retrieve + Member to retrieve attribute from + + + + + Retrieve an attribute from a type + + Type of attribute to retrieve + Type to retrieve attribute from + + + + + Checks a type to see if it derives from a raw generic (e.g. List[[]]) + + + + + + + + Find a value from a System.Enum by trying several possible variants + of the string value of the enum. + + Type of enum + Value for which to search + The culture used to calculate the name variants + + + + + XML Extension Methods + + + + + Returns the name of an element with the namespace if specified + + Element name + XML Namespace + + + + + Allows control how class and property names and values are deserialized by XmlAttributeDeserializer + + + + + The name to use for the serialized element + + + + + Sets if the property to Deserialize is an Attribute or Element (Default: false) + + + + + Tries to Authenticate with the credentials of the currently logged in user, or impersonate a user + + + + + Authenticate with the credentials of the currently logged in user + + + + + Authenticate by impersonation + + + + + + + Authenticate by impersonation, using an existing ICredentials instance + + + + + + Uses Uri.EscapeDataString() based on recommendations on MSDN + http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx + + + + + Check that a string is not null or empty + + String to check + bool + + + + Remove underscores from a string + + String to process + string + + + + Parses most common JSON date formats + + JSON value to parse + + DateTime + + + + Remove leading and trailing " from a string + + String to parse + String + + + + Checks a string to see if it matches a regex + + String to check + Pattern to match + bool + + + + Converts a string to pascal case + + String to convert + + string + + + + Converts a string to pascal case with the option to remove underscores + + String to convert + Option to remove underscores + + + + + + Converts a string to camel case + + String to convert + + String + + + + Convert the first letter of a string to lower case + + String to convert + string + + + + Checks to see if a string is all uppper case + + String to check + bool + + + + Add underscores to a pascal-cased string + + String to convert + string + + + + Add dashes to a pascal-cased string + + String to convert + string + + + + Add an undescore prefix to a pascasl-cased string + + + + + + + Add spaces to a pascal-cased string + + String to convert + string + + + + Return possible variants of a name for name matching. + + String to convert + The culture to use for conversion + IEnumerable<string> + + + + Decodes an HTML-encoded string and returns the decoded string. + + The HTML string to decode. + The decoded text. + + + + Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream. + + The HTML string to decode + The TextWriter output stream containing the decoded string. + + + + HTML-encodes a string and sends the resulting output to a TextWriter output stream. + + The string to encode. + The TextWriter output stream containing the encoded string. + + + + Comment of the cookie + + + + + Comment of the cookie + + + + + Indicates whether the cookie should be discarded at the end of the session + + + + + Domain of the cookie + + + + + Indicates whether the cookie is expired + + + + + Date and time that the cookie expires + + + + + Indicates that this cookie should only be accessed by the server + + + + + Name of the cookie + + + + + Path of the cookie + + + + + Port of the cookie + + + + + Indicates that the cookie should only be sent over secure channels + + + + + Date and time the cookie was created + + + + + Value of the cookie + + + + + Version of the cookie + + + + + + + + Base class for OAuth 2 Authenticators. + + + Since there are many ways to authenticate in OAuth2, + this is used as a base class to differentiate between + other authenticators. + + Any other OAuth2 authenticators must derive from this + abstract class. + + + + + Access token to be used when authenticating. + + + + + Initializes a new instance of the class. + + + The access token. + + + + + Gets the access token. + + + + + The OAuth 2 authenticator using URI query parameter. + + + Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2 + + + + + Initializes a new instance of the class. + + + The access token. + + + + + The OAuth 2 authenticator using the authorization request header field. + + + Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1 + + + + + Stores the Authorization header value as "[tokenType] accessToken". used for performance. + + + + + Initializes a new instance of the class. + + + The access token. + + + + + Initializes a new instance of the class. + + + The access token. + + + The token type. + + + + + All text parameters are UTF-8 encoded (per section 5.1). + + + + + + Generates a random 16-byte lowercase alphanumeric string. + + + + + + + Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT" + + + + + + + Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT" + + + A specified point in time. + + + + + The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986. + + + + + + URL encodes a string based on section 5.1 of the OAuth spec. + Namely, percent encoding with [RFC3986], avoiding unreserved characters, + upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. + + The value to escape. + The escaped value. + + The method is supposed to take on + RFC 3986 behavior if certain elements are present in a .config file. Even if this + actually worked (which in my experiments it doesn't), we can't rely on every + host actually having this configuration element present. + + + + + + + URL encodes a string based on section 5.1 of the OAuth spec. + Namely, percent encoding with [RFC3986], avoiding unreserved characters, + upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. + + + + + + + Sorts a collection of key-value pairs by name, and then value if equal, + concatenating them into a single string. This string should be encoded + prior to, or after normalization is run. + + + + + + + + Sorts a by name, and then value if equal. + + A collection of parameters to sort + A sorted parameter collection + + + + Creates a request URL suitable for making OAuth requests. + Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively. + Resulting URLs must be lower case. + + + The original request URL + + + + + Creates a request elements concatentation value to send with a request. + This is also known as the signature base. + + + + The request's HTTP method type + The request URL + The request's parameters + A signature base string + + + + Creates a signature value given a signature base and the consumer secret. + This method is used when the token secret is currently unknown. + + + The hashing method + The signature base + The consumer key + + + + + Creates a signature value given a signature base and the consumer secret. + This method is used when the token secret is currently unknown. + + + The hashing method + The treatment to use on a signature value + The signature base + The consumer key + + + + + Creates a signature value given a signature base and the consumer secret and a known token secret. + + + The hashing method + The signature base + The consumer secret + The token secret + + + + + Creates a signature value given a signature base and the consumer secret and a known token secret. + + + The hashing method + The treatment to use on a signature value + The signature base + The consumer secret + The token secret + + + + + A class to encapsulate OAuth authentication flow. + + + + + + Generates a instance to pass to an + for the purpose of requesting an + unauthorized request token. + + The HTTP method for the intended request + + + + + + Generates a instance to pass to an + for the purpose of requesting an + unauthorized request token. + + The HTTP method for the intended request + Any existing, non-OAuth query parameters desired in the request + + + + + + Generates a instance to pass to an + for the purpose of exchanging a request token + for an access token authorized by the user at the Service Provider site. + + The HTTP method for the intended request + + + + + Generates a instance to pass to an + for the purpose of exchanging a request token + for an access token authorized by the user at the Service Provider site. + + The HTTP method for the intended request + + Any existing, non-OAuth query parameters desired in the request + + + + Generates a instance to pass to an + for the purpose of exchanging user credentials + for an access token authorized by the user at the Service Provider site. + + The HTTP method for the intended request + + Any existing, non-OAuth query parameters desired in the request + + + + + + + + + + + + + Wrapper for System.Xml.Serialization.XmlSerializer. + + + + diff --git a/packages/RestSharp.105.2.3/lib/MonoTouch10/RestSharp.xml b/packages/RestSharp.105.2.3/lib/MonoTouch10/RestSharp.xml new file mode 100644 index 0000000..d48b003 --- /dev/null +++ b/packages/RestSharp.105.2.3/lib/MonoTouch10/RestSharp.xml @@ -0,0 +1,3020 @@ + + + + RestSharp + + + + + Types of parameters that can be added to requests + + + + + Data formats + + + + + HTTP method to use when making requests + + + + + Format strings for commonly-used date formats + + + + + .NET format string for ISO 8601 date format + + + + + .NET format string for roundtrip date format + + + + + Status for responses (surprised?) + + + + + Convert a to a instance. + + The response status. + + responseStatus + + + + Container for files to be uploaded with requests + + + + + Creates a file parameter from an array of bytes. + + The parameter name to use in the request. + The data to use as the file's contents. + The filename to use in the request. + The content type to use in the request. + The + + + + Creates a file parameter from an array of bytes. + + The parameter name to use in the request. + The data to use as the file's contents. + The filename to use in the request. + The using the default content type. + + + + The length of data to be sent + + + + + Provides raw data for file + + + + + Name of the file to use when uploading + + + + + MIME content type of file + + + + + Name of the parameter + + + + + HttpWebRequest wrapper (async methods) + + + HttpWebRequest wrapper + + + HttpWebRequest wrapper (sync methods) + + + + + Always send a multipart/form-data request - even when no Files are present. + + + + + An alternative to RequestBody, for when the caller already has the byte array. + + + + + Execute an async POST-style request with the specified HTTP Method. + + + The HTTP method to execute. + + + + + Execute an async GET-style request with the specified HTTP Method. + + + The HTTP method to execute. + + + + + Creates an IHttp + + + + + + Default constructor + + + + + Execute a POST request + + + + + Execute a PUT request + + + + + Execute a GET request + + + + + Execute a HEAD request + + + + + Execute an OPTIONS request + + + + + Execute a DELETE request + + + + + Execute a PATCH request + + + + + Execute a MERGE request + + + + + Execute a GET-style request with the specified HTTP Method. + + The HTTP method to execute. + + + + + Execute a POST-style request with the specified HTTP Method. + + The HTTP method to execute. + + + + + True if this HTTP request has any HTTP parameters + + + + + True if this HTTP request has any HTTP cookies + + + + + True if a request body has been specified + + + + + True if files have been set to be uploaded + + + + + Always send a multipart/form-data request - even when no Files are present. + + + + + UserAgent to be sent with request + + + + + Timeout in milliseconds to be used for the request + + + + + The number of milliseconds before the writing or reading times out. + + + + + System.Net.ICredentials to be sent with request + + + + + The System.Net.CookieContainer to be used for the request + + + + + The method to use to write the response instead of reading into RawBytes + + + + + Collection of files to be sent with request + + + + + Whether or not HTTP 3xx response redirects should be automatically followed + + + + + X509CertificateCollection to be sent with request + + + + + Maximum number of automatic redirects to follow if FollowRedirects is true + + + + + Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) + will be sent along to the server. + + + + + HTTP headers to be sent with request + + + + + HTTP parameters (QueryString or Form values) to be sent with request + + + + + HTTP cookies to be sent with request + + + + + Request body to be sent with request + + + + + Content type of the request body. + + + + + An alternative to RequestBody, for when the caller already has the byte array. + + + + + URL to call for this request + + + + + Flag to send authorisation header with the HttpWebRequest + + + + + Proxy info to be sent with request + + + + + Caching policy for requests created with this wrapper. + + + + + Representation of an HTTP cookie + + + + + Comment of the cookie + + + + + Comment of the cookie + + + + + Indicates whether the cookie should be discarded at the end of the session + + + + + Domain of the cookie + + + + + Indicates whether the cookie is expired + + + + + Date and time that the cookie expires + + + + + Indicates that this cookie should only be accessed by the server + + + + + Name of the cookie + + + + + Path of the cookie + + + + + Port of the cookie + + + + + Indicates that the cookie should only be sent over secure channels + + + + + Date and time the cookie was created + + + + + Value of the cookie + + + + + Version of the cookie + + + + + Container for HTTP file + + + + + The length of data to be sent + + + + + Provides raw data for file + + + + + Name of the file to use when uploading + + + + + MIME content type of file + + + + + Name of the parameter + + + + + Representation of an HTTP header + + + + + Name of the header + + + + + Value of the header + + + + + Representation of an HTTP parameter (QueryString or Form value) + + + + + Name of the parameter + + + + + Value of the parameter + + + + + Content-Type of the parameter + + + + + HTTP response data + + + + + HTTP response data + + + + + MIME content type of response + + + + + Length in bytes of the response content + + + + + Encoding of the response content + + + + + String representation of response content + + + + + HTTP response status code + + + + + Description of HTTP status returned + + + + + Response content + + + + + The URL that actually responded to the content (different from request if redirected) + + + + + HttpWebResponse.Server + + + + + Headers returned by server with the response + + + + + Cookies returned by server with the response + + + + + Status of the request. Will return Error for transport errors. + HTTP errors will still return ResponseStatus.Completed, check StatusCode instead + + + + + Transport or other non-HTTP error generated while attempting request + + + + + Exception thrown when error is encountered. + + + + + Default constructor + + + + + MIME content type of response + + + + + Length in bytes of the response content + + + + + Encoding of the response content + + + + + Lazy-loaded string representation of response content + + + + + HTTP response status code + + + + + Description of HTTP status returned + + + + + Response content + + + + + The URL that actually responded to the content (different from request if redirected) + + + + + HttpWebResponse.Server + + + + + Headers returned by server with the response + + + + + Cookies returned by server with the response + + + + + Status of the request. Will return Error for transport errors. + HTTP errors will still return ResponseStatus.Completed, check StatusCode instead + + + + + Transport or other non-HTTP error generated while attempting request + + + + + Exception thrown when error is encountered. + + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + The HTTP method to execute + + + + Executes a POST-style request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + The HTTP method to execute + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + The HTTP method to execute + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + The HTTP method to execute + + + + Executes the request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes the request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes a GET-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes a GET-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes a POST-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes a POST-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes the request and callback asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Executes the request asynchronously, authenticating if needed + + Request to be executed + + + + Executes a GET-style asynchronously, authenticating if needed + + Request to be executed + + + + Executes a GET-style asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Executes a POST-style asynchronously, authenticating if needed + + Request to be executed + + + + Executes a POST-style asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + X509CertificateCollection to be sent with request + + + + + Parameter container for REST requests + + + + + Return a human-readable representation of this parameter + + String + + + + Name of the parameter + + + + + Value of the parameter + + + + + Type of the parameter + + + + + MIME content type of the parameter + + + + + Client to translate RestRequests into Http requests and process response result + + + + + Executes the request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + The HTTP method to execute + + + + Executes a POST-style request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + The HTTP method to execute + + + + Executes the request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + The HTTP method to execute + + + + Executes a POST-style request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + The HTTP method to execute + + + + Executes a GET-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes a GET-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes a POST-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes a POST-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes the request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes the request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes the request asynchronously, authenticating if needed + + Request to be executed + + + + Executes a GET-style asynchronously, authenticating if needed + + Request to be executed + + + + Executes a GET-style asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Executes a POST-style asynchronously, authenticating if needed + + Request to be executed + + + + Executes a POST-style asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Executes the request asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Default constructor that registers default content handlers + + + + + Sets the BaseUrl property for requests made by this client instance + + + + + + Sets the BaseUrl property for requests made by this client instance + + + + + + Registers a content handler to process response content + + MIME content type of the response content + Deserializer to use to process content + + + + Remove a content handler for the specified MIME content type + + MIME content type to remove + + + + Remove all content handlers + + + + + Retrieve the handler for the specified MIME content type + + MIME content type to retrieve + IDeserializer instance + + + + Assembles URL to call based on parameters, method and resource + + RestRequest to execute + Assembled System.Uri + + + + Executes the specified request and downloads the response data + + Request to execute + Response data + + + + Executes the request and returns a response, authenticating if needed + + Request to be executed + RestResponse + + + + Executes the specified request and deserializes the response content using the appropriate content handler + + Target deserialization type + Request to execute + RestResponse[[T]] with deserialized data in Data property + + + + Maximum number of redirects to follow if FollowRedirects is true + + + + + X509CertificateCollection to be sent with request + + + + + Proxy to use for requests made by this client instance. + Passed on to underlying WebRequest if set. + + + + + The cache policy to use for requests initiated by this client instance. + + + + + Default is true. Determine whether or not requests that result in + HTTP status codes of 3xx should follow returned redirect + + + + + The CookieContainer used for requests made by this client instance + + + + + UserAgent to use for requests made by this client instance + + + + + Timeout in milliseconds to use for requests made by this client instance + + + + + The number of milliseconds before the writing or reading times out. + + + + + Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked + + + + + Authenticator to use for requests made by this client instance + + + + + Combined with Request.Resource to construct URL for request + Should include scheme and domain without trailing slash. + + + client.BaseUrl = new Uri("http://example.com"); + + + + + Parameters included with every request made with this instance of RestClient + If specified in both client and request, the request wins + + + + + Executes the request and callback asynchronously, authenticating if needed + + The IRestClient this method extends + Request to be executed + Callback function to be executed upon completion + + + + Executes the request and callback asynchronously, authenticating if needed + + The IRestClient this method extends + Target deserialization type + Request to be executed + Callback function to be executed upon completion providing access to the async handle + + + + Add a parameter to use on every request made with this client instance + + The IRestClient instance + Parameter to add + + + + + Removes a parameter from the default parameters that are used on every request made with this client instance + + The IRestClient instance + The name of the parameter that needs to be removed + + + + + Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) + Used on every request made by this client instance + + The IRestClient instance + Name of the parameter + Value of the parameter + This request + + + + Adds a parameter to the request. There are four types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - RequestBody: Used by AddBody() (not recommended to use directly) + + The IRestClient instance + Name of the parameter + Value of the parameter + The type of parameter to add + This request + + + + Shortcut to AddDefaultParameter(name, value, HttpHeader) overload + + The IRestClient instance + Name of the header to add + Value of the header to add + + + + + Shortcut to AddDefaultParameter(name, value, UrlSegment) overload + + The IRestClient instance + Name of the segment to add + Value of the segment to add + + + + + Container for data used to make requests + + + + + Adds a file to the Files collection to be included with a POST or PUT request + (other methods do not support file uploads). + + The parameter name to use in the request + Full path to file to upload + The MIME type of the file to upload + This request + + + + Adds the bytes to the Files collection with the specified file name and content type + + The parameter name to use in the request + The file data + The file name to use for the uploaded file + The MIME type of the file to upload + This request + + + + Adds the bytes to the Files collection with the specified file name and content type + + The parameter name to use in the request + A function that writes directly to the stream. Should NOT close the stream. + The file name to use for the uploaded file + The MIME type of the file to upload + This request + + + + Add bytes to the Files collection as if it was a file of specific type + + A form parameter name + The file data + The file name to use for the uploaded file + Specific content type. Es: application/x-gzip + + + + + Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer + The default format is XML. Change RequestFormat if you wish to use a different serialization format. + + The object to serialize + The XML namespace to use when serializing + This request + + + + Serializes obj to data format specified by RequestFormat and adds it to the request body. + The default format is XML. Change RequestFormat if you wish to use a different serialization format. + + The object to serialize + This request + + + + Serializes obj to JSON format and adds it to the request body. + + The object to serialize + This request + + + + Serializes obj to XML format and adds it to the request body. + + The object to serialize + This request + + + + Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer + Serializes obj to XML format and passes xmlNamespace then adds it to the request body. + + The object to serialize + The XML namespace to use when serializing + This request + + + + Calls AddParameter() for all public, readable properties specified in the includedProperties list + + + request.AddObject(product, "ProductId", "Price", ...); + + The object with properties to add as parameters + The names of the properties to include + This request + + + + Calls AddParameter() for all public, readable properties of obj + + The object with properties to add as parameters + This request + + + + Add the parameter to the request + + Parameter to add + + + + + Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) + + Name of the parameter + Value of the parameter + This request + + + + Adds a parameter to the request. There are five types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - Cookie: Adds the name/value pair to the HTTP request's Cookies collection + - RequestBody: Used by AddBody() (not recommended to use directly) + + Name of the parameter + Value of the parameter + The type of parameter to add + This request + + + + Adds a parameter to the request. There are five types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - Cookie: Adds the name/value pair to the HTTP request's Cookies collection + - RequestBody: Used by AddBody() (not recommended to use directly) + + Name of the parameter + Value of the parameter + Content-Type of the parameter + The type of parameter to add + This request + + + + Shortcut to AddParameter(name, value, HttpHeader) overload + + Name of the header to add + Value of the header to add + + + + + Shortcut to AddParameter(name, value, Cookie) overload + + Name of the cookie to add + Value of the cookie to add + + + + + Shortcut to AddParameter(name, value, UrlSegment) overload + + Name of the segment to add + Value of the segment to add + + + + + Shortcut to AddParameter(name, value, QueryString) overload + + Name of the parameter to add + Value of the parameter to add + + + + + Always send a multipart/form-data request - even when no Files are present. + + + + + Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. + By default the included JsonSerializer is used (currently using JSON.NET default serialization). + + + + + Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. + By default the included XmlSerializer is used. + + + + + Set this to write response to Stream rather than reading into memory. + + + + + Container of all HTTP parameters to be passed with the request. + See AddParameter() for explanation of the types of parameters that can be passed + + + + + Container of all the files to be uploaded with the request. + + + + + Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS + Default is GET + + + + + The Resource URL to make the request against. + Tokens are substituted with UrlSegment parameters and match by name. + Should not include the scheme or domain. Do not include leading slash. + Combined with RestClient.BaseUrl to assemble final URL: + {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) + + + // example for url token replacement + request.Resource = "Products/{ProductId}"; + request.AddParameter("ProductId", 123, ParameterType.UrlSegment); + + + + + Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. + By default XmlSerializer is used. + + + + + Used by the default deserializers to determine where to start deserializing from. + Can be used to skip container or root elements that do not have corresponding deserialzation targets. + + + + + Used by the default deserializers to explicitly set which date format string to use when parsing dates. + + + + + Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. + + + + + In general you would not need to set this directly. Used by the NtlmAuthenticator. + + + + + Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. + + + + + The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. + + + + + How many attempts were made to send this Request? + + + This Number is incremented each time the RestClient sends the request. + Useful when using Asynchronous Execution with Callbacks + + + + + Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) + will be sent along to the server. The default is false. + + + + + Default constructor + + + + + Sets Method property to value of method + + Method to use for this request + + + + Sets Resource property + + Resource to use for this request + + + + Sets Resource and Method properties + + Resource to use for this request + Method to use for this request + + + + Sets Resource property + + Resource to use for this request + + + + Sets Resource and Method properties + + Resource to use for this request + Method to use for this request + + + + Adds a file to the Files collection to be included with a POST or PUT request + (other methods do not support file uploads). + + The parameter name to use in the request + Full path to file to upload + The MIME type of the file to upload + This request + + + + Adds the bytes to the Files collection with the specified file name + + The parameter name to use in the request + The file data + The file name to use for the uploaded file + The MIME type of the file to upload + This request + + + + Adds the bytes to the Files collection with the specified file name and content type + + The parameter name to use in the request + A function that writes directly to the stream. Should NOT close the stream. + The file name to use for the uploaded file + The MIME type of the file to upload + This request + + + + Add bytes to the Files collection as if it was a file of specific type + + A form parameter name + The file data + The file name to use for the uploaded file + Specific content type. Es: application/x-gzip + + + + + Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer + The default format is XML. Change RequestFormat if you wish to use a different serialization format. + + The object to serialize + The XML namespace to use when serializing + This request + + + + Serializes obj to data format specified by RequestFormat and adds it to the request body. + The default format is XML. Change RequestFormat if you wish to use a different serialization format. + + The object to serialize + This request + + + + Serializes obj to JSON format and adds it to the request body. + + The object to serialize + This request + + + + Serializes obj to XML format and adds it to the request body. + + The object to serialize + This request + + + + Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer + Serializes obj to XML format and passes xmlNamespace then adds it to the request body. + + The object to serialize + The XML namespace to use when serializing + This request + + + + Calls AddParameter() for all public, readable properties specified in the includedProperties list + + + request.AddObject(product, "ProductId", "Price", ...); + + The object with properties to add as parameters + The names of the properties to include + This request + + + + Calls AddParameter() for all public, readable properties of obj + + The object with properties to add as parameters + This request + + + + Add the parameter to the request + + Parameter to add + + + + + Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) + + Name of the parameter + Value of the parameter + This request + + + + Adds a parameter to the request. There are four types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - RequestBody: Used by AddBody() (not recommended to use directly) + + Name of the parameter + Value of the parameter + The type of parameter to add + This request + + + + Adds a parameter to the request. There are four types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - RequestBody: Used by AddBody() (not recommended to use directly) + + Name of the parameter + Value of the parameter + Content-Type of the parameter + The type of parameter to add + This request + + + + Shortcut to AddParameter(name, value, HttpHeader) overload + + Name of the header to add + Value of the header to add + + + + + Shortcut to AddParameter(name, value, Cookie) overload + + Name of the cookie to add + Value of the cookie to add + + + + + Shortcut to AddParameter(name, value, UrlSegment) overload + + Name of the segment to add + Value of the segment to add + + + + + Shortcut to AddParameter(name, value, QueryString) overload + + Name of the parameter to add + Value of the parameter to add + + + + + Internal Method so that RestClient can increase the number of attempts + + + + + Always send a multipart/form-data request - even when no Files are present. + + + + + Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. + By default the included JsonSerializer is used (currently using JSON.NET default serialization). + + + + + Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. + By default the included XmlSerializer is used. + + + + + Set this to write response to Stream rather than reading into memory. + + + + + Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) + will be sent along to the server. The default is false. + + + + + Container of all HTTP parameters to be passed with the request. + See AddParameter() for explanation of the types of parameters that can be passed + + + + + Container of all the files to be uploaded with the request. + + + + + Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS + Default is GET + + + + + The Resource URL to make the request against. + Tokens are substituted with UrlSegment parameters and match by name. + Should not include the scheme or domain. Do not include leading slash. + Combined with RestClient.BaseUrl to assemble final URL: + {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) + + + // example for url token replacement + request.Resource = "Products/{ProductId}"; + request.AddParameter("ProductId", 123, ParameterType.UrlSegment); + + + + + Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. + By default XmlSerializer is used. + + + + + Used by the default deserializers to determine where to start deserializing from. + Can be used to skip container or root elements that do not have corresponding deserialzation targets. + + + + + A function to run prior to deserializing starting (e.g. change settings if error encountered) + + + + + Used by the default deserializers to explicitly set which date format string to use when parsing dates. + + + + + Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. + + + + + In general you would not need to set this directly. Used by the NtlmAuthenticator. + + + + + Gets or sets a user-defined state object that contains information about a request and which can be later + retrieved when the request completes. + + + + + Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. + + + + + The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. + + + + + How many attempts were made to send this Request? + + + This Number is incremented each time the RestClient sends the request. + Useful when using Asynchronous Execution with Callbacks + + + + + Base class for common properties shared by RestResponse and RestResponse[[T]] + + + + + Default constructor + + + + + Assists with debugging responses by displaying in the debugger output + + + + + + The RestRequest that was made to get this RestResponse + + + Mainly for debugging if ResponseStatus is not OK + + + + + MIME content type of response + + + + + Length in bytes of the response content + + + + + Encoding of the response content + + + + + String representation of response content + + + + + HTTP response status code + + + + + Description of HTTP status returned + + + + + Response content + + + + + The URL that actually responded to the content (different from request if redirected) + + + + + HttpWebResponse.Server + + + + + Cookies returned by server with the response + + + + + Headers returned by server with the response + + + + + Status of the request. Will return Error for transport errors. + HTTP errors will still return ResponseStatus.Completed, check StatusCode instead + + + + + Transport or other non-HTTP error generated while attempting request + + + + + The exception thrown during the request, if any + + + + + Container for data sent back from API including deserialized data + + Type of data to deserialize to + + + + Container for data sent back from API including deserialized data + + Type of data to deserialize to + + + + Container for data sent back from API + + + + + The RestRequest that was made to get this RestResponse + + + Mainly for debugging if ResponseStatus is not OK + + + + + MIME content type of response + + + + + Length in bytes of the response content + + + + + Encoding of the response content + + + + + String representation of response content + + + + + HTTP response status code + + + + + Description of HTTP status returned + + + + + Response content + + + + + The URL that actually responded to the content (different from request if redirected) + + + + + HttpWebResponse.Server + + + + + Cookies returned by server with the response + + + + + Headers returned by server with the response + + + + + Status of the request. Will return Error for transport errors. + HTTP errors will still return ResponseStatus.Completed, check StatusCode instead + + + + + Transport or other non-HTTP error generated while attempting request + + + + + Exceptions thrown during the request, if any. + + Will contain only network transport or framework exceptions thrown during the request. + HTTP protocol errors are handled by RestSharp and will not appear here. + + + + Deserialized entity data + + + + + Deserialized entity data + + + + + Container for data sent back from API + + + + + Represents the json array. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The capacity of the json array. + + + + The json representation of the array. + + The json representation of the array. + + + + Represents the json object. + + + + + The internal member dictionary. + + + + + Initializes a new instance of . + + + + + Initializes a new instance of . + + The implementation to use when comparing keys, or null to use the default for the type of the key. + + + + Adds the specified key. + + The key. + The value. + + + + Determines whether the specified key contains key. + + The key. + + true if the specified key contains key; otherwise, false. + + + + + Removes the specified key. + + The key. + + + + + Tries the get value. + + The key. + The value. + + + + + Adds the specified item. + + The item. + + + + Clears this instance. + + + + + Determines whether [contains] [the specified item]. + + The item. + + true if [contains] [the specified item]; otherwise, false. + + + + + Copies to. + + The array. + Index of the array. + + + + Removes the specified item. + + The item. + + + + + Gets the enumerator. + + + + + + Returns an enumerator that iterates through a collection. + + + An object that can be used to iterate through the collection. + + + + + Returns a json that represents the current . + + + A json that represents the current . + + + + + Gets the at the specified index. + + + + + + Gets the keys. + + The keys. + + + + Gets the values. + + The values. + + + + Gets or sets the with the specified key. + + + + + + Gets the count. + + The count. + + + + Gets a value indicating whether this instance is read only. + + + true if this instance is read only; otherwise, false. + + + + + This class encodes and decodes JSON strings. + Spec. details, see http://www.json.org/ + + JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>). + All numbers are parsed to doubles. + + + + + Parses the string json into a value + + A JSON string. + An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false + + + + Try parsing the json string into a value. + + + A JSON string. + + + The object. + + + Returns true if successfull otherwise false. + + + + + Converts a IDictionary<string,object> / IList<object> object into a JSON string + + A IDictionary<string,object> / IList<object> + Serializer strategy to use + A JSON encoded string, or null if object 'json' is not serializable + + + + Determines if a given object is numeric in any way + (can be integer, double, null, etc). + + + + + Helper methods for validating required values + + + + + Require a parameter to not be null + + Name of the parameter + Value of the parameter + + + + Helper methods for validating values + + + + + Validate an integer value is between the specified values (exclusive of min/max) + + Value to validate + Exclusive minimum value + Exclusive maximum value + + + + Validate a string length + + String to be validated + Maximum length of the string + + + + Default JSON serializer for request bodies + Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes + + + + + Default serializer + + + + + Serialize the object as JSON + + Object to serialize + JSON as String + + + + Unused for JSON Serialization + + + + + Unused for JSON Serialization + + + + + Unused for JSON Serialization + + + + + Content type for serialized content + + + + + Allows control how class and property names and values are serialized by XmlSerializer + Currently not supported with the JsonSerializer + When specified at the property level the class-level specification is overridden + + + + + Called by the attribute when NameStyle is speficied + + The string to transform + String + + + + The name to use for the serialized element + + + + + Sets the value to be serialized as an Attribute instead of an Element + + + + + The culture to use when serializing + + + + + Transforms the casing of the name based on the selected value. + + + + + The order to serialize the element. Default is int.MaxValue. + + + + + Options for transforming casing of element names + + + + + Wrapper for System.Xml.Serialization.XmlSerializer. + + + + + Default constructor, does not specify namespace + + + + + Specify the namespaced to be used when serializing + + XML namespace + + + + Serialize the object as XML + + Object to serialize + XML as string + + + + Name of the root element to use when serializing + + + + + XML namespace to use when serializing + + + + + Format string to use when serializing dates + + + + + Content type for serialized content + + + + + Encoding for serialized content + + + + + Need to subclass StringWriter in order to override Encoding + + + + + Default XML Serializer + + + + + Default constructor, does not specify namespace + + + + + Specify the namespaced to be used when serializing + + XML namespace + + + + Serialize the object as XML + + Object to serialize + XML as string + + + + Determines if a given object is numeric in any way + (can be integer, double, null, etc). + + + + + Name of the root element to use when serializing + + + + + XML namespace to use when serializing + + + + + Format string to use when serializing dates + + + + + Content type for serialized content + + + + + Extension method overload! + + + + + Save a byte array to a file + + Bytes to save + Full path to save file to + + + + Read a stream into a byte array + + Stream to read + byte[] + + + + Copies bytes from one stream to another + + The input stream. + The output stream. + + + + Converts a byte array to a string, using its byte order mark to convert it to the right encoding. + http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx + + An array of bytes to convert + The byte as a string. + + + + Reflection extensions + + + + + Retrieve an attribute from a member (property) + + Type of attribute to retrieve + Member to retrieve attribute from + + + + + Retrieve an attribute from a type + + Type of attribute to retrieve + Type to retrieve attribute from + + + + + Checks a type to see if it derives from a raw generic (e.g. List[[]]) + + + + + + + + Find a value from a System.Enum by trying several possible variants + of the string value of the enum. + + Type of enum + Value for which to search + The culture used to calculate the name variants + + + + + XML Extension Methods + + + + + Returns the name of an element with the namespace if specified + + Element name + XML Namespace + + + + + Allows control how class and property names and values are deserialized by XmlAttributeDeserializer + + + + + The name to use for the serialized element + + + + + Sets if the property to Deserialize is an Attribute or Element (Default: false) + + + + + Tries to Authenticate with the credentials of the currently logged in user, or impersonate a user + + + + + Authenticate with the credentials of the currently logged in user + + + + + Authenticate by impersonation + + + + + + + Authenticate by impersonation, using an existing ICredentials instance + + + + + + Uses Uri.EscapeDataString() based on recommendations on MSDN + http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx + + + + + Check that a string is not null or empty + + String to check + bool + + + + Remove underscores from a string + + String to process + string + + + + Parses most common JSON date formats + + JSON value to parse + + DateTime + + + + Remove leading and trailing " from a string + + String to parse + String + + + + Checks a string to see if it matches a regex + + String to check + Pattern to match + bool + + + + Converts a string to pascal case + + String to convert + + string + + + + Converts a string to pascal case with the option to remove underscores + + String to convert + Option to remove underscores + + + + + + Converts a string to camel case + + String to convert + + String + + + + Convert the first letter of a string to lower case + + String to convert + string + + + + Checks to see if a string is all uppper case + + String to check + bool + + + + Add underscores to a pascal-cased string + + String to convert + string + + + + Add dashes to a pascal-cased string + + String to convert + string + + + + Add an undescore prefix to a pascasl-cased string + + + + + + + Add spaces to a pascal-cased string + + String to convert + string + + + + Return possible variants of a name for name matching. + + String to convert + The culture to use for conversion + IEnumerable<string> + + + + Decodes an HTML-encoded string and returns the decoded string. + + The HTML string to decode. + The decoded text. + + + + Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream. + + The HTML string to decode + The TextWriter output stream containing the decoded string. + + + + HTML-encodes a string and sends the resulting output to a TextWriter output stream. + + The string to encode. + The TextWriter output stream containing the encoded string. + + + + Comment of the cookie + + + + + Comment of the cookie + + + + + Indicates whether the cookie should be discarded at the end of the session + + + + + Domain of the cookie + + + + + Indicates whether the cookie is expired + + + + + Date and time that the cookie expires + + + + + Indicates that this cookie should only be accessed by the server + + + + + Name of the cookie + + + + + Path of the cookie + + + + + Port of the cookie + + + + + Indicates that the cookie should only be sent over secure channels + + + + + Date and time the cookie was created + + + + + Value of the cookie + + + + + Version of the cookie + + + + + + + + Base class for OAuth 2 Authenticators. + + + Since there are many ways to authenticate in OAuth2, + this is used as a base class to differentiate between + other authenticators. + + Any other OAuth2 authenticators must derive from this + abstract class. + + + + + Access token to be used when authenticating. + + + + + Initializes a new instance of the class. + + + The access token. + + + + + Gets the access token. + + + + + The OAuth 2 authenticator using URI query parameter. + + + Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2 + + + + + Initializes a new instance of the class. + + + The access token. + + + + + The OAuth 2 authenticator using the authorization request header field. + + + Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1 + + + + + Stores the Authorization header value as "[tokenType] accessToken". used for performance. + + + + + Initializes a new instance of the class. + + + The access token. + + + + + Initializes a new instance of the class. + + + The access token. + + + The token type. + + + + + All text parameters are UTF-8 encoded (per section 5.1). + + + + + + Generates a random 16-byte lowercase alphanumeric string. + + + + + + + Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT" + + + + + + + Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT" + + + A specified point in time. + + + + + The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986. + + + + + + URL encodes a string based on section 5.1 of the OAuth spec. + Namely, percent encoding with [RFC3986], avoiding unreserved characters, + upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. + + The value to escape. + The escaped value. + + The method is supposed to take on + RFC 3986 behavior if certain elements are present in a .config file. Even if this + actually worked (which in my experiments it doesn't), we can't rely on every + host actually having this configuration element present. + + + + + + + URL encodes a string based on section 5.1 of the OAuth spec. + Namely, percent encoding with [RFC3986], avoiding unreserved characters, + upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. + + + + + + + Sorts a collection of key-value pairs by name, and then value if equal, + concatenating them into a single string. This string should be encoded + prior to, or after normalization is run. + + + + + + + + Sorts a by name, and then value if equal. + + A collection of parameters to sort + A sorted parameter collection + + + + Creates a request URL suitable for making OAuth requests. + Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively. + Resulting URLs must be lower case. + + + The original request URL + + + + + Creates a request elements concatentation value to send with a request. + This is also known as the signature base. + + + + The request's HTTP method type + The request URL + The request's parameters + A signature base string + + + + Creates a signature value given a signature base and the consumer secret. + This method is used when the token secret is currently unknown. + + + The hashing method + The signature base + The consumer key + + + + + Creates a signature value given a signature base and the consumer secret. + This method is used when the token secret is currently unknown. + + + The hashing method + The treatment to use on a signature value + The signature base + The consumer key + + + + + Creates a signature value given a signature base and the consumer secret and a known token secret. + + + The hashing method + The signature base + The consumer secret + The token secret + + + + + Creates a signature value given a signature base and the consumer secret and a known token secret. + + + The hashing method + The treatment to use on a signature value + The signature base + The consumer secret + The token secret + + + + + A class to encapsulate OAuth authentication flow. + + + + + + Generates a instance to pass to an + for the purpose of requesting an + unauthorized request token. + + The HTTP method for the intended request + + + + + + Generates a instance to pass to an + for the purpose of requesting an + unauthorized request token. + + The HTTP method for the intended request + Any existing, non-OAuth query parameters desired in the request + + + + + + Generates a instance to pass to an + for the purpose of exchanging a request token + for an access token authorized by the user at the Service Provider site. + + The HTTP method for the intended request + + + + + Generates a instance to pass to an + for the purpose of exchanging a request token + for an access token authorized by the user at the Service Provider site. + + The HTTP method for the intended request + + Any existing, non-OAuth query parameters desired in the request + + + + Generates a instance to pass to an + for the purpose of exchanging user credentials + for an access token authorized by the user at the Service Provider site. + + The HTTP method for the intended request + + Any existing, non-OAuth query parameters desired in the request + + + + + + + + + + + + + Wrapper for System.Xml.Serialization.XmlSerializer. + + + + diff --git a/packages/RestSharp.105.2.3/lib/Xamarin.iOS10/RestSharp.xml b/packages/RestSharp.105.2.3/lib/Xamarin.iOS10/RestSharp.xml new file mode 100644 index 0000000..d48b003 --- /dev/null +++ b/packages/RestSharp.105.2.3/lib/Xamarin.iOS10/RestSharp.xml @@ -0,0 +1,3020 @@ + + + + RestSharp + + + + + Types of parameters that can be added to requests + + + + + Data formats + + + + + HTTP method to use when making requests + + + + + Format strings for commonly-used date formats + + + + + .NET format string for ISO 8601 date format + + + + + .NET format string for roundtrip date format + + + + + Status for responses (surprised?) + + + + + Convert a to a instance. + + The response status. + + responseStatus + + + + Container for files to be uploaded with requests + + + + + Creates a file parameter from an array of bytes. + + The parameter name to use in the request. + The data to use as the file's contents. + The filename to use in the request. + The content type to use in the request. + The + + + + Creates a file parameter from an array of bytes. + + The parameter name to use in the request. + The data to use as the file's contents. + The filename to use in the request. + The using the default content type. + + + + The length of data to be sent + + + + + Provides raw data for file + + + + + Name of the file to use when uploading + + + + + MIME content type of file + + + + + Name of the parameter + + + + + HttpWebRequest wrapper (async methods) + + + HttpWebRequest wrapper + + + HttpWebRequest wrapper (sync methods) + + + + + Always send a multipart/form-data request - even when no Files are present. + + + + + An alternative to RequestBody, for when the caller already has the byte array. + + + + + Execute an async POST-style request with the specified HTTP Method. + + + The HTTP method to execute. + + + + + Execute an async GET-style request with the specified HTTP Method. + + + The HTTP method to execute. + + + + + Creates an IHttp + + + + + + Default constructor + + + + + Execute a POST request + + + + + Execute a PUT request + + + + + Execute a GET request + + + + + Execute a HEAD request + + + + + Execute an OPTIONS request + + + + + Execute a DELETE request + + + + + Execute a PATCH request + + + + + Execute a MERGE request + + + + + Execute a GET-style request with the specified HTTP Method. + + The HTTP method to execute. + + + + + Execute a POST-style request with the specified HTTP Method. + + The HTTP method to execute. + + + + + True if this HTTP request has any HTTP parameters + + + + + True if this HTTP request has any HTTP cookies + + + + + True if a request body has been specified + + + + + True if files have been set to be uploaded + + + + + Always send a multipart/form-data request - even when no Files are present. + + + + + UserAgent to be sent with request + + + + + Timeout in milliseconds to be used for the request + + + + + The number of milliseconds before the writing or reading times out. + + + + + System.Net.ICredentials to be sent with request + + + + + The System.Net.CookieContainer to be used for the request + + + + + The method to use to write the response instead of reading into RawBytes + + + + + Collection of files to be sent with request + + + + + Whether or not HTTP 3xx response redirects should be automatically followed + + + + + X509CertificateCollection to be sent with request + + + + + Maximum number of automatic redirects to follow if FollowRedirects is true + + + + + Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) + will be sent along to the server. + + + + + HTTP headers to be sent with request + + + + + HTTP parameters (QueryString or Form values) to be sent with request + + + + + HTTP cookies to be sent with request + + + + + Request body to be sent with request + + + + + Content type of the request body. + + + + + An alternative to RequestBody, for when the caller already has the byte array. + + + + + URL to call for this request + + + + + Flag to send authorisation header with the HttpWebRequest + + + + + Proxy info to be sent with request + + + + + Caching policy for requests created with this wrapper. + + + + + Representation of an HTTP cookie + + + + + Comment of the cookie + + + + + Comment of the cookie + + + + + Indicates whether the cookie should be discarded at the end of the session + + + + + Domain of the cookie + + + + + Indicates whether the cookie is expired + + + + + Date and time that the cookie expires + + + + + Indicates that this cookie should only be accessed by the server + + + + + Name of the cookie + + + + + Path of the cookie + + + + + Port of the cookie + + + + + Indicates that the cookie should only be sent over secure channels + + + + + Date and time the cookie was created + + + + + Value of the cookie + + + + + Version of the cookie + + + + + Container for HTTP file + + + + + The length of data to be sent + + + + + Provides raw data for file + + + + + Name of the file to use when uploading + + + + + MIME content type of file + + + + + Name of the parameter + + + + + Representation of an HTTP header + + + + + Name of the header + + + + + Value of the header + + + + + Representation of an HTTP parameter (QueryString or Form value) + + + + + Name of the parameter + + + + + Value of the parameter + + + + + Content-Type of the parameter + + + + + HTTP response data + + + + + HTTP response data + + + + + MIME content type of response + + + + + Length in bytes of the response content + + + + + Encoding of the response content + + + + + String representation of response content + + + + + HTTP response status code + + + + + Description of HTTP status returned + + + + + Response content + + + + + The URL that actually responded to the content (different from request if redirected) + + + + + HttpWebResponse.Server + + + + + Headers returned by server with the response + + + + + Cookies returned by server with the response + + + + + Status of the request. Will return Error for transport errors. + HTTP errors will still return ResponseStatus.Completed, check StatusCode instead + + + + + Transport or other non-HTTP error generated while attempting request + + + + + Exception thrown when error is encountered. + + + + + Default constructor + + + + + MIME content type of response + + + + + Length in bytes of the response content + + + + + Encoding of the response content + + + + + Lazy-loaded string representation of response content + + + + + HTTP response status code + + + + + Description of HTTP status returned + + + + + Response content + + + + + The URL that actually responded to the content (different from request if redirected) + + + + + HttpWebResponse.Server + + + + + Headers returned by server with the response + + + + + Cookies returned by server with the response + + + + + Status of the request. Will return Error for transport errors. + HTTP errors will still return ResponseStatus.Completed, check StatusCode instead + + + + + Transport or other non-HTTP error generated while attempting request + + + + + Exception thrown when error is encountered. + + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + The HTTP method to execute + + + + Executes a POST-style request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + The HTTP method to execute + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + The HTTP method to execute + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + The HTTP method to execute + + + + Executes the request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes the request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes a GET-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes a GET-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes a POST-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes a POST-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes the request and callback asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Executes the request asynchronously, authenticating if needed + + Request to be executed + + + + Executes a GET-style asynchronously, authenticating if needed + + Request to be executed + + + + Executes a GET-style asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Executes a POST-style asynchronously, authenticating if needed + + Request to be executed + + + + Executes a POST-style asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + X509CertificateCollection to be sent with request + + + + + Parameter container for REST requests + + + + + Return a human-readable representation of this parameter + + String + + + + Name of the parameter + + + + + Value of the parameter + + + + + Type of the parameter + + + + + MIME content type of the parameter + + + + + Client to translate RestRequests into Http requests and process response result + + + + + Executes the request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + The HTTP method to execute + + + + Executes a POST-style request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + The HTTP method to execute + + + + Executes the request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + The HTTP method to execute + + + + Executes a POST-style request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + The HTTP method to execute + + + + Executes a GET-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes a GET-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes a POST-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes a POST-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes the request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes the request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes the request asynchronously, authenticating if needed + + Request to be executed + + + + Executes a GET-style asynchronously, authenticating if needed + + Request to be executed + + + + Executes a GET-style asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Executes a POST-style asynchronously, authenticating if needed + + Request to be executed + + + + Executes a POST-style asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Executes the request asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Default constructor that registers default content handlers + + + + + Sets the BaseUrl property for requests made by this client instance + + + + + + Sets the BaseUrl property for requests made by this client instance + + + + + + Registers a content handler to process response content + + MIME content type of the response content + Deserializer to use to process content + + + + Remove a content handler for the specified MIME content type + + MIME content type to remove + + + + Remove all content handlers + + + + + Retrieve the handler for the specified MIME content type + + MIME content type to retrieve + IDeserializer instance + + + + Assembles URL to call based on parameters, method and resource + + RestRequest to execute + Assembled System.Uri + + + + Executes the specified request and downloads the response data + + Request to execute + Response data + + + + Executes the request and returns a response, authenticating if needed + + Request to be executed + RestResponse + + + + Executes the specified request and deserializes the response content using the appropriate content handler + + Target deserialization type + Request to execute + RestResponse[[T]] with deserialized data in Data property + + + + Maximum number of redirects to follow if FollowRedirects is true + + + + + X509CertificateCollection to be sent with request + + + + + Proxy to use for requests made by this client instance. + Passed on to underlying WebRequest if set. + + + + + The cache policy to use for requests initiated by this client instance. + + + + + Default is true. Determine whether or not requests that result in + HTTP status codes of 3xx should follow returned redirect + + + + + The CookieContainer used for requests made by this client instance + + + + + UserAgent to use for requests made by this client instance + + + + + Timeout in milliseconds to use for requests made by this client instance + + + + + The number of milliseconds before the writing or reading times out. + + + + + Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked + + + + + Authenticator to use for requests made by this client instance + + + + + Combined with Request.Resource to construct URL for request + Should include scheme and domain without trailing slash. + + + client.BaseUrl = new Uri("http://example.com"); + + + + + Parameters included with every request made with this instance of RestClient + If specified in both client and request, the request wins + + + + + Executes the request and callback asynchronously, authenticating if needed + + The IRestClient this method extends + Request to be executed + Callback function to be executed upon completion + + + + Executes the request and callback asynchronously, authenticating if needed + + The IRestClient this method extends + Target deserialization type + Request to be executed + Callback function to be executed upon completion providing access to the async handle + + + + Add a parameter to use on every request made with this client instance + + The IRestClient instance + Parameter to add + + + + + Removes a parameter from the default parameters that are used on every request made with this client instance + + The IRestClient instance + The name of the parameter that needs to be removed + + + + + Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) + Used on every request made by this client instance + + The IRestClient instance + Name of the parameter + Value of the parameter + This request + + + + Adds a parameter to the request. There are four types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - RequestBody: Used by AddBody() (not recommended to use directly) + + The IRestClient instance + Name of the parameter + Value of the parameter + The type of parameter to add + This request + + + + Shortcut to AddDefaultParameter(name, value, HttpHeader) overload + + The IRestClient instance + Name of the header to add + Value of the header to add + + + + + Shortcut to AddDefaultParameter(name, value, UrlSegment) overload + + The IRestClient instance + Name of the segment to add + Value of the segment to add + + + + + Container for data used to make requests + + + + + Adds a file to the Files collection to be included with a POST or PUT request + (other methods do not support file uploads). + + The parameter name to use in the request + Full path to file to upload + The MIME type of the file to upload + This request + + + + Adds the bytes to the Files collection with the specified file name and content type + + The parameter name to use in the request + The file data + The file name to use for the uploaded file + The MIME type of the file to upload + This request + + + + Adds the bytes to the Files collection with the specified file name and content type + + The parameter name to use in the request + A function that writes directly to the stream. Should NOT close the stream. + The file name to use for the uploaded file + The MIME type of the file to upload + This request + + + + Add bytes to the Files collection as if it was a file of specific type + + A form parameter name + The file data + The file name to use for the uploaded file + Specific content type. Es: application/x-gzip + + + + + Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer + The default format is XML. Change RequestFormat if you wish to use a different serialization format. + + The object to serialize + The XML namespace to use when serializing + This request + + + + Serializes obj to data format specified by RequestFormat and adds it to the request body. + The default format is XML. Change RequestFormat if you wish to use a different serialization format. + + The object to serialize + This request + + + + Serializes obj to JSON format and adds it to the request body. + + The object to serialize + This request + + + + Serializes obj to XML format and adds it to the request body. + + The object to serialize + This request + + + + Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer + Serializes obj to XML format and passes xmlNamespace then adds it to the request body. + + The object to serialize + The XML namespace to use when serializing + This request + + + + Calls AddParameter() for all public, readable properties specified in the includedProperties list + + + request.AddObject(product, "ProductId", "Price", ...); + + The object with properties to add as parameters + The names of the properties to include + This request + + + + Calls AddParameter() for all public, readable properties of obj + + The object with properties to add as parameters + This request + + + + Add the parameter to the request + + Parameter to add + + + + + Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) + + Name of the parameter + Value of the parameter + This request + + + + Adds a parameter to the request. There are five types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - Cookie: Adds the name/value pair to the HTTP request's Cookies collection + - RequestBody: Used by AddBody() (not recommended to use directly) + + Name of the parameter + Value of the parameter + The type of parameter to add + This request + + + + Adds a parameter to the request. There are five types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - Cookie: Adds the name/value pair to the HTTP request's Cookies collection + - RequestBody: Used by AddBody() (not recommended to use directly) + + Name of the parameter + Value of the parameter + Content-Type of the parameter + The type of parameter to add + This request + + + + Shortcut to AddParameter(name, value, HttpHeader) overload + + Name of the header to add + Value of the header to add + + + + + Shortcut to AddParameter(name, value, Cookie) overload + + Name of the cookie to add + Value of the cookie to add + + + + + Shortcut to AddParameter(name, value, UrlSegment) overload + + Name of the segment to add + Value of the segment to add + + + + + Shortcut to AddParameter(name, value, QueryString) overload + + Name of the parameter to add + Value of the parameter to add + + + + + Always send a multipart/form-data request - even when no Files are present. + + + + + Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. + By default the included JsonSerializer is used (currently using JSON.NET default serialization). + + + + + Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. + By default the included XmlSerializer is used. + + + + + Set this to write response to Stream rather than reading into memory. + + + + + Container of all HTTP parameters to be passed with the request. + See AddParameter() for explanation of the types of parameters that can be passed + + + + + Container of all the files to be uploaded with the request. + + + + + Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS + Default is GET + + + + + The Resource URL to make the request against. + Tokens are substituted with UrlSegment parameters and match by name. + Should not include the scheme or domain. Do not include leading slash. + Combined with RestClient.BaseUrl to assemble final URL: + {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) + + + // example for url token replacement + request.Resource = "Products/{ProductId}"; + request.AddParameter("ProductId", 123, ParameterType.UrlSegment); + + + + + Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. + By default XmlSerializer is used. + + + + + Used by the default deserializers to determine where to start deserializing from. + Can be used to skip container or root elements that do not have corresponding deserialzation targets. + + + + + Used by the default deserializers to explicitly set which date format string to use when parsing dates. + + + + + Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. + + + + + In general you would not need to set this directly. Used by the NtlmAuthenticator. + + + + + Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. + + + + + The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. + + + + + How many attempts were made to send this Request? + + + This Number is incremented each time the RestClient sends the request. + Useful when using Asynchronous Execution with Callbacks + + + + + Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) + will be sent along to the server. The default is false. + + + + + Default constructor + + + + + Sets Method property to value of method + + Method to use for this request + + + + Sets Resource property + + Resource to use for this request + + + + Sets Resource and Method properties + + Resource to use for this request + Method to use for this request + + + + Sets Resource property + + Resource to use for this request + + + + Sets Resource and Method properties + + Resource to use for this request + Method to use for this request + + + + Adds a file to the Files collection to be included with a POST or PUT request + (other methods do not support file uploads). + + The parameter name to use in the request + Full path to file to upload + The MIME type of the file to upload + This request + + + + Adds the bytes to the Files collection with the specified file name + + The parameter name to use in the request + The file data + The file name to use for the uploaded file + The MIME type of the file to upload + This request + + + + Adds the bytes to the Files collection with the specified file name and content type + + The parameter name to use in the request + A function that writes directly to the stream. Should NOT close the stream. + The file name to use for the uploaded file + The MIME type of the file to upload + This request + + + + Add bytes to the Files collection as if it was a file of specific type + + A form parameter name + The file data + The file name to use for the uploaded file + Specific content type. Es: application/x-gzip + + + + + Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer + The default format is XML. Change RequestFormat if you wish to use a different serialization format. + + The object to serialize + The XML namespace to use when serializing + This request + + + + Serializes obj to data format specified by RequestFormat and adds it to the request body. + The default format is XML. Change RequestFormat if you wish to use a different serialization format. + + The object to serialize + This request + + + + Serializes obj to JSON format and adds it to the request body. + + The object to serialize + This request + + + + Serializes obj to XML format and adds it to the request body. + + The object to serialize + This request + + + + Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer + Serializes obj to XML format and passes xmlNamespace then adds it to the request body. + + The object to serialize + The XML namespace to use when serializing + This request + + + + Calls AddParameter() for all public, readable properties specified in the includedProperties list + + + request.AddObject(product, "ProductId", "Price", ...); + + The object with properties to add as parameters + The names of the properties to include + This request + + + + Calls AddParameter() for all public, readable properties of obj + + The object with properties to add as parameters + This request + + + + Add the parameter to the request + + Parameter to add + + + + + Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) + + Name of the parameter + Value of the parameter + This request + + + + Adds a parameter to the request. There are four types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - RequestBody: Used by AddBody() (not recommended to use directly) + + Name of the parameter + Value of the parameter + The type of parameter to add + This request + + + + Adds a parameter to the request. There are four types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - RequestBody: Used by AddBody() (not recommended to use directly) + + Name of the parameter + Value of the parameter + Content-Type of the parameter + The type of parameter to add + This request + + + + Shortcut to AddParameter(name, value, HttpHeader) overload + + Name of the header to add + Value of the header to add + + + + + Shortcut to AddParameter(name, value, Cookie) overload + + Name of the cookie to add + Value of the cookie to add + + + + + Shortcut to AddParameter(name, value, UrlSegment) overload + + Name of the segment to add + Value of the segment to add + + + + + Shortcut to AddParameter(name, value, QueryString) overload + + Name of the parameter to add + Value of the parameter to add + + + + + Internal Method so that RestClient can increase the number of attempts + + + + + Always send a multipart/form-data request - even when no Files are present. + + + + + Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. + By default the included JsonSerializer is used (currently using JSON.NET default serialization). + + + + + Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. + By default the included XmlSerializer is used. + + + + + Set this to write response to Stream rather than reading into memory. + + + + + Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) + will be sent along to the server. The default is false. + + + + + Container of all HTTP parameters to be passed with the request. + See AddParameter() for explanation of the types of parameters that can be passed + + + + + Container of all the files to be uploaded with the request. + + + + + Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS + Default is GET + + + + + The Resource URL to make the request against. + Tokens are substituted with UrlSegment parameters and match by name. + Should not include the scheme or domain. Do not include leading slash. + Combined with RestClient.BaseUrl to assemble final URL: + {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) + + + // example for url token replacement + request.Resource = "Products/{ProductId}"; + request.AddParameter("ProductId", 123, ParameterType.UrlSegment); + + + + + Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. + By default XmlSerializer is used. + + + + + Used by the default deserializers to determine where to start deserializing from. + Can be used to skip container or root elements that do not have corresponding deserialzation targets. + + + + + A function to run prior to deserializing starting (e.g. change settings if error encountered) + + + + + Used by the default deserializers to explicitly set which date format string to use when parsing dates. + + + + + Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. + + + + + In general you would not need to set this directly. Used by the NtlmAuthenticator. + + + + + Gets or sets a user-defined state object that contains information about a request and which can be later + retrieved when the request completes. + + + + + Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. + + + + + The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. + + + + + How many attempts were made to send this Request? + + + This Number is incremented each time the RestClient sends the request. + Useful when using Asynchronous Execution with Callbacks + + + + + Base class for common properties shared by RestResponse and RestResponse[[T]] + + + + + Default constructor + + + + + Assists with debugging responses by displaying in the debugger output + + + + + + The RestRequest that was made to get this RestResponse + + + Mainly for debugging if ResponseStatus is not OK + + + + + MIME content type of response + + + + + Length in bytes of the response content + + + + + Encoding of the response content + + + + + String representation of response content + + + + + HTTP response status code + + + + + Description of HTTP status returned + + + + + Response content + + + + + The URL that actually responded to the content (different from request if redirected) + + + + + HttpWebResponse.Server + + + + + Cookies returned by server with the response + + + + + Headers returned by server with the response + + + + + Status of the request. Will return Error for transport errors. + HTTP errors will still return ResponseStatus.Completed, check StatusCode instead + + + + + Transport or other non-HTTP error generated while attempting request + + + + + The exception thrown during the request, if any + + + + + Container for data sent back from API including deserialized data + + Type of data to deserialize to + + + + Container for data sent back from API including deserialized data + + Type of data to deserialize to + + + + Container for data sent back from API + + + + + The RestRequest that was made to get this RestResponse + + + Mainly for debugging if ResponseStatus is not OK + + + + + MIME content type of response + + + + + Length in bytes of the response content + + + + + Encoding of the response content + + + + + String representation of response content + + + + + HTTP response status code + + + + + Description of HTTP status returned + + + + + Response content + + + + + The URL that actually responded to the content (different from request if redirected) + + + + + HttpWebResponse.Server + + + + + Cookies returned by server with the response + + + + + Headers returned by server with the response + + + + + Status of the request. Will return Error for transport errors. + HTTP errors will still return ResponseStatus.Completed, check StatusCode instead + + + + + Transport or other non-HTTP error generated while attempting request + + + + + Exceptions thrown during the request, if any. + + Will contain only network transport or framework exceptions thrown during the request. + HTTP protocol errors are handled by RestSharp and will not appear here. + + + + Deserialized entity data + + + + + Deserialized entity data + + + + + Container for data sent back from API + + + + + Represents the json array. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The capacity of the json array. + + + + The json representation of the array. + + The json representation of the array. + + + + Represents the json object. + + + + + The internal member dictionary. + + + + + Initializes a new instance of . + + + + + Initializes a new instance of . + + The implementation to use when comparing keys, or null to use the default for the type of the key. + + + + Adds the specified key. + + The key. + The value. + + + + Determines whether the specified key contains key. + + The key. + + true if the specified key contains key; otherwise, false. + + + + + Removes the specified key. + + The key. + + + + + Tries the get value. + + The key. + The value. + + + + + Adds the specified item. + + The item. + + + + Clears this instance. + + + + + Determines whether [contains] [the specified item]. + + The item. + + true if [contains] [the specified item]; otherwise, false. + + + + + Copies to. + + The array. + Index of the array. + + + + Removes the specified item. + + The item. + + + + + Gets the enumerator. + + + + + + Returns an enumerator that iterates through a collection. + + + An object that can be used to iterate through the collection. + + + + + Returns a json that represents the current . + + + A json that represents the current . + + + + + Gets the at the specified index. + + + + + + Gets the keys. + + The keys. + + + + Gets the values. + + The values. + + + + Gets or sets the with the specified key. + + + + + + Gets the count. + + The count. + + + + Gets a value indicating whether this instance is read only. + + + true if this instance is read only; otherwise, false. + + + + + This class encodes and decodes JSON strings. + Spec. details, see http://www.json.org/ + + JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>). + All numbers are parsed to doubles. + + + + + Parses the string json into a value + + A JSON string. + An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false + + + + Try parsing the json string into a value. + + + A JSON string. + + + The object. + + + Returns true if successfull otherwise false. + + + + + Converts a IDictionary<string,object> / IList<object> object into a JSON string + + A IDictionary<string,object> / IList<object> + Serializer strategy to use + A JSON encoded string, or null if object 'json' is not serializable + + + + Determines if a given object is numeric in any way + (can be integer, double, null, etc). + + + + + Helper methods for validating required values + + + + + Require a parameter to not be null + + Name of the parameter + Value of the parameter + + + + Helper methods for validating values + + + + + Validate an integer value is between the specified values (exclusive of min/max) + + Value to validate + Exclusive minimum value + Exclusive maximum value + + + + Validate a string length + + String to be validated + Maximum length of the string + + + + Default JSON serializer for request bodies + Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes + + + + + Default serializer + + + + + Serialize the object as JSON + + Object to serialize + JSON as String + + + + Unused for JSON Serialization + + + + + Unused for JSON Serialization + + + + + Unused for JSON Serialization + + + + + Content type for serialized content + + + + + Allows control how class and property names and values are serialized by XmlSerializer + Currently not supported with the JsonSerializer + When specified at the property level the class-level specification is overridden + + + + + Called by the attribute when NameStyle is speficied + + The string to transform + String + + + + The name to use for the serialized element + + + + + Sets the value to be serialized as an Attribute instead of an Element + + + + + The culture to use when serializing + + + + + Transforms the casing of the name based on the selected value. + + + + + The order to serialize the element. Default is int.MaxValue. + + + + + Options for transforming casing of element names + + + + + Wrapper for System.Xml.Serialization.XmlSerializer. + + + + + Default constructor, does not specify namespace + + + + + Specify the namespaced to be used when serializing + + XML namespace + + + + Serialize the object as XML + + Object to serialize + XML as string + + + + Name of the root element to use when serializing + + + + + XML namespace to use when serializing + + + + + Format string to use when serializing dates + + + + + Content type for serialized content + + + + + Encoding for serialized content + + + + + Need to subclass StringWriter in order to override Encoding + + + + + Default XML Serializer + + + + + Default constructor, does not specify namespace + + + + + Specify the namespaced to be used when serializing + + XML namespace + + + + Serialize the object as XML + + Object to serialize + XML as string + + + + Determines if a given object is numeric in any way + (can be integer, double, null, etc). + + + + + Name of the root element to use when serializing + + + + + XML namespace to use when serializing + + + + + Format string to use when serializing dates + + + + + Content type for serialized content + + + + + Extension method overload! + + + + + Save a byte array to a file + + Bytes to save + Full path to save file to + + + + Read a stream into a byte array + + Stream to read + byte[] + + + + Copies bytes from one stream to another + + The input stream. + The output stream. + + + + Converts a byte array to a string, using its byte order mark to convert it to the right encoding. + http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx + + An array of bytes to convert + The byte as a string. + + + + Reflection extensions + + + + + Retrieve an attribute from a member (property) + + Type of attribute to retrieve + Member to retrieve attribute from + + + + + Retrieve an attribute from a type + + Type of attribute to retrieve + Type to retrieve attribute from + + + + + Checks a type to see if it derives from a raw generic (e.g. List[[]]) + + + + + + + + Find a value from a System.Enum by trying several possible variants + of the string value of the enum. + + Type of enum + Value for which to search + The culture used to calculate the name variants + + + + + XML Extension Methods + + + + + Returns the name of an element with the namespace if specified + + Element name + XML Namespace + + + + + Allows control how class and property names and values are deserialized by XmlAttributeDeserializer + + + + + The name to use for the serialized element + + + + + Sets if the property to Deserialize is an Attribute or Element (Default: false) + + + + + Tries to Authenticate with the credentials of the currently logged in user, or impersonate a user + + + + + Authenticate with the credentials of the currently logged in user + + + + + Authenticate by impersonation + + + + + + + Authenticate by impersonation, using an existing ICredentials instance + + + + + + Uses Uri.EscapeDataString() based on recommendations on MSDN + http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx + + + + + Check that a string is not null or empty + + String to check + bool + + + + Remove underscores from a string + + String to process + string + + + + Parses most common JSON date formats + + JSON value to parse + + DateTime + + + + Remove leading and trailing " from a string + + String to parse + String + + + + Checks a string to see if it matches a regex + + String to check + Pattern to match + bool + + + + Converts a string to pascal case + + String to convert + + string + + + + Converts a string to pascal case with the option to remove underscores + + String to convert + Option to remove underscores + + + + + + Converts a string to camel case + + String to convert + + String + + + + Convert the first letter of a string to lower case + + String to convert + string + + + + Checks to see if a string is all uppper case + + String to check + bool + + + + Add underscores to a pascal-cased string + + String to convert + string + + + + Add dashes to a pascal-cased string + + String to convert + string + + + + Add an undescore prefix to a pascasl-cased string + + + + + + + Add spaces to a pascal-cased string + + String to convert + string + + + + Return possible variants of a name for name matching. + + String to convert + The culture to use for conversion + IEnumerable<string> + + + + Decodes an HTML-encoded string and returns the decoded string. + + The HTML string to decode. + The decoded text. + + + + Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream. + + The HTML string to decode + The TextWriter output stream containing the decoded string. + + + + HTML-encodes a string and sends the resulting output to a TextWriter output stream. + + The string to encode. + The TextWriter output stream containing the encoded string. + + + + Comment of the cookie + + + + + Comment of the cookie + + + + + Indicates whether the cookie should be discarded at the end of the session + + + + + Domain of the cookie + + + + + Indicates whether the cookie is expired + + + + + Date and time that the cookie expires + + + + + Indicates that this cookie should only be accessed by the server + + + + + Name of the cookie + + + + + Path of the cookie + + + + + Port of the cookie + + + + + Indicates that the cookie should only be sent over secure channels + + + + + Date and time the cookie was created + + + + + Value of the cookie + + + + + Version of the cookie + + + + + + + + Base class for OAuth 2 Authenticators. + + + Since there are many ways to authenticate in OAuth2, + this is used as a base class to differentiate between + other authenticators. + + Any other OAuth2 authenticators must derive from this + abstract class. + + + + + Access token to be used when authenticating. + + + + + Initializes a new instance of the class. + + + The access token. + + + + + Gets the access token. + + + + + The OAuth 2 authenticator using URI query parameter. + + + Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2 + + + + + Initializes a new instance of the class. + + + The access token. + + + + + The OAuth 2 authenticator using the authorization request header field. + + + Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1 + + + + + Stores the Authorization header value as "[tokenType] accessToken". used for performance. + + + + + Initializes a new instance of the class. + + + The access token. + + + + + Initializes a new instance of the class. + + + The access token. + + + The token type. + + + + + All text parameters are UTF-8 encoded (per section 5.1). + + + + + + Generates a random 16-byte lowercase alphanumeric string. + + + + + + + Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT" + + + + + + + Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT" + + + A specified point in time. + + + + + The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986. + + + + + + URL encodes a string based on section 5.1 of the OAuth spec. + Namely, percent encoding with [RFC3986], avoiding unreserved characters, + upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. + + The value to escape. + The escaped value. + + The method is supposed to take on + RFC 3986 behavior if certain elements are present in a .config file. Even if this + actually worked (which in my experiments it doesn't), we can't rely on every + host actually having this configuration element present. + + + + + + + URL encodes a string based on section 5.1 of the OAuth spec. + Namely, percent encoding with [RFC3986], avoiding unreserved characters, + upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. + + + + + + + Sorts a collection of key-value pairs by name, and then value if equal, + concatenating them into a single string. This string should be encoded + prior to, or after normalization is run. + + + + + + + + Sorts a by name, and then value if equal. + + A collection of parameters to sort + A sorted parameter collection + + + + Creates a request URL suitable for making OAuth requests. + Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively. + Resulting URLs must be lower case. + + + The original request URL + + + + + Creates a request elements concatentation value to send with a request. + This is also known as the signature base. + + + + The request's HTTP method type + The request URL + The request's parameters + A signature base string + + + + Creates a signature value given a signature base and the consumer secret. + This method is used when the token secret is currently unknown. + + + The hashing method + The signature base + The consumer key + + + + + Creates a signature value given a signature base and the consumer secret. + This method is used when the token secret is currently unknown. + + + The hashing method + The treatment to use on a signature value + The signature base + The consumer key + + + + + Creates a signature value given a signature base and the consumer secret and a known token secret. + + + The hashing method + The signature base + The consumer secret + The token secret + + + + + Creates a signature value given a signature base and the consumer secret and a known token secret. + + + The hashing method + The treatment to use on a signature value + The signature base + The consumer secret + The token secret + + + + + A class to encapsulate OAuth authentication flow. + + + + + + Generates a instance to pass to an + for the purpose of requesting an + unauthorized request token. + + The HTTP method for the intended request + + + + + + Generates a instance to pass to an + for the purpose of requesting an + unauthorized request token. + + The HTTP method for the intended request + Any existing, non-OAuth query parameters desired in the request + + + + + + Generates a instance to pass to an + for the purpose of exchanging a request token + for an access token authorized by the user at the Service Provider site. + + The HTTP method for the intended request + + + + + Generates a instance to pass to an + for the purpose of exchanging a request token + for an access token authorized by the user at the Service Provider site. + + The HTTP method for the intended request + + Any existing, non-OAuth query parameters desired in the request + + + + Generates a instance to pass to an + for the purpose of exchanging user credentials + for an access token authorized by the user at the Service Provider site. + + The HTTP method for the intended request + + Any existing, non-OAuth query parameters desired in the request + + + + + + + + + + + + + Wrapper for System.Xml.Serialization.XmlSerializer. + + + + diff --git a/packages/RestSharp.105.2.3/lib/net35/RestSharp.xml b/packages/RestSharp.105.2.3/lib/net35/RestSharp.xml new file mode 100644 index 0000000..543b8b0 --- /dev/null +++ b/packages/RestSharp.105.2.3/lib/net35/RestSharp.xml @@ -0,0 +1,2858 @@ + + + + RestSharp + + + + + JSON WEB TOKEN (JWT) Authenticator class. + https://tools.ietf.org/html/draft-ietf-oauth-json-web-token + + + + + Tries to Authenticate with the credentials of the currently logged in user, or impersonate a user + + + + + Authenticate with the credentials of the currently logged in user + + + + + Authenticate by impersonation + + + + + + + Authenticate by impersonation, using an existing ICredentials instance + + + + + + + + + Base class for OAuth 2 Authenticators. + + + Since there are many ways to authenticate in OAuth2, + this is used as a base class to differentiate between + other authenticators. + + Any other OAuth2 authenticators must derive from this + abstract class. + + + + + Access token to be used when authenticating. + + + + + Initializes a new instance of the class. + + + The access token. + + + + + Gets the access token. + + + + + The OAuth 2 authenticator using URI query parameter. + + + Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2 + + + + + Initializes a new instance of the class. + + + The access token. + + + + + The OAuth 2 authenticator using the authorization request header field. + + + Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1 + + + + + Stores the Authorization header value as "[tokenType] accessToken". used for performance. + + + + + Initializes a new instance of the class. + + + The access token. + + + + + Initializes a new instance of the class. + + + The access token. + + + The token type. + + + + + All text parameters are UTF-8 encoded (per section 5.1). + + + + + + Generates a random 16-byte lowercase alphanumeric string. + + + + + + + Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT" + + + + + + + Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT" + + + A specified point in time. + + + + + The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986. + + + + + + URL encodes a string based on section 5.1 of the OAuth spec. + Namely, percent encoding with [RFC3986], avoiding unreserved characters, + upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. + + The value to escape. + The escaped value. + + The method is supposed to take on + RFC 3986 behavior if certain elements are present in a .config file. Even if this + actually worked (which in my experiments it doesn't), we can't rely on every + host actually having this configuration element present. + + + + + + + URL encodes a string based on section 5.1 of the OAuth spec. + Namely, percent encoding with [RFC3986], avoiding unreserved characters, + upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. + + + + + + + Sorts a collection of key-value pairs by name, and then value if equal, + concatenating them into a single string. This string should be encoded + prior to, or after normalization is run. + + + + + + + + Sorts a by name, and then value if equal. + + A collection of parameters to sort + A sorted parameter collection + + + + Creates a request URL suitable for making OAuth requests. + Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively. + Resulting URLs must be lower case. + + + The original request URL + + + + + Creates a request elements concatentation value to send with a request. + This is also known as the signature base. + + + + The request's HTTP method type + The request URL + The request's parameters + A signature base string + + + + Creates a signature value given a signature base and the consumer secret. + This method is used when the token secret is currently unknown. + + + The hashing method + The signature base + The consumer key + + + + + Creates a signature value given a signature base and the consumer secret. + This method is used when the token secret is currently unknown. + + + The hashing method + The treatment to use on a signature value + The signature base + The consumer key + + + + + Creates a signature value given a signature base and the consumer secret and a known token secret. + + + The hashing method + The signature base + The consumer secret + The token secret + + + + + Creates a signature value given a signature base and the consumer secret and a known token secret. + + + The hashing method + The treatment to use on a signature value + The signature base + The consumer secret + The token secret + + + + + A class to encapsulate OAuth authentication flow. + + + + + + Generates a instance to pass to an + for the purpose of requesting an + unauthorized request token. + + The HTTP method for the intended request + + + + + + Generates a instance to pass to an + for the purpose of requesting an + unauthorized request token. + + The HTTP method for the intended request + Any existing, non-OAuth query parameters desired in the request + + + + + + Generates a instance to pass to an + for the purpose of exchanging a request token + for an access token authorized by the user at the Service Provider site. + + The HTTP method for the intended request + + + + + Generates a instance to pass to an + for the purpose of exchanging a request token + for an access token authorized by the user at the Service Provider site. + + The HTTP method for the intended request + + Any existing, non-OAuth query parameters desired in the request + + + + Generates a instance to pass to an + for the purpose of exchanging user credentials + for an access token authorized by the user at the Service Provider site. + + The HTTP method for the intended request + + Any existing, non-OAuth query parameters desired in the request + + + + + + + + + + + + + Allows control how class and property names and values are deserialized by XmlAttributeDeserializer + + + + + The name to use for the serialized element + + + + + Sets if the property to Deserialize is an Attribute or Element (Default: false) + + + + + Decodes an HTML-encoded string and returns the decoded string. + + The HTML string to decode. + The decoded text. + + + + Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream. + + The HTML string to decode + The TextWriter output stream containing the decoded string. + + + + HTML-encodes a string and sends the resulting output to a TextWriter output stream. + + The string to encode. + The TextWriter output stream containing the encoded string. + + + + Convert a to a instance. + + The response status. + + responseStatus + + + + Executes the request and callback asynchronously, authenticating if needed + + The IRestClient this method extends + Request to be executed + Callback function to be executed upon completion + + + + Executes the request and callback asynchronously, authenticating if needed + + The IRestClient this method extends + Target deserialization type + Request to be executed + Callback function to be executed upon completion providing access to the async handle + + + + Add a parameter to use on every request made with this client instance + + The IRestClient instance + Parameter to add + + + + + Removes a parameter from the default parameters that are used on every request made with this client instance + + The IRestClient instance + The name of the parameter that needs to be removed + + + + + Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) + Used on every request made by this client instance + + The IRestClient instance + Name of the parameter + Value of the parameter + This request + + + + Adds a parameter to the request. There are four types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - RequestBody: Used by AddBody() (not recommended to use directly) + + The IRestClient instance + Name of the parameter + Value of the parameter + The type of parameter to add + This request + + + + Shortcut to AddDefaultParameter(name, value, HttpHeader) overload + + The IRestClient instance + Name of the header to add + Value of the header to add + + + + + Shortcut to AddDefaultParameter(name, value, UrlSegment) overload + + The IRestClient instance + Name of the segment to add + Value of the segment to add + + + + + Uses Uri.EscapeDataString() based on recommendations on MSDN + http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx + + + + + Check that a string is not null or empty + + String to check + bool + + + + Remove underscores from a string + + String to process + string + + + + Parses most common JSON date formats + + JSON value to parse + + DateTime + + + + Remove leading and trailing " from a string + + String to parse + String + + + + Checks a string to see if it matches a regex + + String to check + Pattern to match + bool + + + + Converts a string to pascal case + + String to convert + + string + + + + Converts a string to pascal case with the option to remove underscores + + String to convert + Option to remove underscores + + + + + + Converts a string to camel case + + String to convert + + String + + + + Convert the first letter of a string to lower case + + String to convert + string + + + + Checks to see if a string is all uppper case + + String to check + bool + + + + Add underscores to a pascal-cased string + + String to convert + string + + + + Add dashes to a pascal-cased string + + String to convert + string + + + + Add an undescore prefix to a pascasl-cased string + + + + + + + Add spaces to a pascal-cased string + + String to convert + string + + + + Return possible variants of a name for name matching. + + String to convert + The culture to use for conversion + IEnumerable<string> + + + + HttpWebRequest wrapper (sync methods) + + + HttpWebRequest wrapper + + + HttpWebRequest wrapper (async methods) + + + + + Always send a multipart/form-data request - even when no Files are present. + + + + + An alternative to RequestBody, for when the caller already has the byte array. + + + + + Execute a POST request + + + + + Execute a PUT request + + + + + Execute a GET request + + + + + Execute a HEAD request + + + + + Execute an OPTIONS request + + + + + Execute a DELETE request + + + + + Execute a PATCH request + + + + + Execute a MERGE request + + + + + Execute a GET-style request with the specified HTTP Method. + + The HTTP method to execute. + + + + + Execute a POST-style request with the specified HTTP Method. + + The HTTP method to execute. + + + + + Creates an IHttp + + + + + + Default constructor + + + + + Execute an async POST-style request with the specified HTTP Method. + + + The HTTP method to execute. + + + + + Execute an async GET-style request with the specified HTTP Method. + + + The HTTP method to execute. + + + + + True if this HTTP request has any HTTP parameters + + + + + True if this HTTP request has any HTTP cookies + + + + + True if a request body has been specified + + + + + True if files have been set to be uploaded + + + + + Always send a multipart/form-data request - even when no Files are present. + + + + + UserAgent to be sent with request + + + + + Timeout in milliseconds to be used for the request + + + + + The number of milliseconds before the writing or reading times out. + + + + + System.Net.ICredentials to be sent with request + + + + + The System.Net.CookieContainer to be used for the request + + + + + The method to use to write the response instead of reading into RawBytes + + + + + Collection of files to be sent with request + + + + + Whether or not HTTP 3xx response redirects should be automatically followed + + + + + X509CertificateCollection to be sent with request + + + + + Maximum number of automatic redirects to follow if FollowRedirects is true + + + + + Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) + will be sent along to the server. + + + + + HTTP headers to be sent with request + + + + + HTTP parameters (QueryString or Form values) to be sent with request + + + + + HTTP cookies to be sent with request + + + + + Request body to be sent with request + + + + + Content type of the request body. + + + + + An alternative to RequestBody, for when the caller already has the byte array. + + + + + URL to call for this request + + + + + Flag to send authorisation header with the HttpWebRequest + + + + + Proxy info to be sent with request + + + + + Caching policy for requests created with this wrapper. + + + + + Representation of an HTTP cookie + + + + + Comment of the cookie + + + + + Comment of the cookie + + + + + Indicates whether the cookie should be discarded at the end of the session + + + + + Domain of the cookie + + + + + Indicates whether the cookie is expired + + + + + Date and time that the cookie expires + + + + + Indicates that this cookie should only be accessed by the server + + + + + Name of the cookie + + + + + Path of the cookie + + + + + Port of the cookie + + + + + Indicates that the cookie should only be sent over secure channels + + + + + Date and time the cookie was created + + + + + Value of the cookie + + + + + Version of the cookie + + + + + HTTP response data + + + + + HTTP response data + + + + + MIME content type of response + + + + + Length in bytes of the response content + + + + + Encoding of the response content + + + + + String representation of response content + + + + + HTTP response status code + + + + + Description of HTTP status returned + + + + + Response content + + + + + The URL that actually responded to the content (different from request if redirected) + + + + + HttpWebResponse.Server + + + + + Headers returned by server with the response + + + + + Cookies returned by server with the response + + + + + Status of the request. Will return Error for transport errors. + HTTP errors will still return ResponseStatus.Completed, check StatusCode instead + + + + + Transport or other non-HTTP error generated while attempting request + + + + + Exception thrown when error is encountered. + + + + + Default constructor + + + + + MIME content type of response + + + + + Length in bytes of the response content + + + + + Encoding of the response content + + + + + Lazy-loaded string representation of response content + + + + + HTTP response status code + + + + + Description of HTTP status returned + + + + + Response content + + + + + The URL that actually responded to the content (different from request if redirected) + + + + + HttpWebResponse.Server + + + + + Headers returned by server with the response + + + + + Cookies returned by server with the response + + + + + Status of the request. Will return Error for transport errors. + HTTP errors will still return ResponseStatus.Completed, check StatusCode instead + + + + + Transport or other non-HTTP error generated while attempting request + + + + + Exception thrown when error is encountered. + + + + + Types of parameters that can be added to requests + + + + + Data formats + + + + + HTTP method to use when making requests + + + + + Format strings for commonly-used date formats + + + + + .NET format string for ISO 8601 date format + + + + + .NET format string for roundtrip date format + + + + + Status for responses (surprised?) + + + + + Extension method overload! + + + + + Save a byte array to a file + + Bytes to save + Full path to save file to + + + + Read a stream into a byte array + + Stream to read + byte[] + + + + Copies bytes from one stream to another + + The input stream. + The output stream. + + + + Converts a byte array to a string, using its byte order mark to convert it to the right encoding. + http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx + + An array of bytes to convert + The byte as a string. + + + + Reflection extensions + + + + + Retrieve an attribute from a member (property) + + Type of attribute to retrieve + Member to retrieve attribute from + + + + + Retrieve an attribute from a type + + Type of attribute to retrieve + Type to retrieve attribute from + + + + + Checks a type to see if it derives from a raw generic (e.g. List[[]]) + + + + + + + + Find a value from a System.Enum by trying several possible variants + of the string value of the enum. + + Type of enum + Value for which to search + The culture used to calculate the name variants + + + + + XML Extension Methods + + + + + Returns the name of an element with the namespace if specified + + Element name + XML Namespace + + + + + Container for files to be uploaded with requests + + + + + Creates a file parameter from an array of bytes. + + The parameter name to use in the request. + The data to use as the file's contents. + The filename to use in the request. + The content type to use in the request. + The + + + + Creates a file parameter from an array of bytes. + + The parameter name to use in the request. + The data to use as the file's contents. + The filename to use in the request. + The using the default content type. + + + + The length of data to be sent + + + + + Provides raw data for file + + + + + Name of the file to use when uploading + + + + + MIME content type of file + + + + + Name of the parameter + + + + + Container for HTTP file + + + + + The length of data to be sent + + + + + Provides raw data for file + + + + + Name of the file to use when uploading + + + + + MIME content type of file + + + + + Name of the parameter + + + + + Representation of an HTTP header + + + + + Name of the header + + + + + Value of the header + + + + + Representation of an HTTP parameter (QueryString or Form value) + + + + + Name of the parameter + + + + + Value of the parameter + + + + + Content-Type of the parameter + + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + The HTTP method to execute + + + + Executes a POST-style request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + The HTTP method to execute + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + The HTTP method to execute + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + The HTTP method to execute + + + + X509CertificateCollection to be sent with request + + + + + Adds a file to the Files collection to be included with a POST or PUT request + (other methods do not support file uploads). + + The parameter name to use in the request + Full path to file to upload + The MIME type of the file to upload + This request + + + + Adds the bytes to the Files collection with the specified file name and content type + + The parameter name to use in the request + The file data + The file name to use for the uploaded file + The MIME type of the file to upload + This request + + + + Adds the bytes to the Files collection with the specified file name and content type + + The parameter name to use in the request + A function that writes directly to the stream. Should NOT close the stream. + The file name to use for the uploaded file + The MIME type of the file to upload + This request + + + + Add bytes to the Files collection as if it was a file of specific type + + A form parameter name + The file data + The file name to use for the uploaded file + Specific content type. Es: application/x-gzip + + + + + Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer + The default format is XML. Change RequestFormat if you wish to use a different serialization format. + + The object to serialize + The XML namespace to use when serializing + This request + + + + Serializes obj to data format specified by RequestFormat and adds it to the request body. + The default format is XML. Change RequestFormat if you wish to use a different serialization format. + + The object to serialize + This request + + + + Serializes obj to JSON format and adds it to the request body. + + The object to serialize + This request + + + + Serializes obj to XML format and adds it to the request body. + + The object to serialize + This request + + + + Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer + Serializes obj to XML format and passes xmlNamespace then adds it to the request body. + + The object to serialize + The XML namespace to use when serializing + This request + + + + Calls AddParameter() for all public, readable properties specified in the includedProperties list + + + request.AddObject(product, "ProductId", "Price", ...); + + The object with properties to add as parameters + The names of the properties to include + This request + + + + Calls AddParameter() for all public, readable properties of obj + + The object with properties to add as parameters + This request + + + + Add the parameter to the request + + Parameter to add + + + + + Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) + + Name of the parameter + Value of the parameter + This request + + + + Adds a parameter to the request. There are five types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - Cookie: Adds the name/value pair to the HTTP request's Cookies collection + - RequestBody: Used by AddBody() (not recommended to use directly) + + Name of the parameter + Value of the parameter + The type of parameter to add + This request + + + + Adds a parameter to the request. There are five types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - Cookie: Adds the name/value pair to the HTTP request's Cookies collection + - RequestBody: Used by AddBody() (not recommended to use directly) + + Name of the parameter + Value of the parameter + Content-Type of the parameter + The type of parameter to add + This request + + + + Shortcut to AddParameter(name, value, HttpHeader) overload + + Name of the header to add + Value of the header to add + + + + + Shortcut to AddParameter(name, value, Cookie) overload + + Name of the cookie to add + Value of the cookie to add + + + + + Shortcut to AddParameter(name, value, UrlSegment) overload + + Name of the segment to add + Value of the segment to add + + + + + Shortcut to AddParameter(name, value, QueryString) overload + + Name of the parameter to add + Value of the parameter to add + + + + + Always send a multipart/form-data request - even when no Files are present. + + + + + Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. + By default the included JsonSerializer is used (currently using JSON.NET default serialization). + + + + + Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. + By default the included XmlSerializer is used. + + + + + Set this to write response to Stream rather than reading into memory. + + + + + Container of all HTTP parameters to be passed with the request. + See AddParameter() for explanation of the types of parameters that can be passed + + + + + Container of all the files to be uploaded with the request. + + + + + Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS + Default is GET + + + + + The Resource URL to make the request against. + Tokens are substituted with UrlSegment parameters and match by name. + Should not include the scheme or domain. Do not include leading slash. + Combined with RestClient.BaseUrl to assemble final URL: + {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) + + + // example for url token replacement + request.Resource = "Products/{ProductId}"; + request.AddParameter("ProductId", 123, ParameterType.UrlSegment); + + + + + Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. + By default XmlSerializer is used. + + + + + Used by the default deserializers to determine where to start deserializing from. + Can be used to skip container or root elements that do not have corresponding deserialzation targets. + + + + + Used by the default deserializers to explicitly set which date format string to use when parsing dates. + + + + + Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. + + + + + In general you would not need to set this directly. Used by the NtlmAuthenticator. + + + + + Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. + + + + + The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. + + + + + How many attempts were made to send this Request? + + + This Number is incremented each time the RestClient sends the request. + Useful when using Asynchronous Execution with Callbacks + + + + + Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) + will be sent along to the server. The default is false. + + + + + Container for data sent back from API + + + + + The RestRequest that was made to get this RestResponse + + + Mainly for debugging if ResponseStatus is not OK + + + + + MIME content type of response + + + + + Length in bytes of the response content + + + + + Encoding of the response content + + + + + String representation of response content + + + + + HTTP response status code + + + + + Description of HTTP status returned + + + + + Response content + + + + + The URL that actually responded to the content (different from request if redirected) + + + + + HttpWebResponse.Server + + + + + Cookies returned by server with the response + + + + + Headers returned by server with the response + + + + + Status of the request. Will return Error for transport errors. + HTTP errors will still return ResponseStatus.Completed, check StatusCode instead + + + + + Transport or other non-HTTP error generated while attempting request + + + + + Exceptions thrown during the request, if any. + + Will contain only network transport or framework exceptions thrown during the request. + HTTP protocol errors are handled by RestSharp and will not appear here. + + + + Container for data sent back from API including deserialized data + + Type of data to deserialize to + + + + Deserialized entity data + + + + + Base class for common properties shared by RestResponse and RestResponse[[T]] + + + + + Default constructor + + + + + Assists with debugging responses by displaying in the debugger output + + + + + + The RestRequest that was made to get this RestResponse + + + Mainly for debugging if ResponseStatus is not OK + + + + + MIME content type of response + + + + + Length in bytes of the response content + + + + + Encoding of the response content + + + + + String representation of response content + + + + + HTTP response status code + + + + + Description of HTTP status returned + + + + + Response content + + + + + The URL that actually responded to the content (different from request if redirected) + + + + + HttpWebResponse.Server + + + + + Cookies returned by server with the response + + + + + Headers returned by server with the response + + + + + Status of the request. Will return Error for transport errors. + HTTP errors will still return ResponseStatus.Completed, check StatusCode instead + + + + + Transport or other non-HTTP error generated while attempting request + + + + + The exception thrown during the request, if any + + + + + Container for data sent back from API including deserialized data + + Type of data to deserialize to + + + + Deserialized entity data + + + + + Container for data sent back from API + + + + + Parameter container for REST requests + + + + + Return a human-readable representation of this parameter + + String + + + + Name of the parameter + + + + + Value of the parameter + + + + + Type of the parameter + + + + + MIME content type of the parameter + + + + + Client to translate RestRequests into Http requests and process response result + + + + + Default constructor that registers default content handlers + + + + + Sets the BaseUrl property for requests made by this client instance + + + + + + Sets the BaseUrl property for requests made by this client instance + + + + + + Registers a content handler to process response content + + MIME content type of the response content + Deserializer to use to process content + + + + Remove a content handler for the specified MIME content type + + MIME content type to remove + + + + Remove all content handlers + + + + + Retrieve the handler for the specified MIME content type + + MIME content type to retrieve + IDeserializer instance + + + + Assembles URL to call based on parameters, method and resource + + RestRequest to execute + Assembled System.Uri + + + + Executes the request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + The HTTP method to execute + + + + Executes a POST-style request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + The HTTP method to execute + + + + Executes the request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + The HTTP method to execute + + + + Executes a POST-style request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + The HTTP method to execute + + + + Executes the specified request and downloads the response data + + Request to execute + Response data + + + + Executes the request and returns a response, authenticating if needed + + Request to be executed + RestResponse + + + + Executes the specified request and deserializes the response content using the appropriate content handler + + Target deserialization type + Request to execute + RestResponse[[T]] with deserialized data in Data property + + + + Maximum number of redirects to follow if FollowRedirects is true + + + + + X509CertificateCollection to be sent with request + + + + + Proxy to use for requests made by this client instance. + Passed on to underlying WebRequest if set. + + + + + The cache policy to use for requests initiated by this client instance. + + + + + Default is true. Determine whether or not requests that result in + HTTP status codes of 3xx should follow returned redirect + + + + + The CookieContainer used for requests made by this client instance + + + + + UserAgent to use for requests made by this client instance + + + + + Timeout in milliseconds to use for requests made by this client instance + + + + + The number of milliseconds before the writing or reading times out. + + + + + Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked + + + + + Authenticator to use for requests made by this client instance + + + + + Combined with Request.Resource to construct URL for request + Should include scheme and domain without trailing slash. + + + client.BaseUrl = new Uri("http://example.com"); + + + + + Parameters included with every request made with this instance of RestClient + If specified in both client and request, the request wins + + + + + Container for data used to make requests + + + + + Default constructor + + + + + Sets Method property to value of method + + Method to use for this request + + + + Sets Resource property + + Resource to use for this request + + + + Sets Resource and Method properties + + Resource to use for this request + Method to use for this request + + + + Sets Resource property + + Resource to use for this request + + + + Sets Resource and Method properties + + Resource to use for this request + Method to use for this request + + + + Adds a file to the Files collection to be included with a POST or PUT request + (other methods do not support file uploads). + + The parameter name to use in the request + Full path to file to upload + The MIME type of the file to upload + This request + + + + Adds the bytes to the Files collection with the specified file name + + The parameter name to use in the request + The file data + The file name to use for the uploaded file + The MIME type of the file to upload + This request + + + + Adds the bytes to the Files collection with the specified file name and content type + + The parameter name to use in the request + A function that writes directly to the stream. Should NOT close the stream. + The file name to use for the uploaded file + The MIME type of the file to upload + This request + + + + Add bytes to the Files collection as if it was a file of specific type + + A form parameter name + The file data + The file name to use for the uploaded file + Specific content type. Es: application/x-gzip + + + + + Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer + The default format is XML. Change RequestFormat if you wish to use a different serialization format. + + The object to serialize + The XML namespace to use when serializing + This request + + + + Serializes obj to data format specified by RequestFormat and adds it to the request body. + The default format is XML. Change RequestFormat if you wish to use a different serialization format. + + The object to serialize + This request + + + + Serializes obj to JSON format and adds it to the request body. + + The object to serialize + This request + + + + Serializes obj to XML format and adds it to the request body. + + The object to serialize + This request + + + + Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer + Serializes obj to XML format and passes xmlNamespace then adds it to the request body. + + The object to serialize + The XML namespace to use when serializing + This request + + + + Calls AddParameter() for all public, readable properties specified in the includedProperties list + + + request.AddObject(product, "ProductId", "Price", ...); + + The object with properties to add as parameters + The names of the properties to include + This request + + + + Calls AddParameter() for all public, readable properties of obj + + The object with properties to add as parameters + This request + + + + Add the parameter to the request + + Parameter to add + + + + + Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) + + Name of the parameter + Value of the parameter + This request + + + + Adds a parameter to the request. There are four types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - RequestBody: Used by AddBody() (not recommended to use directly) + + Name of the parameter + Value of the parameter + The type of parameter to add + This request + + + + Adds a parameter to the request. There are four types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - RequestBody: Used by AddBody() (not recommended to use directly) + + Name of the parameter + Value of the parameter + Content-Type of the parameter + The type of parameter to add + This request + + + + Shortcut to AddParameter(name, value, HttpHeader) overload + + Name of the header to add + Value of the header to add + + + + + Shortcut to AddParameter(name, value, Cookie) overload + + Name of the cookie to add + Value of the cookie to add + + + + + Shortcut to AddParameter(name, value, UrlSegment) overload + + Name of the segment to add + Value of the segment to add + + + + + Shortcut to AddParameter(name, value, QueryString) overload + + Name of the parameter to add + Value of the parameter to add + + + + + Internal Method so that RestClient can increase the number of attempts + + + + + Always send a multipart/form-data request - even when no Files are present. + + + + + Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. + By default the included JsonSerializer is used (currently using JSON.NET default serialization). + + + + + Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. + By default the included XmlSerializer is used. + + + + + Set this to write response to Stream rather than reading into memory. + + + + + Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) + will be sent along to the server. The default is false. + + + + + Container of all HTTP parameters to be passed with the request. + See AddParameter() for explanation of the types of parameters that can be passed + + + + + Container of all the files to be uploaded with the request. + + + + + Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS + Default is GET + + + + + The Resource URL to make the request against. + Tokens are substituted with UrlSegment parameters and match by name. + Should not include the scheme or domain. Do not include leading slash. + Combined with RestClient.BaseUrl to assemble final URL: + {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) + + + // example for url token replacement + request.Resource = "Products/{ProductId}"; + request.AddParameter("ProductId", 123, ParameterType.UrlSegment); + + + + + Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. + By default XmlSerializer is used. + + + + + Used by the default deserializers to determine where to start deserializing from. + Can be used to skip container or root elements that do not have corresponding deserialzation targets. + + + + + A function to run prior to deserializing starting (e.g. change settings if error encountered) + + + + + Used by the default deserializers to explicitly set which date format string to use when parsing dates. + + + + + Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. + + + + + In general you would not need to set this directly. Used by the NtlmAuthenticator. + + + + + Gets or sets a user-defined state object that contains information about a request and which can be later + retrieved when the request completes. + + + + + Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. + + + + + The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. + + + + + How many attempts were made to send this Request? + + + This Number is incremented each time the RestClient sends the request. + Useful when using Asynchronous Execution with Callbacks + + + + + Comment of the cookie + + + + + Comment of the cookie + + + + + Indicates whether the cookie should be discarded at the end of the session + + + + + Domain of the cookie + + + + + Indicates whether the cookie is expired + + + + + Date and time that the cookie expires + + + + + Indicates that this cookie should only be accessed by the server + + + + + Name of the cookie + + + + + Path of the cookie + + + + + Port of the cookie + + + + + Indicates that the cookie should only be sent over secure channels + + + + + Date and time the cookie was created + + + + + Value of the cookie + + + + + Version of the cookie + + + + + Wrapper for System.Xml.Serialization.XmlSerializer. + + + + + Wrapper for System.Xml.Serialization.XmlSerializer. + + + + + Default constructor, does not specify namespace + + + + + Specify the namespaced to be used when serializing + + XML namespace + + + + Serialize the object as XML + + Object to serialize + XML as string + + + + Name of the root element to use when serializing + + + + + XML namespace to use when serializing + + + + + Format string to use when serializing dates + + + + + Content type for serialized content + + + + + Encoding for serialized content + + + + + Need to subclass StringWriter in order to override Encoding + + + + + Default JSON serializer for request bodies + Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes + + + + + Default serializer + + + + + Serialize the object as JSON + + Object to serialize + JSON as String + + + + Unused for JSON Serialization + + + + + Unused for JSON Serialization + + + + + Unused for JSON Serialization + + + + + Content type for serialized content + + + + + Allows control how class and property names and values are serialized by XmlSerializer + Currently not supported with the JsonSerializer + When specified at the property level the class-level specification is overridden + + + + + Called by the attribute when NameStyle is speficied + + The string to transform + String + + + + The name to use for the serialized element + + + + + Sets the value to be serialized as an Attribute instead of an Element + + + + + The culture to use when serializing + + + + + Transforms the casing of the name based on the selected value. + + + + + The order to serialize the element. Default is int.MaxValue. + + + + + Options for transforming casing of element names + + + + + Default XML Serializer + + + + + Default constructor, does not specify namespace + + + + + Specify the namespaced to be used when serializing + + XML namespace + + + + Serialize the object as XML + + Object to serialize + XML as string + + + + Determines if a given object is numeric in any way + (can be integer, double, null, etc). + + + + + Name of the root element to use when serializing + + + + + XML namespace to use when serializing + + + + + Format string to use when serializing dates + + + + + Content type for serialized content + + + + + Represents the json array. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The capacity of the json array. + + + + The json representation of the array. + + The json representation of the array. + + + + Represents the json object. + + + + + The internal member dictionary. + + + + + Initializes a new instance of . + + + + + Initializes a new instance of . + + The implementation to use when comparing keys, or null to use the default for the type of the key. + + + + Adds the specified key. + + The key. + The value. + + + + Determines whether the specified key contains key. + + The key. + + true if the specified key contains key; otherwise, false. + + + + + Removes the specified key. + + The key. + + + + + Tries the get value. + + The key. + The value. + + + + + Adds the specified item. + + The item. + + + + Clears this instance. + + + + + Determines whether [contains] [the specified item]. + + The item. + + true if [contains] [the specified item]; otherwise, false. + + + + + Copies to. + + The array. + Index of the array. + + + + Removes the specified item. + + The item. + + + + + Gets the enumerator. + + + + + + Returns an enumerator that iterates through a collection. + + + An object that can be used to iterate through the collection. + + + + + Returns a json that represents the current . + + + A json that represents the current . + + + + + Gets the at the specified index. + + + + + + Gets the keys. + + The keys. + + + + Gets the values. + + The values. + + + + Gets or sets the with the specified key. + + + + + + Gets the count. + + The count. + + + + Gets a value indicating whether this instance is read only. + + + true if this instance is read only; otherwise, false. + + + + + This class encodes and decodes JSON strings. + Spec. details, see http://www.json.org/ + + JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>). + All numbers are parsed to doubles. + + + + + Parses the string json into a value + + A JSON string. + An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false + + + + Try parsing the json string into a value. + + + A JSON string. + + + The object. + + + Returns true if successfull otherwise false. + + + + + Converts a IDictionary<string,object> / IList<object> object into a JSON string + + A IDictionary<string,object> / IList<object> + Serializer strategy to use + A JSON encoded string, or null if object 'json' is not serializable + + + + Determines if a given object is numeric in any way + (can be integer, double, null, etc). + + + + + Helper methods for validating values + + + + + Validate an integer value is between the specified values (exclusive of min/max) + + Value to validate + Exclusive minimum value + Exclusive maximum value + + + + Validate a string length + + String to be validated + Maximum length of the string + + + + Helper methods for validating required values + + + + + Require a parameter to not be null + + Name of the parameter + Value of the parameter + + + diff --git a/packages/RestSharp.105.2.3/lib/net4-client/RestSharp.xml b/packages/RestSharp.105.2.3/lib/net4-client/RestSharp.xml new file mode 100644 index 0000000..16ca278 --- /dev/null +++ b/packages/RestSharp.105.2.3/lib/net4-client/RestSharp.xml @@ -0,0 +1,3095 @@ + + + + RestSharp + + + + + JSON WEB TOKEN (JWT) Authenticator class. + https://tools.ietf.org/html/draft-ietf-oauth-json-web-token + + + + + Tries to Authenticate with the credentials of the currently logged in user, or impersonate a user + + + + + Authenticate with the credentials of the currently logged in user + + + + + Authenticate by impersonation + + + + + + + Authenticate by impersonation, using an existing ICredentials instance + + + + + + + + + Base class for OAuth 2 Authenticators. + + + Since there are many ways to authenticate in OAuth2, + this is used as a base class to differentiate between + other authenticators. + + Any other OAuth2 authenticators must derive from this + abstract class. + + + + + Access token to be used when authenticating. + + + + + Initializes a new instance of the class. + + + The access token. + + + + + Gets the access token. + + + + + The OAuth 2 authenticator using URI query parameter. + + + Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2 + + + + + Initializes a new instance of the class. + + + The access token. + + + + + The OAuth 2 authenticator using the authorization request header field. + + + Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1 + + + + + Stores the Authorization header value as "[tokenType] accessToken". used for performance. + + + + + Initializes a new instance of the class. + + + The access token. + + + + + Initializes a new instance of the class. + + + The access token. + + + The token type. + + + + + All text parameters are UTF-8 encoded (per section 5.1). + + + + + + Generates a random 16-byte lowercase alphanumeric string. + + + + + + + Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT" + + + + + + + Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT" + + + A specified point in time. + + + + + The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986. + + + + + + URL encodes a string based on section 5.1 of the OAuth spec. + Namely, percent encoding with [RFC3986], avoiding unreserved characters, + upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. + + The value to escape. + The escaped value. + + The method is supposed to take on + RFC 3986 behavior if certain elements are present in a .config file. Even if this + actually worked (which in my experiments it doesn't), we can't rely on every + host actually having this configuration element present. + + + + + + + URL encodes a string based on section 5.1 of the OAuth spec. + Namely, percent encoding with [RFC3986], avoiding unreserved characters, + upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. + + + + + + + Sorts a collection of key-value pairs by name, and then value if equal, + concatenating them into a single string. This string should be encoded + prior to, or after normalization is run. + + + + + + + + Sorts a by name, and then value if equal. + + A collection of parameters to sort + A sorted parameter collection + + + + Creates a request URL suitable for making OAuth requests. + Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively. + Resulting URLs must be lower case. + + + The original request URL + + + + + Creates a request elements concatentation value to send with a request. + This is also known as the signature base. + + + + The request's HTTP method type + The request URL + The request's parameters + A signature base string + + + + Creates a signature value given a signature base and the consumer secret. + This method is used when the token secret is currently unknown. + + + The hashing method + The signature base + The consumer key + + + + + Creates a signature value given a signature base and the consumer secret. + This method is used when the token secret is currently unknown. + + + The hashing method + The treatment to use on a signature value + The signature base + The consumer key + + + + + Creates a signature value given a signature base and the consumer secret and a known token secret. + + + The hashing method + The signature base + The consumer secret + The token secret + + + + + Creates a signature value given a signature base and the consumer secret and a known token secret. + + + The hashing method + The treatment to use on a signature value + The signature base + The consumer secret + The token secret + + + + + A class to encapsulate OAuth authentication flow. + + + + + + Generates a instance to pass to an + for the purpose of requesting an + unauthorized request token. + + The HTTP method for the intended request + + + + + + Generates a instance to pass to an + for the purpose of requesting an + unauthorized request token. + + The HTTP method for the intended request + Any existing, non-OAuth query parameters desired in the request + + + + + + Generates a instance to pass to an + for the purpose of exchanging a request token + for an access token authorized by the user at the Service Provider site. + + The HTTP method for the intended request + + + + + Generates a instance to pass to an + for the purpose of exchanging a request token + for an access token authorized by the user at the Service Provider site. + + The HTTP method for the intended request + + Any existing, non-OAuth query parameters desired in the request + + + + Generates a instance to pass to an + for the purpose of exchanging user credentials + for an access token authorized by the user at the Service Provider site. + + The HTTP method for the intended request + + Any existing, non-OAuth query parameters desired in the request + + + + + + + + + + + + + Allows control how class and property names and values are deserialized by XmlAttributeDeserializer + + + + + The name to use for the serialized element + + + + + Sets if the property to Deserialize is an Attribute or Element (Default: false) + + + + + Wrapper for System.Xml.Serialization.XmlSerializer. + + + + + Types of parameters that can be added to requests + + + + + Data formats + + + + + HTTP method to use when making requests + + + + + Format strings for commonly-used date formats + + + + + .NET format string for ISO 8601 date format + + + + + .NET format string for roundtrip date format + + + + + Status for responses (surprised?) + + + + + Extension method overload! + + + + + Save a byte array to a file + + Bytes to save + Full path to save file to + + + + Read a stream into a byte array + + Stream to read + byte[] + + + + Copies bytes from one stream to another + + The input stream. + The output stream. + + + + Converts a byte array to a string, using its byte order mark to convert it to the right encoding. + http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx + + An array of bytes to convert + The byte as a string. + + + + Decodes an HTML-encoded string and returns the decoded string. + + The HTML string to decode. + The decoded text. + + + + Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream. + + The HTML string to decode + The TextWriter output stream containing the decoded string. + + + + HTML-encodes a string and sends the resulting output to a TextWriter output stream. + + The string to encode. + The TextWriter output stream containing the encoded string. + + + + Reflection extensions + + + + + Retrieve an attribute from a member (property) + + Type of attribute to retrieve + Member to retrieve attribute from + + + + + Retrieve an attribute from a type + + Type of attribute to retrieve + Type to retrieve attribute from + + + + + Checks a type to see if it derives from a raw generic (e.g. List[[]]) + + + + + + + + Find a value from a System.Enum by trying several possible variants + of the string value of the enum. + + Type of enum + Value for which to search + The culture used to calculate the name variants + + + + + Convert a to a instance. + + The response status. + + responseStatus + + + + Uses Uri.EscapeDataString() based on recommendations on MSDN + http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx + + + + + Check that a string is not null or empty + + String to check + bool + + + + Remove underscores from a string + + String to process + string + + + + Parses most common JSON date formats + + JSON value to parse + + DateTime + + + + Remove leading and trailing " from a string + + String to parse + String + + + + Checks a string to see if it matches a regex + + String to check + Pattern to match + bool + + + + Converts a string to pascal case + + String to convert + + string + + + + Converts a string to pascal case with the option to remove underscores + + String to convert + Option to remove underscores + + + + + + Converts a string to camel case + + String to convert + + String + + + + Convert the first letter of a string to lower case + + String to convert + string + + + + Checks to see if a string is all uppper case + + String to check + bool + + + + Add underscores to a pascal-cased string + + String to convert + string + + + + Add dashes to a pascal-cased string + + String to convert + string + + + + Add an undescore prefix to a pascasl-cased string + + + + + + + Add spaces to a pascal-cased string + + String to convert + string + + + + Return possible variants of a name for name matching. + + String to convert + The culture to use for conversion + IEnumerable<string> + + + + XML Extension Methods + + + + + Returns the name of an element with the namespace if specified + + Element name + XML Namespace + + + + + Container for files to be uploaded with requests + + + + + Creates a file parameter from an array of bytes. + + The parameter name to use in the request. + The data to use as the file's contents. + The filename to use in the request. + The content type to use in the request. + The + + + + Creates a file parameter from an array of bytes. + + The parameter name to use in the request. + The data to use as the file's contents. + The filename to use in the request. + The using the default content type. + + + + The length of data to be sent + + + + + Provides raw data for file + + + + + Name of the file to use when uploading + + + + + MIME content type of file + + + + + Name of the parameter + + + + + HttpWebRequest wrapper (async methods) + + + HttpWebRequest wrapper + + + HttpWebRequest wrapper (sync methods) + + + + + Always send a multipart/form-data request - even when no Files are present. + + + + + An alternative to RequestBody, for when the caller already has the byte array. + + + + + Execute an async POST-style request with the specified HTTP Method. + + + The HTTP method to execute. + + + + + Execute an async GET-style request with the specified HTTP Method. + + + The HTTP method to execute. + + + + + Creates an IHttp + + + + + + Default constructor + + + + + Execute a POST request + + + + + Execute a PUT request + + + + + Execute a GET request + + + + + Execute a HEAD request + + + + + Execute an OPTIONS request + + + + + Execute a DELETE request + + + + + Execute a PATCH request + + + + + Execute a MERGE request + + + + + Execute a GET-style request with the specified HTTP Method. + + The HTTP method to execute. + + + + + Execute a POST-style request with the specified HTTP Method. + + The HTTP method to execute. + + + + + True if this HTTP request has any HTTP parameters + + + + + True if this HTTP request has any HTTP cookies + + + + + True if a request body has been specified + + + + + True if files have been set to be uploaded + + + + + Always send a multipart/form-data request - even when no Files are present. + + + + + UserAgent to be sent with request + + + + + Timeout in milliseconds to be used for the request + + + + + The number of milliseconds before the writing or reading times out. + + + + + System.Net.ICredentials to be sent with request + + + + + The System.Net.CookieContainer to be used for the request + + + + + The method to use to write the response instead of reading into RawBytes + + + + + Collection of files to be sent with request + + + + + Whether or not HTTP 3xx response redirects should be automatically followed + + + + + X509CertificateCollection to be sent with request + + + + + Maximum number of automatic redirects to follow if FollowRedirects is true + + + + + Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) + will be sent along to the server. + + + + + HTTP headers to be sent with request + + + + + HTTP parameters (QueryString or Form values) to be sent with request + + + + + HTTP cookies to be sent with request + + + + + Request body to be sent with request + + + + + Content type of the request body. + + + + + An alternative to RequestBody, for when the caller already has the byte array. + + + + + URL to call for this request + + + + + Flag to send authorisation header with the HttpWebRequest + + + + + Proxy info to be sent with request + + + + + Caching policy for requests created with this wrapper. + + + + + Representation of an HTTP cookie + + + + + Comment of the cookie + + + + + Comment of the cookie + + + + + Indicates whether the cookie should be discarded at the end of the session + + + + + Domain of the cookie + + + + + Indicates whether the cookie is expired + + + + + Date and time that the cookie expires + + + + + Indicates that this cookie should only be accessed by the server + + + + + Name of the cookie + + + + + Path of the cookie + + + + + Port of the cookie + + + + + Indicates that the cookie should only be sent over secure channels + + + + + Date and time the cookie was created + + + + + Value of the cookie + + + + + Version of the cookie + + + + + Container for HTTP file + + + + + The length of data to be sent + + + + + Provides raw data for file + + + + + Name of the file to use when uploading + + + + + MIME content type of file + + + + + Name of the parameter + + + + + Representation of an HTTP header + + + + + Name of the header + + + + + Value of the header + + + + + Representation of an HTTP parameter (QueryString or Form value) + + + + + Name of the parameter + + + + + Value of the parameter + + + + + Content-Type of the parameter + + + + + HTTP response data + + + + + HTTP response data + + + + + MIME content type of response + + + + + Length in bytes of the response content + + + + + Encoding of the response content + + + + + String representation of response content + + + + + HTTP response status code + + + + + Description of HTTP status returned + + + + + Response content + + + + + The URL that actually responded to the content (different from request if redirected) + + + + + HttpWebResponse.Server + + + + + Headers returned by server with the response + + + + + Cookies returned by server with the response + + + + + Status of the request. Will return Error for transport errors. + HTTP errors will still return ResponseStatus.Completed, check StatusCode instead + + + + + Transport or other non-HTTP error generated while attempting request + + + + + Exception thrown when error is encountered. + + + + + Default constructor + + + + + MIME content type of response + + + + + Length in bytes of the response content + + + + + Encoding of the response content + + + + + Lazy-loaded string representation of response content + + + + + HTTP response status code + + + + + Description of HTTP status returned + + + + + Response content + + + + + The URL that actually responded to the content (different from request if redirected) + + + + + HttpWebResponse.Server + + + + + Headers returned by server with the response + + + + + Cookies returned by server with the response + + + + + Status of the request. Will return Error for transport errors. + HTTP errors will still return ResponseStatus.Completed, check StatusCode instead + + + + + Transport or other non-HTTP error generated while attempting request + + + + + Exception thrown when error is encountered. + + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + The HTTP method to execute + + + + Executes a POST-style request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + The HTTP method to execute + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + The HTTP method to execute + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + The HTTP method to execute + + + + Executes the request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes the request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes a GET-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes a GET-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes a POST-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes a POST-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes the request and callback asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Executes the request asynchronously, authenticating if needed + + Request to be executed + + + + Executes a GET-style asynchronously, authenticating if needed + + Request to be executed + + + + Executes a GET-style asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Executes a POST-style asynchronously, authenticating if needed + + Request to be executed + + + + Executes a POST-style asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + X509CertificateCollection to be sent with request + + + + + Adds a file to the Files collection to be included with a POST or PUT request + (other methods do not support file uploads). + + The parameter name to use in the request + Full path to file to upload + The MIME type of the file to upload + This request + + + + Adds the bytes to the Files collection with the specified file name and content type + + The parameter name to use in the request + The file data + The file name to use for the uploaded file + The MIME type of the file to upload + This request + + + + Adds the bytes to the Files collection with the specified file name and content type + + The parameter name to use in the request + A function that writes directly to the stream. Should NOT close the stream. + The file name to use for the uploaded file + The MIME type of the file to upload + This request + + + + Add bytes to the Files collection as if it was a file of specific type + + A form parameter name + The file data + The file name to use for the uploaded file + Specific content type. Es: application/x-gzip + + + + + Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer + The default format is XML. Change RequestFormat if you wish to use a different serialization format. + + The object to serialize + The XML namespace to use when serializing + This request + + + + Serializes obj to data format specified by RequestFormat and adds it to the request body. + The default format is XML. Change RequestFormat if you wish to use a different serialization format. + + The object to serialize + This request + + + + Serializes obj to JSON format and adds it to the request body. + + The object to serialize + This request + + + + Serializes obj to XML format and adds it to the request body. + + The object to serialize + This request + + + + Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer + Serializes obj to XML format and passes xmlNamespace then adds it to the request body. + + The object to serialize + The XML namespace to use when serializing + This request + + + + Calls AddParameter() for all public, readable properties specified in the includedProperties list + + + request.AddObject(product, "ProductId", "Price", ...); + + The object with properties to add as parameters + The names of the properties to include + This request + + + + Calls AddParameter() for all public, readable properties of obj + + The object with properties to add as parameters + This request + + + + Add the parameter to the request + + Parameter to add + + + + + Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) + + Name of the parameter + Value of the parameter + This request + + + + Adds a parameter to the request. There are five types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - Cookie: Adds the name/value pair to the HTTP request's Cookies collection + - RequestBody: Used by AddBody() (not recommended to use directly) + + Name of the parameter + Value of the parameter + The type of parameter to add + This request + + + + Adds a parameter to the request. There are five types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - Cookie: Adds the name/value pair to the HTTP request's Cookies collection + - RequestBody: Used by AddBody() (not recommended to use directly) + + Name of the parameter + Value of the parameter + Content-Type of the parameter + The type of parameter to add + This request + + + + Shortcut to AddParameter(name, value, HttpHeader) overload + + Name of the header to add + Value of the header to add + + + + + Shortcut to AddParameter(name, value, Cookie) overload + + Name of the cookie to add + Value of the cookie to add + + + + + Shortcut to AddParameter(name, value, UrlSegment) overload + + Name of the segment to add + Value of the segment to add + + + + + Shortcut to AddParameter(name, value, QueryString) overload + + Name of the parameter to add + Value of the parameter to add + + + + + Always send a multipart/form-data request - even when no Files are present. + + + + + Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. + By default the included JsonSerializer is used (currently using JSON.NET default serialization). + + + + + Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. + By default the included XmlSerializer is used. + + + + + Set this to write response to Stream rather than reading into memory. + + + + + Container of all HTTP parameters to be passed with the request. + See AddParameter() for explanation of the types of parameters that can be passed + + + + + Container of all the files to be uploaded with the request. + + + + + Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS + Default is GET + + + + + The Resource URL to make the request against. + Tokens are substituted with UrlSegment parameters and match by name. + Should not include the scheme or domain. Do not include leading slash. + Combined with RestClient.BaseUrl to assemble final URL: + {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) + + + // example for url token replacement + request.Resource = "Products/{ProductId}"; + request.AddParameter("ProductId", 123, ParameterType.UrlSegment); + + + + + Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. + By default XmlSerializer is used. + + + + + Used by the default deserializers to determine where to start deserializing from. + Can be used to skip container or root elements that do not have corresponding deserialzation targets. + + + + + Used by the default deserializers to explicitly set which date format string to use when parsing dates. + + + + + Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. + + + + + In general you would not need to set this directly. Used by the NtlmAuthenticator. + + + + + Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. + + + + + The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. + + + + + How many attempts were made to send this Request? + + + This Number is incremented each time the RestClient sends the request. + Useful when using Asynchronous Execution with Callbacks + + + + + Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) + will be sent along to the server. The default is false. + + + + + Container for data sent back from API + + + + + The RestRequest that was made to get this RestResponse + + + Mainly for debugging if ResponseStatus is not OK + + + + + MIME content type of response + + + + + Length in bytes of the response content + + + + + Encoding of the response content + + + + + String representation of response content + + + + + HTTP response status code + + + + + Description of HTTP status returned + + + + + Response content + + + + + The URL that actually responded to the content (different from request if redirected) + + + + + HttpWebResponse.Server + + + + + Cookies returned by server with the response + + + + + Headers returned by server with the response + + + + + Status of the request. Will return Error for transport errors. + HTTP errors will still return ResponseStatus.Completed, check StatusCode instead + + + + + Transport or other non-HTTP error generated while attempting request + + + + + Exceptions thrown during the request, if any. + + Will contain only network transport or framework exceptions thrown during the request. + HTTP protocol errors are handled by RestSharp and will not appear here. + + + + Container for data sent back from API including deserialized data + + Type of data to deserialize to + + + + Deserialized entity data + + + + + Parameter container for REST requests + + + + + Return a human-readable representation of this parameter + + String + + + + Name of the parameter + + + + + Value of the parameter + + + + + Type of the parameter + + + + + MIME content type of the parameter + + + + + Client to translate RestRequests into Http requests and process response result + + + + + Executes the request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + The HTTP method to execute + + + + Executes a POST-style request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + The HTTP method to execute + + + + Executes the request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + The HTTP method to execute + + + + Executes a POST-style request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + The HTTP method to execute + + + + Executes a GET-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes a GET-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes a POST-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes a POST-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes the request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes the request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes the request asynchronously, authenticating if needed + + Request to be executed + + + + Executes a GET-style asynchronously, authenticating if needed + + Request to be executed + + + + Executes a GET-style asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Executes a POST-style asynchronously, authenticating if needed + + Request to be executed + + + + Executes a POST-style asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Executes the request asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Default constructor that registers default content handlers + + + + + Sets the BaseUrl property for requests made by this client instance + + + + + + Sets the BaseUrl property for requests made by this client instance + + + + + + Registers a content handler to process response content + + MIME content type of the response content + Deserializer to use to process content + + + + Remove a content handler for the specified MIME content type + + MIME content type to remove + + + + Remove all content handlers + + + + + Retrieve the handler for the specified MIME content type + + MIME content type to retrieve + IDeserializer instance + + + + Assembles URL to call based on parameters, method and resource + + RestRequest to execute + Assembled System.Uri + + + + Executes the specified request and downloads the response data + + Request to execute + Response data + + + + Executes the request and returns a response, authenticating if needed + + Request to be executed + RestResponse + + + + Executes the specified request and deserializes the response content using the appropriate content handler + + Target deserialization type + Request to execute + RestResponse[[T]] with deserialized data in Data property + + + + Maximum number of redirects to follow if FollowRedirects is true + + + + + X509CertificateCollection to be sent with request + + + + + Proxy to use for requests made by this client instance. + Passed on to underlying WebRequest if set. + + + + + The cache policy to use for requests initiated by this client instance. + + + + + Default is true. Determine whether or not requests that result in + HTTP status codes of 3xx should follow returned redirect + + + + + The CookieContainer used for requests made by this client instance + + + + + UserAgent to use for requests made by this client instance + + + + + Timeout in milliseconds to use for requests made by this client instance + + + + + The number of milliseconds before the writing or reading times out. + + + + + Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked + + + + + Authenticator to use for requests made by this client instance + + + + + Combined with Request.Resource to construct URL for request + Should include scheme and domain without trailing slash. + + + client.BaseUrl = new Uri("http://example.com"); + + + + + Parameters included with every request made with this instance of RestClient + If specified in both client and request, the request wins + + + + + Executes the request and callback asynchronously, authenticating if needed + + The IRestClient this method extends + Request to be executed + Callback function to be executed upon completion + + + + Executes the request and callback asynchronously, authenticating if needed + + The IRestClient this method extends + Target deserialization type + Request to be executed + Callback function to be executed upon completion providing access to the async handle + + + + Add a parameter to use on every request made with this client instance + + The IRestClient instance + Parameter to add + + + + + Removes a parameter from the default parameters that are used on every request made with this client instance + + The IRestClient instance + The name of the parameter that needs to be removed + + + + + Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) + Used on every request made by this client instance + + The IRestClient instance + Name of the parameter + Value of the parameter + This request + + + + Adds a parameter to the request. There are four types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - RequestBody: Used by AddBody() (not recommended to use directly) + + The IRestClient instance + Name of the parameter + Value of the parameter + The type of parameter to add + This request + + + + Shortcut to AddDefaultParameter(name, value, HttpHeader) overload + + The IRestClient instance + Name of the header to add + Value of the header to add + + + + + Shortcut to AddDefaultParameter(name, value, UrlSegment) overload + + The IRestClient instance + Name of the segment to add + Value of the segment to add + + + + + Container for data used to make requests + + + + + Default constructor + + + + + Sets Method property to value of method + + Method to use for this request + + + + Sets Resource property + + Resource to use for this request + + + + Sets Resource and Method properties + + Resource to use for this request + Method to use for this request + + + + Sets Resource property + + Resource to use for this request + + + + Sets Resource and Method properties + + Resource to use for this request + Method to use for this request + + + + Adds a file to the Files collection to be included with a POST or PUT request + (other methods do not support file uploads). + + The parameter name to use in the request + Full path to file to upload + The MIME type of the file to upload + This request + + + + Adds the bytes to the Files collection with the specified file name + + The parameter name to use in the request + The file data + The file name to use for the uploaded file + The MIME type of the file to upload + This request + + + + Adds the bytes to the Files collection with the specified file name and content type + + The parameter name to use in the request + A function that writes directly to the stream. Should NOT close the stream. + The file name to use for the uploaded file + The MIME type of the file to upload + This request + + + + Add bytes to the Files collection as if it was a file of specific type + + A form parameter name + The file data + The file name to use for the uploaded file + Specific content type. Es: application/x-gzip + + + + + Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer + The default format is XML. Change RequestFormat if you wish to use a different serialization format. + + The object to serialize + The XML namespace to use when serializing + This request + + + + Serializes obj to data format specified by RequestFormat and adds it to the request body. + The default format is XML. Change RequestFormat if you wish to use a different serialization format. + + The object to serialize + This request + + + + Serializes obj to JSON format and adds it to the request body. + + The object to serialize + This request + + + + Serializes obj to XML format and adds it to the request body. + + The object to serialize + This request + + + + Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer + Serializes obj to XML format and passes xmlNamespace then adds it to the request body. + + The object to serialize + The XML namespace to use when serializing + This request + + + + Calls AddParameter() for all public, readable properties specified in the includedProperties list + + + request.AddObject(product, "ProductId", "Price", ...); + + The object with properties to add as parameters + The names of the properties to include + This request + + + + Calls AddParameter() for all public, readable properties of obj + + The object with properties to add as parameters + This request + + + + Add the parameter to the request + + Parameter to add + + + + + Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) + + Name of the parameter + Value of the parameter + This request + + + + Adds a parameter to the request. There are four types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - RequestBody: Used by AddBody() (not recommended to use directly) + + Name of the parameter + Value of the parameter + The type of parameter to add + This request + + + + Adds a parameter to the request. There are four types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - RequestBody: Used by AddBody() (not recommended to use directly) + + Name of the parameter + Value of the parameter + Content-Type of the parameter + The type of parameter to add + This request + + + + Shortcut to AddParameter(name, value, HttpHeader) overload + + Name of the header to add + Value of the header to add + + + + + Shortcut to AddParameter(name, value, Cookie) overload + + Name of the cookie to add + Value of the cookie to add + + + + + Shortcut to AddParameter(name, value, UrlSegment) overload + + Name of the segment to add + Value of the segment to add + + + + + Shortcut to AddParameter(name, value, QueryString) overload + + Name of the parameter to add + Value of the parameter to add + + + + + Internal Method so that RestClient can increase the number of attempts + + + + + Always send a multipart/form-data request - even when no Files are present. + + + + + Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. + By default the included JsonSerializer is used (currently using JSON.NET default serialization). + + + + + Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. + By default the included XmlSerializer is used. + + + + + Set this to write response to Stream rather than reading into memory. + + + + + Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) + will be sent along to the server. The default is false. + + + + + Container of all HTTP parameters to be passed with the request. + See AddParameter() for explanation of the types of parameters that can be passed + + + + + Container of all the files to be uploaded with the request. + + + + + Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS + Default is GET + + + + + The Resource URL to make the request against. + Tokens are substituted with UrlSegment parameters and match by name. + Should not include the scheme or domain. Do not include leading slash. + Combined with RestClient.BaseUrl to assemble final URL: + {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) + + + // example for url token replacement + request.Resource = "Products/{ProductId}"; + request.AddParameter("ProductId", 123, ParameterType.UrlSegment); + + + + + Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. + By default XmlSerializer is used. + + + + + Used by the default deserializers to determine where to start deserializing from. + Can be used to skip container or root elements that do not have corresponding deserialzation targets. + + + + + A function to run prior to deserializing starting (e.g. change settings if error encountered) + + + + + Used by the default deserializers to explicitly set which date format string to use when parsing dates. + + + + + Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. + + + + + In general you would not need to set this directly. Used by the NtlmAuthenticator. + + + + + Gets or sets a user-defined state object that contains information about a request and which can be later + retrieved when the request completes. + + + + + Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. + + + + + The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. + + + + + How many attempts were made to send this Request? + + + This Number is incremented each time the RestClient sends the request. + Useful when using Asynchronous Execution with Callbacks + + + + + Base class for common properties shared by RestResponse and RestResponse[[T]] + + + + + Default constructor + + + + + Assists with debugging responses by displaying in the debugger output + + + + + + The RestRequest that was made to get this RestResponse + + + Mainly for debugging if ResponseStatus is not OK + + + + + MIME content type of response + + + + + Length in bytes of the response content + + + + + Encoding of the response content + + + + + String representation of response content + + + + + HTTP response status code + + + + + Description of HTTP status returned + + + + + Response content + + + + + The URL that actually responded to the content (different from request if redirected) + + + + + HttpWebResponse.Server + + + + + Cookies returned by server with the response + + + + + Headers returned by server with the response + + + + + Status of the request. Will return Error for transport errors. + HTTP errors will still return ResponseStatus.Completed, check StatusCode instead + + + + + Transport or other non-HTTP error generated while attempting request + + + + + The exception thrown during the request, if any + + + + + Container for data sent back from API including deserialized data + + Type of data to deserialize to + + + + Deserialized entity data + + + + + Container for data sent back from API + + + + + Comment of the cookie + + + + + Comment of the cookie + + + + + Indicates whether the cookie should be discarded at the end of the session + + + + + Domain of the cookie + + + + + Indicates whether the cookie is expired + + + + + Date and time that the cookie expires + + + + + Indicates that this cookie should only be accessed by the server + + + + + Name of the cookie + + + + + Path of the cookie + + + + + Port of the cookie + + + + + Indicates that the cookie should only be sent over secure channels + + + + + Date and time the cookie was created + + + + + Value of the cookie + + + + + Version of the cookie + + + + + Wrapper for System.Xml.Serialization.XmlSerializer. + + + + + Default constructor, does not specify namespace + + + + + Specify the namespaced to be used when serializing + + XML namespace + + + + Serialize the object as XML + + Object to serialize + XML as string + + + + Name of the root element to use when serializing + + + + + XML namespace to use when serializing + + + + + Format string to use when serializing dates + + + + + Content type for serialized content + + + + + Encoding for serialized content + + + + + Need to subclass StringWriter in order to override Encoding + + + + + Default JSON serializer for request bodies + Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes + + + + + Default serializer + + + + + Serialize the object as JSON + + Object to serialize + JSON as String + + + + Unused for JSON Serialization + + + + + Unused for JSON Serialization + + + + + Unused for JSON Serialization + + + + + Content type for serialized content + + + + + Allows control how class and property names and values are serialized by XmlSerializer + Currently not supported with the JsonSerializer + When specified at the property level the class-level specification is overridden + + + + + Called by the attribute when NameStyle is speficied + + The string to transform + String + + + + The name to use for the serialized element + + + + + Sets the value to be serialized as an Attribute instead of an Element + + + + + The culture to use when serializing + + + + + Transforms the casing of the name based on the selected value. + + + + + The order to serialize the element. Default is int.MaxValue. + + + + + Options for transforming casing of element names + + + + + Default XML Serializer + + + + + Default constructor, does not specify namespace + + + + + Specify the namespaced to be used when serializing + + XML namespace + + + + Serialize the object as XML + + Object to serialize + XML as string + + + + Determines if a given object is numeric in any way + (can be integer, double, null, etc). + + + + + Name of the root element to use when serializing + + + + + XML namespace to use when serializing + + + + + Format string to use when serializing dates + + + + + Content type for serialized content + + + + + Helper methods for validating required values + + + + + Require a parameter to not be null + + Name of the parameter + Value of the parameter + + + + Represents the json array. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The capacity of the json array. + + + + The json representation of the array. + + The json representation of the array. + + + + Represents the json object. + + + + + The internal member dictionary. + + + + + Initializes a new instance of . + + + + + Initializes a new instance of . + + The implementation to use when comparing keys, or null to use the default for the type of the key. + + + + Adds the specified key. + + The key. + The value. + + + + Determines whether the specified key contains key. + + The key. + + true if the specified key contains key; otherwise, false. + + + + + Removes the specified key. + + The key. + + + + + Tries the get value. + + The key. + The value. + + + + + Adds the specified item. + + The item. + + + + Clears this instance. + + + + + Determines whether [contains] [the specified item]. + + The item. + + true if [contains] [the specified item]; otherwise, false. + + + + + Copies to. + + The array. + Index of the array. + + + + Removes the specified item. + + The item. + + + + + Gets the enumerator. + + + + + + Returns an enumerator that iterates through a collection. + + + An object that can be used to iterate through the collection. + + + + + Returns a json that represents the current . + + + A json that represents the current . + + + + + Provides implementation for type conversion operations. Classes derived from the class can override this method to specify dynamic behavior for operations that convert an object from one type to another. + + Provides information about the conversion operation. The binder.Type property provides the type to which the object must be converted. For example, for the statement (String)sampleObject in C# (CType(sampleObject, Type) in Visual Basic), where sampleObject is an instance of the class derived from the class, binder.Type returns the type. The binder.Explicit property provides information about the kind of conversion that occurs. It returns true for explicit conversion and false for implicit conversion. + The result of the type conversion operation. + + Alwasy returns true. + + + + + Provides the implementation for operations that delete an object member. This method is not intended for use in C# or Visual Basic. + + Provides information about the deletion. + + Alwasy returns true. + + + + + Provides the implementation for operations that get a value by index. Classes derived from the class can override this method to specify dynamic behavior for indexing operations. + + Provides information about the operation. + The indexes that are used in the operation. For example, for the sampleObject[3] operation in C# (sampleObject(3) in Visual Basic), where sampleObject is derived from the DynamicObject class, is equal to 3. + The result of the index operation. + + Alwasy returns true. + + + + + Provides the implementation for operations that get member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as getting a value for a property. + + Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member on which the dynamic operation is performed. For example, for the Console.WriteLine(sampleObject.SampleProperty) statement, where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive. + The result of the get operation. For example, if the method is called for a property, you can assign the property value to . + + Alwasy returns true. + + + + + Provides the implementation for operations that set a value by index. Classes derived from the class can override this method to specify dynamic behavior for operations that access objects by a specified index. + + Provides information about the operation. + The indexes that are used in the operation. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 3. + The value to set to the object that has the specified index. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 10. + + true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown. + + + + + Provides the implementation for operations that set member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as setting a value for a property. + + Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member to which the value is being assigned. For example, for the statement sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive. + The value to set to the member. For example, for sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, the is "Test". + + true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown.) + + + + + Returns the enumeration of all dynamic member names. + + + A sequence that contains dynamic member names. + + + + + Gets the at the specified index. + + + + + + Gets the keys. + + The keys. + + + + Gets the values. + + The values. + + + + Gets or sets the with the specified key. + + + + + + Gets the count. + + The count. + + + + Gets a value indicating whether this instance is read only. + + + true if this instance is read only; otherwise, false. + + + + + This class encodes and decodes JSON strings. + Spec. details, see http://www.json.org/ + + JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>). + All numbers are parsed to doubles. + + + + + Parses the string json into a value + + A JSON string. + An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false + + + + Try parsing the json string into a value. + + + A JSON string. + + + The object. + + + Returns true if successfull otherwise false. + + + + + Converts a IDictionary<string,object> / IList<object> object into a JSON string + + A IDictionary<string,object> / IList<object> + Serializer strategy to use + A JSON encoded string, or null if object 'json' is not serializable + + + + Determines if a given object is numeric in any way + (can be integer, double, null, etc). + + + + + Helper methods for validating values + + + + + Validate an integer value is between the specified values (exclusive of min/max) + + Value to validate + Exclusive minimum value + Exclusive maximum value + + + + Validate a string length + + String to be validated + Maximum length of the string + + + diff --git a/packages/RestSharp.105.2.3/lib/net4/RestSharp.xml b/packages/RestSharp.105.2.3/lib/net4/RestSharp.xml new file mode 100644 index 0000000..16ca278 --- /dev/null +++ b/packages/RestSharp.105.2.3/lib/net4/RestSharp.xml @@ -0,0 +1,3095 @@ + + + + RestSharp + + + + + JSON WEB TOKEN (JWT) Authenticator class. + https://tools.ietf.org/html/draft-ietf-oauth-json-web-token + + + + + Tries to Authenticate with the credentials of the currently logged in user, or impersonate a user + + + + + Authenticate with the credentials of the currently logged in user + + + + + Authenticate by impersonation + + + + + + + Authenticate by impersonation, using an existing ICredentials instance + + + + + + + + + Base class for OAuth 2 Authenticators. + + + Since there are many ways to authenticate in OAuth2, + this is used as a base class to differentiate between + other authenticators. + + Any other OAuth2 authenticators must derive from this + abstract class. + + + + + Access token to be used when authenticating. + + + + + Initializes a new instance of the class. + + + The access token. + + + + + Gets the access token. + + + + + The OAuth 2 authenticator using URI query parameter. + + + Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2 + + + + + Initializes a new instance of the class. + + + The access token. + + + + + The OAuth 2 authenticator using the authorization request header field. + + + Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1 + + + + + Stores the Authorization header value as "[tokenType] accessToken". used for performance. + + + + + Initializes a new instance of the class. + + + The access token. + + + + + Initializes a new instance of the class. + + + The access token. + + + The token type. + + + + + All text parameters are UTF-8 encoded (per section 5.1). + + + + + + Generates a random 16-byte lowercase alphanumeric string. + + + + + + + Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT" + + + + + + + Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT" + + + A specified point in time. + + + + + The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986. + + + + + + URL encodes a string based on section 5.1 of the OAuth spec. + Namely, percent encoding with [RFC3986], avoiding unreserved characters, + upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. + + The value to escape. + The escaped value. + + The method is supposed to take on + RFC 3986 behavior if certain elements are present in a .config file. Even if this + actually worked (which in my experiments it doesn't), we can't rely on every + host actually having this configuration element present. + + + + + + + URL encodes a string based on section 5.1 of the OAuth spec. + Namely, percent encoding with [RFC3986], avoiding unreserved characters, + upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. + + + + + + + Sorts a collection of key-value pairs by name, and then value if equal, + concatenating them into a single string. This string should be encoded + prior to, or after normalization is run. + + + + + + + + Sorts a by name, and then value if equal. + + A collection of parameters to sort + A sorted parameter collection + + + + Creates a request URL suitable for making OAuth requests. + Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively. + Resulting URLs must be lower case. + + + The original request URL + + + + + Creates a request elements concatentation value to send with a request. + This is also known as the signature base. + + + + The request's HTTP method type + The request URL + The request's parameters + A signature base string + + + + Creates a signature value given a signature base and the consumer secret. + This method is used when the token secret is currently unknown. + + + The hashing method + The signature base + The consumer key + + + + + Creates a signature value given a signature base and the consumer secret. + This method is used when the token secret is currently unknown. + + + The hashing method + The treatment to use on a signature value + The signature base + The consumer key + + + + + Creates a signature value given a signature base and the consumer secret and a known token secret. + + + The hashing method + The signature base + The consumer secret + The token secret + + + + + Creates a signature value given a signature base and the consumer secret and a known token secret. + + + The hashing method + The treatment to use on a signature value + The signature base + The consumer secret + The token secret + + + + + A class to encapsulate OAuth authentication flow. + + + + + + Generates a instance to pass to an + for the purpose of requesting an + unauthorized request token. + + The HTTP method for the intended request + + + + + + Generates a instance to pass to an + for the purpose of requesting an + unauthorized request token. + + The HTTP method for the intended request + Any existing, non-OAuth query parameters desired in the request + + + + + + Generates a instance to pass to an + for the purpose of exchanging a request token + for an access token authorized by the user at the Service Provider site. + + The HTTP method for the intended request + + + + + Generates a instance to pass to an + for the purpose of exchanging a request token + for an access token authorized by the user at the Service Provider site. + + The HTTP method for the intended request + + Any existing, non-OAuth query parameters desired in the request + + + + Generates a instance to pass to an + for the purpose of exchanging user credentials + for an access token authorized by the user at the Service Provider site. + + The HTTP method for the intended request + + Any existing, non-OAuth query parameters desired in the request + + + + + + + + + + + + + Allows control how class and property names and values are deserialized by XmlAttributeDeserializer + + + + + The name to use for the serialized element + + + + + Sets if the property to Deserialize is an Attribute or Element (Default: false) + + + + + Wrapper for System.Xml.Serialization.XmlSerializer. + + + + + Types of parameters that can be added to requests + + + + + Data formats + + + + + HTTP method to use when making requests + + + + + Format strings for commonly-used date formats + + + + + .NET format string for ISO 8601 date format + + + + + .NET format string for roundtrip date format + + + + + Status for responses (surprised?) + + + + + Extension method overload! + + + + + Save a byte array to a file + + Bytes to save + Full path to save file to + + + + Read a stream into a byte array + + Stream to read + byte[] + + + + Copies bytes from one stream to another + + The input stream. + The output stream. + + + + Converts a byte array to a string, using its byte order mark to convert it to the right encoding. + http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx + + An array of bytes to convert + The byte as a string. + + + + Decodes an HTML-encoded string and returns the decoded string. + + The HTML string to decode. + The decoded text. + + + + Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream. + + The HTML string to decode + The TextWriter output stream containing the decoded string. + + + + HTML-encodes a string and sends the resulting output to a TextWriter output stream. + + The string to encode. + The TextWriter output stream containing the encoded string. + + + + Reflection extensions + + + + + Retrieve an attribute from a member (property) + + Type of attribute to retrieve + Member to retrieve attribute from + + + + + Retrieve an attribute from a type + + Type of attribute to retrieve + Type to retrieve attribute from + + + + + Checks a type to see if it derives from a raw generic (e.g. List[[]]) + + + + + + + + Find a value from a System.Enum by trying several possible variants + of the string value of the enum. + + Type of enum + Value for which to search + The culture used to calculate the name variants + + + + + Convert a to a instance. + + The response status. + + responseStatus + + + + Uses Uri.EscapeDataString() based on recommendations on MSDN + http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx + + + + + Check that a string is not null or empty + + String to check + bool + + + + Remove underscores from a string + + String to process + string + + + + Parses most common JSON date formats + + JSON value to parse + + DateTime + + + + Remove leading and trailing " from a string + + String to parse + String + + + + Checks a string to see if it matches a regex + + String to check + Pattern to match + bool + + + + Converts a string to pascal case + + String to convert + + string + + + + Converts a string to pascal case with the option to remove underscores + + String to convert + Option to remove underscores + + + + + + Converts a string to camel case + + String to convert + + String + + + + Convert the first letter of a string to lower case + + String to convert + string + + + + Checks to see if a string is all uppper case + + String to check + bool + + + + Add underscores to a pascal-cased string + + String to convert + string + + + + Add dashes to a pascal-cased string + + String to convert + string + + + + Add an undescore prefix to a pascasl-cased string + + + + + + + Add spaces to a pascal-cased string + + String to convert + string + + + + Return possible variants of a name for name matching. + + String to convert + The culture to use for conversion + IEnumerable<string> + + + + XML Extension Methods + + + + + Returns the name of an element with the namespace if specified + + Element name + XML Namespace + + + + + Container for files to be uploaded with requests + + + + + Creates a file parameter from an array of bytes. + + The parameter name to use in the request. + The data to use as the file's contents. + The filename to use in the request. + The content type to use in the request. + The + + + + Creates a file parameter from an array of bytes. + + The parameter name to use in the request. + The data to use as the file's contents. + The filename to use in the request. + The using the default content type. + + + + The length of data to be sent + + + + + Provides raw data for file + + + + + Name of the file to use when uploading + + + + + MIME content type of file + + + + + Name of the parameter + + + + + HttpWebRequest wrapper (async methods) + + + HttpWebRequest wrapper + + + HttpWebRequest wrapper (sync methods) + + + + + Always send a multipart/form-data request - even when no Files are present. + + + + + An alternative to RequestBody, for when the caller already has the byte array. + + + + + Execute an async POST-style request with the specified HTTP Method. + + + The HTTP method to execute. + + + + + Execute an async GET-style request with the specified HTTP Method. + + + The HTTP method to execute. + + + + + Creates an IHttp + + + + + + Default constructor + + + + + Execute a POST request + + + + + Execute a PUT request + + + + + Execute a GET request + + + + + Execute a HEAD request + + + + + Execute an OPTIONS request + + + + + Execute a DELETE request + + + + + Execute a PATCH request + + + + + Execute a MERGE request + + + + + Execute a GET-style request with the specified HTTP Method. + + The HTTP method to execute. + + + + + Execute a POST-style request with the specified HTTP Method. + + The HTTP method to execute. + + + + + True if this HTTP request has any HTTP parameters + + + + + True if this HTTP request has any HTTP cookies + + + + + True if a request body has been specified + + + + + True if files have been set to be uploaded + + + + + Always send a multipart/form-data request - even when no Files are present. + + + + + UserAgent to be sent with request + + + + + Timeout in milliseconds to be used for the request + + + + + The number of milliseconds before the writing or reading times out. + + + + + System.Net.ICredentials to be sent with request + + + + + The System.Net.CookieContainer to be used for the request + + + + + The method to use to write the response instead of reading into RawBytes + + + + + Collection of files to be sent with request + + + + + Whether or not HTTP 3xx response redirects should be automatically followed + + + + + X509CertificateCollection to be sent with request + + + + + Maximum number of automatic redirects to follow if FollowRedirects is true + + + + + Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) + will be sent along to the server. + + + + + HTTP headers to be sent with request + + + + + HTTP parameters (QueryString or Form values) to be sent with request + + + + + HTTP cookies to be sent with request + + + + + Request body to be sent with request + + + + + Content type of the request body. + + + + + An alternative to RequestBody, for when the caller already has the byte array. + + + + + URL to call for this request + + + + + Flag to send authorisation header with the HttpWebRequest + + + + + Proxy info to be sent with request + + + + + Caching policy for requests created with this wrapper. + + + + + Representation of an HTTP cookie + + + + + Comment of the cookie + + + + + Comment of the cookie + + + + + Indicates whether the cookie should be discarded at the end of the session + + + + + Domain of the cookie + + + + + Indicates whether the cookie is expired + + + + + Date and time that the cookie expires + + + + + Indicates that this cookie should only be accessed by the server + + + + + Name of the cookie + + + + + Path of the cookie + + + + + Port of the cookie + + + + + Indicates that the cookie should only be sent over secure channels + + + + + Date and time the cookie was created + + + + + Value of the cookie + + + + + Version of the cookie + + + + + Container for HTTP file + + + + + The length of data to be sent + + + + + Provides raw data for file + + + + + Name of the file to use when uploading + + + + + MIME content type of file + + + + + Name of the parameter + + + + + Representation of an HTTP header + + + + + Name of the header + + + + + Value of the header + + + + + Representation of an HTTP parameter (QueryString or Form value) + + + + + Name of the parameter + + + + + Value of the parameter + + + + + Content-Type of the parameter + + + + + HTTP response data + + + + + HTTP response data + + + + + MIME content type of response + + + + + Length in bytes of the response content + + + + + Encoding of the response content + + + + + String representation of response content + + + + + HTTP response status code + + + + + Description of HTTP status returned + + + + + Response content + + + + + The URL that actually responded to the content (different from request if redirected) + + + + + HttpWebResponse.Server + + + + + Headers returned by server with the response + + + + + Cookies returned by server with the response + + + + + Status of the request. Will return Error for transport errors. + HTTP errors will still return ResponseStatus.Completed, check StatusCode instead + + + + + Transport or other non-HTTP error generated while attempting request + + + + + Exception thrown when error is encountered. + + + + + Default constructor + + + + + MIME content type of response + + + + + Length in bytes of the response content + + + + + Encoding of the response content + + + + + Lazy-loaded string representation of response content + + + + + HTTP response status code + + + + + Description of HTTP status returned + + + + + Response content + + + + + The URL that actually responded to the content (different from request if redirected) + + + + + HttpWebResponse.Server + + + + + Headers returned by server with the response + + + + + Cookies returned by server with the response + + + + + Status of the request. Will return Error for transport errors. + HTTP errors will still return ResponseStatus.Completed, check StatusCode instead + + + + + Transport or other non-HTTP error generated while attempting request + + + + + Exception thrown when error is encountered. + + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + The HTTP method to execute + + + + Executes a POST-style request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + The HTTP method to execute + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + The HTTP method to execute + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + The HTTP method to execute + + + + Executes the request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes the request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes a GET-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes a GET-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes a POST-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes a POST-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes the request and callback asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Executes the request asynchronously, authenticating if needed + + Request to be executed + + + + Executes a GET-style asynchronously, authenticating if needed + + Request to be executed + + + + Executes a GET-style asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Executes a POST-style asynchronously, authenticating if needed + + Request to be executed + + + + Executes a POST-style asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + X509CertificateCollection to be sent with request + + + + + Adds a file to the Files collection to be included with a POST or PUT request + (other methods do not support file uploads). + + The parameter name to use in the request + Full path to file to upload + The MIME type of the file to upload + This request + + + + Adds the bytes to the Files collection with the specified file name and content type + + The parameter name to use in the request + The file data + The file name to use for the uploaded file + The MIME type of the file to upload + This request + + + + Adds the bytes to the Files collection with the specified file name and content type + + The parameter name to use in the request + A function that writes directly to the stream. Should NOT close the stream. + The file name to use for the uploaded file + The MIME type of the file to upload + This request + + + + Add bytes to the Files collection as if it was a file of specific type + + A form parameter name + The file data + The file name to use for the uploaded file + Specific content type. Es: application/x-gzip + + + + + Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer + The default format is XML. Change RequestFormat if you wish to use a different serialization format. + + The object to serialize + The XML namespace to use when serializing + This request + + + + Serializes obj to data format specified by RequestFormat and adds it to the request body. + The default format is XML. Change RequestFormat if you wish to use a different serialization format. + + The object to serialize + This request + + + + Serializes obj to JSON format and adds it to the request body. + + The object to serialize + This request + + + + Serializes obj to XML format and adds it to the request body. + + The object to serialize + This request + + + + Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer + Serializes obj to XML format and passes xmlNamespace then adds it to the request body. + + The object to serialize + The XML namespace to use when serializing + This request + + + + Calls AddParameter() for all public, readable properties specified in the includedProperties list + + + request.AddObject(product, "ProductId", "Price", ...); + + The object with properties to add as parameters + The names of the properties to include + This request + + + + Calls AddParameter() for all public, readable properties of obj + + The object with properties to add as parameters + This request + + + + Add the parameter to the request + + Parameter to add + + + + + Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) + + Name of the parameter + Value of the parameter + This request + + + + Adds a parameter to the request. There are five types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - Cookie: Adds the name/value pair to the HTTP request's Cookies collection + - RequestBody: Used by AddBody() (not recommended to use directly) + + Name of the parameter + Value of the parameter + The type of parameter to add + This request + + + + Adds a parameter to the request. There are five types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - Cookie: Adds the name/value pair to the HTTP request's Cookies collection + - RequestBody: Used by AddBody() (not recommended to use directly) + + Name of the parameter + Value of the parameter + Content-Type of the parameter + The type of parameter to add + This request + + + + Shortcut to AddParameter(name, value, HttpHeader) overload + + Name of the header to add + Value of the header to add + + + + + Shortcut to AddParameter(name, value, Cookie) overload + + Name of the cookie to add + Value of the cookie to add + + + + + Shortcut to AddParameter(name, value, UrlSegment) overload + + Name of the segment to add + Value of the segment to add + + + + + Shortcut to AddParameter(name, value, QueryString) overload + + Name of the parameter to add + Value of the parameter to add + + + + + Always send a multipart/form-data request - even when no Files are present. + + + + + Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. + By default the included JsonSerializer is used (currently using JSON.NET default serialization). + + + + + Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. + By default the included XmlSerializer is used. + + + + + Set this to write response to Stream rather than reading into memory. + + + + + Container of all HTTP parameters to be passed with the request. + See AddParameter() for explanation of the types of parameters that can be passed + + + + + Container of all the files to be uploaded with the request. + + + + + Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS + Default is GET + + + + + The Resource URL to make the request against. + Tokens are substituted with UrlSegment parameters and match by name. + Should not include the scheme or domain. Do not include leading slash. + Combined with RestClient.BaseUrl to assemble final URL: + {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) + + + // example for url token replacement + request.Resource = "Products/{ProductId}"; + request.AddParameter("ProductId", 123, ParameterType.UrlSegment); + + + + + Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. + By default XmlSerializer is used. + + + + + Used by the default deserializers to determine where to start deserializing from. + Can be used to skip container or root elements that do not have corresponding deserialzation targets. + + + + + Used by the default deserializers to explicitly set which date format string to use when parsing dates. + + + + + Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. + + + + + In general you would not need to set this directly. Used by the NtlmAuthenticator. + + + + + Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. + + + + + The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. + + + + + How many attempts were made to send this Request? + + + This Number is incremented each time the RestClient sends the request. + Useful when using Asynchronous Execution with Callbacks + + + + + Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) + will be sent along to the server. The default is false. + + + + + Container for data sent back from API + + + + + The RestRequest that was made to get this RestResponse + + + Mainly for debugging if ResponseStatus is not OK + + + + + MIME content type of response + + + + + Length in bytes of the response content + + + + + Encoding of the response content + + + + + String representation of response content + + + + + HTTP response status code + + + + + Description of HTTP status returned + + + + + Response content + + + + + The URL that actually responded to the content (different from request if redirected) + + + + + HttpWebResponse.Server + + + + + Cookies returned by server with the response + + + + + Headers returned by server with the response + + + + + Status of the request. Will return Error for transport errors. + HTTP errors will still return ResponseStatus.Completed, check StatusCode instead + + + + + Transport or other non-HTTP error generated while attempting request + + + + + Exceptions thrown during the request, if any. + + Will contain only network transport or framework exceptions thrown during the request. + HTTP protocol errors are handled by RestSharp and will not appear here. + + + + Container for data sent back from API including deserialized data + + Type of data to deserialize to + + + + Deserialized entity data + + + + + Parameter container for REST requests + + + + + Return a human-readable representation of this parameter + + String + + + + Name of the parameter + + + + + Value of the parameter + + + + + Type of the parameter + + + + + MIME content type of the parameter + + + + + Client to translate RestRequests into Http requests and process response result + + + + + Executes the request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + The HTTP method to execute + + + + Executes a POST-style request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + The HTTP method to execute + + + + Executes the request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + The HTTP method to execute + + + + Executes a POST-style request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + The HTTP method to execute + + + + Executes a GET-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes a GET-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes a POST-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes a POST-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes the request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes the request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes the request asynchronously, authenticating if needed + + Request to be executed + + + + Executes a GET-style asynchronously, authenticating if needed + + Request to be executed + + + + Executes a GET-style asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Executes a POST-style asynchronously, authenticating if needed + + Request to be executed + + + + Executes a POST-style asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Executes the request asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Default constructor that registers default content handlers + + + + + Sets the BaseUrl property for requests made by this client instance + + + + + + Sets the BaseUrl property for requests made by this client instance + + + + + + Registers a content handler to process response content + + MIME content type of the response content + Deserializer to use to process content + + + + Remove a content handler for the specified MIME content type + + MIME content type to remove + + + + Remove all content handlers + + + + + Retrieve the handler for the specified MIME content type + + MIME content type to retrieve + IDeserializer instance + + + + Assembles URL to call based on parameters, method and resource + + RestRequest to execute + Assembled System.Uri + + + + Executes the specified request and downloads the response data + + Request to execute + Response data + + + + Executes the request and returns a response, authenticating if needed + + Request to be executed + RestResponse + + + + Executes the specified request and deserializes the response content using the appropriate content handler + + Target deserialization type + Request to execute + RestResponse[[T]] with deserialized data in Data property + + + + Maximum number of redirects to follow if FollowRedirects is true + + + + + X509CertificateCollection to be sent with request + + + + + Proxy to use for requests made by this client instance. + Passed on to underlying WebRequest if set. + + + + + The cache policy to use for requests initiated by this client instance. + + + + + Default is true. Determine whether or not requests that result in + HTTP status codes of 3xx should follow returned redirect + + + + + The CookieContainer used for requests made by this client instance + + + + + UserAgent to use for requests made by this client instance + + + + + Timeout in milliseconds to use for requests made by this client instance + + + + + The number of milliseconds before the writing or reading times out. + + + + + Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked + + + + + Authenticator to use for requests made by this client instance + + + + + Combined with Request.Resource to construct URL for request + Should include scheme and domain without trailing slash. + + + client.BaseUrl = new Uri("http://example.com"); + + + + + Parameters included with every request made with this instance of RestClient + If specified in both client and request, the request wins + + + + + Executes the request and callback asynchronously, authenticating if needed + + The IRestClient this method extends + Request to be executed + Callback function to be executed upon completion + + + + Executes the request and callback asynchronously, authenticating if needed + + The IRestClient this method extends + Target deserialization type + Request to be executed + Callback function to be executed upon completion providing access to the async handle + + + + Add a parameter to use on every request made with this client instance + + The IRestClient instance + Parameter to add + + + + + Removes a parameter from the default parameters that are used on every request made with this client instance + + The IRestClient instance + The name of the parameter that needs to be removed + + + + + Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) + Used on every request made by this client instance + + The IRestClient instance + Name of the parameter + Value of the parameter + This request + + + + Adds a parameter to the request. There are four types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - RequestBody: Used by AddBody() (not recommended to use directly) + + The IRestClient instance + Name of the parameter + Value of the parameter + The type of parameter to add + This request + + + + Shortcut to AddDefaultParameter(name, value, HttpHeader) overload + + The IRestClient instance + Name of the header to add + Value of the header to add + + + + + Shortcut to AddDefaultParameter(name, value, UrlSegment) overload + + The IRestClient instance + Name of the segment to add + Value of the segment to add + + + + + Container for data used to make requests + + + + + Default constructor + + + + + Sets Method property to value of method + + Method to use for this request + + + + Sets Resource property + + Resource to use for this request + + + + Sets Resource and Method properties + + Resource to use for this request + Method to use for this request + + + + Sets Resource property + + Resource to use for this request + + + + Sets Resource and Method properties + + Resource to use for this request + Method to use for this request + + + + Adds a file to the Files collection to be included with a POST or PUT request + (other methods do not support file uploads). + + The parameter name to use in the request + Full path to file to upload + The MIME type of the file to upload + This request + + + + Adds the bytes to the Files collection with the specified file name + + The parameter name to use in the request + The file data + The file name to use for the uploaded file + The MIME type of the file to upload + This request + + + + Adds the bytes to the Files collection with the specified file name and content type + + The parameter name to use in the request + A function that writes directly to the stream. Should NOT close the stream. + The file name to use for the uploaded file + The MIME type of the file to upload + This request + + + + Add bytes to the Files collection as if it was a file of specific type + + A form parameter name + The file data + The file name to use for the uploaded file + Specific content type. Es: application/x-gzip + + + + + Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer + The default format is XML. Change RequestFormat if you wish to use a different serialization format. + + The object to serialize + The XML namespace to use when serializing + This request + + + + Serializes obj to data format specified by RequestFormat and adds it to the request body. + The default format is XML. Change RequestFormat if you wish to use a different serialization format. + + The object to serialize + This request + + + + Serializes obj to JSON format and adds it to the request body. + + The object to serialize + This request + + + + Serializes obj to XML format and adds it to the request body. + + The object to serialize + This request + + + + Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer + Serializes obj to XML format and passes xmlNamespace then adds it to the request body. + + The object to serialize + The XML namespace to use when serializing + This request + + + + Calls AddParameter() for all public, readable properties specified in the includedProperties list + + + request.AddObject(product, "ProductId", "Price", ...); + + The object with properties to add as parameters + The names of the properties to include + This request + + + + Calls AddParameter() for all public, readable properties of obj + + The object with properties to add as parameters + This request + + + + Add the parameter to the request + + Parameter to add + + + + + Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) + + Name of the parameter + Value of the parameter + This request + + + + Adds a parameter to the request. There are four types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - RequestBody: Used by AddBody() (not recommended to use directly) + + Name of the parameter + Value of the parameter + The type of parameter to add + This request + + + + Adds a parameter to the request. There are four types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - RequestBody: Used by AddBody() (not recommended to use directly) + + Name of the parameter + Value of the parameter + Content-Type of the parameter + The type of parameter to add + This request + + + + Shortcut to AddParameter(name, value, HttpHeader) overload + + Name of the header to add + Value of the header to add + + + + + Shortcut to AddParameter(name, value, Cookie) overload + + Name of the cookie to add + Value of the cookie to add + + + + + Shortcut to AddParameter(name, value, UrlSegment) overload + + Name of the segment to add + Value of the segment to add + + + + + Shortcut to AddParameter(name, value, QueryString) overload + + Name of the parameter to add + Value of the parameter to add + + + + + Internal Method so that RestClient can increase the number of attempts + + + + + Always send a multipart/form-data request - even when no Files are present. + + + + + Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. + By default the included JsonSerializer is used (currently using JSON.NET default serialization). + + + + + Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. + By default the included XmlSerializer is used. + + + + + Set this to write response to Stream rather than reading into memory. + + + + + Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) + will be sent along to the server. The default is false. + + + + + Container of all HTTP parameters to be passed with the request. + See AddParameter() for explanation of the types of parameters that can be passed + + + + + Container of all the files to be uploaded with the request. + + + + + Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS + Default is GET + + + + + The Resource URL to make the request against. + Tokens are substituted with UrlSegment parameters and match by name. + Should not include the scheme or domain. Do not include leading slash. + Combined with RestClient.BaseUrl to assemble final URL: + {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) + + + // example for url token replacement + request.Resource = "Products/{ProductId}"; + request.AddParameter("ProductId", 123, ParameterType.UrlSegment); + + + + + Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. + By default XmlSerializer is used. + + + + + Used by the default deserializers to determine where to start deserializing from. + Can be used to skip container or root elements that do not have corresponding deserialzation targets. + + + + + A function to run prior to deserializing starting (e.g. change settings if error encountered) + + + + + Used by the default deserializers to explicitly set which date format string to use when parsing dates. + + + + + Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. + + + + + In general you would not need to set this directly. Used by the NtlmAuthenticator. + + + + + Gets or sets a user-defined state object that contains information about a request and which can be later + retrieved when the request completes. + + + + + Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. + + + + + The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. + + + + + How many attempts were made to send this Request? + + + This Number is incremented each time the RestClient sends the request. + Useful when using Asynchronous Execution with Callbacks + + + + + Base class for common properties shared by RestResponse and RestResponse[[T]] + + + + + Default constructor + + + + + Assists with debugging responses by displaying in the debugger output + + + + + + The RestRequest that was made to get this RestResponse + + + Mainly for debugging if ResponseStatus is not OK + + + + + MIME content type of response + + + + + Length in bytes of the response content + + + + + Encoding of the response content + + + + + String representation of response content + + + + + HTTP response status code + + + + + Description of HTTP status returned + + + + + Response content + + + + + The URL that actually responded to the content (different from request if redirected) + + + + + HttpWebResponse.Server + + + + + Cookies returned by server with the response + + + + + Headers returned by server with the response + + + + + Status of the request. Will return Error for transport errors. + HTTP errors will still return ResponseStatus.Completed, check StatusCode instead + + + + + Transport or other non-HTTP error generated while attempting request + + + + + The exception thrown during the request, if any + + + + + Container for data sent back from API including deserialized data + + Type of data to deserialize to + + + + Deserialized entity data + + + + + Container for data sent back from API + + + + + Comment of the cookie + + + + + Comment of the cookie + + + + + Indicates whether the cookie should be discarded at the end of the session + + + + + Domain of the cookie + + + + + Indicates whether the cookie is expired + + + + + Date and time that the cookie expires + + + + + Indicates that this cookie should only be accessed by the server + + + + + Name of the cookie + + + + + Path of the cookie + + + + + Port of the cookie + + + + + Indicates that the cookie should only be sent over secure channels + + + + + Date and time the cookie was created + + + + + Value of the cookie + + + + + Version of the cookie + + + + + Wrapper for System.Xml.Serialization.XmlSerializer. + + + + + Default constructor, does not specify namespace + + + + + Specify the namespaced to be used when serializing + + XML namespace + + + + Serialize the object as XML + + Object to serialize + XML as string + + + + Name of the root element to use when serializing + + + + + XML namespace to use when serializing + + + + + Format string to use when serializing dates + + + + + Content type for serialized content + + + + + Encoding for serialized content + + + + + Need to subclass StringWriter in order to override Encoding + + + + + Default JSON serializer for request bodies + Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes + + + + + Default serializer + + + + + Serialize the object as JSON + + Object to serialize + JSON as String + + + + Unused for JSON Serialization + + + + + Unused for JSON Serialization + + + + + Unused for JSON Serialization + + + + + Content type for serialized content + + + + + Allows control how class and property names and values are serialized by XmlSerializer + Currently not supported with the JsonSerializer + When specified at the property level the class-level specification is overridden + + + + + Called by the attribute when NameStyle is speficied + + The string to transform + String + + + + The name to use for the serialized element + + + + + Sets the value to be serialized as an Attribute instead of an Element + + + + + The culture to use when serializing + + + + + Transforms the casing of the name based on the selected value. + + + + + The order to serialize the element. Default is int.MaxValue. + + + + + Options for transforming casing of element names + + + + + Default XML Serializer + + + + + Default constructor, does not specify namespace + + + + + Specify the namespaced to be used when serializing + + XML namespace + + + + Serialize the object as XML + + Object to serialize + XML as string + + + + Determines if a given object is numeric in any way + (can be integer, double, null, etc). + + + + + Name of the root element to use when serializing + + + + + XML namespace to use when serializing + + + + + Format string to use when serializing dates + + + + + Content type for serialized content + + + + + Helper methods for validating required values + + + + + Require a parameter to not be null + + Name of the parameter + Value of the parameter + + + + Represents the json array. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The capacity of the json array. + + + + The json representation of the array. + + The json representation of the array. + + + + Represents the json object. + + + + + The internal member dictionary. + + + + + Initializes a new instance of . + + + + + Initializes a new instance of . + + The implementation to use when comparing keys, or null to use the default for the type of the key. + + + + Adds the specified key. + + The key. + The value. + + + + Determines whether the specified key contains key. + + The key. + + true if the specified key contains key; otherwise, false. + + + + + Removes the specified key. + + The key. + + + + + Tries the get value. + + The key. + The value. + + + + + Adds the specified item. + + The item. + + + + Clears this instance. + + + + + Determines whether [contains] [the specified item]. + + The item. + + true if [contains] [the specified item]; otherwise, false. + + + + + Copies to. + + The array. + Index of the array. + + + + Removes the specified item. + + The item. + + + + + Gets the enumerator. + + + + + + Returns an enumerator that iterates through a collection. + + + An object that can be used to iterate through the collection. + + + + + Returns a json that represents the current . + + + A json that represents the current . + + + + + Provides implementation for type conversion operations. Classes derived from the class can override this method to specify dynamic behavior for operations that convert an object from one type to another. + + Provides information about the conversion operation. The binder.Type property provides the type to which the object must be converted. For example, for the statement (String)sampleObject in C# (CType(sampleObject, Type) in Visual Basic), where sampleObject is an instance of the class derived from the class, binder.Type returns the type. The binder.Explicit property provides information about the kind of conversion that occurs. It returns true for explicit conversion and false for implicit conversion. + The result of the type conversion operation. + + Alwasy returns true. + + + + + Provides the implementation for operations that delete an object member. This method is not intended for use in C# or Visual Basic. + + Provides information about the deletion. + + Alwasy returns true. + + + + + Provides the implementation for operations that get a value by index. Classes derived from the class can override this method to specify dynamic behavior for indexing operations. + + Provides information about the operation. + The indexes that are used in the operation. For example, for the sampleObject[3] operation in C# (sampleObject(3) in Visual Basic), where sampleObject is derived from the DynamicObject class, is equal to 3. + The result of the index operation. + + Alwasy returns true. + + + + + Provides the implementation for operations that get member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as getting a value for a property. + + Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member on which the dynamic operation is performed. For example, for the Console.WriteLine(sampleObject.SampleProperty) statement, where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive. + The result of the get operation. For example, if the method is called for a property, you can assign the property value to . + + Alwasy returns true. + + + + + Provides the implementation for operations that set a value by index. Classes derived from the class can override this method to specify dynamic behavior for operations that access objects by a specified index. + + Provides information about the operation. + The indexes that are used in the operation. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 3. + The value to set to the object that has the specified index. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 10. + + true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown. + + + + + Provides the implementation for operations that set member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as setting a value for a property. + + Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member to which the value is being assigned. For example, for the statement sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive. + The value to set to the member. For example, for sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, the is "Test". + + true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown.) + + + + + Returns the enumeration of all dynamic member names. + + + A sequence that contains dynamic member names. + + + + + Gets the at the specified index. + + + + + + Gets the keys. + + The keys. + + + + Gets the values. + + The values. + + + + Gets or sets the with the specified key. + + + + + + Gets the count. + + The count. + + + + Gets a value indicating whether this instance is read only. + + + true if this instance is read only; otherwise, false. + + + + + This class encodes and decodes JSON strings. + Spec. details, see http://www.json.org/ + + JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>). + All numbers are parsed to doubles. + + + + + Parses the string json into a value + + A JSON string. + An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false + + + + Try parsing the json string into a value. + + + A JSON string. + + + The object. + + + Returns true if successfull otherwise false. + + + + + Converts a IDictionary<string,object> / IList<object> object into a JSON string + + A IDictionary<string,object> / IList<object> + Serializer strategy to use + A JSON encoded string, or null if object 'json' is not serializable + + + + Determines if a given object is numeric in any way + (can be integer, double, null, etc). + + + + + Helper methods for validating values + + + + + Validate an integer value is between the specified values (exclusive of min/max) + + Value to validate + Exclusive minimum value + Exclusive maximum value + + + + Validate a string length + + String to be validated + Maximum length of the string + + + diff --git a/packages/RestSharp.105.2.3/lib/net45/RestSharp.xml b/packages/RestSharp.105.2.3/lib/net45/RestSharp.xml new file mode 100644 index 0000000..16ca278 --- /dev/null +++ b/packages/RestSharp.105.2.3/lib/net45/RestSharp.xml @@ -0,0 +1,3095 @@ + + + + RestSharp + + + + + JSON WEB TOKEN (JWT) Authenticator class. + https://tools.ietf.org/html/draft-ietf-oauth-json-web-token + + + + + Tries to Authenticate with the credentials of the currently logged in user, or impersonate a user + + + + + Authenticate with the credentials of the currently logged in user + + + + + Authenticate by impersonation + + + + + + + Authenticate by impersonation, using an existing ICredentials instance + + + + + + + + + Base class for OAuth 2 Authenticators. + + + Since there are many ways to authenticate in OAuth2, + this is used as a base class to differentiate between + other authenticators. + + Any other OAuth2 authenticators must derive from this + abstract class. + + + + + Access token to be used when authenticating. + + + + + Initializes a new instance of the class. + + + The access token. + + + + + Gets the access token. + + + + + The OAuth 2 authenticator using URI query parameter. + + + Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2 + + + + + Initializes a new instance of the class. + + + The access token. + + + + + The OAuth 2 authenticator using the authorization request header field. + + + Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1 + + + + + Stores the Authorization header value as "[tokenType] accessToken". used for performance. + + + + + Initializes a new instance of the class. + + + The access token. + + + + + Initializes a new instance of the class. + + + The access token. + + + The token type. + + + + + All text parameters are UTF-8 encoded (per section 5.1). + + + + + + Generates a random 16-byte lowercase alphanumeric string. + + + + + + + Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT" + + + + + + + Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT" + + + A specified point in time. + + + + + The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986. + + + + + + URL encodes a string based on section 5.1 of the OAuth spec. + Namely, percent encoding with [RFC3986], avoiding unreserved characters, + upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. + + The value to escape. + The escaped value. + + The method is supposed to take on + RFC 3986 behavior if certain elements are present in a .config file. Even if this + actually worked (which in my experiments it doesn't), we can't rely on every + host actually having this configuration element present. + + + + + + + URL encodes a string based on section 5.1 of the OAuth spec. + Namely, percent encoding with [RFC3986], avoiding unreserved characters, + upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. + + + + + + + Sorts a collection of key-value pairs by name, and then value if equal, + concatenating them into a single string. This string should be encoded + prior to, or after normalization is run. + + + + + + + + Sorts a by name, and then value if equal. + + A collection of parameters to sort + A sorted parameter collection + + + + Creates a request URL suitable for making OAuth requests. + Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively. + Resulting URLs must be lower case. + + + The original request URL + + + + + Creates a request elements concatentation value to send with a request. + This is also known as the signature base. + + + + The request's HTTP method type + The request URL + The request's parameters + A signature base string + + + + Creates a signature value given a signature base and the consumer secret. + This method is used when the token secret is currently unknown. + + + The hashing method + The signature base + The consumer key + + + + + Creates a signature value given a signature base and the consumer secret. + This method is used when the token secret is currently unknown. + + + The hashing method + The treatment to use on a signature value + The signature base + The consumer key + + + + + Creates a signature value given a signature base and the consumer secret and a known token secret. + + + The hashing method + The signature base + The consumer secret + The token secret + + + + + Creates a signature value given a signature base and the consumer secret and a known token secret. + + + The hashing method + The treatment to use on a signature value + The signature base + The consumer secret + The token secret + + + + + A class to encapsulate OAuth authentication flow. + + + + + + Generates a instance to pass to an + for the purpose of requesting an + unauthorized request token. + + The HTTP method for the intended request + + + + + + Generates a instance to pass to an + for the purpose of requesting an + unauthorized request token. + + The HTTP method for the intended request + Any existing, non-OAuth query parameters desired in the request + + + + + + Generates a instance to pass to an + for the purpose of exchanging a request token + for an access token authorized by the user at the Service Provider site. + + The HTTP method for the intended request + + + + + Generates a instance to pass to an + for the purpose of exchanging a request token + for an access token authorized by the user at the Service Provider site. + + The HTTP method for the intended request + + Any existing, non-OAuth query parameters desired in the request + + + + Generates a instance to pass to an + for the purpose of exchanging user credentials + for an access token authorized by the user at the Service Provider site. + + The HTTP method for the intended request + + Any existing, non-OAuth query parameters desired in the request + + + + + + + + + + + + + Allows control how class and property names and values are deserialized by XmlAttributeDeserializer + + + + + The name to use for the serialized element + + + + + Sets if the property to Deserialize is an Attribute or Element (Default: false) + + + + + Wrapper for System.Xml.Serialization.XmlSerializer. + + + + + Types of parameters that can be added to requests + + + + + Data formats + + + + + HTTP method to use when making requests + + + + + Format strings for commonly-used date formats + + + + + .NET format string for ISO 8601 date format + + + + + .NET format string for roundtrip date format + + + + + Status for responses (surprised?) + + + + + Extension method overload! + + + + + Save a byte array to a file + + Bytes to save + Full path to save file to + + + + Read a stream into a byte array + + Stream to read + byte[] + + + + Copies bytes from one stream to another + + The input stream. + The output stream. + + + + Converts a byte array to a string, using its byte order mark to convert it to the right encoding. + http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx + + An array of bytes to convert + The byte as a string. + + + + Decodes an HTML-encoded string and returns the decoded string. + + The HTML string to decode. + The decoded text. + + + + Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream. + + The HTML string to decode + The TextWriter output stream containing the decoded string. + + + + HTML-encodes a string and sends the resulting output to a TextWriter output stream. + + The string to encode. + The TextWriter output stream containing the encoded string. + + + + Reflection extensions + + + + + Retrieve an attribute from a member (property) + + Type of attribute to retrieve + Member to retrieve attribute from + + + + + Retrieve an attribute from a type + + Type of attribute to retrieve + Type to retrieve attribute from + + + + + Checks a type to see if it derives from a raw generic (e.g. List[[]]) + + + + + + + + Find a value from a System.Enum by trying several possible variants + of the string value of the enum. + + Type of enum + Value for which to search + The culture used to calculate the name variants + + + + + Convert a to a instance. + + The response status. + + responseStatus + + + + Uses Uri.EscapeDataString() based on recommendations on MSDN + http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx + + + + + Check that a string is not null or empty + + String to check + bool + + + + Remove underscores from a string + + String to process + string + + + + Parses most common JSON date formats + + JSON value to parse + + DateTime + + + + Remove leading and trailing " from a string + + String to parse + String + + + + Checks a string to see if it matches a regex + + String to check + Pattern to match + bool + + + + Converts a string to pascal case + + String to convert + + string + + + + Converts a string to pascal case with the option to remove underscores + + String to convert + Option to remove underscores + + + + + + Converts a string to camel case + + String to convert + + String + + + + Convert the first letter of a string to lower case + + String to convert + string + + + + Checks to see if a string is all uppper case + + String to check + bool + + + + Add underscores to a pascal-cased string + + String to convert + string + + + + Add dashes to a pascal-cased string + + String to convert + string + + + + Add an undescore prefix to a pascasl-cased string + + + + + + + Add spaces to a pascal-cased string + + String to convert + string + + + + Return possible variants of a name for name matching. + + String to convert + The culture to use for conversion + IEnumerable<string> + + + + XML Extension Methods + + + + + Returns the name of an element with the namespace if specified + + Element name + XML Namespace + + + + + Container for files to be uploaded with requests + + + + + Creates a file parameter from an array of bytes. + + The parameter name to use in the request. + The data to use as the file's contents. + The filename to use in the request. + The content type to use in the request. + The + + + + Creates a file parameter from an array of bytes. + + The parameter name to use in the request. + The data to use as the file's contents. + The filename to use in the request. + The using the default content type. + + + + The length of data to be sent + + + + + Provides raw data for file + + + + + Name of the file to use when uploading + + + + + MIME content type of file + + + + + Name of the parameter + + + + + HttpWebRequest wrapper (async methods) + + + HttpWebRequest wrapper + + + HttpWebRequest wrapper (sync methods) + + + + + Always send a multipart/form-data request - even when no Files are present. + + + + + An alternative to RequestBody, for when the caller already has the byte array. + + + + + Execute an async POST-style request with the specified HTTP Method. + + + The HTTP method to execute. + + + + + Execute an async GET-style request with the specified HTTP Method. + + + The HTTP method to execute. + + + + + Creates an IHttp + + + + + + Default constructor + + + + + Execute a POST request + + + + + Execute a PUT request + + + + + Execute a GET request + + + + + Execute a HEAD request + + + + + Execute an OPTIONS request + + + + + Execute a DELETE request + + + + + Execute a PATCH request + + + + + Execute a MERGE request + + + + + Execute a GET-style request with the specified HTTP Method. + + The HTTP method to execute. + + + + + Execute a POST-style request with the specified HTTP Method. + + The HTTP method to execute. + + + + + True if this HTTP request has any HTTP parameters + + + + + True if this HTTP request has any HTTP cookies + + + + + True if a request body has been specified + + + + + True if files have been set to be uploaded + + + + + Always send a multipart/form-data request - even when no Files are present. + + + + + UserAgent to be sent with request + + + + + Timeout in milliseconds to be used for the request + + + + + The number of milliseconds before the writing or reading times out. + + + + + System.Net.ICredentials to be sent with request + + + + + The System.Net.CookieContainer to be used for the request + + + + + The method to use to write the response instead of reading into RawBytes + + + + + Collection of files to be sent with request + + + + + Whether or not HTTP 3xx response redirects should be automatically followed + + + + + X509CertificateCollection to be sent with request + + + + + Maximum number of automatic redirects to follow if FollowRedirects is true + + + + + Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) + will be sent along to the server. + + + + + HTTP headers to be sent with request + + + + + HTTP parameters (QueryString or Form values) to be sent with request + + + + + HTTP cookies to be sent with request + + + + + Request body to be sent with request + + + + + Content type of the request body. + + + + + An alternative to RequestBody, for when the caller already has the byte array. + + + + + URL to call for this request + + + + + Flag to send authorisation header with the HttpWebRequest + + + + + Proxy info to be sent with request + + + + + Caching policy for requests created with this wrapper. + + + + + Representation of an HTTP cookie + + + + + Comment of the cookie + + + + + Comment of the cookie + + + + + Indicates whether the cookie should be discarded at the end of the session + + + + + Domain of the cookie + + + + + Indicates whether the cookie is expired + + + + + Date and time that the cookie expires + + + + + Indicates that this cookie should only be accessed by the server + + + + + Name of the cookie + + + + + Path of the cookie + + + + + Port of the cookie + + + + + Indicates that the cookie should only be sent over secure channels + + + + + Date and time the cookie was created + + + + + Value of the cookie + + + + + Version of the cookie + + + + + Container for HTTP file + + + + + The length of data to be sent + + + + + Provides raw data for file + + + + + Name of the file to use when uploading + + + + + MIME content type of file + + + + + Name of the parameter + + + + + Representation of an HTTP header + + + + + Name of the header + + + + + Value of the header + + + + + Representation of an HTTP parameter (QueryString or Form value) + + + + + Name of the parameter + + + + + Value of the parameter + + + + + Content-Type of the parameter + + + + + HTTP response data + + + + + HTTP response data + + + + + MIME content type of response + + + + + Length in bytes of the response content + + + + + Encoding of the response content + + + + + String representation of response content + + + + + HTTP response status code + + + + + Description of HTTP status returned + + + + + Response content + + + + + The URL that actually responded to the content (different from request if redirected) + + + + + HttpWebResponse.Server + + + + + Headers returned by server with the response + + + + + Cookies returned by server with the response + + + + + Status of the request. Will return Error for transport errors. + HTTP errors will still return ResponseStatus.Completed, check StatusCode instead + + + + + Transport or other non-HTTP error generated while attempting request + + + + + Exception thrown when error is encountered. + + + + + Default constructor + + + + + MIME content type of response + + + + + Length in bytes of the response content + + + + + Encoding of the response content + + + + + Lazy-loaded string representation of response content + + + + + HTTP response status code + + + + + Description of HTTP status returned + + + + + Response content + + + + + The URL that actually responded to the content (different from request if redirected) + + + + + HttpWebResponse.Server + + + + + Headers returned by server with the response + + + + + Cookies returned by server with the response + + + + + Status of the request. Will return Error for transport errors. + HTTP errors will still return ResponseStatus.Completed, check StatusCode instead + + + + + Transport or other non-HTTP error generated while attempting request + + + + + Exception thrown when error is encountered. + + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + The HTTP method to execute + + + + Executes a POST-style request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + The HTTP method to execute + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + The HTTP method to execute + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + The HTTP method to execute + + + + Executes the request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes the request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes a GET-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes a GET-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes a POST-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes a POST-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes the request and callback asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Executes the request asynchronously, authenticating if needed + + Request to be executed + + + + Executes a GET-style asynchronously, authenticating if needed + + Request to be executed + + + + Executes a GET-style asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Executes a POST-style asynchronously, authenticating if needed + + Request to be executed + + + + Executes a POST-style asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + X509CertificateCollection to be sent with request + + + + + Adds a file to the Files collection to be included with a POST or PUT request + (other methods do not support file uploads). + + The parameter name to use in the request + Full path to file to upload + The MIME type of the file to upload + This request + + + + Adds the bytes to the Files collection with the specified file name and content type + + The parameter name to use in the request + The file data + The file name to use for the uploaded file + The MIME type of the file to upload + This request + + + + Adds the bytes to the Files collection with the specified file name and content type + + The parameter name to use in the request + A function that writes directly to the stream. Should NOT close the stream. + The file name to use for the uploaded file + The MIME type of the file to upload + This request + + + + Add bytes to the Files collection as if it was a file of specific type + + A form parameter name + The file data + The file name to use for the uploaded file + Specific content type. Es: application/x-gzip + + + + + Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer + The default format is XML. Change RequestFormat if you wish to use a different serialization format. + + The object to serialize + The XML namespace to use when serializing + This request + + + + Serializes obj to data format specified by RequestFormat and adds it to the request body. + The default format is XML. Change RequestFormat if you wish to use a different serialization format. + + The object to serialize + This request + + + + Serializes obj to JSON format and adds it to the request body. + + The object to serialize + This request + + + + Serializes obj to XML format and adds it to the request body. + + The object to serialize + This request + + + + Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer + Serializes obj to XML format and passes xmlNamespace then adds it to the request body. + + The object to serialize + The XML namespace to use when serializing + This request + + + + Calls AddParameter() for all public, readable properties specified in the includedProperties list + + + request.AddObject(product, "ProductId", "Price", ...); + + The object with properties to add as parameters + The names of the properties to include + This request + + + + Calls AddParameter() for all public, readable properties of obj + + The object with properties to add as parameters + This request + + + + Add the parameter to the request + + Parameter to add + + + + + Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) + + Name of the parameter + Value of the parameter + This request + + + + Adds a parameter to the request. There are five types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - Cookie: Adds the name/value pair to the HTTP request's Cookies collection + - RequestBody: Used by AddBody() (not recommended to use directly) + + Name of the parameter + Value of the parameter + The type of parameter to add + This request + + + + Adds a parameter to the request. There are five types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - Cookie: Adds the name/value pair to the HTTP request's Cookies collection + - RequestBody: Used by AddBody() (not recommended to use directly) + + Name of the parameter + Value of the parameter + Content-Type of the parameter + The type of parameter to add + This request + + + + Shortcut to AddParameter(name, value, HttpHeader) overload + + Name of the header to add + Value of the header to add + + + + + Shortcut to AddParameter(name, value, Cookie) overload + + Name of the cookie to add + Value of the cookie to add + + + + + Shortcut to AddParameter(name, value, UrlSegment) overload + + Name of the segment to add + Value of the segment to add + + + + + Shortcut to AddParameter(name, value, QueryString) overload + + Name of the parameter to add + Value of the parameter to add + + + + + Always send a multipart/form-data request - even when no Files are present. + + + + + Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. + By default the included JsonSerializer is used (currently using JSON.NET default serialization). + + + + + Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. + By default the included XmlSerializer is used. + + + + + Set this to write response to Stream rather than reading into memory. + + + + + Container of all HTTP parameters to be passed with the request. + See AddParameter() for explanation of the types of parameters that can be passed + + + + + Container of all the files to be uploaded with the request. + + + + + Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS + Default is GET + + + + + The Resource URL to make the request against. + Tokens are substituted with UrlSegment parameters and match by name. + Should not include the scheme or domain. Do not include leading slash. + Combined with RestClient.BaseUrl to assemble final URL: + {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) + + + // example for url token replacement + request.Resource = "Products/{ProductId}"; + request.AddParameter("ProductId", 123, ParameterType.UrlSegment); + + + + + Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. + By default XmlSerializer is used. + + + + + Used by the default deserializers to determine where to start deserializing from. + Can be used to skip container or root elements that do not have corresponding deserialzation targets. + + + + + Used by the default deserializers to explicitly set which date format string to use when parsing dates. + + + + + Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. + + + + + In general you would not need to set this directly. Used by the NtlmAuthenticator. + + + + + Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. + + + + + The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. + + + + + How many attempts were made to send this Request? + + + This Number is incremented each time the RestClient sends the request. + Useful when using Asynchronous Execution with Callbacks + + + + + Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) + will be sent along to the server. The default is false. + + + + + Container for data sent back from API + + + + + The RestRequest that was made to get this RestResponse + + + Mainly for debugging if ResponseStatus is not OK + + + + + MIME content type of response + + + + + Length in bytes of the response content + + + + + Encoding of the response content + + + + + String representation of response content + + + + + HTTP response status code + + + + + Description of HTTP status returned + + + + + Response content + + + + + The URL that actually responded to the content (different from request if redirected) + + + + + HttpWebResponse.Server + + + + + Cookies returned by server with the response + + + + + Headers returned by server with the response + + + + + Status of the request. Will return Error for transport errors. + HTTP errors will still return ResponseStatus.Completed, check StatusCode instead + + + + + Transport or other non-HTTP error generated while attempting request + + + + + Exceptions thrown during the request, if any. + + Will contain only network transport or framework exceptions thrown during the request. + HTTP protocol errors are handled by RestSharp and will not appear here. + + + + Container for data sent back from API including deserialized data + + Type of data to deserialize to + + + + Deserialized entity data + + + + + Parameter container for REST requests + + + + + Return a human-readable representation of this parameter + + String + + + + Name of the parameter + + + + + Value of the parameter + + + + + Type of the parameter + + + + + MIME content type of the parameter + + + + + Client to translate RestRequests into Http requests and process response result + + + + + Executes the request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + The HTTP method to execute + + + + Executes a POST-style request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + The HTTP method to execute + + + + Executes the request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + The HTTP method to execute + + + + Executes a POST-style request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + The HTTP method to execute + + + + Executes a GET-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes a GET-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes a POST-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes a POST-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes the request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes the request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes the request asynchronously, authenticating if needed + + Request to be executed + + + + Executes a GET-style asynchronously, authenticating if needed + + Request to be executed + + + + Executes a GET-style asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Executes a POST-style asynchronously, authenticating if needed + + Request to be executed + + + + Executes a POST-style asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Executes the request asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Default constructor that registers default content handlers + + + + + Sets the BaseUrl property for requests made by this client instance + + + + + + Sets the BaseUrl property for requests made by this client instance + + + + + + Registers a content handler to process response content + + MIME content type of the response content + Deserializer to use to process content + + + + Remove a content handler for the specified MIME content type + + MIME content type to remove + + + + Remove all content handlers + + + + + Retrieve the handler for the specified MIME content type + + MIME content type to retrieve + IDeserializer instance + + + + Assembles URL to call based on parameters, method and resource + + RestRequest to execute + Assembled System.Uri + + + + Executes the specified request and downloads the response data + + Request to execute + Response data + + + + Executes the request and returns a response, authenticating if needed + + Request to be executed + RestResponse + + + + Executes the specified request and deserializes the response content using the appropriate content handler + + Target deserialization type + Request to execute + RestResponse[[T]] with deserialized data in Data property + + + + Maximum number of redirects to follow if FollowRedirects is true + + + + + X509CertificateCollection to be sent with request + + + + + Proxy to use for requests made by this client instance. + Passed on to underlying WebRequest if set. + + + + + The cache policy to use for requests initiated by this client instance. + + + + + Default is true. Determine whether or not requests that result in + HTTP status codes of 3xx should follow returned redirect + + + + + The CookieContainer used for requests made by this client instance + + + + + UserAgent to use for requests made by this client instance + + + + + Timeout in milliseconds to use for requests made by this client instance + + + + + The number of milliseconds before the writing or reading times out. + + + + + Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked + + + + + Authenticator to use for requests made by this client instance + + + + + Combined with Request.Resource to construct URL for request + Should include scheme and domain without trailing slash. + + + client.BaseUrl = new Uri("http://example.com"); + + + + + Parameters included with every request made with this instance of RestClient + If specified in both client and request, the request wins + + + + + Executes the request and callback asynchronously, authenticating if needed + + The IRestClient this method extends + Request to be executed + Callback function to be executed upon completion + + + + Executes the request and callback asynchronously, authenticating if needed + + The IRestClient this method extends + Target deserialization type + Request to be executed + Callback function to be executed upon completion providing access to the async handle + + + + Add a parameter to use on every request made with this client instance + + The IRestClient instance + Parameter to add + + + + + Removes a parameter from the default parameters that are used on every request made with this client instance + + The IRestClient instance + The name of the parameter that needs to be removed + + + + + Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) + Used on every request made by this client instance + + The IRestClient instance + Name of the parameter + Value of the parameter + This request + + + + Adds a parameter to the request. There are four types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - RequestBody: Used by AddBody() (not recommended to use directly) + + The IRestClient instance + Name of the parameter + Value of the parameter + The type of parameter to add + This request + + + + Shortcut to AddDefaultParameter(name, value, HttpHeader) overload + + The IRestClient instance + Name of the header to add + Value of the header to add + + + + + Shortcut to AddDefaultParameter(name, value, UrlSegment) overload + + The IRestClient instance + Name of the segment to add + Value of the segment to add + + + + + Container for data used to make requests + + + + + Default constructor + + + + + Sets Method property to value of method + + Method to use for this request + + + + Sets Resource property + + Resource to use for this request + + + + Sets Resource and Method properties + + Resource to use for this request + Method to use for this request + + + + Sets Resource property + + Resource to use for this request + + + + Sets Resource and Method properties + + Resource to use for this request + Method to use for this request + + + + Adds a file to the Files collection to be included with a POST or PUT request + (other methods do not support file uploads). + + The parameter name to use in the request + Full path to file to upload + The MIME type of the file to upload + This request + + + + Adds the bytes to the Files collection with the specified file name + + The parameter name to use in the request + The file data + The file name to use for the uploaded file + The MIME type of the file to upload + This request + + + + Adds the bytes to the Files collection with the specified file name and content type + + The parameter name to use in the request + A function that writes directly to the stream. Should NOT close the stream. + The file name to use for the uploaded file + The MIME type of the file to upload + This request + + + + Add bytes to the Files collection as if it was a file of specific type + + A form parameter name + The file data + The file name to use for the uploaded file + Specific content type. Es: application/x-gzip + + + + + Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer + The default format is XML. Change RequestFormat if you wish to use a different serialization format. + + The object to serialize + The XML namespace to use when serializing + This request + + + + Serializes obj to data format specified by RequestFormat and adds it to the request body. + The default format is XML. Change RequestFormat if you wish to use a different serialization format. + + The object to serialize + This request + + + + Serializes obj to JSON format and adds it to the request body. + + The object to serialize + This request + + + + Serializes obj to XML format and adds it to the request body. + + The object to serialize + This request + + + + Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer + Serializes obj to XML format and passes xmlNamespace then adds it to the request body. + + The object to serialize + The XML namespace to use when serializing + This request + + + + Calls AddParameter() for all public, readable properties specified in the includedProperties list + + + request.AddObject(product, "ProductId", "Price", ...); + + The object with properties to add as parameters + The names of the properties to include + This request + + + + Calls AddParameter() for all public, readable properties of obj + + The object with properties to add as parameters + This request + + + + Add the parameter to the request + + Parameter to add + + + + + Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) + + Name of the parameter + Value of the parameter + This request + + + + Adds a parameter to the request. There are four types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - RequestBody: Used by AddBody() (not recommended to use directly) + + Name of the parameter + Value of the parameter + The type of parameter to add + This request + + + + Adds a parameter to the request. There are four types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - RequestBody: Used by AddBody() (not recommended to use directly) + + Name of the parameter + Value of the parameter + Content-Type of the parameter + The type of parameter to add + This request + + + + Shortcut to AddParameter(name, value, HttpHeader) overload + + Name of the header to add + Value of the header to add + + + + + Shortcut to AddParameter(name, value, Cookie) overload + + Name of the cookie to add + Value of the cookie to add + + + + + Shortcut to AddParameter(name, value, UrlSegment) overload + + Name of the segment to add + Value of the segment to add + + + + + Shortcut to AddParameter(name, value, QueryString) overload + + Name of the parameter to add + Value of the parameter to add + + + + + Internal Method so that RestClient can increase the number of attempts + + + + + Always send a multipart/form-data request - even when no Files are present. + + + + + Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. + By default the included JsonSerializer is used (currently using JSON.NET default serialization). + + + + + Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. + By default the included XmlSerializer is used. + + + + + Set this to write response to Stream rather than reading into memory. + + + + + Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) + will be sent along to the server. The default is false. + + + + + Container of all HTTP parameters to be passed with the request. + See AddParameter() for explanation of the types of parameters that can be passed + + + + + Container of all the files to be uploaded with the request. + + + + + Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS + Default is GET + + + + + The Resource URL to make the request against. + Tokens are substituted with UrlSegment parameters and match by name. + Should not include the scheme or domain. Do not include leading slash. + Combined with RestClient.BaseUrl to assemble final URL: + {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) + + + // example for url token replacement + request.Resource = "Products/{ProductId}"; + request.AddParameter("ProductId", 123, ParameterType.UrlSegment); + + + + + Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. + By default XmlSerializer is used. + + + + + Used by the default deserializers to determine where to start deserializing from. + Can be used to skip container or root elements that do not have corresponding deserialzation targets. + + + + + A function to run prior to deserializing starting (e.g. change settings if error encountered) + + + + + Used by the default deserializers to explicitly set which date format string to use when parsing dates. + + + + + Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. + + + + + In general you would not need to set this directly. Used by the NtlmAuthenticator. + + + + + Gets or sets a user-defined state object that contains information about a request and which can be later + retrieved when the request completes. + + + + + Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. + + + + + The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. + + + + + How many attempts were made to send this Request? + + + This Number is incremented each time the RestClient sends the request. + Useful when using Asynchronous Execution with Callbacks + + + + + Base class for common properties shared by RestResponse and RestResponse[[T]] + + + + + Default constructor + + + + + Assists with debugging responses by displaying in the debugger output + + + + + + The RestRequest that was made to get this RestResponse + + + Mainly for debugging if ResponseStatus is not OK + + + + + MIME content type of response + + + + + Length in bytes of the response content + + + + + Encoding of the response content + + + + + String representation of response content + + + + + HTTP response status code + + + + + Description of HTTP status returned + + + + + Response content + + + + + The URL that actually responded to the content (different from request if redirected) + + + + + HttpWebResponse.Server + + + + + Cookies returned by server with the response + + + + + Headers returned by server with the response + + + + + Status of the request. Will return Error for transport errors. + HTTP errors will still return ResponseStatus.Completed, check StatusCode instead + + + + + Transport or other non-HTTP error generated while attempting request + + + + + The exception thrown during the request, if any + + + + + Container for data sent back from API including deserialized data + + Type of data to deserialize to + + + + Deserialized entity data + + + + + Container for data sent back from API + + + + + Comment of the cookie + + + + + Comment of the cookie + + + + + Indicates whether the cookie should be discarded at the end of the session + + + + + Domain of the cookie + + + + + Indicates whether the cookie is expired + + + + + Date and time that the cookie expires + + + + + Indicates that this cookie should only be accessed by the server + + + + + Name of the cookie + + + + + Path of the cookie + + + + + Port of the cookie + + + + + Indicates that the cookie should only be sent over secure channels + + + + + Date and time the cookie was created + + + + + Value of the cookie + + + + + Version of the cookie + + + + + Wrapper for System.Xml.Serialization.XmlSerializer. + + + + + Default constructor, does not specify namespace + + + + + Specify the namespaced to be used when serializing + + XML namespace + + + + Serialize the object as XML + + Object to serialize + XML as string + + + + Name of the root element to use when serializing + + + + + XML namespace to use when serializing + + + + + Format string to use when serializing dates + + + + + Content type for serialized content + + + + + Encoding for serialized content + + + + + Need to subclass StringWriter in order to override Encoding + + + + + Default JSON serializer for request bodies + Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes + + + + + Default serializer + + + + + Serialize the object as JSON + + Object to serialize + JSON as String + + + + Unused for JSON Serialization + + + + + Unused for JSON Serialization + + + + + Unused for JSON Serialization + + + + + Content type for serialized content + + + + + Allows control how class and property names and values are serialized by XmlSerializer + Currently not supported with the JsonSerializer + When specified at the property level the class-level specification is overridden + + + + + Called by the attribute when NameStyle is speficied + + The string to transform + String + + + + The name to use for the serialized element + + + + + Sets the value to be serialized as an Attribute instead of an Element + + + + + The culture to use when serializing + + + + + Transforms the casing of the name based on the selected value. + + + + + The order to serialize the element. Default is int.MaxValue. + + + + + Options for transforming casing of element names + + + + + Default XML Serializer + + + + + Default constructor, does not specify namespace + + + + + Specify the namespaced to be used when serializing + + XML namespace + + + + Serialize the object as XML + + Object to serialize + XML as string + + + + Determines if a given object is numeric in any way + (can be integer, double, null, etc). + + + + + Name of the root element to use when serializing + + + + + XML namespace to use when serializing + + + + + Format string to use when serializing dates + + + + + Content type for serialized content + + + + + Helper methods for validating required values + + + + + Require a parameter to not be null + + Name of the parameter + Value of the parameter + + + + Represents the json array. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The capacity of the json array. + + + + The json representation of the array. + + The json representation of the array. + + + + Represents the json object. + + + + + The internal member dictionary. + + + + + Initializes a new instance of . + + + + + Initializes a new instance of . + + The implementation to use when comparing keys, or null to use the default for the type of the key. + + + + Adds the specified key. + + The key. + The value. + + + + Determines whether the specified key contains key. + + The key. + + true if the specified key contains key; otherwise, false. + + + + + Removes the specified key. + + The key. + + + + + Tries the get value. + + The key. + The value. + + + + + Adds the specified item. + + The item. + + + + Clears this instance. + + + + + Determines whether [contains] [the specified item]. + + The item. + + true if [contains] [the specified item]; otherwise, false. + + + + + Copies to. + + The array. + Index of the array. + + + + Removes the specified item. + + The item. + + + + + Gets the enumerator. + + + + + + Returns an enumerator that iterates through a collection. + + + An object that can be used to iterate through the collection. + + + + + Returns a json that represents the current . + + + A json that represents the current . + + + + + Provides implementation for type conversion operations. Classes derived from the class can override this method to specify dynamic behavior for operations that convert an object from one type to another. + + Provides information about the conversion operation. The binder.Type property provides the type to which the object must be converted. For example, for the statement (String)sampleObject in C# (CType(sampleObject, Type) in Visual Basic), where sampleObject is an instance of the class derived from the class, binder.Type returns the type. The binder.Explicit property provides information about the kind of conversion that occurs. It returns true for explicit conversion and false for implicit conversion. + The result of the type conversion operation. + + Alwasy returns true. + + + + + Provides the implementation for operations that delete an object member. This method is not intended for use in C# or Visual Basic. + + Provides information about the deletion. + + Alwasy returns true. + + + + + Provides the implementation for operations that get a value by index. Classes derived from the class can override this method to specify dynamic behavior for indexing operations. + + Provides information about the operation. + The indexes that are used in the operation. For example, for the sampleObject[3] operation in C# (sampleObject(3) in Visual Basic), where sampleObject is derived from the DynamicObject class, is equal to 3. + The result of the index operation. + + Alwasy returns true. + + + + + Provides the implementation for operations that get member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as getting a value for a property. + + Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member on which the dynamic operation is performed. For example, for the Console.WriteLine(sampleObject.SampleProperty) statement, where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive. + The result of the get operation. For example, if the method is called for a property, you can assign the property value to . + + Alwasy returns true. + + + + + Provides the implementation for operations that set a value by index. Classes derived from the class can override this method to specify dynamic behavior for operations that access objects by a specified index. + + Provides information about the operation. + The indexes that are used in the operation. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 3. + The value to set to the object that has the specified index. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 10. + + true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown. + + + + + Provides the implementation for operations that set member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as setting a value for a property. + + Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member to which the value is being assigned. For example, for the statement sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive. + The value to set to the member. For example, for sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, the is "Test". + + true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown.) + + + + + Returns the enumeration of all dynamic member names. + + + A sequence that contains dynamic member names. + + + + + Gets the at the specified index. + + + + + + Gets the keys. + + The keys. + + + + Gets the values. + + The values. + + + + Gets or sets the with the specified key. + + + + + + Gets the count. + + The count. + + + + Gets a value indicating whether this instance is read only. + + + true if this instance is read only; otherwise, false. + + + + + This class encodes and decodes JSON strings. + Spec. details, see http://www.json.org/ + + JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>). + All numbers are parsed to doubles. + + + + + Parses the string json into a value + + A JSON string. + An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false + + + + Try parsing the json string into a value. + + + A JSON string. + + + The object. + + + Returns true if successfull otherwise false. + + + + + Converts a IDictionary<string,object> / IList<object> object into a JSON string + + A IDictionary<string,object> / IList<object> + Serializer strategy to use + A JSON encoded string, or null if object 'json' is not serializable + + + + Determines if a given object is numeric in any way + (can be integer, double, null, etc). + + + + + Helper methods for validating values + + + + + Validate an integer value is between the specified values (exclusive of min/max) + + Value to validate + Exclusive minimum value + Exclusive maximum value + + + + Validate a string length + + String to be validated + Maximum length of the string + + + diff --git a/packages/RestSharp.105.2.3/lib/net451/RestSharp.xml b/packages/RestSharp.105.2.3/lib/net451/RestSharp.xml new file mode 100644 index 0000000..16ca278 --- /dev/null +++ b/packages/RestSharp.105.2.3/lib/net451/RestSharp.xml @@ -0,0 +1,3095 @@ + + + + RestSharp + + + + + JSON WEB TOKEN (JWT) Authenticator class. + https://tools.ietf.org/html/draft-ietf-oauth-json-web-token + + + + + Tries to Authenticate with the credentials of the currently logged in user, or impersonate a user + + + + + Authenticate with the credentials of the currently logged in user + + + + + Authenticate by impersonation + + + + + + + Authenticate by impersonation, using an existing ICredentials instance + + + + + + + + + Base class for OAuth 2 Authenticators. + + + Since there are many ways to authenticate in OAuth2, + this is used as a base class to differentiate between + other authenticators. + + Any other OAuth2 authenticators must derive from this + abstract class. + + + + + Access token to be used when authenticating. + + + + + Initializes a new instance of the class. + + + The access token. + + + + + Gets the access token. + + + + + The OAuth 2 authenticator using URI query parameter. + + + Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2 + + + + + Initializes a new instance of the class. + + + The access token. + + + + + The OAuth 2 authenticator using the authorization request header field. + + + Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1 + + + + + Stores the Authorization header value as "[tokenType] accessToken". used for performance. + + + + + Initializes a new instance of the class. + + + The access token. + + + + + Initializes a new instance of the class. + + + The access token. + + + The token type. + + + + + All text parameters are UTF-8 encoded (per section 5.1). + + + + + + Generates a random 16-byte lowercase alphanumeric string. + + + + + + + Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT" + + + + + + + Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT" + + + A specified point in time. + + + + + The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986. + + + + + + URL encodes a string based on section 5.1 of the OAuth spec. + Namely, percent encoding with [RFC3986], avoiding unreserved characters, + upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. + + The value to escape. + The escaped value. + + The method is supposed to take on + RFC 3986 behavior if certain elements are present in a .config file. Even if this + actually worked (which in my experiments it doesn't), we can't rely on every + host actually having this configuration element present. + + + + + + + URL encodes a string based on section 5.1 of the OAuth spec. + Namely, percent encoding with [RFC3986], avoiding unreserved characters, + upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. + + + + + + + Sorts a collection of key-value pairs by name, and then value if equal, + concatenating them into a single string. This string should be encoded + prior to, or after normalization is run. + + + + + + + + Sorts a by name, and then value if equal. + + A collection of parameters to sort + A sorted parameter collection + + + + Creates a request URL suitable for making OAuth requests. + Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively. + Resulting URLs must be lower case. + + + The original request URL + + + + + Creates a request elements concatentation value to send with a request. + This is also known as the signature base. + + + + The request's HTTP method type + The request URL + The request's parameters + A signature base string + + + + Creates a signature value given a signature base and the consumer secret. + This method is used when the token secret is currently unknown. + + + The hashing method + The signature base + The consumer key + + + + + Creates a signature value given a signature base and the consumer secret. + This method is used when the token secret is currently unknown. + + + The hashing method + The treatment to use on a signature value + The signature base + The consumer key + + + + + Creates a signature value given a signature base and the consumer secret and a known token secret. + + + The hashing method + The signature base + The consumer secret + The token secret + + + + + Creates a signature value given a signature base and the consumer secret and a known token secret. + + + The hashing method + The treatment to use on a signature value + The signature base + The consumer secret + The token secret + + + + + A class to encapsulate OAuth authentication flow. + + + + + + Generates a instance to pass to an + for the purpose of requesting an + unauthorized request token. + + The HTTP method for the intended request + + + + + + Generates a instance to pass to an + for the purpose of requesting an + unauthorized request token. + + The HTTP method for the intended request + Any existing, non-OAuth query parameters desired in the request + + + + + + Generates a instance to pass to an + for the purpose of exchanging a request token + for an access token authorized by the user at the Service Provider site. + + The HTTP method for the intended request + + + + + Generates a instance to pass to an + for the purpose of exchanging a request token + for an access token authorized by the user at the Service Provider site. + + The HTTP method for the intended request + + Any existing, non-OAuth query parameters desired in the request + + + + Generates a instance to pass to an + for the purpose of exchanging user credentials + for an access token authorized by the user at the Service Provider site. + + The HTTP method for the intended request + + Any existing, non-OAuth query parameters desired in the request + + + + + + + + + + + + + Allows control how class and property names and values are deserialized by XmlAttributeDeserializer + + + + + The name to use for the serialized element + + + + + Sets if the property to Deserialize is an Attribute or Element (Default: false) + + + + + Wrapper for System.Xml.Serialization.XmlSerializer. + + + + + Types of parameters that can be added to requests + + + + + Data formats + + + + + HTTP method to use when making requests + + + + + Format strings for commonly-used date formats + + + + + .NET format string for ISO 8601 date format + + + + + .NET format string for roundtrip date format + + + + + Status for responses (surprised?) + + + + + Extension method overload! + + + + + Save a byte array to a file + + Bytes to save + Full path to save file to + + + + Read a stream into a byte array + + Stream to read + byte[] + + + + Copies bytes from one stream to another + + The input stream. + The output stream. + + + + Converts a byte array to a string, using its byte order mark to convert it to the right encoding. + http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx + + An array of bytes to convert + The byte as a string. + + + + Decodes an HTML-encoded string and returns the decoded string. + + The HTML string to decode. + The decoded text. + + + + Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream. + + The HTML string to decode + The TextWriter output stream containing the decoded string. + + + + HTML-encodes a string and sends the resulting output to a TextWriter output stream. + + The string to encode. + The TextWriter output stream containing the encoded string. + + + + Reflection extensions + + + + + Retrieve an attribute from a member (property) + + Type of attribute to retrieve + Member to retrieve attribute from + + + + + Retrieve an attribute from a type + + Type of attribute to retrieve + Type to retrieve attribute from + + + + + Checks a type to see if it derives from a raw generic (e.g. List[[]]) + + + + + + + + Find a value from a System.Enum by trying several possible variants + of the string value of the enum. + + Type of enum + Value for which to search + The culture used to calculate the name variants + + + + + Convert a to a instance. + + The response status. + + responseStatus + + + + Uses Uri.EscapeDataString() based on recommendations on MSDN + http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx + + + + + Check that a string is not null or empty + + String to check + bool + + + + Remove underscores from a string + + String to process + string + + + + Parses most common JSON date formats + + JSON value to parse + + DateTime + + + + Remove leading and trailing " from a string + + String to parse + String + + + + Checks a string to see if it matches a regex + + String to check + Pattern to match + bool + + + + Converts a string to pascal case + + String to convert + + string + + + + Converts a string to pascal case with the option to remove underscores + + String to convert + Option to remove underscores + + + + + + Converts a string to camel case + + String to convert + + String + + + + Convert the first letter of a string to lower case + + String to convert + string + + + + Checks to see if a string is all uppper case + + String to check + bool + + + + Add underscores to a pascal-cased string + + String to convert + string + + + + Add dashes to a pascal-cased string + + String to convert + string + + + + Add an undescore prefix to a pascasl-cased string + + + + + + + Add spaces to a pascal-cased string + + String to convert + string + + + + Return possible variants of a name for name matching. + + String to convert + The culture to use for conversion + IEnumerable<string> + + + + XML Extension Methods + + + + + Returns the name of an element with the namespace if specified + + Element name + XML Namespace + + + + + Container for files to be uploaded with requests + + + + + Creates a file parameter from an array of bytes. + + The parameter name to use in the request. + The data to use as the file's contents. + The filename to use in the request. + The content type to use in the request. + The + + + + Creates a file parameter from an array of bytes. + + The parameter name to use in the request. + The data to use as the file's contents. + The filename to use in the request. + The using the default content type. + + + + The length of data to be sent + + + + + Provides raw data for file + + + + + Name of the file to use when uploading + + + + + MIME content type of file + + + + + Name of the parameter + + + + + HttpWebRequest wrapper (async methods) + + + HttpWebRequest wrapper + + + HttpWebRequest wrapper (sync methods) + + + + + Always send a multipart/form-data request - even when no Files are present. + + + + + An alternative to RequestBody, for when the caller already has the byte array. + + + + + Execute an async POST-style request with the specified HTTP Method. + + + The HTTP method to execute. + + + + + Execute an async GET-style request with the specified HTTP Method. + + + The HTTP method to execute. + + + + + Creates an IHttp + + + + + + Default constructor + + + + + Execute a POST request + + + + + Execute a PUT request + + + + + Execute a GET request + + + + + Execute a HEAD request + + + + + Execute an OPTIONS request + + + + + Execute a DELETE request + + + + + Execute a PATCH request + + + + + Execute a MERGE request + + + + + Execute a GET-style request with the specified HTTP Method. + + The HTTP method to execute. + + + + + Execute a POST-style request with the specified HTTP Method. + + The HTTP method to execute. + + + + + True if this HTTP request has any HTTP parameters + + + + + True if this HTTP request has any HTTP cookies + + + + + True if a request body has been specified + + + + + True if files have been set to be uploaded + + + + + Always send a multipart/form-data request - even when no Files are present. + + + + + UserAgent to be sent with request + + + + + Timeout in milliseconds to be used for the request + + + + + The number of milliseconds before the writing or reading times out. + + + + + System.Net.ICredentials to be sent with request + + + + + The System.Net.CookieContainer to be used for the request + + + + + The method to use to write the response instead of reading into RawBytes + + + + + Collection of files to be sent with request + + + + + Whether or not HTTP 3xx response redirects should be automatically followed + + + + + X509CertificateCollection to be sent with request + + + + + Maximum number of automatic redirects to follow if FollowRedirects is true + + + + + Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) + will be sent along to the server. + + + + + HTTP headers to be sent with request + + + + + HTTP parameters (QueryString or Form values) to be sent with request + + + + + HTTP cookies to be sent with request + + + + + Request body to be sent with request + + + + + Content type of the request body. + + + + + An alternative to RequestBody, for when the caller already has the byte array. + + + + + URL to call for this request + + + + + Flag to send authorisation header with the HttpWebRequest + + + + + Proxy info to be sent with request + + + + + Caching policy for requests created with this wrapper. + + + + + Representation of an HTTP cookie + + + + + Comment of the cookie + + + + + Comment of the cookie + + + + + Indicates whether the cookie should be discarded at the end of the session + + + + + Domain of the cookie + + + + + Indicates whether the cookie is expired + + + + + Date and time that the cookie expires + + + + + Indicates that this cookie should only be accessed by the server + + + + + Name of the cookie + + + + + Path of the cookie + + + + + Port of the cookie + + + + + Indicates that the cookie should only be sent over secure channels + + + + + Date and time the cookie was created + + + + + Value of the cookie + + + + + Version of the cookie + + + + + Container for HTTP file + + + + + The length of data to be sent + + + + + Provides raw data for file + + + + + Name of the file to use when uploading + + + + + MIME content type of file + + + + + Name of the parameter + + + + + Representation of an HTTP header + + + + + Name of the header + + + + + Value of the header + + + + + Representation of an HTTP parameter (QueryString or Form value) + + + + + Name of the parameter + + + + + Value of the parameter + + + + + Content-Type of the parameter + + + + + HTTP response data + + + + + HTTP response data + + + + + MIME content type of response + + + + + Length in bytes of the response content + + + + + Encoding of the response content + + + + + String representation of response content + + + + + HTTP response status code + + + + + Description of HTTP status returned + + + + + Response content + + + + + The URL that actually responded to the content (different from request if redirected) + + + + + HttpWebResponse.Server + + + + + Headers returned by server with the response + + + + + Cookies returned by server with the response + + + + + Status of the request. Will return Error for transport errors. + HTTP errors will still return ResponseStatus.Completed, check StatusCode instead + + + + + Transport or other non-HTTP error generated while attempting request + + + + + Exception thrown when error is encountered. + + + + + Default constructor + + + + + MIME content type of response + + + + + Length in bytes of the response content + + + + + Encoding of the response content + + + + + Lazy-loaded string representation of response content + + + + + HTTP response status code + + + + + Description of HTTP status returned + + + + + Response content + + + + + The URL that actually responded to the content (different from request if redirected) + + + + + HttpWebResponse.Server + + + + + Headers returned by server with the response + + + + + Cookies returned by server with the response + + + + + Status of the request. Will return Error for transport errors. + HTTP errors will still return ResponseStatus.Completed, check StatusCode instead + + + + + Transport or other non-HTTP error generated while attempting request + + + + + Exception thrown when error is encountered. + + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + The HTTP method to execute + + + + Executes a POST-style request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + The HTTP method to execute + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + The HTTP method to execute + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + The HTTP method to execute + + + + Executes the request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes the request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes a GET-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes a GET-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes a POST-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes a POST-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes the request and callback asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Executes the request asynchronously, authenticating if needed + + Request to be executed + + + + Executes a GET-style asynchronously, authenticating if needed + + Request to be executed + + + + Executes a GET-style asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Executes a POST-style asynchronously, authenticating if needed + + Request to be executed + + + + Executes a POST-style asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + X509CertificateCollection to be sent with request + + + + + Adds a file to the Files collection to be included with a POST or PUT request + (other methods do not support file uploads). + + The parameter name to use in the request + Full path to file to upload + The MIME type of the file to upload + This request + + + + Adds the bytes to the Files collection with the specified file name and content type + + The parameter name to use in the request + The file data + The file name to use for the uploaded file + The MIME type of the file to upload + This request + + + + Adds the bytes to the Files collection with the specified file name and content type + + The parameter name to use in the request + A function that writes directly to the stream. Should NOT close the stream. + The file name to use for the uploaded file + The MIME type of the file to upload + This request + + + + Add bytes to the Files collection as if it was a file of specific type + + A form parameter name + The file data + The file name to use for the uploaded file + Specific content type. Es: application/x-gzip + + + + + Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer + The default format is XML. Change RequestFormat if you wish to use a different serialization format. + + The object to serialize + The XML namespace to use when serializing + This request + + + + Serializes obj to data format specified by RequestFormat and adds it to the request body. + The default format is XML. Change RequestFormat if you wish to use a different serialization format. + + The object to serialize + This request + + + + Serializes obj to JSON format and adds it to the request body. + + The object to serialize + This request + + + + Serializes obj to XML format and adds it to the request body. + + The object to serialize + This request + + + + Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer + Serializes obj to XML format and passes xmlNamespace then adds it to the request body. + + The object to serialize + The XML namespace to use when serializing + This request + + + + Calls AddParameter() for all public, readable properties specified in the includedProperties list + + + request.AddObject(product, "ProductId", "Price", ...); + + The object with properties to add as parameters + The names of the properties to include + This request + + + + Calls AddParameter() for all public, readable properties of obj + + The object with properties to add as parameters + This request + + + + Add the parameter to the request + + Parameter to add + + + + + Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) + + Name of the parameter + Value of the parameter + This request + + + + Adds a parameter to the request. There are five types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - Cookie: Adds the name/value pair to the HTTP request's Cookies collection + - RequestBody: Used by AddBody() (not recommended to use directly) + + Name of the parameter + Value of the parameter + The type of parameter to add + This request + + + + Adds a parameter to the request. There are five types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - Cookie: Adds the name/value pair to the HTTP request's Cookies collection + - RequestBody: Used by AddBody() (not recommended to use directly) + + Name of the parameter + Value of the parameter + Content-Type of the parameter + The type of parameter to add + This request + + + + Shortcut to AddParameter(name, value, HttpHeader) overload + + Name of the header to add + Value of the header to add + + + + + Shortcut to AddParameter(name, value, Cookie) overload + + Name of the cookie to add + Value of the cookie to add + + + + + Shortcut to AddParameter(name, value, UrlSegment) overload + + Name of the segment to add + Value of the segment to add + + + + + Shortcut to AddParameter(name, value, QueryString) overload + + Name of the parameter to add + Value of the parameter to add + + + + + Always send a multipart/form-data request - even when no Files are present. + + + + + Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. + By default the included JsonSerializer is used (currently using JSON.NET default serialization). + + + + + Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. + By default the included XmlSerializer is used. + + + + + Set this to write response to Stream rather than reading into memory. + + + + + Container of all HTTP parameters to be passed with the request. + See AddParameter() for explanation of the types of parameters that can be passed + + + + + Container of all the files to be uploaded with the request. + + + + + Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS + Default is GET + + + + + The Resource URL to make the request against. + Tokens are substituted with UrlSegment parameters and match by name. + Should not include the scheme or domain. Do not include leading slash. + Combined with RestClient.BaseUrl to assemble final URL: + {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) + + + // example for url token replacement + request.Resource = "Products/{ProductId}"; + request.AddParameter("ProductId", 123, ParameterType.UrlSegment); + + + + + Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. + By default XmlSerializer is used. + + + + + Used by the default deserializers to determine where to start deserializing from. + Can be used to skip container or root elements that do not have corresponding deserialzation targets. + + + + + Used by the default deserializers to explicitly set which date format string to use when parsing dates. + + + + + Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. + + + + + In general you would not need to set this directly. Used by the NtlmAuthenticator. + + + + + Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. + + + + + The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. + + + + + How many attempts were made to send this Request? + + + This Number is incremented each time the RestClient sends the request. + Useful when using Asynchronous Execution with Callbacks + + + + + Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) + will be sent along to the server. The default is false. + + + + + Container for data sent back from API + + + + + The RestRequest that was made to get this RestResponse + + + Mainly for debugging if ResponseStatus is not OK + + + + + MIME content type of response + + + + + Length in bytes of the response content + + + + + Encoding of the response content + + + + + String representation of response content + + + + + HTTP response status code + + + + + Description of HTTP status returned + + + + + Response content + + + + + The URL that actually responded to the content (different from request if redirected) + + + + + HttpWebResponse.Server + + + + + Cookies returned by server with the response + + + + + Headers returned by server with the response + + + + + Status of the request. Will return Error for transport errors. + HTTP errors will still return ResponseStatus.Completed, check StatusCode instead + + + + + Transport or other non-HTTP error generated while attempting request + + + + + Exceptions thrown during the request, if any. + + Will contain only network transport or framework exceptions thrown during the request. + HTTP protocol errors are handled by RestSharp and will not appear here. + + + + Container for data sent back from API including deserialized data + + Type of data to deserialize to + + + + Deserialized entity data + + + + + Parameter container for REST requests + + + + + Return a human-readable representation of this parameter + + String + + + + Name of the parameter + + + + + Value of the parameter + + + + + Type of the parameter + + + + + MIME content type of the parameter + + + + + Client to translate RestRequests into Http requests and process response result + + + + + Executes the request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + The HTTP method to execute + + + + Executes a POST-style request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + The HTTP method to execute + + + + Executes the request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + The HTTP method to execute + + + + Executes a POST-style request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + The HTTP method to execute + + + + Executes a GET-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes a GET-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes a POST-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes a POST-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes the request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes the request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes the request asynchronously, authenticating if needed + + Request to be executed + + + + Executes a GET-style asynchronously, authenticating if needed + + Request to be executed + + + + Executes a GET-style asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Executes a POST-style asynchronously, authenticating if needed + + Request to be executed + + + + Executes a POST-style asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Executes the request asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Default constructor that registers default content handlers + + + + + Sets the BaseUrl property for requests made by this client instance + + + + + + Sets the BaseUrl property for requests made by this client instance + + + + + + Registers a content handler to process response content + + MIME content type of the response content + Deserializer to use to process content + + + + Remove a content handler for the specified MIME content type + + MIME content type to remove + + + + Remove all content handlers + + + + + Retrieve the handler for the specified MIME content type + + MIME content type to retrieve + IDeserializer instance + + + + Assembles URL to call based on parameters, method and resource + + RestRequest to execute + Assembled System.Uri + + + + Executes the specified request and downloads the response data + + Request to execute + Response data + + + + Executes the request and returns a response, authenticating if needed + + Request to be executed + RestResponse + + + + Executes the specified request and deserializes the response content using the appropriate content handler + + Target deserialization type + Request to execute + RestResponse[[T]] with deserialized data in Data property + + + + Maximum number of redirects to follow if FollowRedirects is true + + + + + X509CertificateCollection to be sent with request + + + + + Proxy to use for requests made by this client instance. + Passed on to underlying WebRequest if set. + + + + + The cache policy to use for requests initiated by this client instance. + + + + + Default is true. Determine whether or not requests that result in + HTTP status codes of 3xx should follow returned redirect + + + + + The CookieContainer used for requests made by this client instance + + + + + UserAgent to use for requests made by this client instance + + + + + Timeout in milliseconds to use for requests made by this client instance + + + + + The number of milliseconds before the writing or reading times out. + + + + + Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked + + + + + Authenticator to use for requests made by this client instance + + + + + Combined with Request.Resource to construct URL for request + Should include scheme and domain without trailing slash. + + + client.BaseUrl = new Uri("http://example.com"); + + + + + Parameters included with every request made with this instance of RestClient + If specified in both client and request, the request wins + + + + + Executes the request and callback asynchronously, authenticating if needed + + The IRestClient this method extends + Request to be executed + Callback function to be executed upon completion + + + + Executes the request and callback asynchronously, authenticating if needed + + The IRestClient this method extends + Target deserialization type + Request to be executed + Callback function to be executed upon completion providing access to the async handle + + + + Add a parameter to use on every request made with this client instance + + The IRestClient instance + Parameter to add + + + + + Removes a parameter from the default parameters that are used on every request made with this client instance + + The IRestClient instance + The name of the parameter that needs to be removed + + + + + Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) + Used on every request made by this client instance + + The IRestClient instance + Name of the parameter + Value of the parameter + This request + + + + Adds a parameter to the request. There are four types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - RequestBody: Used by AddBody() (not recommended to use directly) + + The IRestClient instance + Name of the parameter + Value of the parameter + The type of parameter to add + This request + + + + Shortcut to AddDefaultParameter(name, value, HttpHeader) overload + + The IRestClient instance + Name of the header to add + Value of the header to add + + + + + Shortcut to AddDefaultParameter(name, value, UrlSegment) overload + + The IRestClient instance + Name of the segment to add + Value of the segment to add + + + + + Container for data used to make requests + + + + + Default constructor + + + + + Sets Method property to value of method + + Method to use for this request + + + + Sets Resource property + + Resource to use for this request + + + + Sets Resource and Method properties + + Resource to use for this request + Method to use for this request + + + + Sets Resource property + + Resource to use for this request + + + + Sets Resource and Method properties + + Resource to use for this request + Method to use for this request + + + + Adds a file to the Files collection to be included with a POST or PUT request + (other methods do not support file uploads). + + The parameter name to use in the request + Full path to file to upload + The MIME type of the file to upload + This request + + + + Adds the bytes to the Files collection with the specified file name + + The parameter name to use in the request + The file data + The file name to use for the uploaded file + The MIME type of the file to upload + This request + + + + Adds the bytes to the Files collection with the specified file name and content type + + The parameter name to use in the request + A function that writes directly to the stream. Should NOT close the stream. + The file name to use for the uploaded file + The MIME type of the file to upload + This request + + + + Add bytes to the Files collection as if it was a file of specific type + + A form parameter name + The file data + The file name to use for the uploaded file + Specific content type. Es: application/x-gzip + + + + + Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer + The default format is XML. Change RequestFormat if you wish to use a different serialization format. + + The object to serialize + The XML namespace to use when serializing + This request + + + + Serializes obj to data format specified by RequestFormat and adds it to the request body. + The default format is XML. Change RequestFormat if you wish to use a different serialization format. + + The object to serialize + This request + + + + Serializes obj to JSON format and adds it to the request body. + + The object to serialize + This request + + + + Serializes obj to XML format and adds it to the request body. + + The object to serialize + This request + + + + Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer + Serializes obj to XML format and passes xmlNamespace then adds it to the request body. + + The object to serialize + The XML namespace to use when serializing + This request + + + + Calls AddParameter() for all public, readable properties specified in the includedProperties list + + + request.AddObject(product, "ProductId", "Price", ...); + + The object with properties to add as parameters + The names of the properties to include + This request + + + + Calls AddParameter() for all public, readable properties of obj + + The object with properties to add as parameters + This request + + + + Add the parameter to the request + + Parameter to add + + + + + Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) + + Name of the parameter + Value of the parameter + This request + + + + Adds a parameter to the request. There are four types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - RequestBody: Used by AddBody() (not recommended to use directly) + + Name of the parameter + Value of the parameter + The type of parameter to add + This request + + + + Adds a parameter to the request. There are four types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - RequestBody: Used by AddBody() (not recommended to use directly) + + Name of the parameter + Value of the parameter + Content-Type of the parameter + The type of parameter to add + This request + + + + Shortcut to AddParameter(name, value, HttpHeader) overload + + Name of the header to add + Value of the header to add + + + + + Shortcut to AddParameter(name, value, Cookie) overload + + Name of the cookie to add + Value of the cookie to add + + + + + Shortcut to AddParameter(name, value, UrlSegment) overload + + Name of the segment to add + Value of the segment to add + + + + + Shortcut to AddParameter(name, value, QueryString) overload + + Name of the parameter to add + Value of the parameter to add + + + + + Internal Method so that RestClient can increase the number of attempts + + + + + Always send a multipart/form-data request - even when no Files are present. + + + + + Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. + By default the included JsonSerializer is used (currently using JSON.NET default serialization). + + + + + Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. + By default the included XmlSerializer is used. + + + + + Set this to write response to Stream rather than reading into memory. + + + + + Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) + will be sent along to the server. The default is false. + + + + + Container of all HTTP parameters to be passed with the request. + See AddParameter() for explanation of the types of parameters that can be passed + + + + + Container of all the files to be uploaded with the request. + + + + + Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS + Default is GET + + + + + The Resource URL to make the request against. + Tokens are substituted with UrlSegment parameters and match by name. + Should not include the scheme or domain. Do not include leading slash. + Combined with RestClient.BaseUrl to assemble final URL: + {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) + + + // example for url token replacement + request.Resource = "Products/{ProductId}"; + request.AddParameter("ProductId", 123, ParameterType.UrlSegment); + + + + + Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. + By default XmlSerializer is used. + + + + + Used by the default deserializers to determine where to start deserializing from. + Can be used to skip container or root elements that do not have corresponding deserialzation targets. + + + + + A function to run prior to deserializing starting (e.g. change settings if error encountered) + + + + + Used by the default deserializers to explicitly set which date format string to use when parsing dates. + + + + + Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. + + + + + In general you would not need to set this directly. Used by the NtlmAuthenticator. + + + + + Gets or sets a user-defined state object that contains information about a request and which can be later + retrieved when the request completes. + + + + + Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. + + + + + The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. + + + + + How many attempts were made to send this Request? + + + This Number is incremented each time the RestClient sends the request. + Useful when using Asynchronous Execution with Callbacks + + + + + Base class for common properties shared by RestResponse and RestResponse[[T]] + + + + + Default constructor + + + + + Assists with debugging responses by displaying in the debugger output + + + + + + The RestRequest that was made to get this RestResponse + + + Mainly for debugging if ResponseStatus is not OK + + + + + MIME content type of response + + + + + Length in bytes of the response content + + + + + Encoding of the response content + + + + + String representation of response content + + + + + HTTP response status code + + + + + Description of HTTP status returned + + + + + Response content + + + + + The URL that actually responded to the content (different from request if redirected) + + + + + HttpWebResponse.Server + + + + + Cookies returned by server with the response + + + + + Headers returned by server with the response + + + + + Status of the request. Will return Error for transport errors. + HTTP errors will still return ResponseStatus.Completed, check StatusCode instead + + + + + Transport or other non-HTTP error generated while attempting request + + + + + The exception thrown during the request, if any + + + + + Container for data sent back from API including deserialized data + + Type of data to deserialize to + + + + Deserialized entity data + + + + + Container for data sent back from API + + + + + Comment of the cookie + + + + + Comment of the cookie + + + + + Indicates whether the cookie should be discarded at the end of the session + + + + + Domain of the cookie + + + + + Indicates whether the cookie is expired + + + + + Date and time that the cookie expires + + + + + Indicates that this cookie should only be accessed by the server + + + + + Name of the cookie + + + + + Path of the cookie + + + + + Port of the cookie + + + + + Indicates that the cookie should only be sent over secure channels + + + + + Date and time the cookie was created + + + + + Value of the cookie + + + + + Version of the cookie + + + + + Wrapper for System.Xml.Serialization.XmlSerializer. + + + + + Default constructor, does not specify namespace + + + + + Specify the namespaced to be used when serializing + + XML namespace + + + + Serialize the object as XML + + Object to serialize + XML as string + + + + Name of the root element to use when serializing + + + + + XML namespace to use when serializing + + + + + Format string to use when serializing dates + + + + + Content type for serialized content + + + + + Encoding for serialized content + + + + + Need to subclass StringWriter in order to override Encoding + + + + + Default JSON serializer for request bodies + Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes + + + + + Default serializer + + + + + Serialize the object as JSON + + Object to serialize + JSON as String + + + + Unused for JSON Serialization + + + + + Unused for JSON Serialization + + + + + Unused for JSON Serialization + + + + + Content type for serialized content + + + + + Allows control how class and property names and values are serialized by XmlSerializer + Currently not supported with the JsonSerializer + When specified at the property level the class-level specification is overridden + + + + + Called by the attribute when NameStyle is speficied + + The string to transform + String + + + + The name to use for the serialized element + + + + + Sets the value to be serialized as an Attribute instead of an Element + + + + + The culture to use when serializing + + + + + Transforms the casing of the name based on the selected value. + + + + + The order to serialize the element. Default is int.MaxValue. + + + + + Options for transforming casing of element names + + + + + Default XML Serializer + + + + + Default constructor, does not specify namespace + + + + + Specify the namespaced to be used when serializing + + XML namespace + + + + Serialize the object as XML + + Object to serialize + XML as string + + + + Determines if a given object is numeric in any way + (can be integer, double, null, etc). + + + + + Name of the root element to use when serializing + + + + + XML namespace to use when serializing + + + + + Format string to use when serializing dates + + + + + Content type for serialized content + + + + + Helper methods for validating required values + + + + + Require a parameter to not be null + + Name of the parameter + Value of the parameter + + + + Represents the json array. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The capacity of the json array. + + + + The json representation of the array. + + The json representation of the array. + + + + Represents the json object. + + + + + The internal member dictionary. + + + + + Initializes a new instance of . + + + + + Initializes a new instance of . + + The implementation to use when comparing keys, or null to use the default for the type of the key. + + + + Adds the specified key. + + The key. + The value. + + + + Determines whether the specified key contains key. + + The key. + + true if the specified key contains key; otherwise, false. + + + + + Removes the specified key. + + The key. + + + + + Tries the get value. + + The key. + The value. + + + + + Adds the specified item. + + The item. + + + + Clears this instance. + + + + + Determines whether [contains] [the specified item]. + + The item. + + true if [contains] [the specified item]; otherwise, false. + + + + + Copies to. + + The array. + Index of the array. + + + + Removes the specified item. + + The item. + + + + + Gets the enumerator. + + + + + + Returns an enumerator that iterates through a collection. + + + An object that can be used to iterate through the collection. + + + + + Returns a json that represents the current . + + + A json that represents the current . + + + + + Provides implementation for type conversion operations. Classes derived from the class can override this method to specify dynamic behavior for operations that convert an object from one type to another. + + Provides information about the conversion operation. The binder.Type property provides the type to which the object must be converted. For example, for the statement (String)sampleObject in C# (CType(sampleObject, Type) in Visual Basic), where sampleObject is an instance of the class derived from the class, binder.Type returns the type. The binder.Explicit property provides information about the kind of conversion that occurs. It returns true for explicit conversion and false for implicit conversion. + The result of the type conversion operation. + + Alwasy returns true. + + + + + Provides the implementation for operations that delete an object member. This method is not intended for use in C# or Visual Basic. + + Provides information about the deletion. + + Alwasy returns true. + + + + + Provides the implementation for operations that get a value by index. Classes derived from the class can override this method to specify dynamic behavior for indexing operations. + + Provides information about the operation. + The indexes that are used in the operation. For example, for the sampleObject[3] operation in C# (sampleObject(3) in Visual Basic), where sampleObject is derived from the DynamicObject class, is equal to 3. + The result of the index operation. + + Alwasy returns true. + + + + + Provides the implementation for operations that get member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as getting a value for a property. + + Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member on which the dynamic operation is performed. For example, for the Console.WriteLine(sampleObject.SampleProperty) statement, where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive. + The result of the get operation. For example, if the method is called for a property, you can assign the property value to . + + Alwasy returns true. + + + + + Provides the implementation for operations that set a value by index. Classes derived from the class can override this method to specify dynamic behavior for operations that access objects by a specified index. + + Provides information about the operation. + The indexes that are used in the operation. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 3. + The value to set to the object that has the specified index. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 10. + + true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown. + + + + + Provides the implementation for operations that set member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as setting a value for a property. + + Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member to which the value is being assigned. For example, for the statement sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive. + The value to set to the member. For example, for sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, the is "Test". + + true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown.) + + + + + Returns the enumeration of all dynamic member names. + + + A sequence that contains dynamic member names. + + + + + Gets the at the specified index. + + + + + + Gets the keys. + + The keys. + + + + Gets the values. + + The values. + + + + Gets or sets the with the specified key. + + + + + + Gets the count. + + The count. + + + + Gets a value indicating whether this instance is read only. + + + true if this instance is read only; otherwise, false. + + + + + This class encodes and decodes JSON strings. + Spec. details, see http://www.json.org/ + + JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>). + All numbers are parsed to doubles. + + + + + Parses the string json into a value + + A JSON string. + An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false + + + + Try parsing the json string into a value. + + + A JSON string. + + + The object. + + + Returns true if successfull otherwise false. + + + + + Converts a IDictionary<string,object> / IList<object> object into a JSON string + + A IDictionary<string,object> / IList<object> + Serializer strategy to use + A JSON encoded string, or null if object 'json' is not serializable + + + + Determines if a given object is numeric in any way + (can be integer, double, null, etc). + + + + + Helper methods for validating values + + + + + Validate an integer value is between the specified values (exclusive of min/max) + + Value to validate + Exclusive minimum value + Exclusive maximum value + + + + Validate a string length + + String to be validated + Maximum length of the string + + + diff --git a/packages/RestSharp.105.2.3/lib/net452/RestSharp.xml b/packages/RestSharp.105.2.3/lib/net452/RestSharp.xml new file mode 100644 index 0000000..16ca278 --- /dev/null +++ b/packages/RestSharp.105.2.3/lib/net452/RestSharp.xml @@ -0,0 +1,3095 @@ + + + + RestSharp + + + + + JSON WEB TOKEN (JWT) Authenticator class. + https://tools.ietf.org/html/draft-ietf-oauth-json-web-token + + + + + Tries to Authenticate with the credentials of the currently logged in user, or impersonate a user + + + + + Authenticate with the credentials of the currently logged in user + + + + + Authenticate by impersonation + + + + + + + Authenticate by impersonation, using an existing ICredentials instance + + + + + + + + + Base class for OAuth 2 Authenticators. + + + Since there are many ways to authenticate in OAuth2, + this is used as a base class to differentiate between + other authenticators. + + Any other OAuth2 authenticators must derive from this + abstract class. + + + + + Access token to be used when authenticating. + + + + + Initializes a new instance of the class. + + + The access token. + + + + + Gets the access token. + + + + + The OAuth 2 authenticator using URI query parameter. + + + Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2 + + + + + Initializes a new instance of the class. + + + The access token. + + + + + The OAuth 2 authenticator using the authorization request header field. + + + Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1 + + + + + Stores the Authorization header value as "[tokenType] accessToken". used for performance. + + + + + Initializes a new instance of the class. + + + The access token. + + + + + Initializes a new instance of the class. + + + The access token. + + + The token type. + + + + + All text parameters are UTF-8 encoded (per section 5.1). + + + + + + Generates a random 16-byte lowercase alphanumeric string. + + + + + + + Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT" + + + + + + + Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT" + + + A specified point in time. + + + + + The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986. + + + + + + URL encodes a string based on section 5.1 of the OAuth spec. + Namely, percent encoding with [RFC3986], avoiding unreserved characters, + upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. + + The value to escape. + The escaped value. + + The method is supposed to take on + RFC 3986 behavior if certain elements are present in a .config file. Even if this + actually worked (which in my experiments it doesn't), we can't rely on every + host actually having this configuration element present. + + + + + + + URL encodes a string based on section 5.1 of the OAuth spec. + Namely, percent encoding with [RFC3986], avoiding unreserved characters, + upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. + + + + + + + Sorts a collection of key-value pairs by name, and then value if equal, + concatenating them into a single string. This string should be encoded + prior to, or after normalization is run. + + + + + + + + Sorts a by name, and then value if equal. + + A collection of parameters to sort + A sorted parameter collection + + + + Creates a request URL suitable for making OAuth requests. + Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively. + Resulting URLs must be lower case. + + + The original request URL + + + + + Creates a request elements concatentation value to send with a request. + This is also known as the signature base. + + + + The request's HTTP method type + The request URL + The request's parameters + A signature base string + + + + Creates a signature value given a signature base and the consumer secret. + This method is used when the token secret is currently unknown. + + + The hashing method + The signature base + The consumer key + + + + + Creates a signature value given a signature base and the consumer secret. + This method is used when the token secret is currently unknown. + + + The hashing method + The treatment to use on a signature value + The signature base + The consumer key + + + + + Creates a signature value given a signature base and the consumer secret and a known token secret. + + + The hashing method + The signature base + The consumer secret + The token secret + + + + + Creates a signature value given a signature base and the consumer secret and a known token secret. + + + The hashing method + The treatment to use on a signature value + The signature base + The consumer secret + The token secret + + + + + A class to encapsulate OAuth authentication flow. + + + + + + Generates a instance to pass to an + for the purpose of requesting an + unauthorized request token. + + The HTTP method for the intended request + + + + + + Generates a instance to pass to an + for the purpose of requesting an + unauthorized request token. + + The HTTP method for the intended request + Any existing, non-OAuth query parameters desired in the request + + + + + + Generates a instance to pass to an + for the purpose of exchanging a request token + for an access token authorized by the user at the Service Provider site. + + The HTTP method for the intended request + + + + + Generates a instance to pass to an + for the purpose of exchanging a request token + for an access token authorized by the user at the Service Provider site. + + The HTTP method for the intended request + + Any existing, non-OAuth query parameters desired in the request + + + + Generates a instance to pass to an + for the purpose of exchanging user credentials + for an access token authorized by the user at the Service Provider site. + + The HTTP method for the intended request + + Any existing, non-OAuth query parameters desired in the request + + + + + + + + + + + + + Allows control how class and property names and values are deserialized by XmlAttributeDeserializer + + + + + The name to use for the serialized element + + + + + Sets if the property to Deserialize is an Attribute or Element (Default: false) + + + + + Wrapper for System.Xml.Serialization.XmlSerializer. + + + + + Types of parameters that can be added to requests + + + + + Data formats + + + + + HTTP method to use when making requests + + + + + Format strings for commonly-used date formats + + + + + .NET format string for ISO 8601 date format + + + + + .NET format string for roundtrip date format + + + + + Status for responses (surprised?) + + + + + Extension method overload! + + + + + Save a byte array to a file + + Bytes to save + Full path to save file to + + + + Read a stream into a byte array + + Stream to read + byte[] + + + + Copies bytes from one stream to another + + The input stream. + The output stream. + + + + Converts a byte array to a string, using its byte order mark to convert it to the right encoding. + http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx + + An array of bytes to convert + The byte as a string. + + + + Decodes an HTML-encoded string and returns the decoded string. + + The HTML string to decode. + The decoded text. + + + + Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream. + + The HTML string to decode + The TextWriter output stream containing the decoded string. + + + + HTML-encodes a string and sends the resulting output to a TextWriter output stream. + + The string to encode. + The TextWriter output stream containing the encoded string. + + + + Reflection extensions + + + + + Retrieve an attribute from a member (property) + + Type of attribute to retrieve + Member to retrieve attribute from + + + + + Retrieve an attribute from a type + + Type of attribute to retrieve + Type to retrieve attribute from + + + + + Checks a type to see if it derives from a raw generic (e.g. List[[]]) + + + + + + + + Find a value from a System.Enum by trying several possible variants + of the string value of the enum. + + Type of enum + Value for which to search + The culture used to calculate the name variants + + + + + Convert a to a instance. + + The response status. + + responseStatus + + + + Uses Uri.EscapeDataString() based on recommendations on MSDN + http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx + + + + + Check that a string is not null or empty + + String to check + bool + + + + Remove underscores from a string + + String to process + string + + + + Parses most common JSON date formats + + JSON value to parse + + DateTime + + + + Remove leading and trailing " from a string + + String to parse + String + + + + Checks a string to see if it matches a regex + + String to check + Pattern to match + bool + + + + Converts a string to pascal case + + String to convert + + string + + + + Converts a string to pascal case with the option to remove underscores + + String to convert + Option to remove underscores + + + + + + Converts a string to camel case + + String to convert + + String + + + + Convert the first letter of a string to lower case + + String to convert + string + + + + Checks to see if a string is all uppper case + + String to check + bool + + + + Add underscores to a pascal-cased string + + String to convert + string + + + + Add dashes to a pascal-cased string + + String to convert + string + + + + Add an undescore prefix to a pascasl-cased string + + + + + + + Add spaces to a pascal-cased string + + String to convert + string + + + + Return possible variants of a name for name matching. + + String to convert + The culture to use for conversion + IEnumerable<string> + + + + XML Extension Methods + + + + + Returns the name of an element with the namespace if specified + + Element name + XML Namespace + + + + + Container for files to be uploaded with requests + + + + + Creates a file parameter from an array of bytes. + + The parameter name to use in the request. + The data to use as the file's contents. + The filename to use in the request. + The content type to use in the request. + The + + + + Creates a file parameter from an array of bytes. + + The parameter name to use in the request. + The data to use as the file's contents. + The filename to use in the request. + The using the default content type. + + + + The length of data to be sent + + + + + Provides raw data for file + + + + + Name of the file to use when uploading + + + + + MIME content type of file + + + + + Name of the parameter + + + + + HttpWebRequest wrapper (async methods) + + + HttpWebRequest wrapper + + + HttpWebRequest wrapper (sync methods) + + + + + Always send a multipart/form-data request - even when no Files are present. + + + + + An alternative to RequestBody, for when the caller already has the byte array. + + + + + Execute an async POST-style request with the specified HTTP Method. + + + The HTTP method to execute. + + + + + Execute an async GET-style request with the specified HTTP Method. + + + The HTTP method to execute. + + + + + Creates an IHttp + + + + + + Default constructor + + + + + Execute a POST request + + + + + Execute a PUT request + + + + + Execute a GET request + + + + + Execute a HEAD request + + + + + Execute an OPTIONS request + + + + + Execute a DELETE request + + + + + Execute a PATCH request + + + + + Execute a MERGE request + + + + + Execute a GET-style request with the specified HTTP Method. + + The HTTP method to execute. + + + + + Execute a POST-style request with the specified HTTP Method. + + The HTTP method to execute. + + + + + True if this HTTP request has any HTTP parameters + + + + + True if this HTTP request has any HTTP cookies + + + + + True if a request body has been specified + + + + + True if files have been set to be uploaded + + + + + Always send a multipart/form-data request - even when no Files are present. + + + + + UserAgent to be sent with request + + + + + Timeout in milliseconds to be used for the request + + + + + The number of milliseconds before the writing or reading times out. + + + + + System.Net.ICredentials to be sent with request + + + + + The System.Net.CookieContainer to be used for the request + + + + + The method to use to write the response instead of reading into RawBytes + + + + + Collection of files to be sent with request + + + + + Whether or not HTTP 3xx response redirects should be automatically followed + + + + + X509CertificateCollection to be sent with request + + + + + Maximum number of automatic redirects to follow if FollowRedirects is true + + + + + Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) + will be sent along to the server. + + + + + HTTP headers to be sent with request + + + + + HTTP parameters (QueryString or Form values) to be sent with request + + + + + HTTP cookies to be sent with request + + + + + Request body to be sent with request + + + + + Content type of the request body. + + + + + An alternative to RequestBody, for when the caller already has the byte array. + + + + + URL to call for this request + + + + + Flag to send authorisation header with the HttpWebRequest + + + + + Proxy info to be sent with request + + + + + Caching policy for requests created with this wrapper. + + + + + Representation of an HTTP cookie + + + + + Comment of the cookie + + + + + Comment of the cookie + + + + + Indicates whether the cookie should be discarded at the end of the session + + + + + Domain of the cookie + + + + + Indicates whether the cookie is expired + + + + + Date and time that the cookie expires + + + + + Indicates that this cookie should only be accessed by the server + + + + + Name of the cookie + + + + + Path of the cookie + + + + + Port of the cookie + + + + + Indicates that the cookie should only be sent over secure channels + + + + + Date and time the cookie was created + + + + + Value of the cookie + + + + + Version of the cookie + + + + + Container for HTTP file + + + + + The length of data to be sent + + + + + Provides raw data for file + + + + + Name of the file to use when uploading + + + + + MIME content type of file + + + + + Name of the parameter + + + + + Representation of an HTTP header + + + + + Name of the header + + + + + Value of the header + + + + + Representation of an HTTP parameter (QueryString or Form value) + + + + + Name of the parameter + + + + + Value of the parameter + + + + + Content-Type of the parameter + + + + + HTTP response data + + + + + HTTP response data + + + + + MIME content type of response + + + + + Length in bytes of the response content + + + + + Encoding of the response content + + + + + String representation of response content + + + + + HTTP response status code + + + + + Description of HTTP status returned + + + + + Response content + + + + + The URL that actually responded to the content (different from request if redirected) + + + + + HttpWebResponse.Server + + + + + Headers returned by server with the response + + + + + Cookies returned by server with the response + + + + + Status of the request. Will return Error for transport errors. + HTTP errors will still return ResponseStatus.Completed, check StatusCode instead + + + + + Transport or other non-HTTP error generated while attempting request + + + + + Exception thrown when error is encountered. + + + + + Default constructor + + + + + MIME content type of response + + + + + Length in bytes of the response content + + + + + Encoding of the response content + + + + + Lazy-loaded string representation of response content + + + + + HTTP response status code + + + + + Description of HTTP status returned + + + + + Response content + + + + + The URL that actually responded to the content (different from request if redirected) + + + + + HttpWebResponse.Server + + + + + Headers returned by server with the response + + + + + Cookies returned by server with the response + + + + + Status of the request. Will return Error for transport errors. + HTTP errors will still return ResponseStatus.Completed, check StatusCode instead + + + + + Transport or other non-HTTP error generated while attempting request + + + + + Exception thrown when error is encountered. + + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + The HTTP method to execute + + + + Executes a POST-style request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + The HTTP method to execute + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + The HTTP method to execute + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + The HTTP method to execute + + + + Executes the request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes the request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes a GET-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes a GET-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes a POST-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes a POST-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes the request and callback asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Executes the request asynchronously, authenticating if needed + + Request to be executed + + + + Executes a GET-style asynchronously, authenticating if needed + + Request to be executed + + + + Executes a GET-style asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Executes a POST-style asynchronously, authenticating if needed + + Request to be executed + + + + Executes a POST-style asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + X509CertificateCollection to be sent with request + + + + + Adds a file to the Files collection to be included with a POST or PUT request + (other methods do not support file uploads). + + The parameter name to use in the request + Full path to file to upload + The MIME type of the file to upload + This request + + + + Adds the bytes to the Files collection with the specified file name and content type + + The parameter name to use in the request + The file data + The file name to use for the uploaded file + The MIME type of the file to upload + This request + + + + Adds the bytes to the Files collection with the specified file name and content type + + The parameter name to use in the request + A function that writes directly to the stream. Should NOT close the stream. + The file name to use for the uploaded file + The MIME type of the file to upload + This request + + + + Add bytes to the Files collection as if it was a file of specific type + + A form parameter name + The file data + The file name to use for the uploaded file + Specific content type. Es: application/x-gzip + + + + + Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer + The default format is XML. Change RequestFormat if you wish to use a different serialization format. + + The object to serialize + The XML namespace to use when serializing + This request + + + + Serializes obj to data format specified by RequestFormat and adds it to the request body. + The default format is XML. Change RequestFormat if you wish to use a different serialization format. + + The object to serialize + This request + + + + Serializes obj to JSON format and adds it to the request body. + + The object to serialize + This request + + + + Serializes obj to XML format and adds it to the request body. + + The object to serialize + This request + + + + Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer + Serializes obj to XML format and passes xmlNamespace then adds it to the request body. + + The object to serialize + The XML namespace to use when serializing + This request + + + + Calls AddParameter() for all public, readable properties specified in the includedProperties list + + + request.AddObject(product, "ProductId", "Price", ...); + + The object with properties to add as parameters + The names of the properties to include + This request + + + + Calls AddParameter() for all public, readable properties of obj + + The object with properties to add as parameters + This request + + + + Add the parameter to the request + + Parameter to add + + + + + Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) + + Name of the parameter + Value of the parameter + This request + + + + Adds a parameter to the request. There are five types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - Cookie: Adds the name/value pair to the HTTP request's Cookies collection + - RequestBody: Used by AddBody() (not recommended to use directly) + + Name of the parameter + Value of the parameter + The type of parameter to add + This request + + + + Adds a parameter to the request. There are five types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - Cookie: Adds the name/value pair to the HTTP request's Cookies collection + - RequestBody: Used by AddBody() (not recommended to use directly) + + Name of the parameter + Value of the parameter + Content-Type of the parameter + The type of parameter to add + This request + + + + Shortcut to AddParameter(name, value, HttpHeader) overload + + Name of the header to add + Value of the header to add + + + + + Shortcut to AddParameter(name, value, Cookie) overload + + Name of the cookie to add + Value of the cookie to add + + + + + Shortcut to AddParameter(name, value, UrlSegment) overload + + Name of the segment to add + Value of the segment to add + + + + + Shortcut to AddParameter(name, value, QueryString) overload + + Name of the parameter to add + Value of the parameter to add + + + + + Always send a multipart/form-data request - even when no Files are present. + + + + + Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. + By default the included JsonSerializer is used (currently using JSON.NET default serialization). + + + + + Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. + By default the included XmlSerializer is used. + + + + + Set this to write response to Stream rather than reading into memory. + + + + + Container of all HTTP parameters to be passed with the request. + See AddParameter() for explanation of the types of parameters that can be passed + + + + + Container of all the files to be uploaded with the request. + + + + + Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS + Default is GET + + + + + The Resource URL to make the request against. + Tokens are substituted with UrlSegment parameters and match by name. + Should not include the scheme or domain. Do not include leading slash. + Combined with RestClient.BaseUrl to assemble final URL: + {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) + + + // example for url token replacement + request.Resource = "Products/{ProductId}"; + request.AddParameter("ProductId", 123, ParameterType.UrlSegment); + + + + + Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. + By default XmlSerializer is used. + + + + + Used by the default deserializers to determine where to start deserializing from. + Can be used to skip container or root elements that do not have corresponding deserialzation targets. + + + + + Used by the default deserializers to explicitly set which date format string to use when parsing dates. + + + + + Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. + + + + + In general you would not need to set this directly. Used by the NtlmAuthenticator. + + + + + Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. + + + + + The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. + + + + + How many attempts were made to send this Request? + + + This Number is incremented each time the RestClient sends the request. + Useful when using Asynchronous Execution with Callbacks + + + + + Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) + will be sent along to the server. The default is false. + + + + + Container for data sent back from API + + + + + The RestRequest that was made to get this RestResponse + + + Mainly for debugging if ResponseStatus is not OK + + + + + MIME content type of response + + + + + Length in bytes of the response content + + + + + Encoding of the response content + + + + + String representation of response content + + + + + HTTP response status code + + + + + Description of HTTP status returned + + + + + Response content + + + + + The URL that actually responded to the content (different from request if redirected) + + + + + HttpWebResponse.Server + + + + + Cookies returned by server with the response + + + + + Headers returned by server with the response + + + + + Status of the request. Will return Error for transport errors. + HTTP errors will still return ResponseStatus.Completed, check StatusCode instead + + + + + Transport or other non-HTTP error generated while attempting request + + + + + Exceptions thrown during the request, if any. + + Will contain only network transport or framework exceptions thrown during the request. + HTTP protocol errors are handled by RestSharp and will not appear here. + + + + Container for data sent back from API including deserialized data + + Type of data to deserialize to + + + + Deserialized entity data + + + + + Parameter container for REST requests + + + + + Return a human-readable representation of this parameter + + String + + + + Name of the parameter + + + + + Value of the parameter + + + + + Type of the parameter + + + + + MIME content type of the parameter + + + + + Client to translate RestRequests into Http requests and process response result + + + + + Executes the request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + The HTTP method to execute + + + + Executes a POST-style request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + The HTTP method to execute + + + + Executes the request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + The HTTP method to execute + + + + Executes a POST-style request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + The HTTP method to execute + + + + Executes a GET-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes a GET-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes a POST-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes a POST-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes the request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes the request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes the request asynchronously, authenticating if needed + + Request to be executed + + + + Executes a GET-style asynchronously, authenticating if needed + + Request to be executed + + + + Executes a GET-style asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Executes a POST-style asynchronously, authenticating if needed + + Request to be executed + + + + Executes a POST-style asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Executes the request asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Default constructor that registers default content handlers + + + + + Sets the BaseUrl property for requests made by this client instance + + + + + + Sets the BaseUrl property for requests made by this client instance + + + + + + Registers a content handler to process response content + + MIME content type of the response content + Deserializer to use to process content + + + + Remove a content handler for the specified MIME content type + + MIME content type to remove + + + + Remove all content handlers + + + + + Retrieve the handler for the specified MIME content type + + MIME content type to retrieve + IDeserializer instance + + + + Assembles URL to call based on parameters, method and resource + + RestRequest to execute + Assembled System.Uri + + + + Executes the specified request and downloads the response data + + Request to execute + Response data + + + + Executes the request and returns a response, authenticating if needed + + Request to be executed + RestResponse + + + + Executes the specified request and deserializes the response content using the appropriate content handler + + Target deserialization type + Request to execute + RestResponse[[T]] with deserialized data in Data property + + + + Maximum number of redirects to follow if FollowRedirects is true + + + + + X509CertificateCollection to be sent with request + + + + + Proxy to use for requests made by this client instance. + Passed on to underlying WebRequest if set. + + + + + The cache policy to use for requests initiated by this client instance. + + + + + Default is true. Determine whether or not requests that result in + HTTP status codes of 3xx should follow returned redirect + + + + + The CookieContainer used for requests made by this client instance + + + + + UserAgent to use for requests made by this client instance + + + + + Timeout in milliseconds to use for requests made by this client instance + + + + + The number of milliseconds before the writing or reading times out. + + + + + Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked + + + + + Authenticator to use for requests made by this client instance + + + + + Combined with Request.Resource to construct URL for request + Should include scheme and domain without trailing slash. + + + client.BaseUrl = new Uri("http://example.com"); + + + + + Parameters included with every request made with this instance of RestClient + If specified in both client and request, the request wins + + + + + Executes the request and callback asynchronously, authenticating if needed + + The IRestClient this method extends + Request to be executed + Callback function to be executed upon completion + + + + Executes the request and callback asynchronously, authenticating if needed + + The IRestClient this method extends + Target deserialization type + Request to be executed + Callback function to be executed upon completion providing access to the async handle + + + + Add a parameter to use on every request made with this client instance + + The IRestClient instance + Parameter to add + + + + + Removes a parameter from the default parameters that are used on every request made with this client instance + + The IRestClient instance + The name of the parameter that needs to be removed + + + + + Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) + Used on every request made by this client instance + + The IRestClient instance + Name of the parameter + Value of the parameter + This request + + + + Adds a parameter to the request. There are four types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - RequestBody: Used by AddBody() (not recommended to use directly) + + The IRestClient instance + Name of the parameter + Value of the parameter + The type of parameter to add + This request + + + + Shortcut to AddDefaultParameter(name, value, HttpHeader) overload + + The IRestClient instance + Name of the header to add + Value of the header to add + + + + + Shortcut to AddDefaultParameter(name, value, UrlSegment) overload + + The IRestClient instance + Name of the segment to add + Value of the segment to add + + + + + Container for data used to make requests + + + + + Default constructor + + + + + Sets Method property to value of method + + Method to use for this request + + + + Sets Resource property + + Resource to use for this request + + + + Sets Resource and Method properties + + Resource to use for this request + Method to use for this request + + + + Sets Resource property + + Resource to use for this request + + + + Sets Resource and Method properties + + Resource to use for this request + Method to use for this request + + + + Adds a file to the Files collection to be included with a POST or PUT request + (other methods do not support file uploads). + + The parameter name to use in the request + Full path to file to upload + The MIME type of the file to upload + This request + + + + Adds the bytes to the Files collection with the specified file name + + The parameter name to use in the request + The file data + The file name to use for the uploaded file + The MIME type of the file to upload + This request + + + + Adds the bytes to the Files collection with the specified file name and content type + + The parameter name to use in the request + A function that writes directly to the stream. Should NOT close the stream. + The file name to use for the uploaded file + The MIME type of the file to upload + This request + + + + Add bytes to the Files collection as if it was a file of specific type + + A form parameter name + The file data + The file name to use for the uploaded file + Specific content type. Es: application/x-gzip + + + + + Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer + The default format is XML. Change RequestFormat if you wish to use a different serialization format. + + The object to serialize + The XML namespace to use when serializing + This request + + + + Serializes obj to data format specified by RequestFormat and adds it to the request body. + The default format is XML. Change RequestFormat if you wish to use a different serialization format. + + The object to serialize + This request + + + + Serializes obj to JSON format and adds it to the request body. + + The object to serialize + This request + + + + Serializes obj to XML format and adds it to the request body. + + The object to serialize + This request + + + + Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer + Serializes obj to XML format and passes xmlNamespace then adds it to the request body. + + The object to serialize + The XML namespace to use when serializing + This request + + + + Calls AddParameter() for all public, readable properties specified in the includedProperties list + + + request.AddObject(product, "ProductId", "Price", ...); + + The object with properties to add as parameters + The names of the properties to include + This request + + + + Calls AddParameter() for all public, readable properties of obj + + The object with properties to add as parameters + This request + + + + Add the parameter to the request + + Parameter to add + + + + + Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) + + Name of the parameter + Value of the parameter + This request + + + + Adds a parameter to the request. There are four types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - RequestBody: Used by AddBody() (not recommended to use directly) + + Name of the parameter + Value of the parameter + The type of parameter to add + This request + + + + Adds a parameter to the request. There are four types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - RequestBody: Used by AddBody() (not recommended to use directly) + + Name of the parameter + Value of the parameter + Content-Type of the parameter + The type of parameter to add + This request + + + + Shortcut to AddParameter(name, value, HttpHeader) overload + + Name of the header to add + Value of the header to add + + + + + Shortcut to AddParameter(name, value, Cookie) overload + + Name of the cookie to add + Value of the cookie to add + + + + + Shortcut to AddParameter(name, value, UrlSegment) overload + + Name of the segment to add + Value of the segment to add + + + + + Shortcut to AddParameter(name, value, QueryString) overload + + Name of the parameter to add + Value of the parameter to add + + + + + Internal Method so that RestClient can increase the number of attempts + + + + + Always send a multipart/form-data request - even when no Files are present. + + + + + Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. + By default the included JsonSerializer is used (currently using JSON.NET default serialization). + + + + + Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. + By default the included XmlSerializer is used. + + + + + Set this to write response to Stream rather than reading into memory. + + + + + Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) + will be sent along to the server. The default is false. + + + + + Container of all HTTP parameters to be passed with the request. + See AddParameter() for explanation of the types of parameters that can be passed + + + + + Container of all the files to be uploaded with the request. + + + + + Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS + Default is GET + + + + + The Resource URL to make the request against. + Tokens are substituted with UrlSegment parameters and match by name. + Should not include the scheme or domain. Do not include leading slash. + Combined with RestClient.BaseUrl to assemble final URL: + {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) + + + // example for url token replacement + request.Resource = "Products/{ProductId}"; + request.AddParameter("ProductId", 123, ParameterType.UrlSegment); + + + + + Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. + By default XmlSerializer is used. + + + + + Used by the default deserializers to determine where to start deserializing from. + Can be used to skip container or root elements that do not have corresponding deserialzation targets. + + + + + A function to run prior to deserializing starting (e.g. change settings if error encountered) + + + + + Used by the default deserializers to explicitly set which date format string to use when parsing dates. + + + + + Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. + + + + + In general you would not need to set this directly. Used by the NtlmAuthenticator. + + + + + Gets or sets a user-defined state object that contains information about a request and which can be later + retrieved when the request completes. + + + + + Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. + + + + + The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. + + + + + How many attempts were made to send this Request? + + + This Number is incremented each time the RestClient sends the request. + Useful when using Asynchronous Execution with Callbacks + + + + + Base class for common properties shared by RestResponse and RestResponse[[T]] + + + + + Default constructor + + + + + Assists with debugging responses by displaying in the debugger output + + + + + + The RestRequest that was made to get this RestResponse + + + Mainly for debugging if ResponseStatus is not OK + + + + + MIME content type of response + + + + + Length in bytes of the response content + + + + + Encoding of the response content + + + + + String representation of response content + + + + + HTTP response status code + + + + + Description of HTTP status returned + + + + + Response content + + + + + The URL that actually responded to the content (different from request if redirected) + + + + + HttpWebResponse.Server + + + + + Cookies returned by server with the response + + + + + Headers returned by server with the response + + + + + Status of the request. Will return Error for transport errors. + HTTP errors will still return ResponseStatus.Completed, check StatusCode instead + + + + + Transport or other non-HTTP error generated while attempting request + + + + + The exception thrown during the request, if any + + + + + Container for data sent back from API including deserialized data + + Type of data to deserialize to + + + + Deserialized entity data + + + + + Container for data sent back from API + + + + + Comment of the cookie + + + + + Comment of the cookie + + + + + Indicates whether the cookie should be discarded at the end of the session + + + + + Domain of the cookie + + + + + Indicates whether the cookie is expired + + + + + Date and time that the cookie expires + + + + + Indicates that this cookie should only be accessed by the server + + + + + Name of the cookie + + + + + Path of the cookie + + + + + Port of the cookie + + + + + Indicates that the cookie should only be sent over secure channels + + + + + Date and time the cookie was created + + + + + Value of the cookie + + + + + Version of the cookie + + + + + Wrapper for System.Xml.Serialization.XmlSerializer. + + + + + Default constructor, does not specify namespace + + + + + Specify the namespaced to be used when serializing + + XML namespace + + + + Serialize the object as XML + + Object to serialize + XML as string + + + + Name of the root element to use when serializing + + + + + XML namespace to use when serializing + + + + + Format string to use when serializing dates + + + + + Content type for serialized content + + + + + Encoding for serialized content + + + + + Need to subclass StringWriter in order to override Encoding + + + + + Default JSON serializer for request bodies + Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes + + + + + Default serializer + + + + + Serialize the object as JSON + + Object to serialize + JSON as String + + + + Unused for JSON Serialization + + + + + Unused for JSON Serialization + + + + + Unused for JSON Serialization + + + + + Content type for serialized content + + + + + Allows control how class and property names and values are serialized by XmlSerializer + Currently not supported with the JsonSerializer + When specified at the property level the class-level specification is overridden + + + + + Called by the attribute when NameStyle is speficied + + The string to transform + String + + + + The name to use for the serialized element + + + + + Sets the value to be serialized as an Attribute instead of an Element + + + + + The culture to use when serializing + + + + + Transforms the casing of the name based on the selected value. + + + + + The order to serialize the element. Default is int.MaxValue. + + + + + Options for transforming casing of element names + + + + + Default XML Serializer + + + + + Default constructor, does not specify namespace + + + + + Specify the namespaced to be used when serializing + + XML namespace + + + + Serialize the object as XML + + Object to serialize + XML as string + + + + Determines if a given object is numeric in any way + (can be integer, double, null, etc). + + + + + Name of the root element to use when serializing + + + + + XML namespace to use when serializing + + + + + Format string to use when serializing dates + + + + + Content type for serialized content + + + + + Helper methods for validating required values + + + + + Require a parameter to not be null + + Name of the parameter + Value of the parameter + + + + Represents the json array. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The capacity of the json array. + + + + The json representation of the array. + + The json representation of the array. + + + + Represents the json object. + + + + + The internal member dictionary. + + + + + Initializes a new instance of . + + + + + Initializes a new instance of . + + The implementation to use when comparing keys, or null to use the default for the type of the key. + + + + Adds the specified key. + + The key. + The value. + + + + Determines whether the specified key contains key. + + The key. + + true if the specified key contains key; otherwise, false. + + + + + Removes the specified key. + + The key. + + + + + Tries the get value. + + The key. + The value. + + + + + Adds the specified item. + + The item. + + + + Clears this instance. + + + + + Determines whether [contains] [the specified item]. + + The item. + + true if [contains] [the specified item]; otherwise, false. + + + + + Copies to. + + The array. + Index of the array. + + + + Removes the specified item. + + The item. + + + + + Gets the enumerator. + + + + + + Returns an enumerator that iterates through a collection. + + + An object that can be used to iterate through the collection. + + + + + Returns a json that represents the current . + + + A json that represents the current . + + + + + Provides implementation for type conversion operations. Classes derived from the class can override this method to specify dynamic behavior for operations that convert an object from one type to another. + + Provides information about the conversion operation. The binder.Type property provides the type to which the object must be converted. For example, for the statement (String)sampleObject in C# (CType(sampleObject, Type) in Visual Basic), where sampleObject is an instance of the class derived from the class, binder.Type returns the type. The binder.Explicit property provides information about the kind of conversion that occurs. It returns true for explicit conversion and false for implicit conversion. + The result of the type conversion operation. + + Alwasy returns true. + + + + + Provides the implementation for operations that delete an object member. This method is not intended for use in C# or Visual Basic. + + Provides information about the deletion. + + Alwasy returns true. + + + + + Provides the implementation for operations that get a value by index. Classes derived from the class can override this method to specify dynamic behavior for indexing operations. + + Provides information about the operation. + The indexes that are used in the operation. For example, for the sampleObject[3] operation in C# (sampleObject(3) in Visual Basic), where sampleObject is derived from the DynamicObject class, is equal to 3. + The result of the index operation. + + Alwasy returns true. + + + + + Provides the implementation for operations that get member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as getting a value for a property. + + Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member on which the dynamic operation is performed. For example, for the Console.WriteLine(sampleObject.SampleProperty) statement, where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive. + The result of the get operation. For example, if the method is called for a property, you can assign the property value to . + + Alwasy returns true. + + + + + Provides the implementation for operations that set a value by index. Classes derived from the class can override this method to specify dynamic behavior for operations that access objects by a specified index. + + Provides information about the operation. + The indexes that are used in the operation. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 3. + The value to set to the object that has the specified index. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 10. + + true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown. + + + + + Provides the implementation for operations that set member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as setting a value for a property. + + Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member to which the value is being assigned. For example, for the statement sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive. + The value to set to the member. For example, for sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, the is "Test". + + true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown.) + + + + + Returns the enumeration of all dynamic member names. + + + A sequence that contains dynamic member names. + + + + + Gets the at the specified index. + + + + + + Gets the keys. + + The keys. + + + + Gets the values. + + The values. + + + + Gets or sets the with the specified key. + + + + + + Gets the count. + + The count. + + + + Gets a value indicating whether this instance is read only. + + + true if this instance is read only; otherwise, false. + + + + + This class encodes and decodes JSON strings. + Spec. details, see http://www.json.org/ + + JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>). + All numbers are parsed to doubles. + + + + + Parses the string json into a value + + A JSON string. + An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false + + + + Try parsing the json string into a value. + + + A JSON string. + + + The object. + + + Returns true if successfull otherwise false. + + + + + Converts a IDictionary<string,object> / IList<object> object into a JSON string + + A IDictionary<string,object> / IList<object> + Serializer strategy to use + A JSON encoded string, or null if object 'json' is not serializable + + + + Determines if a given object is numeric in any way + (can be integer, double, null, etc). + + + + + Helper methods for validating values + + + + + Validate an integer value is between the specified values (exclusive of min/max) + + Value to validate + Exclusive minimum value + Exclusive maximum value + + + + Validate a string length + + String to be validated + Maximum length of the string + + + diff --git a/packages/RestSharp.105.2.3/lib/net46/RestSharp.xml b/packages/RestSharp.105.2.3/lib/net46/RestSharp.xml new file mode 100644 index 0000000..16ca278 --- /dev/null +++ b/packages/RestSharp.105.2.3/lib/net46/RestSharp.xml @@ -0,0 +1,3095 @@ + + + + RestSharp + + + + + JSON WEB TOKEN (JWT) Authenticator class. + https://tools.ietf.org/html/draft-ietf-oauth-json-web-token + + + + + Tries to Authenticate with the credentials of the currently logged in user, or impersonate a user + + + + + Authenticate with the credentials of the currently logged in user + + + + + Authenticate by impersonation + + + + + + + Authenticate by impersonation, using an existing ICredentials instance + + + + + + + + + Base class for OAuth 2 Authenticators. + + + Since there are many ways to authenticate in OAuth2, + this is used as a base class to differentiate between + other authenticators. + + Any other OAuth2 authenticators must derive from this + abstract class. + + + + + Access token to be used when authenticating. + + + + + Initializes a new instance of the class. + + + The access token. + + + + + Gets the access token. + + + + + The OAuth 2 authenticator using URI query parameter. + + + Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2 + + + + + Initializes a new instance of the class. + + + The access token. + + + + + The OAuth 2 authenticator using the authorization request header field. + + + Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1 + + + + + Stores the Authorization header value as "[tokenType] accessToken". used for performance. + + + + + Initializes a new instance of the class. + + + The access token. + + + + + Initializes a new instance of the class. + + + The access token. + + + The token type. + + + + + All text parameters are UTF-8 encoded (per section 5.1). + + + + + + Generates a random 16-byte lowercase alphanumeric string. + + + + + + + Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT" + + + + + + + Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT" + + + A specified point in time. + + + + + The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986. + + + + + + URL encodes a string based on section 5.1 of the OAuth spec. + Namely, percent encoding with [RFC3986], avoiding unreserved characters, + upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. + + The value to escape. + The escaped value. + + The method is supposed to take on + RFC 3986 behavior if certain elements are present in a .config file. Even if this + actually worked (which in my experiments it doesn't), we can't rely on every + host actually having this configuration element present. + + + + + + + URL encodes a string based on section 5.1 of the OAuth spec. + Namely, percent encoding with [RFC3986], avoiding unreserved characters, + upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. + + + + + + + Sorts a collection of key-value pairs by name, and then value if equal, + concatenating them into a single string. This string should be encoded + prior to, or after normalization is run. + + + + + + + + Sorts a by name, and then value if equal. + + A collection of parameters to sort + A sorted parameter collection + + + + Creates a request URL suitable for making OAuth requests. + Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively. + Resulting URLs must be lower case. + + + The original request URL + + + + + Creates a request elements concatentation value to send with a request. + This is also known as the signature base. + + + + The request's HTTP method type + The request URL + The request's parameters + A signature base string + + + + Creates a signature value given a signature base and the consumer secret. + This method is used when the token secret is currently unknown. + + + The hashing method + The signature base + The consumer key + + + + + Creates a signature value given a signature base and the consumer secret. + This method is used when the token secret is currently unknown. + + + The hashing method + The treatment to use on a signature value + The signature base + The consumer key + + + + + Creates a signature value given a signature base and the consumer secret and a known token secret. + + + The hashing method + The signature base + The consumer secret + The token secret + + + + + Creates a signature value given a signature base and the consumer secret and a known token secret. + + + The hashing method + The treatment to use on a signature value + The signature base + The consumer secret + The token secret + + + + + A class to encapsulate OAuth authentication flow. + + + + + + Generates a instance to pass to an + for the purpose of requesting an + unauthorized request token. + + The HTTP method for the intended request + + + + + + Generates a instance to pass to an + for the purpose of requesting an + unauthorized request token. + + The HTTP method for the intended request + Any existing, non-OAuth query parameters desired in the request + + + + + + Generates a instance to pass to an + for the purpose of exchanging a request token + for an access token authorized by the user at the Service Provider site. + + The HTTP method for the intended request + + + + + Generates a instance to pass to an + for the purpose of exchanging a request token + for an access token authorized by the user at the Service Provider site. + + The HTTP method for the intended request + + Any existing, non-OAuth query parameters desired in the request + + + + Generates a instance to pass to an + for the purpose of exchanging user credentials + for an access token authorized by the user at the Service Provider site. + + The HTTP method for the intended request + + Any existing, non-OAuth query parameters desired in the request + + + + + + + + + + + + + Allows control how class and property names and values are deserialized by XmlAttributeDeserializer + + + + + The name to use for the serialized element + + + + + Sets if the property to Deserialize is an Attribute or Element (Default: false) + + + + + Wrapper for System.Xml.Serialization.XmlSerializer. + + + + + Types of parameters that can be added to requests + + + + + Data formats + + + + + HTTP method to use when making requests + + + + + Format strings for commonly-used date formats + + + + + .NET format string for ISO 8601 date format + + + + + .NET format string for roundtrip date format + + + + + Status for responses (surprised?) + + + + + Extension method overload! + + + + + Save a byte array to a file + + Bytes to save + Full path to save file to + + + + Read a stream into a byte array + + Stream to read + byte[] + + + + Copies bytes from one stream to another + + The input stream. + The output stream. + + + + Converts a byte array to a string, using its byte order mark to convert it to the right encoding. + http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx + + An array of bytes to convert + The byte as a string. + + + + Decodes an HTML-encoded string and returns the decoded string. + + The HTML string to decode. + The decoded text. + + + + Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream. + + The HTML string to decode + The TextWriter output stream containing the decoded string. + + + + HTML-encodes a string and sends the resulting output to a TextWriter output stream. + + The string to encode. + The TextWriter output stream containing the encoded string. + + + + Reflection extensions + + + + + Retrieve an attribute from a member (property) + + Type of attribute to retrieve + Member to retrieve attribute from + + + + + Retrieve an attribute from a type + + Type of attribute to retrieve + Type to retrieve attribute from + + + + + Checks a type to see if it derives from a raw generic (e.g. List[[]]) + + + + + + + + Find a value from a System.Enum by trying several possible variants + of the string value of the enum. + + Type of enum + Value for which to search + The culture used to calculate the name variants + + + + + Convert a to a instance. + + The response status. + + responseStatus + + + + Uses Uri.EscapeDataString() based on recommendations on MSDN + http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx + + + + + Check that a string is not null or empty + + String to check + bool + + + + Remove underscores from a string + + String to process + string + + + + Parses most common JSON date formats + + JSON value to parse + + DateTime + + + + Remove leading and trailing " from a string + + String to parse + String + + + + Checks a string to see if it matches a regex + + String to check + Pattern to match + bool + + + + Converts a string to pascal case + + String to convert + + string + + + + Converts a string to pascal case with the option to remove underscores + + String to convert + Option to remove underscores + + + + + + Converts a string to camel case + + String to convert + + String + + + + Convert the first letter of a string to lower case + + String to convert + string + + + + Checks to see if a string is all uppper case + + String to check + bool + + + + Add underscores to a pascal-cased string + + String to convert + string + + + + Add dashes to a pascal-cased string + + String to convert + string + + + + Add an undescore prefix to a pascasl-cased string + + + + + + + Add spaces to a pascal-cased string + + String to convert + string + + + + Return possible variants of a name for name matching. + + String to convert + The culture to use for conversion + IEnumerable<string> + + + + XML Extension Methods + + + + + Returns the name of an element with the namespace if specified + + Element name + XML Namespace + + + + + Container for files to be uploaded with requests + + + + + Creates a file parameter from an array of bytes. + + The parameter name to use in the request. + The data to use as the file's contents. + The filename to use in the request. + The content type to use in the request. + The + + + + Creates a file parameter from an array of bytes. + + The parameter name to use in the request. + The data to use as the file's contents. + The filename to use in the request. + The using the default content type. + + + + The length of data to be sent + + + + + Provides raw data for file + + + + + Name of the file to use when uploading + + + + + MIME content type of file + + + + + Name of the parameter + + + + + HttpWebRequest wrapper (async methods) + + + HttpWebRequest wrapper + + + HttpWebRequest wrapper (sync methods) + + + + + Always send a multipart/form-data request - even when no Files are present. + + + + + An alternative to RequestBody, for when the caller already has the byte array. + + + + + Execute an async POST-style request with the specified HTTP Method. + + + The HTTP method to execute. + + + + + Execute an async GET-style request with the specified HTTP Method. + + + The HTTP method to execute. + + + + + Creates an IHttp + + + + + + Default constructor + + + + + Execute a POST request + + + + + Execute a PUT request + + + + + Execute a GET request + + + + + Execute a HEAD request + + + + + Execute an OPTIONS request + + + + + Execute a DELETE request + + + + + Execute a PATCH request + + + + + Execute a MERGE request + + + + + Execute a GET-style request with the specified HTTP Method. + + The HTTP method to execute. + + + + + Execute a POST-style request with the specified HTTP Method. + + The HTTP method to execute. + + + + + True if this HTTP request has any HTTP parameters + + + + + True if this HTTP request has any HTTP cookies + + + + + True if a request body has been specified + + + + + True if files have been set to be uploaded + + + + + Always send a multipart/form-data request - even when no Files are present. + + + + + UserAgent to be sent with request + + + + + Timeout in milliseconds to be used for the request + + + + + The number of milliseconds before the writing or reading times out. + + + + + System.Net.ICredentials to be sent with request + + + + + The System.Net.CookieContainer to be used for the request + + + + + The method to use to write the response instead of reading into RawBytes + + + + + Collection of files to be sent with request + + + + + Whether or not HTTP 3xx response redirects should be automatically followed + + + + + X509CertificateCollection to be sent with request + + + + + Maximum number of automatic redirects to follow if FollowRedirects is true + + + + + Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) + will be sent along to the server. + + + + + HTTP headers to be sent with request + + + + + HTTP parameters (QueryString or Form values) to be sent with request + + + + + HTTP cookies to be sent with request + + + + + Request body to be sent with request + + + + + Content type of the request body. + + + + + An alternative to RequestBody, for when the caller already has the byte array. + + + + + URL to call for this request + + + + + Flag to send authorisation header with the HttpWebRequest + + + + + Proxy info to be sent with request + + + + + Caching policy for requests created with this wrapper. + + + + + Representation of an HTTP cookie + + + + + Comment of the cookie + + + + + Comment of the cookie + + + + + Indicates whether the cookie should be discarded at the end of the session + + + + + Domain of the cookie + + + + + Indicates whether the cookie is expired + + + + + Date and time that the cookie expires + + + + + Indicates that this cookie should only be accessed by the server + + + + + Name of the cookie + + + + + Path of the cookie + + + + + Port of the cookie + + + + + Indicates that the cookie should only be sent over secure channels + + + + + Date and time the cookie was created + + + + + Value of the cookie + + + + + Version of the cookie + + + + + Container for HTTP file + + + + + The length of data to be sent + + + + + Provides raw data for file + + + + + Name of the file to use when uploading + + + + + MIME content type of file + + + + + Name of the parameter + + + + + Representation of an HTTP header + + + + + Name of the header + + + + + Value of the header + + + + + Representation of an HTTP parameter (QueryString or Form value) + + + + + Name of the parameter + + + + + Value of the parameter + + + + + Content-Type of the parameter + + + + + HTTP response data + + + + + HTTP response data + + + + + MIME content type of response + + + + + Length in bytes of the response content + + + + + Encoding of the response content + + + + + String representation of response content + + + + + HTTP response status code + + + + + Description of HTTP status returned + + + + + Response content + + + + + The URL that actually responded to the content (different from request if redirected) + + + + + HttpWebResponse.Server + + + + + Headers returned by server with the response + + + + + Cookies returned by server with the response + + + + + Status of the request. Will return Error for transport errors. + HTTP errors will still return ResponseStatus.Completed, check StatusCode instead + + + + + Transport or other non-HTTP error generated while attempting request + + + + + Exception thrown when error is encountered. + + + + + Default constructor + + + + + MIME content type of response + + + + + Length in bytes of the response content + + + + + Encoding of the response content + + + + + Lazy-loaded string representation of response content + + + + + HTTP response status code + + + + + Description of HTTP status returned + + + + + Response content + + + + + The URL that actually responded to the content (different from request if redirected) + + + + + HttpWebResponse.Server + + + + + Headers returned by server with the response + + + + + Cookies returned by server with the response + + + + + Status of the request. Will return Error for transport errors. + HTTP errors will still return ResponseStatus.Completed, check StatusCode instead + + + + + Transport or other non-HTTP error generated while attempting request + + + + + Exception thrown when error is encountered. + + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + The HTTP method to execute + + + + Executes a POST-style request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + The HTTP method to execute + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + The HTTP method to execute + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + The HTTP method to execute + + + + Executes the request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes the request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes a GET-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes a GET-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes a POST-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes a POST-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes the request and callback asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Executes the request asynchronously, authenticating if needed + + Request to be executed + + + + Executes a GET-style asynchronously, authenticating if needed + + Request to be executed + + + + Executes a GET-style asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Executes a POST-style asynchronously, authenticating if needed + + Request to be executed + + + + Executes a POST-style asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + X509CertificateCollection to be sent with request + + + + + Adds a file to the Files collection to be included with a POST or PUT request + (other methods do not support file uploads). + + The parameter name to use in the request + Full path to file to upload + The MIME type of the file to upload + This request + + + + Adds the bytes to the Files collection with the specified file name and content type + + The parameter name to use in the request + The file data + The file name to use for the uploaded file + The MIME type of the file to upload + This request + + + + Adds the bytes to the Files collection with the specified file name and content type + + The parameter name to use in the request + A function that writes directly to the stream. Should NOT close the stream. + The file name to use for the uploaded file + The MIME type of the file to upload + This request + + + + Add bytes to the Files collection as if it was a file of specific type + + A form parameter name + The file data + The file name to use for the uploaded file + Specific content type. Es: application/x-gzip + + + + + Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer + The default format is XML. Change RequestFormat if you wish to use a different serialization format. + + The object to serialize + The XML namespace to use when serializing + This request + + + + Serializes obj to data format specified by RequestFormat and adds it to the request body. + The default format is XML. Change RequestFormat if you wish to use a different serialization format. + + The object to serialize + This request + + + + Serializes obj to JSON format and adds it to the request body. + + The object to serialize + This request + + + + Serializes obj to XML format and adds it to the request body. + + The object to serialize + This request + + + + Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer + Serializes obj to XML format and passes xmlNamespace then adds it to the request body. + + The object to serialize + The XML namespace to use when serializing + This request + + + + Calls AddParameter() for all public, readable properties specified in the includedProperties list + + + request.AddObject(product, "ProductId", "Price", ...); + + The object with properties to add as parameters + The names of the properties to include + This request + + + + Calls AddParameter() for all public, readable properties of obj + + The object with properties to add as parameters + This request + + + + Add the parameter to the request + + Parameter to add + + + + + Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) + + Name of the parameter + Value of the parameter + This request + + + + Adds a parameter to the request. There are five types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - Cookie: Adds the name/value pair to the HTTP request's Cookies collection + - RequestBody: Used by AddBody() (not recommended to use directly) + + Name of the parameter + Value of the parameter + The type of parameter to add + This request + + + + Adds a parameter to the request. There are five types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - Cookie: Adds the name/value pair to the HTTP request's Cookies collection + - RequestBody: Used by AddBody() (not recommended to use directly) + + Name of the parameter + Value of the parameter + Content-Type of the parameter + The type of parameter to add + This request + + + + Shortcut to AddParameter(name, value, HttpHeader) overload + + Name of the header to add + Value of the header to add + + + + + Shortcut to AddParameter(name, value, Cookie) overload + + Name of the cookie to add + Value of the cookie to add + + + + + Shortcut to AddParameter(name, value, UrlSegment) overload + + Name of the segment to add + Value of the segment to add + + + + + Shortcut to AddParameter(name, value, QueryString) overload + + Name of the parameter to add + Value of the parameter to add + + + + + Always send a multipart/form-data request - even when no Files are present. + + + + + Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. + By default the included JsonSerializer is used (currently using JSON.NET default serialization). + + + + + Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. + By default the included XmlSerializer is used. + + + + + Set this to write response to Stream rather than reading into memory. + + + + + Container of all HTTP parameters to be passed with the request. + See AddParameter() for explanation of the types of parameters that can be passed + + + + + Container of all the files to be uploaded with the request. + + + + + Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS + Default is GET + + + + + The Resource URL to make the request against. + Tokens are substituted with UrlSegment parameters and match by name. + Should not include the scheme or domain. Do not include leading slash. + Combined with RestClient.BaseUrl to assemble final URL: + {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) + + + // example for url token replacement + request.Resource = "Products/{ProductId}"; + request.AddParameter("ProductId", 123, ParameterType.UrlSegment); + + + + + Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. + By default XmlSerializer is used. + + + + + Used by the default deserializers to determine where to start deserializing from. + Can be used to skip container or root elements that do not have corresponding deserialzation targets. + + + + + Used by the default deserializers to explicitly set which date format string to use when parsing dates. + + + + + Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. + + + + + In general you would not need to set this directly. Used by the NtlmAuthenticator. + + + + + Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. + + + + + The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. + + + + + How many attempts were made to send this Request? + + + This Number is incremented each time the RestClient sends the request. + Useful when using Asynchronous Execution with Callbacks + + + + + Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) + will be sent along to the server. The default is false. + + + + + Container for data sent back from API + + + + + The RestRequest that was made to get this RestResponse + + + Mainly for debugging if ResponseStatus is not OK + + + + + MIME content type of response + + + + + Length in bytes of the response content + + + + + Encoding of the response content + + + + + String representation of response content + + + + + HTTP response status code + + + + + Description of HTTP status returned + + + + + Response content + + + + + The URL that actually responded to the content (different from request if redirected) + + + + + HttpWebResponse.Server + + + + + Cookies returned by server with the response + + + + + Headers returned by server with the response + + + + + Status of the request. Will return Error for transport errors. + HTTP errors will still return ResponseStatus.Completed, check StatusCode instead + + + + + Transport or other non-HTTP error generated while attempting request + + + + + Exceptions thrown during the request, if any. + + Will contain only network transport or framework exceptions thrown during the request. + HTTP protocol errors are handled by RestSharp and will not appear here. + + + + Container for data sent back from API including deserialized data + + Type of data to deserialize to + + + + Deserialized entity data + + + + + Parameter container for REST requests + + + + + Return a human-readable representation of this parameter + + String + + + + Name of the parameter + + + + + Value of the parameter + + + + + Type of the parameter + + + + + MIME content type of the parameter + + + + + Client to translate RestRequests into Http requests and process response result + + + + + Executes the request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + The HTTP method to execute + + + + Executes a POST-style request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + The HTTP method to execute + + + + Executes the request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + The HTTP method to execute + + + + Executes a POST-style request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + The HTTP method to execute + + + + Executes a GET-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes a GET-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes a POST-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes a POST-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes the request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes the request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes the request asynchronously, authenticating if needed + + Request to be executed + + + + Executes a GET-style asynchronously, authenticating if needed + + Request to be executed + + + + Executes a GET-style asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Executes a POST-style asynchronously, authenticating if needed + + Request to be executed + + + + Executes a POST-style asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Executes the request asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Default constructor that registers default content handlers + + + + + Sets the BaseUrl property for requests made by this client instance + + + + + + Sets the BaseUrl property for requests made by this client instance + + + + + + Registers a content handler to process response content + + MIME content type of the response content + Deserializer to use to process content + + + + Remove a content handler for the specified MIME content type + + MIME content type to remove + + + + Remove all content handlers + + + + + Retrieve the handler for the specified MIME content type + + MIME content type to retrieve + IDeserializer instance + + + + Assembles URL to call based on parameters, method and resource + + RestRequest to execute + Assembled System.Uri + + + + Executes the specified request and downloads the response data + + Request to execute + Response data + + + + Executes the request and returns a response, authenticating if needed + + Request to be executed + RestResponse + + + + Executes the specified request and deserializes the response content using the appropriate content handler + + Target deserialization type + Request to execute + RestResponse[[T]] with deserialized data in Data property + + + + Maximum number of redirects to follow if FollowRedirects is true + + + + + X509CertificateCollection to be sent with request + + + + + Proxy to use for requests made by this client instance. + Passed on to underlying WebRequest if set. + + + + + The cache policy to use for requests initiated by this client instance. + + + + + Default is true. Determine whether or not requests that result in + HTTP status codes of 3xx should follow returned redirect + + + + + The CookieContainer used for requests made by this client instance + + + + + UserAgent to use for requests made by this client instance + + + + + Timeout in milliseconds to use for requests made by this client instance + + + + + The number of milliseconds before the writing or reading times out. + + + + + Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked + + + + + Authenticator to use for requests made by this client instance + + + + + Combined with Request.Resource to construct URL for request + Should include scheme and domain without trailing slash. + + + client.BaseUrl = new Uri("http://example.com"); + + + + + Parameters included with every request made with this instance of RestClient + If specified in both client and request, the request wins + + + + + Executes the request and callback asynchronously, authenticating if needed + + The IRestClient this method extends + Request to be executed + Callback function to be executed upon completion + + + + Executes the request and callback asynchronously, authenticating if needed + + The IRestClient this method extends + Target deserialization type + Request to be executed + Callback function to be executed upon completion providing access to the async handle + + + + Add a parameter to use on every request made with this client instance + + The IRestClient instance + Parameter to add + + + + + Removes a parameter from the default parameters that are used on every request made with this client instance + + The IRestClient instance + The name of the parameter that needs to be removed + + + + + Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) + Used on every request made by this client instance + + The IRestClient instance + Name of the parameter + Value of the parameter + This request + + + + Adds a parameter to the request. There are four types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - RequestBody: Used by AddBody() (not recommended to use directly) + + The IRestClient instance + Name of the parameter + Value of the parameter + The type of parameter to add + This request + + + + Shortcut to AddDefaultParameter(name, value, HttpHeader) overload + + The IRestClient instance + Name of the header to add + Value of the header to add + + + + + Shortcut to AddDefaultParameter(name, value, UrlSegment) overload + + The IRestClient instance + Name of the segment to add + Value of the segment to add + + + + + Container for data used to make requests + + + + + Default constructor + + + + + Sets Method property to value of method + + Method to use for this request + + + + Sets Resource property + + Resource to use for this request + + + + Sets Resource and Method properties + + Resource to use for this request + Method to use for this request + + + + Sets Resource property + + Resource to use for this request + + + + Sets Resource and Method properties + + Resource to use for this request + Method to use for this request + + + + Adds a file to the Files collection to be included with a POST or PUT request + (other methods do not support file uploads). + + The parameter name to use in the request + Full path to file to upload + The MIME type of the file to upload + This request + + + + Adds the bytes to the Files collection with the specified file name + + The parameter name to use in the request + The file data + The file name to use for the uploaded file + The MIME type of the file to upload + This request + + + + Adds the bytes to the Files collection with the specified file name and content type + + The parameter name to use in the request + A function that writes directly to the stream. Should NOT close the stream. + The file name to use for the uploaded file + The MIME type of the file to upload + This request + + + + Add bytes to the Files collection as if it was a file of specific type + + A form parameter name + The file data + The file name to use for the uploaded file + Specific content type. Es: application/x-gzip + + + + + Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer + The default format is XML. Change RequestFormat if you wish to use a different serialization format. + + The object to serialize + The XML namespace to use when serializing + This request + + + + Serializes obj to data format specified by RequestFormat and adds it to the request body. + The default format is XML. Change RequestFormat if you wish to use a different serialization format. + + The object to serialize + This request + + + + Serializes obj to JSON format and adds it to the request body. + + The object to serialize + This request + + + + Serializes obj to XML format and adds it to the request body. + + The object to serialize + This request + + + + Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer + Serializes obj to XML format and passes xmlNamespace then adds it to the request body. + + The object to serialize + The XML namespace to use when serializing + This request + + + + Calls AddParameter() for all public, readable properties specified in the includedProperties list + + + request.AddObject(product, "ProductId", "Price", ...); + + The object with properties to add as parameters + The names of the properties to include + This request + + + + Calls AddParameter() for all public, readable properties of obj + + The object with properties to add as parameters + This request + + + + Add the parameter to the request + + Parameter to add + + + + + Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) + + Name of the parameter + Value of the parameter + This request + + + + Adds a parameter to the request. There are four types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - RequestBody: Used by AddBody() (not recommended to use directly) + + Name of the parameter + Value of the parameter + The type of parameter to add + This request + + + + Adds a parameter to the request. There are four types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - RequestBody: Used by AddBody() (not recommended to use directly) + + Name of the parameter + Value of the parameter + Content-Type of the parameter + The type of parameter to add + This request + + + + Shortcut to AddParameter(name, value, HttpHeader) overload + + Name of the header to add + Value of the header to add + + + + + Shortcut to AddParameter(name, value, Cookie) overload + + Name of the cookie to add + Value of the cookie to add + + + + + Shortcut to AddParameter(name, value, UrlSegment) overload + + Name of the segment to add + Value of the segment to add + + + + + Shortcut to AddParameter(name, value, QueryString) overload + + Name of the parameter to add + Value of the parameter to add + + + + + Internal Method so that RestClient can increase the number of attempts + + + + + Always send a multipart/form-data request - even when no Files are present. + + + + + Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. + By default the included JsonSerializer is used (currently using JSON.NET default serialization). + + + + + Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. + By default the included XmlSerializer is used. + + + + + Set this to write response to Stream rather than reading into memory. + + + + + Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) + will be sent along to the server. The default is false. + + + + + Container of all HTTP parameters to be passed with the request. + See AddParameter() for explanation of the types of parameters that can be passed + + + + + Container of all the files to be uploaded with the request. + + + + + Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS + Default is GET + + + + + The Resource URL to make the request against. + Tokens are substituted with UrlSegment parameters and match by name. + Should not include the scheme or domain. Do not include leading slash. + Combined with RestClient.BaseUrl to assemble final URL: + {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) + + + // example for url token replacement + request.Resource = "Products/{ProductId}"; + request.AddParameter("ProductId", 123, ParameterType.UrlSegment); + + + + + Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. + By default XmlSerializer is used. + + + + + Used by the default deserializers to determine where to start deserializing from. + Can be used to skip container or root elements that do not have corresponding deserialzation targets. + + + + + A function to run prior to deserializing starting (e.g. change settings if error encountered) + + + + + Used by the default deserializers to explicitly set which date format string to use when parsing dates. + + + + + Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. + + + + + In general you would not need to set this directly. Used by the NtlmAuthenticator. + + + + + Gets or sets a user-defined state object that contains information about a request and which can be later + retrieved when the request completes. + + + + + Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. + + + + + The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. + + + + + How many attempts were made to send this Request? + + + This Number is incremented each time the RestClient sends the request. + Useful when using Asynchronous Execution with Callbacks + + + + + Base class for common properties shared by RestResponse and RestResponse[[T]] + + + + + Default constructor + + + + + Assists with debugging responses by displaying in the debugger output + + + + + + The RestRequest that was made to get this RestResponse + + + Mainly for debugging if ResponseStatus is not OK + + + + + MIME content type of response + + + + + Length in bytes of the response content + + + + + Encoding of the response content + + + + + String representation of response content + + + + + HTTP response status code + + + + + Description of HTTP status returned + + + + + Response content + + + + + The URL that actually responded to the content (different from request if redirected) + + + + + HttpWebResponse.Server + + + + + Cookies returned by server with the response + + + + + Headers returned by server with the response + + + + + Status of the request. Will return Error for transport errors. + HTTP errors will still return ResponseStatus.Completed, check StatusCode instead + + + + + Transport or other non-HTTP error generated while attempting request + + + + + The exception thrown during the request, if any + + + + + Container for data sent back from API including deserialized data + + Type of data to deserialize to + + + + Deserialized entity data + + + + + Container for data sent back from API + + + + + Comment of the cookie + + + + + Comment of the cookie + + + + + Indicates whether the cookie should be discarded at the end of the session + + + + + Domain of the cookie + + + + + Indicates whether the cookie is expired + + + + + Date and time that the cookie expires + + + + + Indicates that this cookie should only be accessed by the server + + + + + Name of the cookie + + + + + Path of the cookie + + + + + Port of the cookie + + + + + Indicates that the cookie should only be sent over secure channels + + + + + Date and time the cookie was created + + + + + Value of the cookie + + + + + Version of the cookie + + + + + Wrapper for System.Xml.Serialization.XmlSerializer. + + + + + Default constructor, does not specify namespace + + + + + Specify the namespaced to be used when serializing + + XML namespace + + + + Serialize the object as XML + + Object to serialize + XML as string + + + + Name of the root element to use when serializing + + + + + XML namespace to use when serializing + + + + + Format string to use when serializing dates + + + + + Content type for serialized content + + + + + Encoding for serialized content + + + + + Need to subclass StringWriter in order to override Encoding + + + + + Default JSON serializer for request bodies + Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes + + + + + Default serializer + + + + + Serialize the object as JSON + + Object to serialize + JSON as String + + + + Unused for JSON Serialization + + + + + Unused for JSON Serialization + + + + + Unused for JSON Serialization + + + + + Content type for serialized content + + + + + Allows control how class and property names and values are serialized by XmlSerializer + Currently not supported with the JsonSerializer + When specified at the property level the class-level specification is overridden + + + + + Called by the attribute when NameStyle is speficied + + The string to transform + String + + + + The name to use for the serialized element + + + + + Sets the value to be serialized as an Attribute instead of an Element + + + + + The culture to use when serializing + + + + + Transforms the casing of the name based on the selected value. + + + + + The order to serialize the element. Default is int.MaxValue. + + + + + Options for transforming casing of element names + + + + + Default XML Serializer + + + + + Default constructor, does not specify namespace + + + + + Specify the namespaced to be used when serializing + + XML namespace + + + + Serialize the object as XML + + Object to serialize + XML as string + + + + Determines if a given object is numeric in any way + (can be integer, double, null, etc). + + + + + Name of the root element to use when serializing + + + + + XML namespace to use when serializing + + + + + Format string to use when serializing dates + + + + + Content type for serialized content + + + + + Helper methods for validating required values + + + + + Require a parameter to not be null + + Name of the parameter + Value of the parameter + + + + Represents the json array. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The capacity of the json array. + + + + The json representation of the array. + + The json representation of the array. + + + + Represents the json object. + + + + + The internal member dictionary. + + + + + Initializes a new instance of . + + + + + Initializes a new instance of . + + The implementation to use when comparing keys, or null to use the default for the type of the key. + + + + Adds the specified key. + + The key. + The value. + + + + Determines whether the specified key contains key. + + The key. + + true if the specified key contains key; otherwise, false. + + + + + Removes the specified key. + + The key. + + + + + Tries the get value. + + The key. + The value. + + + + + Adds the specified item. + + The item. + + + + Clears this instance. + + + + + Determines whether [contains] [the specified item]. + + The item. + + true if [contains] [the specified item]; otherwise, false. + + + + + Copies to. + + The array. + Index of the array. + + + + Removes the specified item. + + The item. + + + + + Gets the enumerator. + + + + + + Returns an enumerator that iterates through a collection. + + + An object that can be used to iterate through the collection. + + + + + Returns a json that represents the current . + + + A json that represents the current . + + + + + Provides implementation for type conversion operations. Classes derived from the class can override this method to specify dynamic behavior for operations that convert an object from one type to another. + + Provides information about the conversion operation. The binder.Type property provides the type to which the object must be converted. For example, for the statement (String)sampleObject in C# (CType(sampleObject, Type) in Visual Basic), where sampleObject is an instance of the class derived from the class, binder.Type returns the type. The binder.Explicit property provides information about the kind of conversion that occurs. It returns true for explicit conversion and false for implicit conversion. + The result of the type conversion operation. + + Alwasy returns true. + + + + + Provides the implementation for operations that delete an object member. This method is not intended for use in C# or Visual Basic. + + Provides information about the deletion. + + Alwasy returns true. + + + + + Provides the implementation for operations that get a value by index. Classes derived from the class can override this method to specify dynamic behavior for indexing operations. + + Provides information about the operation. + The indexes that are used in the operation. For example, for the sampleObject[3] operation in C# (sampleObject(3) in Visual Basic), where sampleObject is derived from the DynamicObject class, is equal to 3. + The result of the index operation. + + Alwasy returns true. + + + + + Provides the implementation for operations that get member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as getting a value for a property. + + Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member on which the dynamic operation is performed. For example, for the Console.WriteLine(sampleObject.SampleProperty) statement, where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive. + The result of the get operation. For example, if the method is called for a property, you can assign the property value to . + + Alwasy returns true. + + + + + Provides the implementation for operations that set a value by index. Classes derived from the class can override this method to specify dynamic behavior for operations that access objects by a specified index. + + Provides information about the operation. + The indexes that are used in the operation. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 3. + The value to set to the object that has the specified index. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the class, is equal to 10. + + true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown. + + + + + Provides the implementation for operations that set member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as setting a value for a property. + + Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member to which the value is being assigned. For example, for the statement sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive. + The value to set to the member. For example, for sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, the is "Test". + + true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown.) + + + + + Returns the enumeration of all dynamic member names. + + + A sequence that contains dynamic member names. + + + + + Gets the at the specified index. + + + + + + Gets the keys. + + The keys. + + + + Gets the values. + + The values. + + + + Gets or sets the with the specified key. + + + + + + Gets the count. + + The count. + + + + Gets a value indicating whether this instance is read only. + + + true if this instance is read only; otherwise, false. + + + + + This class encodes and decodes JSON strings. + Spec. details, see http://www.json.org/ + + JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>). + All numbers are parsed to doubles. + + + + + Parses the string json into a value + + A JSON string. + An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false + + + + Try parsing the json string into a value. + + + A JSON string. + + + The object. + + + Returns true if successfull otherwise false. + + + + + Converts a IDictionary<string,object> / IList<object> object into a JSON string + + A IDictionary<string,object> / IList<object> + Serializer strategy to use + A JSON encoded string, or null if object 'json' is not serializable + + + + Determines if a given object is numeric in any way + (can be integer, double, null, etc). + + + + + Helper methods for validating values + + + + + Validate an integer value is between the specified values (exclusive of min/max) + + Value to validate + Exclusive minimum value + Exclusive maximum value + + + + Validate a string length + + String to be validated + Maximum length of the string + + + diff --git a/packages/RestSharp.105.2.3/lib/sl5/RestSharp.xml b/packages/RestSharp.105.2.3/lib/sl5/RestSharp.xml new file mode 100644 index 0000000..0fdfe6c --- /dev/null +++ b/packages/RestSharp.105.2.3/lib/sl5/RestSharp.xml @@ -0,0 +1,2649 @@ + + + + RestSharp + + + + + JSON WEB TOKEN (JWT) Authenticator class. + https://tools.ietf.org/html/draft-ietf-oauth-json-web-token + + + + + + + + Base class for OAuth 2 Authenticators. + + + Since there are many ways to authenticate in OAuth2, + this is used as a base class to differentiate between + other authenticators. + + Any other OAuth2 authenticators must derive from this + abstract class. + + + + + Access token to be used when authenticating. + + + + + Initializes a new instance of the class. + + + The access token. + + + + + Gets the access token. + + + + + The OAuth 2 authenticator using URI query parameter. + + + Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2 + + + + + Initializes a new instance of the class. + + + The access token. + + + + + The OAuth 2 authenticator using the authorization request header field. + + + Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1 + + + + + Stores the Authorization header value as "[tokenType] accessToken". used for performance. + + + + + Initializes a new instance of the class. + + + The access token. + + + + + Initializes a new instance of the class. + + + The access token. + + + The token type. + + + + + All text parameters are UTF-8 encoded (per section 5.1). + + + + + + Generates a random 16-byte lowercase alphanumeric string. + + + + + + + Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT" + + + + + + + Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT" + + + A specified point in time. + + + + + The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986. + + + + + + URL encodes a string based on section 5.1 of the OAuth spec. + Namely, percent encoding with [RFC3986], avoiding unreserved characters, + upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. + + The value to escape. + The escaped value. + + The method is supposed to take on + RFC 3986 behavior if certain elements are present in a .config file. Even if this + actually worked (which in my experiments it doesn't), we can't rely on every + host actually having this configuration element present. + + + + + + + URL encodes a string based on section 5.1 of the OAuth spec. + Namely, percent encoding with [RFC3986], avoiding unreserved characters, + upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. + + + + + + + Sorts a collection of key-value pairs by name, and then value if equal, + concatenating them into a single string. This string should be encoded + prior to, or after normalization is run. + + + + + + + + Sorts a by name, and then value if equal. + + A collection of parameters to sort + A sorted parameter collection + + + + Creates a request URL suitable for making OAuth requests. + Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively. + Resulting URLs must be lower case. + + + The original request URL + + + + + Creates a request elements concatentation value to send with a request. + This is also known as the signature base. + + + + The request's HTTP method type + The request URL + The request's parameters + A signature base string + + + + Creates a signature value given a signature base and the consumer secret. + This method is used when the token secret is currently unknown. + + + The hashing method + The signature base + The consumer key + + + + + Creates a signature value given a signature base and the consumer secret. + This method is used when the token secret is currently unknown. + + + The hashing method + The treatment to use on a signature value + The signature base + The consumer key + + + + + Creates a signature value given a signature base and the consumer secret and a known token secret. + + + The hashing method + The signature base + The consumer secret + The token secret + + + + + Creates a signature value given a signature base and the consumer secret and a known token secret. + + + The hashing method + The treatment to use on a signature value + The signature base + The consumer secret + The token secret + + + + + A class to encapsulate OAuth authentication flow. + + + + + + Generates a instance to pass to an + for the purpose of requesting an + unauthorized request token. + + The HTTP method for the intended request + + + + + + Generates a instance to pass to an + for the purpose of requesting an + unauthorized request token. + + The HTTP method for the intended request + Any existing, non-OAuth query parameters desired in the request + + + + + + Generates a instance to pass to an + for the purpose of exchanging a request token + for an access token authorized by the user at the Service Provider site. + + The HTTP method for the intended request + + + + + Generates a instance to pass to an + for the purpose of exchanging a request token + for an access token authorized by the user at the Service Provider site. + + The HTTP method for the intended request + + Any existing, non-OAuth query parameters desired in the request + + + + Generates a instance to pass to an + for the purpose of exchanging user credentials + for an access token authorized by the user at the Service Provider site. + + The HTTP method for the intended request + + Any existing, non-OAuth query parameters desired in the request + + + + + + + + + + + + + Allows control how class and property names and values are deserialized by XmlAttributeDeserializer + + + + + The name to use for the serialized element + + + + + Sets if the property to Deserialize is an Attribute or Element (Default: false) + + + + + Wrapper for System.Xml.Serialization.XmlSerializer. + + + + + Types of parameters that can be added to requests + + + + + Data formats + + + + + HTTP method to use when making requests + + + + + Format strings for commonly-used date formats + + + + + .NET format string for ISO 8601 date format + + + + + .NET format string for roundtrip date format + + + + + Status for responses (surprised?) + + + + + Extension method overload! + + + + + Save a byte array to a file + + Bytes to save + Full path to save file to + + + + Read a stream into a byte array + + Stream to read + byte[] + + + + Copies bytes from one stream to another + + The input stream. + The output stream. + + + + Converts a byte array to a string, using its byte order mark to convert it to the right encoding. + http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx + + An array of bytes to convert + The byte as a string. + + + + Reflection extensions + + + + + Retrieve an attribute from a member (property) + + Type of attribute to retrieve + Member to retrieve attribute from + + + + + Retrieve an attribute from a type + + Type of attribute to retrieve + Type to retrieve attribute from + + + + + Checks a type to see if it derives from a raw generic (e.g. List[[]]) + + + + + + + + Find a value from a System.Enum by trying several possible variants + of the string value of the enum. + + Type of enum + Value for which to search + The culture used to calculate the name variants + + + + + Convert a to a instance. + + The response status. + + responseStatus + + + + Uses Uri.EscapeDataString() based on recommendations on MSDN + http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx + + + + + Check that a string is not null or empty + + String to check + bool + + + + Remove underscores from a string + + String to process + string + + + + Parses most common JSON date formats + + JSON value to parse + + DateTime + + + + Remove leading and trailing " from a string + + String to parse + String + + + + Checks a string to see if it matches a regex + + String to check + Pattern to match + bool + + + + Converts a string to pascal case + + String to convert + + string + + + + Converts a string to pascal case with the option to remove underscores + + String to convert + Option to remove underscores + + + + + + Converts a string to camel case + + String to convert + + String + + + + Convert the first letter of a string to lower case + + String to convert + string + + + + Checks to see if a string is all uppper case + + String to check + bool + + + + Add underscores to a pascal-cased string + + String to convert + string + + + + Add dashes to a pascal-cased string + + String to convert + string + + + + Add an undescore prefix to a pascasl-cased string + + + + + + + Add spaces to a pascal-cased string + + String to convert + string + + + + Return possible variants of a name for name matching. + + String to convert + The culture to use for conversion + IEnumerable<string> + + + + XML Extension Methods + + + + + Returns the name of an element with the namespace if specified + + Element name + XML Namespace + + + + + Container for files to be uploaded with requests + + + + + Creates a file parameter from an array of bytes. + + The parameter name to use in the request. + The data to use as the file's contents. + The filename to use in the request. + The content type to use in the request. + The + + + + Creates a file parameter from an array of bytes. + + The parameter name to use in the request. + The data to use as the file's contents. + The filename to use in the request. + The using the default content type. + + + + The length of data to be sent + + + + + Provides raw data for file + + + + + Name of the file to use when uploading + + + + + MIME content type of file + + + + + Name of the parameter + + + + + HttpWebRequest wrapper (async methods) + + + HttpWebRequest wrapper + + + + + Always send a multipart/form-data request - even when no Files are present. + + + + + An alternative to RequestBody, for when the caller already has the byte array. + + + + + Execute an async POST-style request with the specified HTTP Method. + + + The HTTP method to execute. + + + + + Execute an async GET-style request with the specified HTTP Method. + + + The HTTP method to execute. + + + + + Creates an IHttp + + + + + + Default constructor + + + + + True if this HTTP request has any HTTP parameters + + + + + True if this HTTP request has any HTTP cookies + + + + + True if a request body has been specified + + + + + True if files have been set to be uploaded + + + + + Always send a multipart/form-data request - even when no Files are present. + + + + + UserAgent to be sent with request + + + + + Timeout in milliseconds to be used for the request + + + + + The number of milliseconds before the writing or reading times out. + + + + + System.Net.ICredentials to be sent with request + + + + + The System.Net.CookieContainer to be used for the request + + + + + The method to use to write the response instead of reading into RawBytes + + + + + Collection of files to be sent with request + + + + + Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) + will be sent along to the server. + + + + + HTTP headers to be sent with request + + + + + HTTP parameters (QueryString or Form values) to be sent with request + + + + + HTTP cookies to be sent with request + + + + + Request body to be sent with request + + + + + Content type of the request body. + + + + + An alternative to RequestBody, for when the caller already has the byte array. + + + + + URL to call for this request + + + + + Flag to send authorisation header with the HttpWebRequest + + + + + Representation of an HTTP cookie + + + + + Comment of the cookie + + + + + Comment of the cookie + + + + + Indicates whether the cookie should be discarded at the end of the session + + + + + Domain of the cookie + + + + + Indicates whether the cookie is expired + + + + + Date and time that the cookie expires + + + + + Indicates that this cookie should only be accessed by the server + + + + + Name of the cookie + + + + + Path of the cookie + + + + + Port of the cookie + + + + + Indicates that the cookie should only be sent over secure channels + + + + + Date and time the cookie was created + + + + + Value of the cookie + + + + + Version of the cookie + + + + + Container for HTTP file + + + + + The length of data to be sent + + + + + Provides raw data for file + + + + + Name of the file to use when uploading + + + + + MIME content type of file + + + + + Name of the parameter + + + + + Representation of an HTTP header + + + + + Name of the header + + + + + Value of the header + + + + + Representation of an HTTP parameter (QueryString or Form value) + + + + + Name of the parameter + + + + + Value of the parameter + + + + + Content-Type of the parameter + + + + + HTTP response data + + + + + HTTP response data + + + + + MIME content type of response + + + + + Length in bytes of the response content + + + + + Encoding of the response content + + + + + String representation of response content + + + + + HTTP response status code + + + + + Description of HTTP status returned + + + + + Response content + + + + + The URL that actually responded to the content (different from request if redirected) + + + + + HttpWebResponse.Server + + + + + Headers returned by server with the response + + + + + Cookies returned by server with the response + + + + + Status of the request. Will return Error for transport errors. + HTTP errors will still return ResponseStatus.Completed, check StatusCode instead + + + + + Transport or other non-HTTP error generated while attempting request + + + + + Exception thrown when error is encountered. + + + + + Default constructor + + + + + MIME content type of response + + + + + Length in bytes of the response content + + + + + Encoding of the response content + + + + + Lazy-loaded string representation of response content + + + + + HTTP response status code + + + + + Description of HTTP status returned + + + + + Response content + + + + + The URL that actually responded to the content (different from request if redirected) + + + + + HttpWebResponse.Server + + + + + Headers returned by server with the response + + + + + Cookies returned by server with the response + + + + + Status of the request. Will return Error for transport errors. + HTTP errors will still return ResponseStatus.Completed, check StatusCode instead + + + + + Transport or other non-HTTP error generated while attempting request + + + + + Exception thrown when error is encountered. + + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + The HTTP method to execute + + + + Executes a POST-style request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + The HTTP method to execute + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + The HTTP method to execute + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + The HTTP method to execute + + + + Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer + The default format is XML. Change RequestFormat if you wish to use a different serialization format. + + The object to serialize + The XML namespace to use when serializing + This request + + + + Serializes obj to data format specified by RequestFormat and adds it to the request body. + The default format is XML. Change RequestFormat if you wish to use a different serialization format. + + The object to serialize + This request + + + + Serializes obj to JSON format and adds it to the request body. + + The object to serialize + This request + + + + Serializes obj to XML format and adds it to the request body. + + The object to serialize + This request + + + + Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer + Serializes obj to XML format and passes xmlNamespace then adds it to the request body. + + The object to serialize + The XML namespace to use when serializing + This request + + + + Calls AddParameter() for all public, readable properties specified in the includedProperties list + + + request.AddObject(product, "ProductId", "Price", ...); + + The object with properties to add as parameters + The names of the properties to include + This request + + + + Calls AddParameter() for all public, readable properties of obj + + The object with properties to add as parameters + This request + + + + Add the parameter to the request + + Parameter to add + + + + + Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) + + Name of the parameter + Value of the parameter + This request + + + + Adds a parameter to the request. There are five types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - Cookie: Adds the name/value pair to the HTTP request's Cookies collection + - RequestBody: Used by AddBody() (not recommended to use directly) + + Name of the parameter + Value of the parameter + The type of parameter to add + This request + + + + Adds a parameter to the request. There are five types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - Cookie: Adds the name/value pair to the HTTP request's Cookies collection + - RequestBody: Used by AddBody() (not recommended to use directly) + + Name of the parameter + Value of the parameter + Content-Type of the parameter + The type of parameter to add + This request + + + + Shortcut to AddParameter(name, value, HttpHeader) overload + + Name of the header to add + Value of the header to add + + + + + Shortcut to AddParameter(name, value, Cookie) overload + + Name of the cookie to add + Value of the cookie to add + + + + + Shortcut to AddParameter(name, value, UrlSegment) overload + + Name of the segment to add + Value of the segment to add + + + + + Shortcut to AddParameter(name, value, QueryString) overload + + Name of the parameter to add + Value of the parameter to add + + + + + Always send a multipart/form-data request - even when no Files are present. + + + + + Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. + By default the included JsonSerializer is used (currently using JSON.NET default serialization). + + + + + Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. + By default the included XmlSerializer is used. + + + + + Set this to write response to Stream rather than reading into memory. + + + + + Container of all HTTP parameters to be passed with the request. + See AddParameter() for explanation of the types of parameters that can be passed + + + + + Container of all the files to be uploaded with the request. + + + + + Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS + Default is GET + + + + + The Resource URL to make the request against. + Tokens are substituted with UrlSegment parameters and match by name. + Should not include the scheme or domain. Do not include leading slash. + Combined with RestClient.BaseUrl to assemble final URL: + {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) + + + // example for url token replacement + request.Resource = "Products/{ProductId}"; + request.AddParameter("ProductId", 123, ParameterType.UrlSegment); + + + + + Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. + By default XmlSerializer is used. + + + + + Used by the default deserializers to determine where to start deserializing from. + Can be used to skip container or root elements that do not have corresponding deserialzation targets. + + + + + Used by the default deserializers to explicitly set which date format string to use when parsing dates. + + + + + Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. + + + + + In general you would not need to set this directly. Used by the NtlmAuthenticator. + + + + + Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. + + + + + The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. + + + + + How many attempts were made to send this Request? + + + This Number is incremented each time the RestClient sends the request. + Useful when using Asynchronous Execution with Callbacks + + + + + Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) + will be sent along to the server. The default is false. + + + + + Container for data sent back from API + + + + + The RestRequest that was made to get this RestResponse + + + Mainly for debugging if ResponseStatus is not OK + + + + + MIME content type of response + + + + + Length in bytes of the response content + + + + + Encoding of the response content + + + + + String representation of response content + + + + + HTTP response status code + + + + + Description of HTTP status returned + + + + + Response content + + + + + The URL that actually responded to the content (different from request if redirected) + + + + + HttpWebResponse.Server + + + + + Cookies returned by server with the response + + + + + Headers returned by server with the response + + + + + Status of the request. Will return Error for transport errors. + HTTP errors will still return ResponseStatus.Completed, check StatusCode instead + + + + + Transport or other non-HTTP error generated while attempting request + + + + + Exceptions thrown during the request, if any. + + Will contain only network transport or framework exceptions thrown during the request. + HTTP protocol errors are handled by RestSharp and will not appear here. + + + + Container for data sent back from API including deserialized data + + Type of data to deserialize to + + + + Deserialized entity data + + + + + Parameter container for REST requests + + + + + Return a human-readable representation of this parameter + + String + + + + Name of the parameter + + + + + Value of the parameter + + + + + Type of the parameter + + + + + MIME content type of the parameter + + + + + Client to translate RestRequests into Http requests and process response result + + + + + Executes the request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + The HTTP method to execute + + + + Executes a POST-style request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + The HTTP method to execute + + + + Executes the request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + The HTTP method to execute + + + + Executes a POST-style request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + The HTTP method to execute + + + + Default constructor that registers default content handlers + + + + + Sets the BaseUrl property for requests made by this client instance + + + + + + Sets the BaseUrl property for requests made by this client instance + + + + + + Registers a content handler to process response content + + MIME content type of the response content + Deserializer to use to process content + + + + Remove a content handler for the specified MIME content type + + MIME content type to remove + + + + Remove all content handlers + + + + + Retrieve the handler for the specified MIME content type + + MIME content type to retrieve + IDeserializer instance + + + + Assembles URL to call based on parameters, method and resource + + RestRequest to execute + Assembled System.Uri + + + + Maximum number of redirects to follow if FollowRedirects is true + + + + + Default is true. Determine whether or not requests that result in + HTTP status codes of 3xx should follow returned redirect + + + + + The CookieContainer used for requests made by this client instance + + + + + UserAgent to use for requests made by this client instance + + + + + Timeout in milliseconds to use for requests made by this client instance + + + + + The number of milliseconds before the writing or reading times out. + + + + + Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked + + + + + Authenticator to use for requests made by this client instance + + + + + Combined with Request.Resource to construct URL for request + Should include scheme and domain without trailing slash. + + + client.BaseUrl = new Uri("http://example.com"); + + + + + Parameters included with every request made with this instance of RestClient + If specified in both client and request, the request wins + + + + + Executes the request and callback asynchronously, authenticating if needed + + The IRestClient this method extends + Request to be executed + Callback function to be executed upon completion + + + + Executes the request and callback asynchronously, authenticating if needed + + The IRestClient this method extends + Target deserialization type + Request to be executed + Callback function to be executed upon completion providing access to the async handle + + + + Add a parameter to use on every request made with this client instance + + The IRestClient instance + Parameter to add + + + + + Removes a parameter from the default parameters that are used on every request made with this client instance + + The IRestClient instance + The name of the parameter that needs to be removed + + + + + Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) + Used on every request made by this client instance + + The IRestClient instance + Name of the parameter + Value of the parameter + This request + + + + Adds a parameter to the request. There are four types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - RequestBody: Used by AddBody() (not recommended to use directly) + + The IRestClient instance + Name of the parameter + Value of the parameter + The type of parameter to add + This request + + + + Shortcut to AddDefaultParameter(name, value, HttpHeader) overload + + The IRestClient instance + Name of the header to add + Value of the header to add + + + + + Shortcut to AddDefaultParameter(name, value, UrlSegment) overload + + The IRestClient instance + Name of the segment to add + Value of the segment to add + + + + + Container for data used to make requests + + + + + Default constructor + + + + + Sets Method property to value of method + + Method to use for this request + + + + Sets Resource property + + Resource to use for this request + + + + Sets Resource and Method properties + + Resource to use for this request + Method to use for this request + + + + Sets Resource property + + Resource to use for this request + + + + Sets Resource and Method properties + + Resource to use for this request + Method to use for this request + + + + Adds a file to the Files collection to be included with a POST or PUT request + (other methods do not support file uploads). + + The parameter name to use in the request + Full path to file to upload + The MIME type of the file to upload + This request + + + + Adds the bytes to the Files collection with the specified file name + + The parameter name to use in the request + The file data + The file name to use for the uploaded file + The MIME type of the file to upload + This request + + + + Adds the bytes to the Files collection with the specified file name and content type + + The parameter name to use in the request + A function that writes directly to the stream. Should NOT close the stream. + The file name to use for the uploaded file + The MIME type of the file to upload + This request + + + + Add bytes to the Files collection as if it was a file of specific type + + A form parameter name + The file data + The file name to use for the uploaded file + Specific content type. Es: application/x-gzip + + + + + Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer + The default format is XML. Change RequestFormat if you wish to use a different serialization format. + + The object to serialize + The XML namespace to use when serializing + This request + + + + Serializes obj to data format specified by RequestFormat and adds it to the request body. + The default format is XML. Change RequestFormat if you wish to use a different serialization format. + + The object to serialize + This request + + + + Serializes obj to JSON format and adds it to the request body. + + The object to serialize + This request + + + + Serializes obj to XML format and adds it to the request body. + + The object to serialize + This request + + + + Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer + Serializes obj to XML format and passes xmlNamespace then adds it to the request body. + + The object to serialize + The XML namespace to use when serializing + This request + + + + Calls AddParameter() for all public, readable properties specified in the includedProperties list + + + request.AddObject(product, "ProductId", "Price", ...); + + The object with properties to add as parameters + The names of the properties to include + This request + + + + Calls AddParameter() for all public, readable properties of obj + + The object with properties to add as parameters + This request + + + + Add the parameter to the request + + Parameter to add + + + + + Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) + + Name of the parameter + Value of the parameter + This request + + + + Adds a parameter to the request. There are four types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - RequestBody: Used by AddBody() (not recommended to use directly) + + Name of the parameter + Value of the parameter + The type of parameter to add + This request + + + + Adds a parameter to the request. There are four types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - RequestBody: Used by AddBody() (not recommended to use directly) + + Name of the parameter + Value of the parameter + Content-Type of the parameter + The type of parameter to add + This request + + + + Shortcut to AddParameter(name, value, HttpHeader) overload + + Name of the header to add + Value of the header to add + + + + + Shortcut to AddParameter(name, value, Cookie) overload + + Name of the cookie to add + Value of the cookie to add + + + + + Shortcut to AddParameter(name, value, UrlSegment) overload + + Name of the segment to add + Value of the segment to add + + + + + Shortcut to AddParameter(name, value, QueryString) overload + + Name of the parameter to add + Value of the parameter to add + + + + + Internal Method so that RestClient can increase the number of attempts + + + + + Always send a multipart/form-data request - even when no Files are present. + + + + + Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. + By default the included JsonSerializer is used (currently using JSON.NET default serialization). + + + + + Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. + By default the included XmlSerializer is used. + + + + + Set this to write response to Stream rather than reading into memory. + + + + + Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) + will be sent along to the server. The default is false. + + + + + Container of all HTTP parameters to be passed with the request. + See AddParameter() for explanation of the types of parameters that can be passed + + + + + Container of all the files to be uploaded with the request. + + + + + Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS + Default is GET + + + + + The Resource URL to make the request against. + Tokens are substituted with UrlSegment parameters and match by name. + Should not include the scheme or domain. Do not include leading slash. + Combined with RestClient.BaseUrl to assemble final URL: + {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) + + + // example for url token replacement + request.Resource = "Products/{ProductId}"; + request.AddParameter("ProductId", 123, ParameterType.UrlSegment); + + + + + Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. + By default XmlSerializer is used. + + + + + Used by the default deserializers to determine where to start deserializing from. + Can be used to skip container or root elements that do not have corresponding deserialzation targets. + + + + + A function to run prior to deserializing starting (e.g. change settings if error encountered) + + + + + Used by the default deserializers to explicitly set which date format string to use when parsing dates. + + + + + Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. + + + + + In general you would not need to set this directly. Used by the NtlmAuthenticator. + + + + + Gets or sets a user-defined state object that contains information about a request and which can be later + retrieved when the request completes. + + + + + Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. + + + + + The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. + + + + + How many attempts were made to send this Request? + + + This Number is incremented each time the RestClient sends the request. + Useful when using Asynchronous Execution with Callbacks + + + + + Base class for common properties shared by RestResponse and RestResponse[[T]] + + + + + Default constructor + + + + + Assists with debugging responses by displaying in the debugger output + + + + + + The RestRequest that was made to get this RestResponse + + + Mainly for debugging if ResponseStatus is not OK + + + + + MIME content type of response + + + + + Length in bytes of the response content + + + + + Encoding of the response content + + + + + String representation of response content + + + + + HTTP response status code + + + + + Description of HTTP status returned + + + + + Response content + + + + + The URL that actually responded to the content (different from request if redirected) + + + + + HttpWebResponse.Server + + + + + Cookies returned by server with the response + + + + + Headers returned by server with the response + + + + + Status of the request. Will return Error for transport errors. + HTTP errors will still return ResponseStatus.Completed, check StatusCode instead + + + + + Transport or other non-HTTP error generated while attempting request + + + + + The exception thrown during the request, if any + + + + + Container for data sent back from API including deserialized data + + Type of data to deserialize to + + + + Deserialized entity data + + + + + Container for data sent back from API + + + + + Wrapper for System.Xml.Serialization.XmlSerializer. + + + + + Default constructor, does not specify namespace + + + + + Specify the namespaced to be used when serializing + + XML namespace + + + + Serialize the object as XML + + Object to serialize + XML as string + + + + Name of the root element to use when serializing + + + + + XML namespace to use when serializing + + + + + Format string to use when serializing dates + + + + + Content type for serialized content + + + + + Encoding for serialized content + + + + + Need to subclass StringWriter in order to override Encoding + + + + + Default JSON serializer for request bodies + Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes + + + + + Default serializer + + + + + Serialize the object as JSON + + Object to serialize + JSON as String + + + + Unused for JSON Serialization + + + + + Unused for JSON Serialization + + + + + Unused for JSON Serialization + + + + + Content type for serialized content + + + + + Allows control how class and property names and values are serialized by XmlSerializer + Currently not supported with the JsonSerializer + When specified at the property level the class-level specification is overridden + + + + + Called by the attribute when NameStyle is speficied + + The string to transform + String + + + + The name to use for the serialized element + + + + + Sets the value to be serialized as an Attribute instead of an Element + + + + + The culture to use when serializing + + + + + Transforms the casing of the name based on the selected value. + + + + + The order to serialize the element. Default is int.MaxValue. + + + + + Options for transforming casing of element names + + + + + Default XML Serializer + + + + + Default constructor, does not specify namespace + + + + + Specify the namespaced to be used when serializing + + XML namespace + + + + Serialize the object as XML + + Object to serialize + XML as string + + + + Determines if a given object is numeric in any way + (can be integer, double, null, etc). + + + + + Name of the root element to use when serializing + + + + + XML namespace to use when serializing + + + + + Format string to use when serializing dates + + + + + Content type for serialized content + + + + + Represents the json array. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The capacity of the json array. + + + + The json representation of the array. + + The json representation of the array. + + + + Represents the json object. + + + + + The internal member dictionary. + + + + + Initializes a new instance of . + + + + + Initializes a new instance of . + + The implementation to use when comparing keys, or null to use the default for the type of the key. + + + + Adds the specified key. + + The key. + The value. + + + + Determines whether the specified key contains key. + + The key. + + true if the specified key contains key; otherwise, false. + + + + + Removes the specified key. + + The key. + + + + + Tries the get value. + + The key. + The value. + + + + + Adds the specified item. + + The item. + + + + Clears this instance. + + + + + Determines whether [contains] [the specified item]. + + The item. + + true if [contains] [the specified item]; otherwise, false. + + + + + Copies to. + + The array. + Index of the array. + + + + Removes the specified item. + + The item. + + + + + Gets the enumerator. + + + + + + Returns an enumerator that iterates through a collection. + + + An object that can be used to iterate through the collection. + + + + + Returns a json that represents the current . + + + A json that represents the current . + + + + + Gets the at the specified index. + + + + + + Gets the keys. + + The keys. + + + + Gets the values. + + The values. + + + + Gets or sets the with the specified key. + + + + + + Gets the count. + + The count. + + + + Gets a value indicating whether this instance is read only. + + + true if this instance is read only; otherwise, false. + + + + + This class encodes and decodes JSON strings. + Spec. details, see http://www.json.org/ + + JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>). + All numbers are parsed to doubles. + + + + + Parses the string json into a value + + A JSON string. + An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false + + + + Try parsing the json string into a value. + + + A JSON string. + + + The object. + + + Returns true if successfull otherwise false. + + + + + Converts a IDictionary<string,object> / IList<object> object into a JSON string + + A IDictionary<string,object> / IList<object> + Serializer strategy to use + A JSON encoded string, or null if object 'json' is not serializable + + + + Determines if a given object is numeric in any way + (can be integer, double, null, etc). + + + + + Helper methods for validating required values + + + + + Require a parameter to not be null + + Name of the parameter + Value of the parameter + + + + Helper methods for validating values + + + + + Validate an integer value is between the specified values (exclusive of min/max) + + Value to validate + Exclusive minimum value + Exclusive maximum value + + + + Validate a string length + + String to be validated + Maximum length of the string + + + + Comment of the cookie + + + + + Comment of the cookie + + + + + Indicates whether the cookie should be discarded at the end of the session + + + + + Domain of the cookie + + + + + Indicates whether the cookie is expired + + + + + Date and time that the cookie expires + + + + + Indicates that this cookie should only be accessed by the server + + + + + Name of the cookie + + + + + Path of the cookie + + + + + Port of the cookie + + + + + Indicates that the cookie should only be sent over secure channels + + + + + Date and time the cookie was created + + + + + Value of the cookie + + + + + Version of the cookie + + + + diff --git a/packages/RestSharp.105.2.3/lib/windowsphone8/RestSharp.xml b/packages/RestSharp.105.2.3/lib/windowsphone8/RestSharp.xml new file mode 100644 index 0000000..83f9ce6 --- /dev/null +++ b/packages/RestSharp.105.2.3/lib/windowsphone8/RestSharp.xml @@ -0,0 +1,3866 @@ + + + + RestSharp + + + + + + + + Base class for OAuth 2 Authenticators. + + + Since there are many ways to authenticate in OAuth2, + this is used as a base class to differentiate between + other authenticators. + + Any other OAuth2 authenticators must derive from this + abstract class. + + + + + Access token to be used when authenticating. + + + + + Initializes a new instance of the class. + + + The access token. + + + + + Gets the access token. + + + + + The OAuth 2 authenticator using URI query parameter. + + + Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2 + + + + + Initializes a new instance of the class. + + + The access token. + + + + + The OAuth 2 authenticator using the authorization request header field. + + + Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1 + + + + + Stores the Authorization header value as "[tokenType] accessToken". used for performance. + + + + + Initializes a new instance of the class. + + + The access token. + + + + + Initializes a new instance of the class. + + + The access token. + + + The token type. + + + + + All text parameters are UTF-8 encoded (per section 5.1). + + + + + + Generates a random 16-byte lowercase alphanumeric string. + + + + + + + Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT" + + + + + + + Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT" + + + A specified point in time. + + + + + The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986. + + + + + + URL encodes a string based on section 5.1 of the OAuth spec. + Namely, percent encoding with [RFC3986], avoiding unreserved characters, + upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. + + The value to escape. + The escaped value. + + The method is supposed to take on + RFC 3986 behavior if certain elements are present in a .config file. Even if this + actually worked (which in my experiments it doesn't), we can't rely on every + host actually having this configuration element present. + + + + + + + URL encodes a string based on section 5.1 of the OAuth spec. + Namely, percent encoding with [RFC3986], avoiding unreserved characters, + upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. + + + + + + + Sorts a collection of key-value pairs by name, and then value if equal, + concatenating them into a single string. This string should be encoded + prior to, or after normalization is run. + + + + + + + + Sorts a by name, and then value if equal. + + A collection of parameters to sort + A sorted parameter collection + + + + Creates a request URL suitable for making OAuth requests. + Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively. + Resulting URLs must be lower case. + + + The original request URL + + + + + Creates a request elements concatentation value to send with a request. + This is also known as the signature base. + + + + The request's HTTP method type + The request URL + The request's parameters + A signature base string + + + + Creates a signature value given a signature base and the consumer secret. + This method is used when the token secret is currently unknown. + + + The hashing method + The signature base + The consumer key + + + + + Creates a signature value given a signature base and the consumer secret. + This method is used when the token secret is currently unknown. + + + The hashing method + The treatment to use on a signature value + The signature base + The consumer key + + + + + Creates a signature value given a signature base and the consumer secret and a known token secret. + + + The hashing method + The signature base + The consumer secret + The token secret + + + + + Creates a signature value given a signature base and the consumer secret and a known token secret. + + + The hashing method + The treatment to use on a signature value + The signature base + The consumer secret + The token secret + + + + + A class to encapsulate OAuth authentication flow. + + + + + + Generates a instance to pass to an + for the purpose of requesting an + unauthorized request token. + + The HTTP method for the intended request + + + + + + Generates a instance to pass to an + for the purpose of requesting an + unauthorized request token. + + The HTTP method for the intended request + Any existing, non-OAuth query parameters desired in the request + + + + + + Generates a instance to pass to an + for the purpose of exchanging a request token + for an access token authorized by the user at the Service Provider site. + + The HTTP method for the intended request + + + + + Generates a instance to pass to an + for the purpose of exchanging a request token + for an access token authorized by the user at the Service Provider site. + + The HTTP method for the intended request + + Any existing, non-OAuth query parameters desired in the request + + + + Generates a instance to pass to an + for the purpose of exchanging user credentials + for an access token authorized by the user at the Service Provider site. + + The HTTP method for the intended request + + Any existing, non-OAuth query parameters desired in the request + + + + + + + + + + + + + Calculates a 32bit Cyclic Redundancy Checksum (CRC) using the same polynomial + used by Zip. This type is used internally by DotNetZip; it is generally not used + directly by applications wishing to create, read, or manipulate zip archive + files. + + + + + Returns the CRC32 for the specified stream. + + The stream over which to calculate the CRC32 + the CRC32 calculation + + + + Returns the CRC32 for the specified stream, and writes the input into the + output stream. + + The stream over which to calculate the CRC32 + The stream into which to deflate the input + the CRC32 calculation + + + + Get the CRC32 for the given (word,byte) combo. This is a computation + defined by PKzip. + + The word to start with. + The byte to combine it with. + The CRC-ized result. + + + + Update the value for the running CRC32 using the given block of bytes. + This is useful when using the CRC32() class in a Stream. + + block of bytes to slurp + starting point in the block + how many bytes within the block to slurp + + + + indicates the total number of bytes read on the CRC stream. + This is used when writing the ZipDirEntry when compressing files. + + + + + Indicates the current CRC for all blocks slurped in. + + + + + A Stream that calculates a CRC32 (a checksum) on all bytes read, + or on all bytes written. + + + + + This class can be used to verify the CRC of a ZipEntry when + reading from a stream, or to calculate a CRC when writing to a + stream. The stream should be used to either read, or write, but + not both. If you intermix reads and writes, the results are not + defined. + + + + This class is intended primarily for use internally by the + DotNetZip library. + + + + + + The default constructor. + + + Instances returned from this constructor will leave the underlying stream + open upon Close(). + + The underlying stream + + + + The constructor allows the caller to specify how to handle the underlying + stream at close. + + The underlying stream + true to leave the underlying stream + open upon close of the CrcCalculatorStream.; false otherwise. + + + + A constructor allowing the specification of the length of the stream to read. + + + Instances returned from this constructor will leave the underlying stream open + upon Close(). + + The underlying stream + The length of the stream to slurp + + + + A constructor allowing the specification of the length of the stream to + read, as well as whether to keep the underlying stream open upon Close(). + + The underlying stream + The length of the stream to slurp + true to leave the underlying stream + open upon close of the CrcCalculatorStream.; false otherwise. + + + + Read from the stream + + the buffer to read + the offset at which to start + the number of bytes to read + the number of bytes actually read + + + + Write to the stream. + + the buffer from which to write + the offset at which to start writing + the number of bytes to write + + + + Flush the stream. + + + + + Not implemented. + + N/A + N/A + N/A + + + + Not implemented. + + N/A + + + + Closes the stream. + + + + + Gets the total number of bytes run through the CRC32 calculator. + + + + This is either the total number of bytes read, or the total number of bytes + written, depending on the direction of this stream. + + + + + Provides the current CRC for all blocks slurped in. + + + + + Indicates whether the underlying stream will be left open when the + CrcCalculatorStream is Closed. + + + + + Indicates whether the stream supports reading. + + + + + Indicates whether the stream supports seeking. + + + + + Indicates whether the stream supports writing. + + + + + Not implemented. + + + + + Not implemented. + + + + + Describes how to flush the current deflate operation. + + + The different FlushType values are useful when using a Deflate in a streaming application. + + + + No flush at all. + + + Closes the current block, but doesn't flush it to + the output. Used internally only in hypothetical + scenarios. This was supposed to be removed by Zlib, but it is + still in use in some edge cases. + + + + + Use this during compression to specify that all pending output should be + flushed to the output buffer and the output should be aligned on a byte + boundary. You might use this in a streaming communication scenario, so that + the decompressor can get all input data available so far. When using this + with a ZlibCodec, AvailableBytesIn will be zero after the call if + enough output space has been provided before the call. Flushing will + degrade compression and so it should be used only when necessary. + + + + + Use this during compression to specify that all output should be flushed, as + with FlushType.Sync, but also, the compression state should be reset + so that decompression can restart from this point if previous compressed + data has been damaged or if random access is desired. Using + FlushType.Full too often can significantly degrade the compression. + + + + Signals the end of the compression/decompression stream. + + + + A class for compressing and decompressing GZIP streams. + + + + + The GZipStream is a Decorator on a . It adds GZIP compression or decompression to any stream. + + + Like the Compression.GZipStream in the .NET Base + Class Library, the Ionic.Zlib.GZipStream can compress while writing, or decompress + while reading, but not vice versa. The compression method used is GZIP, which is + documented in IETF RFC 1952, + "GZIP file format specification version 4.3". + + A GZipStream can be used to decompress data (through Read()) or to compress + data (through Write()), but not both. + + If you wish to use the GZipStream to compress data, you must wrap it around a + write-able stream. As you call Write() on the GZipStream, the data will be + compressed into the GZIP format. If you want to decompress data, you must wrap the + GZipStream around a readable stream that contains an IETF RFC 1952-compliant stream. + The data will be decompressed as you call Read() on the GZipStream. + + Though the GZIP format allows data from multiple files to be concatenated + together, this stream handles only a single segment of GZIP format, typically + representing a single file. + + + This class is similar to and . + ZlibStream handles RFC1950-compliant streams. + handles RFC1951-compliant streams. This class handles RFC1952-compliant streams. + + + + + + + + + + Create a GZipStream using the specified CompressionMode and the specified CompressionLevel, + and explicitly specify whether the stream should be left open after Deflation or Inflation. + + + + This constructor allows the application to request that the captive stream remain open after + the deflation or inflation occurs. By default, after Close() is called on the stream, the + captive stream is also closed. In some cases this is not desired, for example if the stream + is a memory stream that will be re-read after compressed data has been written to it. Specify true for the + leaveOpen parameter to leave the stream open. + + + As noted in the class documentation, + the CompressionMode (Compress or Decompress) also establishes the "direction" of the stream. + A GZipStream with CompressionMode.Compress works only through Write(). A GZipStream with + CompressionMode.Decompress works only through Read(). + + + + This example shows how to use a DeflateStream to compress data. + + using (System.IO.Stream input = System.IO.File.OpenRead(fileToCompress)) + { + using (var raw = System.IO.File.Create(outputFile)) + { + using (Stream compressor = new GZipStream(raw, CompressionMode.Compress, CompressionLevel.BestCompression, true)) + { + byte[] buffer = new byte[WORKING_BUFFER_SIZE]; + int n; + while ((n= input.Read(buffer, 0, buffer.Length)) != 0) + { + compressor.Write(buffer, 0, n); + } + } + } + } + + + Dim outputFile As String = (fileToCompress & ".compressed") + Using input As Stream = File.OpenRead(fileToCompress) + Using raw As FileStream = File.Create(outputFile) + Using compressor As Stream = New GZipStream(raw, CompressionMode.Compress, CompressionLevel.BestCompression, True) + Dim buffer As Byte() = New Byte(4096) {} + Dim n As Integer = -1 + Do While (n <> 0) + If (n > 0) Then + compressor.Write(buffer, 0, n) + End If + n = input.Read(buffer, 0, buffer.Length) + Loop + End Using + End Using + End Using + + + The stream which will be read or written. + Indicates whether the GZipStream will compress or decompress. + true if the application would like the stream to remain open after inflation/deflation. + A tuning knob to trade speed for effectiveness. + + + + Dispose the stream. + + + This may or may not result in a Close() call on the captive stream. + See the ctor's with leaveOpen parameters for more information. + + + + + Flush the stream. + + + + + Read and decompress data from the source stream. + + + With a GZipStream, decompression is done through reading. + + + + byte[] working = new byte[WORKING_BUFFER_SIZE]; + using (System.IO.Stream input = System.IO.File.OpenRead(_CompressedFile)) + { + using (Stream decompressor= new Ionic.Zlib.GZipStream(input, CompressionMode.Decompress, true)) + { + using (var output = System.IO.File.Create(_DecompressedFile)) + { + int n; + while ((n= decompressor.Read(working, 0, working.Length)) !=0) + { + output.Write(working, 0, n); + } + } + } + } + + + The buffer into which the decompressed data should be placed. + the offset within that data array to put the first byte read. + the number of bytes to read. + the number of bytes actually read + + + + Calling this method always throws a . + + irrelevant; it will always throw! + irrelevant; it will always throw! + irrelevant! + + + + Calling this method always throws a NotImplementedException. + + irrelevant; this method will always throw! + + + + The Comment on the GZIP stream. + + + + The GZIP format allows for each file to optionally have an associated comment stored with the + file. The comment is encoded with the ISO-8859-1 code page. To include a comment in + a GZIP stream you create, set this property before calling Write() for the first time + on the GZipStream. + + + + When using GZipStream to decompress, you can retrieve this property after the first + call to Read(). If no comment has been set in the GZIP bytestream, the Comment + property will return null (Nothing in VB). + + + + + + The FileName for the GZIP stream. + + + + The GZIP format optionally allows each file to have an associated filename. When + compressing data (through Write()), set this FileName before calling Write() the first + time on the GZipStream. The actual filename is encoded into the GZIP bytestream with + the ISO-8859-1 code page, according to RFC 1952. It is the application's responsibility to + insure that the FileName can be encoded and decoded correctly with this code page. + + + When decompressing (through Read()), you can retrieve this value any time after the + first Read(). In the case where there was no filename encoded into the GZIP + bytestream, the property will return null (Nothing in VB). + + + + + + The CRC on the GZIP stream. + + + This is used for internal error checking. You probably don't need to look at this property. + + + + + This property sets the flush behavior on the stream. + + + + + The size of the working buffer for the compression codec. + + + + + The working buffer is used for all stream operations. The default size is 1024 bytes. + The minimum size is 128 bytes. You may get better performance with a larger buffer. + Then again, you might not. You would have to test it. + + + + Set this before the first call to Read() or Write() on the stream. If you try to set it + afterwards, it will throw. + + + + + Returns the total number of bytes input so far. + + + Returns the total number of bytes output so far. + + + + Indicates whether the stream can be read. + + + The return value depends on whether the captive stream supports reading. + + + + + Indicates whether the stream supports Seek operations. + + + Always returns false. + + + + + Indicates whether the stream can be written. + + + The return value depends on whether the captive stream supports writing. + + + + + Reading this property always throws a NotImplementedException. + + + + + The position of the stream pointer. + + + Writing this property always throws a NotImplementedException. Reading will + return the total bytes written out, if used in writing, or the total bytes + read in, if used in reading. The count may refer to compressed bytes or + uncompressed bytes, depending on how you've used the stream. + + + + + A general purpose exception class for exceptions in the Zlib library. + + + + + The ZlibException class captures exception information generated + by the Zlib library. + + + + + This ctor collects a message attached to the exception. + + + + + + Performs an unsigned bitwise right shift with the specified number + + Number to operate on + Ammount of bits to shift + The resulting number from the shift operation + + + + Performs an unsigned bitwise right shift with the specified number + + Number to operate on + Ammount of bits to shift + The resulting number from the shift operation + + + Reads a number of characters from the current source TextReader and writes the data to the target array at the specified index. + The source TextReader to read from + Contains the array of characteres read from the source TextReader. + The starting index of the target array. + The maximum number of characters to read from the source TextReader. + The number of characters read. The number will be less than or equal to count depending on the data available in the source TextReader. Returns -1 if the end of the stream is reached. + + + + Computes an Adler-32 checksum. + + + The Adler checksum is similar to a CRC checksum, but faster to compute, though less + reliable. It is used in producing RFC1950 compressed streams. The Adler checksum + is a required part of the "ZLIB" standard. Applications will almost never need to + use this class directly. + + + + + Encoder and Decoder for ZLIB and DEFLATE (IETF RFC1950 and RFC1951). + + + + This class compresses and decompresses data according to the Deflate algorithm + and optionally, the ZLIB format, as documented in RFC 1950 - ZLIB and RFC 1951 - DEFLATE. + + + + + The buffer from which data is taken. + + + + + An index into the InputBuffer array, indicating where to start reading. + + + + + The number of bytes available in the InputBuffer, starting at NextIn. + + + Generally you should set this to InputBuffer.Length before the first Inflate() or Deflate() call. + The class will update this number as calls to Inflate/Deflate are made. + + + + + Total number of bytes read so far, through all calls to Inflate()/Deflate(). + + + + + Buffer to store output data. + + + + + An index into the OutputBuffer array, indicating where to start writing. + + + + + The number of bytes available in the OutputBuffer, starting at NextOut. + + + Generally you should set this to OutputBuffer.Length before the first Inflate() or Deflate() call. + The class will update this number as calls to Inflate/Deflate are made. + + + + + Total number of bytes written to the output so far, through all calls to Inflate()/Deflate(). + + + + + used for diagnostics, when something goes wrong! + + + + + The number of Window Bits to use. + + + This gauges the size of the sliding window, and hence the + compression effectiveness as well as memory consumption. It's best to just leave this + setting alone if you don't know what it is. The maximum value is 15 bits, which implies + a 32k window. + + + + + Create a ZlibCodec that decompresses. + + + + + Initialize the inflation state. + + + It is not necessary to call this before using the ZlibCodec to inflate data; + It is implicitly called when you call the constructor. + + Z_OK if everything goes well. + + + + Initialize the inflation state with an explicit flag to + govern the handling of RFC1950 header bytes. + + + + By default, the ZLIB header defined in RFC 1950 is expected. If + you want to read a zlib stream you should specify true for + expectRfc1950Header. If you have a deflate stream, you will want to specify + false. It is only necessary to invoke this initializer explicitly if you + want to specify false. + + + whether to expect an RFC1950 header byte + pair when reading the stream of data to be inflated. + + Z_OK if everything goes well. + + + + Initialize the ZlibCodec for inflation, with the specified number of window bits. + + The number of window bits to use. If you need to ask what that is, + then you shouldn't be calling this initializer. + Z_OK if all goes well. + + + + Initialize the inflation state with an explicit flag to govern the handling of + RFC1950 header bytes. + + + + If you want to read a zlib stream you should specify true for + expectRfc1950Header. In this case, the library will expect to find a ZLIB + header, as defined in RFC + 1950, in the compressed stream. If you will be reading a DEFLATE or + GZIP stream, which does not have such a header, you will want to specify + false. + + + whether to expect an RFC1950 header byte pair when reading + the stream of data to be inflated. + The number of window bits to use. If you need to ask what that is, + then you shouldn't be calling this initializer. + Z_OK if everything goes well. + + + + Inflate the data in the InputBuffer, placing the result in the OutputBuffer. + + + You must have set InputBuffer and OutputBuffer, NextIn and NextOut, and AvailableBytesIn and + AvailableBytesOut before calling this method. + + + + private void InflateBuffer() + { + int bufferSize = 1024; + byte[] buffer = new byte[bufferSize]; + ZlibCodec decompressor = new ZlibCodec(); + + Console.WriteLine("\n============================================"); + Console.WriteLine("Size of Buffer to Inflate: {0} bytes.", CompressedBytes.Length); + MemoryStream ms = new MemoryStream(DecompressedBytes); + + int rc = decompressor.InitializeInflate(); + + decompressor.InputBuffer = CompressedBytes; + decompressor.NextIn = 0; + decompressor.AvailableBytesIn = CompressedBytes.Length; + + decompressor.OutputBuffer = buffer; + + // pass 1: inflate + do + { + decompressor.NextOut = 0; + decompressor.AvailableBytesOut = buffer.Length; + rc = decompressor.Inflate(ZlibConstants.Z_NO_FLUSH); + + if (rc != ZlibConstants.Z_OK && rc != ZlibConstants.Z_STREAM_END) + throw new Exception("inflating: " + decompressor.Message); + + ms.Write(decompressor.OutputBuffer, 0, buffer.Length - decompressor.AvailableBytesOut); + } + while (decompressor.AvailableBytesIn > 0 || decompressor.AvailableBytesOut == 0); + + // pass 2: finish and flush + do + { + decompressor.NextOut = 0; + decompressor.AvailableBytesOut = buffer.Length; + rc = decompressor.Inflate(ZlibConstants.Z_FINISH); + + if (rc != ZlibConstants.Z_STREAM_END && rc != ZlibConstants.Z_OK) + throw new Exception("inflating: " + decompressor.Message); + + if (buffer.Length - decompressor.AvailableBytesOut > 0) + ms.Write(buffer, 0, buffer.Length - decompressor.AvailableBytesOut); + } + while (decompressor.AvailableBytesIn > 0 || decompressor.AvailableBytesOut == 0); + + decompressor.EndInflate(); + } + + + + The flush to use when inflating. + Z_OK if everything goes well. + + + + Ends an inflation session. + + + Call this after successively calling Inflate(). This will cause all buffers to be flushed. + After calling this you cannot call Inflate() without a intervening call to one of the + InitializeInflate() overloads. + + Z_OK if everything goes well. + + + + I don't know what this does! + + Z_OK if everything goes well. + + + + Set the dictionary to be used for either Inflation or Deflation. + + The dictionary bytes to use. + Z_OK if all goes well. + + + + The Adler32 checksum on the data transferred through the codec so far. You probably don't need to look at this. + + + + + A bunch of constants used in the Zlib interface. + + + + + The maximum number of window bits for the Deflate algorithm. + + + + + The default number of window bits for the Deflate algorithm. + + + + + indicates everything is A-OK + + + + + Indicates that the last operation reached the end of the stream. + + + + + The operation ended in need of a dictionary. + + + + + There was an error with the stream - not enough data, not open and readable, etc. + + + + + There was an error with the data - not enough data, bad data, etc. + + + + + There was an error with the working buffer. + + + + + The size of the working buffer used in the ZlibCodec class. Defaults to 8192 bytes. + + + + + The minimum size of the working buffer used in the ZlibCodec class. Currently it is 128 bytes. + + + + + Represents a Zlib stream for compression or decompression. + + + + + The ZlibStream is a Decorator on a . It adds ZLIB compression or decompression to any + stream. + + + Using this stream, applications can compress or decompress data via + stream Read and Write operations. Either compresssion or + decompression can occur through either reading or writing. The compression + format used is ZLIB, which is documented in IETF RFC 1950, "ZLIB Compressed + Data Format Specification version 3.3". This implementation of ZLIB always uses + DEFLATE as the compression method. (see IETF RFC 1951, "DEFLATE + Compressed Data Format Specification version 1.3.") + + + The ZLIB format allows for varying compression methods, window sizes, and dictionaries. + This implementation always uses the DEFLATE compression method, a preset dictionary, + and 15 window bits by default. + + + + This class is similar to , except that it adds the + RFC1950 header and trailer bytes to a compressed stream when compressing, or expects + the RFC1950 header and trailer bytes when decompressing. It is also similar to the + . + + + + + + + + Dispose the stream. + + + This may or may not result in a Close() call on the captive stream. + See the constructors that have a leaveOpen parameter for more information. + + + + + Flush the stream. + + + + + Read data from the stream. + + + + + + If you wish to use the ZlibStream to compress data while reading, you can create a + ZlibStream with CompressionMode.Compress, providing an uncompressed data stream. Then + call Read() on that ZlibStream, and the data read will be compressed. If you wish to + use the ZlibStream to decompress data while reading, you can create a ZlibStream with + CompressionMode.Decompress, providing a readable compressed data stream. Then call + Read() on that ZlibStream, and the data will be decompressed as it is read. + + + + A ZlibStream can be used for Read() or Write(), but not both. + + + The buffer into which the read data should be placed. + the offset within that data array to put the first byte read. + the number of bytes to read. + + + + Calling this method always throws a NotImplementedException. + + + + + Calling this method always throws a NotImplementedException. + + + + + Write data to the stream. + + + + + + If you wish to use the ZlibStream to compress data while writing, you can create a + ZlibStream with CompressionMode.Compress, and a writable output stream. Then call + Write() on that ZlibStream, providing uncompressed data as input. The data sent to + the output stream will be the compressed form of the data written. If you wish to use + the ZlibStream to decompress data while writing, you can create a ZlibStream with + CompressionMode.Decompress, and a writable output stream. Then call Write() on that + stream, providing previously compressed data. The data sent to the output stream will + be the decompressed form of the data written. + + + + A ZlibStream can be used for Read() or Write(), but not both. + + + The buffer holding data to write to the stream. + the offset within that data array to find the first byte to write. + the number of bytes to write. + + + + Uncompress a byte array into a single string. + + + + A buffer containing ZLIB-compressed data. + + + + + Uncompress a byte array into a byte array. + + + + + A buffer containing ZLIB-compressed data. + + + + + This property sets the flush behavior on the stream. + Sorry, though, not sure exactly how to describe all the various settings. + + + + + The size of the working buffer for the compression codec. + + + + + The working buffer is used for all stream operations. The default size is 1024 bytes. + The minimum size is 128 bytes. You may get better performance with a larger buffer. + Then again, you might not. You would have to test it. + + + + Set this before the first call to Read() or Write() on the stream. If you try to set it + afterwards, it will throw. + + + + + Returns the total number of bytes input so far. + + + Returns the total number of bytes output so far. + + + + Indicates whether the stream can be read. + + + The return value depends on whether the captive stream supports reading. + + + + + Indicates whether the stream supports Seek operations. + + + Always returns false. + + + + + Indicates whether the stream can be written. + + + The return value depends on whether the captive stream supports writing. + + + + + Reading this property always throws a NotImplementedException. + + + + + The position of the stream pointer. + + + Writing this property always throws a NotImplementedException. Reading will + return the total bytes written out, if used in writing, or the total bytes + read in, if used in reading. The count may refer to compressed bytes or + uncompressed bytes, depending on how you've used the stream. + + + + + Allows control how class and property names and values are deserialized by XmlAttributeDeserializer + + + + + The name to use for the serialized element + + + + + Sets if the property to Deserialize is an Attribute or Element (Default: false) + + + + + Wrapper for System.Xml.Serialization.XmlSerializer. + + + + + Types of parameters that can be added to requests + + + + + Data formats + + + + + HTTP method to use when making requests + + + + + Format strings for commonly-used date formats + + + + + .NET format string for ISO 8601 date format + + + + + .NET format string for roundtrip date format + + + + + Status for responses (surprised?) + + + + + Extension method overload! + + + + + Read a stream into a byte array + + Stream to read + byte[] + + + + Copies bytes from one stream to another + + The input stream. + The output stream. + + + + Converts a byte array to a string, using its byte order mark to convert it to the right encoding. + http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx + + An array of bytes to convert + The byte as a string. + + + + Reflection extensions + + + + + Retrieve an attribute from a member (property) + + Type of attribute to retrieve + Member to retrieve attribute from + + + + + Retrieve an attribute from a type + + Type of attribute to retrieve + Type to retrieve attribute from + + + + + Checks a type to see if it derives from a raw generic (e.g. List[[]]) + + + + + + + + Find a value from a System.Enum by trying several possible variants + of the string value of the enum. + + Type of enum + Value for which to search + The culture used to calculate the name variants + + + + + Convert a to a instance. + + The response status. + + responseStatus + + + + Uses Uri.EscapeDataString() based on recommendations on MSDN + http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx + + + + + Check that a string is not null or empty + + String to check + bool + + + + Remove underscores from a string + + String to process + string + + + + Parses most common JSON date formats + + JSON value to parse + + DateTime + + + + Remove leading and trailing " from a string + + String to parse + String + + + + Checks a string to see if it matches a regex + + String to check + Pattern to match + bool + + + + Converts a string to pascal case + + String to convert + + string + + + + Converts a string to pascal case with the option to remove underscores + + String to convert + Option to remove underscores + + + + + + Converts a string to camel case + + String to convert + + String + + + + Convert the first letter of a string to lower case + + String to convert + string + + + + Checks to see if a string is all uppper case + + String to check + bool + + + + Add underscores to a pascal-cased string + + String to convert + string + + + + Add dashes to a pascal-cased string + + String to convert + string + + + + Add an undescore prefix to a pascasl-cased string + + + + + + + Add spaces to a pascal-cased string + + String to convert + string + + + + Return possible variants of a name for name matching. + + String to convert + The culture to use for conversion + IEnumerable<string> + + + + XML Extension Methods + + + + + Returns the name of an element with the namespace if specified + + Element name + XML Namespace + + + + + Container for files to be uploaded with requests + + + + + Creates a file parameter from an array of bytes. + + The parameter name to use in the request. + The data to use as the file's contents. + The filename to use in the request. + The content type to use in the request. + The + + + + Creates a file parameter from an array of bytes. + + The parameter name to use in the request. + The data to use as the file's contents. + The filename to use in the request. + The using the default content type. + + + + The length of data to be sent + + + + + Provides raw data for file + + + + + Name of the file to use when uploading + + + + + MIME content type of file + + + + + Name of the parameter + + + + + HttpWebRequest wrapper (async methods) + + + HttpWebRequest wrapper + + + + + Always send a multipart/form-data request - even when no Files are present. + + + + + An alternative to RequestBody, for when the caller already has the byte array. + + + + + Execute an async POST-style request with the specified HTTP Method. + + + The HTTP method to execute. + + + + + Execute an async GET-style request with the specified HTTP Method. + + + The HTTP method to execute. + + + + + Creates an IHttp + + + + + + Default constructor + + + + + True if this HTTP request has any HTTP parameters + + + + + True if this HTTP request has any HTTP cookies + + + + + True if a request body has been specified + + + + + True if files have been set to be uploaded + + + + + Always send a multipart/form-data request - even when no Files are present. + + + + + UserAgent to be sent with request + + + + + Timeout in milliseconds to be used for the request + + + + + The number of milliseconds before the writing or reading times out. + + + + + System.Net.ICredentials to be sent with request + + + + + The System.Net.CookieContainer to be used for the request + + + + + The method to use to write the response instead of reading into RawBytes + + + + + Collection of files to be sent with request + + + + + Whether or not HTTP 3xx response redirects should be automatically followed + + + + + Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) + will be sent along to the server. + + + + + HTTP headers to be sent with request + + + + + HTTP parameters (QueryString or Form values) to be sent with request + + + + + HTTP cookies to be sent with request + + + + + Request body to be sent with request + + + + + Content type of the request body. + + + + + An alternative to RequestBody, for when the caller already has the byte array. + + + + + URL to call for this request + + + + + Flag to send authorisation header with the HttpWebRequest + + + + + Representation of an HTTP cookie + + + + + Comment of the cookie + + + + + Comment of the cookie + + + + + Indicates whether the cookie should be discarded at the end of the session + + + + + Domain of the cookie + + + + + Indicates whether the cookie is expired + + + + + Date and time that the cookie expires + + + + + Indicates that this cookie should only be accessed by the server + + + + + Name of the cookie + + + + + Path of the cookie + + + + + Port of the cookie + + + + + Indicates that the cookie should only be sent over secure channels + + + + + Date and time the cookie was created + + + + + Value of the cookie + + + + + Version of the cookie + + + + + Container for HTTP file + + + + + The length of data to be sent + + + + + Provides raw data for file + + + + + Name of the file to use when uploading + + + + + MIME content type of file + + + + + Name of the parameter + + + + + Representation of an HTTP header + + + + + Name of the header + + + + + Value of the header + + + + + Representation of an HTTP parameter (QueryString or Form value) + + + + + Name of the parameter + + + + + Value of the parameter + + + + + Content-Type of the parameter + + + + + HTTP response data + + + + + HTTP response data + + + + + MIME content type of response + + + + + Length in bytes of the response content + + + + + Encoding of the response content + + + + + String representation of response content + + + + + HTTP response status code + + + + + Description of HTTP status returned + + + + + Response content + + + + + The URL that actually responded to the content (different from request if redirected) + + + + + HttpWebResponse.Server + + + + + Headers returned by server with the response + + + + + Cookies returned by server with the response + + + + + Status of the request. Will return Error for transport errors. + HTTP errors will still return ResponseStatus.Completed, check StatusCode instead + + + + + Transport or other non-HTTP error generated while attempting request + + + + + Exception thrown when error is encountered. + + + + + Default constructor + + + + + MIME content type of response + + + + + Length in bytes of the response content + + + + + Encoding of the response content + + + + + Lazy-loaded string representation of response content + + + + + HTTP response status code + + + + + Description of HTTP status returned + + + + + Response content + + + + + The URL that actually responded to the content (different from request if redirected) + + + + + HttpWebResponse.Server + + + + + Headers returned by server with the response + + + + + Cookies returned by server with the response + + + + + Status of the request. Will return Error for transport errors. + HTTP errors will still return ResponseStatus.Completed, check StatusCode instead + + + + + Transport or other non-HTTP error generated while attempting request + + + + + Exception thrown when error is encountered. + + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + The HTTP method to execute + + + + Executes a POST-style request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + The HTTP method to execute + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + The HTTP method to execute + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + The HTTP method to execute + + + + Executes the request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes the request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes a GET-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes a GET-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes a POST-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes a POST-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes the request and callback asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Executes the request asynchronously, authenticating if needed + + Request to be executed + + + + Executes a GET-style asynchronously, authenticating if needed + + Request to be executed + + + + Executes a GET-style asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Executes a POST-style asynchronously, authenticating if needed + + Request to be executed + + + + Executes a POST-style asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer + The default format is XML. Change RequestFormat if you wish to use a different serialization format. + + The object to serialize + The XML namespace to use when serializing + This request + + + + Serializes obj to data format specified by RequestFormat and adds it to the request body. + The default format is XML. Change RequestFormat if you wish to use a different serialization format. + + The object to serialize + This request + + + + Serializes obj to JSON format and adds it to the request body. + + The object to serialize + This request + + + + Serializes obj to XML format and adds it to the request body. + + The object to serialize + This request + + + + Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer + Serializes obj to XML format and passes xmlNamespace then adds it to the request body. + + The object to serialize + The XML namespace to use when serializing + This request + + + + Calls AddParameter() for all public, readable properties specified in the includedProperties list + + + request.AddObject(product, "ProductId", "Price", ...); + + The object with properties to add as parameters + The names of the properties to include + This request + + + + Calls AddParameter() for all public, readable properties of obj + + The object with properties to add as parameters + This request + + + + Add the parameter to the request + + Parameter to add + + + + + Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) + + Name of the parameter + Value of the parameter + This request + + + + Adds a parameter to the request. There are five types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - Cookie: Adds the name/value pair to the HTTP request's Cookies collection + - RequestBody: Used by AddBody() (not recommended to use directly) + + Name of the parameter + Value of the parameter + The type of parameter to add + This request + + + + Adds a parameter to the request. There are five types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - Cookie: Adds the name/value pair to the HTTP request's Cookies collection + - RequestBody: Used by AddBody() (not recommended to use directly) + + Name of the parameter + Value of the parameter + Content-Type of the parameter + The type of parameter to add + This request + + + + Shortcut to AddParameter(name, value, HttpHeader) overload + + Name of the header to add + Value of the header to add + + + + + Shortcut to AddParameter(name, value, Cookie) overload + + Name of the cookie to add + Value of the cookie to add + + + + + Shortcut to AddParameter(name, value, UrlSegment) overload + + Name of the segment to add + Value of the segment to add + + + + + Shortcut to AddParameter(name, value, QueryString) overload + + Name of the parameter to add + Value of the parameter to add + + + + + Always send a multipart/form-data request - even when no Files are present. + + + + + Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. + By default the included JsonSerializer is used (currently using JSON.NET default serialization). + + + + + Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. + By default the included XmlSerializer is used. + + + + + Set this to write response to Stream rather than reading into memory. + + + + + Container of all HTTP parameters to be passed with the request. + See AddParameter() for explanation of the types of parameters that can be passed + + + + + Container of all the files to be uploaded with the request. + + + + + Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS + Default is GET + + + + + The Resource URL to make the request against. + Tokens are substituted with UrlSegment parameters and match by name. + Should not include the scheme or domain. Do not include leading slash. + Combined with RestClient.BaseUrl to assemble final URL: + {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) + + + // example for url token replacement + request.Resource = "Products/{ProductId}"; + request.AddParameter("ProductId", 123, ParameterType.UrlSegment); + + + + + Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. + By default XmlSerializer is used. + + + + + Used by the default deserializers to determine where to start deserializing from. + Can be used to skip container or root elements that do not have corresponding deserialzation targets. + + + + + Used by the default deserializers to explicitly set which date format string to use when parsing dates. + + + + + Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. + + + + + In general you would not need to set this directly. Used by the NtlmAuthenticator. + + + + + Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. + + + + + The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. + + + + + How many attempts were made to send this Request? + + + This Number is incremented each time the RestClient sends the request. + Useful when using Asynchronous Execution with Callbacks + + + + + Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) + will be sent along to the server. The default is false. + + + + + Container for data sent back from API + + + + + The RestRequest that was made to get this RestResponse + + + Mainly for debugging if ResponseStatus is not OK + + + + + MIME content type of response + + + + + Length in bytes of the response content + + + + + Encoding of the response content + + + + + String representation of response content + + + + + HTTP response status code + + + + + Description of HTTP status returned + + + + + Response content + + + + + The URL that actually responded to the content (different from request if redirected) + + + + + HttpWebResponse.Server + + + + + Cookies returned by server with the response + + + + + Headers returned by server with the response + + + + + Status of the request. Will return Error for transport errors. + HTTP errors will still return ResponseStatus.Completed, check StatusCode instead + + + + + Transport or other non-HTTP error generated while attempting request + + + + + Exceptions thrown during the request, if any. + + Will contain only network transport or framework exceptions thrown during the request. + HTTP protocol errors are handled by RestSharp and will not appear here. + + + + Container for data sent back from API including deserialized data + + Type of data to deserialize to + + + + Deserialized entity data + + + + + Parameter container for REST requests + + + + + Return a human-readable representation of this parameter + + String + + + + Name of the parameter + + + + + Value of the parameter + + + + + Type of the parameter + + + + + MIME content type of the parameter + + + + + Client to translate RestRequests into Http requests and process response result + + + + + Executes the request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + The HTTP method to execute + + + + Executes a POST-style request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + The HTTP method to execute + + + + Executes the request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + The HTTP method to execute + + + + Executes a POST-style request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + The HTTP method to execute + + + + Executes a GET-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes a GET-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes a POST-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes a POST-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes the request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes the request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes the request asynchronously, authenticating if needed + + Request to be executed + + + + Executes a GET-style asynchronously, authenticating if needed + + Request to be executed + + + + Executes a GET-style asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Executes a POST-style asynchronously, authenticating if needed + + Request to be executed + + + + Executes a POST-style asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Executes the request asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Default constructor that registers default content handlers + + + + + Sets the BaseUrl property for requests made by this client instance + + + + + + Sets the BaseUrl property for requests made by this client instance + + + + + + Registers a content handler to process response content + + MIME content type of the response content + Deserializer to use to process content + + + + Remove a content handler for the specified MIME content type + + MIME content type to remove + + + + Remove all content handlers + + + + + Retrieve the handler for the specified MIME content type + + MIME content type to retrieve + IDeserializer instance + + + + Assembles URL to call based on parameters, method and resource + + RestRequest to execute + Assembled System.Uri + + + + Maximum number of redirects to follow if FollowRedirects is true + + + + + Default is true. Determine whether or not requests that result in + HTTP status codes of 3xx should follow returned redirect + + + + + The CookieContainer used for requests made by this client instance + + + + + UserAgent to use for requests made by this client instance + + + + + Timeout in milliseconds to use for requests made by this client instance + + + + + The number of milliseconds before the writing or reading times out. + + + + + Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked + + + + + Authenticator to use for requests made by this client instance + + + + + Combined with Request.Resource to construct URL for request + Should include scheme and domain without trailing slash. + + + client.BaseUrl = new Uri("http://example.com"); + + + + + Parameters included with every request made with this instance of RestClient + If specified in both client and request, the request wins + + + + + Executes the request and callback asynchronously, authenticating if needed + + The IRestClient this method extends + Request to be executed + Callback function to be executed upon completion + + + + Executes the request and callback asynchronously, authenticating if needed + + The IRestClient this method extends + Target deserialization type + Request to be executed + Callback function to be executed upon completion providing access to the async handle + + + + Add a parameter to use on every request made with this client instance + + The IRestClient instance + Parameter to add + + + + + Removes a parameter from the default parameters that are used on every request made with this client instance + + The IRestClient instance + The name of the parameter that needs to be removed + + + + + Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) + Used on every request made by this client instance + + The IRestClient instance + Name of the parameter + Value of the parameter + This request + + + + Adds a parameter to the request. There are four types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - RequestBody: Used by AddBody() (not recommended to use directly) + + The IRestClient instance + Name of the parameter + Value of the parameter + The type of parameter to add + This request + + + + Shortcut to AddDefaultParameter(name, value, HttpHeader) overload + + The IRestClient instance + Name of the header to add + Value of the header to add + + + + + Shortcut to AddDefaultParameter(name, value, UrlSegment) overload + + The IRestClient instance + Name of the segment to add + Value of the segment to add + + + + + Container for data used to make requests + + + + + Default constructor + + + + + Sets Method property to value of method + + Method to use for this request + + + + Sets Resource property + + Resource to use for this request + + + + Sets Resource and Method properties + + Resource to use for this request + Method to use for this request + + + + Sets Resource property + + Resource to use for this request + + + + Sets Resource and Method properties + + Resource to use for this request + Method to use for this request + + + + Adds a file to the Files collection to be included with a POST or PUT request + (other methods do not support file uploads). + + The parameter name to use in the request + Full path to file to upload + The MIME type of the file to upload + This request + + + + Adds the bytes to the Files collection with the specified file name + + The parameter name to use in the request + The file data + The file name to use for the uploaded file + The MIME type of the file to upload + This request + + + + Adds the bytes to the Files collection with the specified file name and content type + + The parameter name to use in the request + A function that writes directly to the stream. Should NOT close the stream. + The file name to use for the uploaded file + The MIME type of the file to upload + This request + + + + Add bytes to the Files collection as if it was a file of specific type + + A form parameter name + The file data + The file name to use for the uploaded file + Specific content type. Es: application/x-gzip + + + + + Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer + The default format is XML. Change RequestFormat if you wish to use a different serialization format. + + The object to serialize + The XML namespace to use when serializing + This request + + + + Serializes obj to data format specified by RequestFormat and adds it to the request body. + The default format is XML. Change RequestFormat if you wish to use a different serialization format. + + The object to serialize + This request + + + + Serializes obj to JSON format and adds it to the request body. + + The object to serialize + This request + + + + Serializes obj to XML format and adds it to the request body. + + The object to serialize + This request + + + + Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer + Serializes obj to XML format and passes xmlNamespace then adds it to the request body. + + The object to serialize + The XML namespace to use when serializing + This request + + + + Calls AddParameter() for all public, readable properties specified in the includedProperties list + + + request.AddObject(product, "ProductId", "Price", ...); + + The object with properties to add as parameters + The names of the properties to include + This request + + + + Calls AddParameter() for all public, readable properties of obj + + The object with properties to add as parameters + This request + + + + Add the parameter to the request + + Parameter to add + + + + + Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) + + Name of the parameter + Value of the parameter + This request + + + + Adds a parameter to the request. There are four types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - RequestBody: Used by AddBody() (not recommended to use directly) + + Name of the parameter + Value of the parameter + The type of parameter to add + This request + + + + Adds a parameter to the request. There are four types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - RequestBody: Used by AddBody() (not recommended to use directly) + + Name of the parameter + Value of the parameter + Content-Type of the parameter + The type of parameter to add + This request + + + + Shortcut to AddParameter(name, value, HttpHeader) overload + + Name of the header to add + Value of the header to add + + + + + Shortcut to AddParameter(name, value, Cookie) overload + + Name of the cookie to add + Value of the cookie to add + + + + + Shortcut to AddParameter(name, value, UrlSegment) overload + + Name of the segment to add + Value of the segment to add + + + + + Shortcut to AddParameter(name, value, QueryString) overload + + Name of the parameter to add + Value of the parameter to add + + + + + Internal Method so that RestClient can increase the number of attempts + + + + + Always send a multipart/form-data request - even when no Files are present. + + + + + Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. + By default the included JsonSerializer is used (currently using JSON.NET default serialization). + + + + + Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. + By default the included XmlSerializer is used. + + + + + Set this to write response to Stream rather than reading into memory. + + + + + Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) + will be sent along to the server. The default is false. + + + + + Container of all HTTP parameters to be passed with the request. + See AddParameter() for explanation of the types of parameters that can be passed + + + + + Container of all the files to be uploaded with the request. + + + + + Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS + Default is GET + + + + + The Resource URL to make the request against. + Tokens are substituted with UrlSegment parameters and match by name. + Should not include the scheme or domain. Do not include leading slash. + Combined with RestClient.BaseUrl to assemble final URL: + {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) + + + // example for url token replacement + request.Resource = "Products/{ProductId}"; + request.AddParameter("ProductId", 123, ParameterType.UrlSegment); + + + + + Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. + By default XmlSerializer is used. + + + + + Used by the default deserializers to determine where to start deserializing from. + Can be used to skip container or root elements that do not have corresponding deserialzation targets. + + + + + A function to run prior to deserializing starting (e.g. change settings if error encountered) + + + + + Used by the default deserializers to explicitly set which date format string to use when parsing dates. + + + + + Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. + + + + + In general you would not need to set this directly. Used by the NtlmAuthenticator. + + + + + Gets or sets a user-defined state object that contains information about a request and which can be later + retrieved when the request completes. + + + + + Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. + + + + + The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. + + + + + How many attempts were made to send this Request? + + + This Number is incremented each time the RestClient sends the request. + Useful when using Asynchronous Execution with Callbacks + + + + + Base class for common properties shared by RestResponse and RestResponse[[T]] + + + + + Default constructor + + + + + Assists with debugging responses by displaying in the debugger output + + + + + + The RestRequest that was made to get this RestResponse + + + Mainly for debugging if ResponseStatus is not OK + + + + + MIME content type of response + + + + + Length in bytes of the response content + + + + + Encoding of the response content + + + + + String representation of response content + + + + + HTTP response status code + + + + + Description of HTTP status returned + + + + + Response content + + + + + The URL that actually responded to the content (different from request if redirected) + + + + + HttpWebResponse.Server + + + + + Cookies returned by server with the response + + + + + Headers returned by server with the response + + + + + Status of the request. Will return Error for transport errors. + HTTP errors will still return ResponseStatus.Completed, check StatusCode instead + + + + + Transport or other non-HTTP error generated while attempting request + + + + + The exception thrown during the request, if any + + + + + Container for data sent back from API including deserialized data + + Type of data to deserialize to + + + + Deserialized entity data + + + + + Container for data sent back from API + + + + + Wrapper for System.Xml.Serialization.XmlSerializer. + + + + + Default constructor, does not specify namespace + + + + + Specify the namespaced to be used when serializing + + XML namespace + + + + Serialize the object as XML + + Object to serialize + XML as string + + + + Name of the root element to use when serializing + + + + + XML namespace to use when serializing + + + + + Format string to use when serializing dates + + + + + Content type for serialized content + + + + + Encoding for serialized content + + + + + Need to subclass StringWriter in order to override Encoding + + + + + Default JSON serializer for request bodies + Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes + + + + + Default serializer + + + + + Serialize the object as JSON + + Object to serialize + JSON as String + + + + Unused for JSON Serialization + + + + + Unused for JSON Serialization + + + + + Unused for JSON Serialization + + + + + Content type for serialized content + + + + + Allows control how class and property names and values are serialized by XmlSerializer + Currently not supported with the JsonSerializer + When specified at the property level the class-level specification is overridden + + + + + Called by the attribute when NameStyle is speficied + + The string to transform + String + + + + The name to use for the serialized element + + + + + Sets the value to be serialized as an Attribute instead of an Element + + + + + The culture to use when serializing + + + + + Transforms the casing of the name based on the selected value. + + + + + The order to serialize the element. Default is int.MaxValue. + + + + + Options for transforming casing of element names + + + + + Default XML Serializer + + + + + Default constructor, does not specify namespace + + + + + Specify the namespaced to be used when serializing + + XML namespace + + + + Serialize the object as XML + + Object to serialize + XML as string + + + + Determines if a given object is numeric in any way + (can be integer, double, null, etc). + + + + + Name of the root element to use when serializing + + + + + XML namespace to use when serializing + + + + + Format string to use when serializing dates + + + + + Content type for serialized content + + + + + Represents the json array. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The capacity of the json array. + + + + The json representation of the array. + + The json representation of the array. + + + + Represents the json object. + + + + + The internal member dictionary. + + + + + Initializes a new instance of . + + + + + Initializes a new instance of . + + The implementation to use when comparing keys, or null to use the default for the type of the key. + + + + Adds the specified key. + + The key. + The value. + + + + Determines whether the specified key contains key. + + The key. + + true if the specified key contains key; otherwise, false. + + + + + Removes the specified key. + + The key. + + + + + Tries the get value. + + The key. + The value. + + + + + Adds the specified item. + + The item. + + + + Clears this instance. + + + + + Determines whether [contains] [the specified item]. + + The item. + + true if [contains] [the specified item]; otherwise, false. + + + + + Copies to. + + The array. + Index of the array. + + + + Removes the specified item. + + The item. + + + + + Gets the enumerator. + + + + + + Returns an enumerator that iterates through a collection. + + + An object that can be used to iterate through the collection. + + + + + Returns a json that represents the current . + + + A json that represents the current . + + + + + Gets the at the specified index. + + + + + + Gets the keys. + + The keys. + + + + Gets the values. + + The values. + + + + Gets or sets the with the specified key. + + + + + + Gets the count. + + The count. + + + + Gets a value indicating whether this instance is read only. + + + true if this instance is read only; otherwise, false. + + + + + This class encodes and decodes JSON strings. + Spec. details, see http://www.json.org/ + + JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>). + All numbers are parsed to doubles. + + + + + Parses the string json into a value + + A JSON string. + An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false + + + + Try parsing the json string into a value. + + + A JSON string. + + + The object. + + + Returns true if successfull otherwise false. + + + + + Converts a IDictionary<string,object> / IList<object> object into a JSON string + + A IDictionary<string,object> / IList<object> + Serializer strategy to use + A JSON encoded string, or null if object 'json' is not serializable + + + + Determines if a given object is numeric in any way + (can be integer, double, null, etc). + + + + + Helper methods for validating required values + + + + + Require a parameter to not be null + + Name of the parameter + Value of the parameter + + + + Helper methods for validating values + + + + + Validate an integer value is between the specified values (exclusive of min/max) + + Value to validate + Exclusive minimum value + Exclusive maximum value + + + + Validate a string length + + String to be validated + Maximum length of the string + + + + Comment of the cookie + + + + + Comment of the cookie + + + + + Indicates whether the cookie should be discarded at the end of the session + + + + + Domain of the cookie + + + + + Indicates whether the cookie is expired + + + + + Date and time that the cookie expires + + + + + Indicates that this cookie should only be accessed by the server + + + + + Name of the cookie + + + + + Path of the cookie + + + + + Port of the cookie + + + + + Indicates that the cookie should only be sent over secure channels + + + + + Date and time the cookie was created + + + + + Value of the cookie + + + + + Version of the cookie + + + + diff --git a/packages/RestSharp.105.2.3/lib/windowsphone81/RestSharp.xml b/packages/RestSharp.105.2.3/lib/windowsphone81/RestSharp.xml new file mode 100644 index 0000000..83f9ce6 --- /dev/null +++ b/packages/RestSharp.105.2.3/lib/windowsphone81/RestSharp.xml @@ -0,0 +1,3866 @@ + + + + RestSharp + + + + + + + + Base class for OAuth 2 Authenticators. + + + Since there are many ways to authenticate in OAuth2, + this is used as a base class to differentiate between + other authenticators. + + Any other OAuth2 authenticators must derive from this + abstract class. + + + + + Access token to be used when authenticating. + + + + + Initializes a new instance of the class. + + + The access token. + + + + + Gets the access token. + + + + + The OAuth 2 authenticator using URI query parameter. + + + Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.2 + + + + + Initializes a new instance of the class. + + + The access token. + + + + + The OAuth 2 authenticator using the authorization request header field. + + + Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1 + + + + + Stores the Authorization header value as "[tokenType] accessToken". used for performance. + + + + + Initializes a new instance of the class. + + + The access token. + + + + + Initializes a new instance of the class. + + + The access token. + + + The token type. + + + + + All text parameters are UTF-8 encoded (per section 5.1). + + + + + + Generates a random 16-byte lowercase alphanumeric string. + + + + + + + Generates a timestamp based on the current elapsed seconds since '01/01/1970 0000 GMT" + + + + + + + Generates a timestamp based on the elapsed seconds of a given time since '01/01/1970 0000 GMT" + + + A specified point in time. + + + + + The set of characters that are unreserved in RFC 2396 but are NOT unreserved in RFC 3986. + + + + + + URL encodes a string based on section 5.1 of the OAuth spec. + Namely, percent encoding with [RFC3986], avoiding unreserved characters, + upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. + + The value to escape. + The escaped value. + + The method is supposed to take on + RFC 3986 behavior if certain elements are present in a .config file. Even if this + actually worked (which in my experiments it doesn't), we can't rely on every + host actually having this configuration element present. + + + + + + + URL encodes a string based on section 5.1 of the OAuth spec. + Namely, percent encoding with [RFC3986], avoiding unreserved characters, + upper-casing hexadecimal characters, and UTF-8 encoding for text value pairs. + + + + + + + Sorts a collection of key-value pairs by name, and then value if equal, + concatenating them into a single string. This string should be encoded + prior to, or after normalization is run. + + + + + + + + Sorts a by name, and then value if equal. + + A collection of parameters to sort + A sorted parameter collection + + + + Creates a request URL suitable for making OAuth requests. + Resulting URLs must exclude port 80 or port 443 when accompanied by HTTP and HTTPS, respectively. + Resulting URLs must be lower case. + + + The original request URL + + + + + Creates a request elements concatentation value to send with a request. + This is also known as the signature base. + + + + The request's HTTP method type + The request URL + The request's parameters + A signature base string + + + + Creates a signature value given a signature base and the consumer secret. + This method is used when the token secret is currently unknown. + + + The hashing method + The signature base + The consumer key + + + + + Creates a signature value given a signature base and the consumer secret. + This method is used when the token secret is currently unknown. + + + The hashing method + The treatment to use on a signature value + The signature base + The consumer key + + + + + Creates a signature value given a signature base and the consumer secret and a known token secret. + + + The hashing method + The signature base + The consumer secret + The token secret + + + + + Creates a signature value given a signature base and the consumer secret and a known token secret. + + + The hashing method + The treatment to use on a signature value + The signature base + The consumer secret + The token secret + + + + + A class to encapsulate OAuth authentication flow. + + + + + + Generates a instance to pass to an + for the purpose of requesting an + unauthorized request token. + + The HTTP method for the intended request + + + + + + Generates a instance to pass to an + for the purpose of requesting an + unauthorized request token. + + The HTTP method for the intended request + Any existing, non-OAuth query parameters desired in the request + + + + + + Generates a instance to pass to an + for the purpose of exchanging a request token + for an access token authorized by the user at the Service Provider site. + + The HTTP method for the intended request + + + + + Generates a instance to pass to an + for the purpose of exchanging a request token + for an access token authorized by the user at the Service Provider site. + + The HTTP method for the intended request + + Any existing, non-OAuth query parameters desired in the request + + + + Generates a instance to pass to an + for the purpose of exchanging user credentials + for an access token authorized by the user at the Service Provider site. + + The HTTP method for the intended request + + Any existing, non-OAuth query parameters desired in the request + + + + + + + + + + + + + Calculates a 32bit Cyclic Redundancy Checksum (CRC) using the same polynomial + used by Zip. This type is used internally by DotNetZip; it is generally not used + directly by applications wishing to create, read, or manipulate zip archive + files. + + + + + Returns the CRC32 for the specified stream. + + The stream over which to calculate the CRC32 + the CRC32 calculation + + + + Returns the CRC32 for the specified stream, and writes the input into the + output stream. + + The stream over which to calculate the CRC32 + The stream into which to deflate the input + the CRC32 calculation + + + + Get the CRC32 for the given (word,byte) combo. This is a computation + defined by PKzip. + + The word to start with. + The byte to combine it with. + The CRC-ized result. + + + + Update the value for the running CRC32 using the given block of bytes. + This is useful when using the CRC32() class in a Stream. + + block of bytes to slurp + starting point in the block + how many bytes within the block to slurp + + + + indicates the total number of bytes read on the CRC stream. + This is used when writing the ZipDirEntry when compressing files. + + + + + Indicates the current CRC for all blocks slurped in. + + + + + A Stream that calculates a CRC32 (a checksum) on all bytes read, + or on all bytes written. + + + + + This class can be used to verify the CRC of a ZipEntry when + reading from a stream, or to calculate a CRC when writing to a + stream. The stream should be used to either read, or write, but + not both. If you intermix reads and writes, the results are not + defined. + + + + This class is intended primarily for use internally by the + DotNetZip library. + + + + + + The default constructor. + + + Instances returned from this constructor will leave the underlying stream + open upon Close(). + + The underlying stream + + + + The constructor allows the caller to specify how to handle the underlying + stream at close. + + The underlying stream + true to leave the underlying stream + open upon close of the CrcCalculatorStream.; false otherwise. + + + + A constructor allowing the specification of the length of the stream to read. + + + Instances returned from this constructor will leave the underlying stream open + upon Close(). + + The underlying stream + The length of the stream to slurp + + + + A constructor allowing the specification of the length of the stream to + read, as well as whether to keep the underlying stream open upon Close(). + + The underlying stream + The length of the stream to slurp + true to leave the underlying stream + open upon close of the CrcCalculatorStream.; false otherwise. + + + + Read from the stream + + the buffer to read + the offset at which to start + the number of bytes to read + the number of bytes actually read + + + + Write to the stream. + + the buffer from which to write + the offset at which to start writing + the number of bytes to write + + + + Flush the stream. + + + + + Not implemented. + + N/A + N/A + N/A + + + + Not implemented. + + N/A + + + + Closes the stream. + + + + + Gets the total number of bytes run through the CRC32 calculator. + + + + This is either the total number of bytes read, or the total number of bytes + written, depending on the direction of this stream. + + + + + Provides the current CRC for all blocks slurped in. + + + + + Indicates whether the underlying stream will be left open when the + CrcCalculatorStream is Closed. + + + + + Indicates whether the stream supports reading. + + + + + Indicates whether the stream supports seeking. + + + + + Indicates whether the stream supports writing. + + + + + Not implemented. + + + + + Not implemented. + + + + + Describes how to flush the current deflate operation. + + + The different FlushType values are useful when using a Deflate in a streaming application. + + + + No flush at all. + + + Closes the current block, but doesn't flush it to + the output. Used internally only in hypothetical + scenarios. This was supposed to be removed by Zlib, but it is + still in use in some edge cases. + + + + + Use this during compression to specify that all pending output should be + flushed to the output buffer and the output should be aligned on a byte + boundary. You might use this in a streaming communication scenario, so that + the decompressor can get all input data available so far. When using this + with a ZlibCodec, AvailableBytesIn will be zero after the call if + enough output space has been provided before the call. Flushing will + degrade compression and so it should be used only when necessary. + + + + + Use this during compression to specify that all output should be flushed, as + with FlushType.Sync, but also, the compression state should be reset + so that decompression can restart from this point if previous compressed + data has been damaged or if random access is desired. Using + FlushType.Full too often can significantly degrade the compression. + + + + Signals the end of the compression/decompression stream. + + + + A class for compressing and decompressing GZIP streams. + + + + + The GZipStream is a Decorator on a . It adds GZIP compression or decompression to any stream. + + + Like the Compression.GZipStream in the .NET Base + Class Library, the Ionic.Zlib.GZipStream can compress while writing, or decompress + while reading, but not vice versa. The compression method used is GZIP, which is + documented in IETF RFC 1952, + "GZIP file format specification version 4.3". + + A GZipStream can be used to decompress data (through Read()) or to compress + data (through Write()), but not both. + + If you wish to use the GZipStream to compress data, you must wrap it around a + write-able stream. As you call Write() on the GZipStream, the data will be + compressed into the GZIP format. If you want to decompress data, you must wrap the + GZipStream around a readable stream that contains an IETF RFC 1952-compliant stream. + The data will be decompressed as you call Read() on the GZipStream. + + Though the GZIP format allows data from multiple files to be concatenated + together, this stream handles only a single segment of GZIP format, typically + representing a single file. + + + This class is similar to and . + ZlibStream handles RFC1950-compliant streams. + handles RFC1951-compliant streams. This class handles RFC1952-compliant streams. + + + + + + + + + + Create a GZipStream using the specified CompressionMode and the specified CompressionLevel, + and explicitly specify whether the stream should be left open after Deflation or Inflation. + + + + This constructor allows the application to request that the captive stream remain open after + the deflation or inflation occurs. By default, after Close() is called on the stream, the + captive stream is also closed. In some cases this is not desired, for example if the stream + is a memory stream that will be re-read after compressed data has been written to it. Specify true for the + leaveOpen parameter to leave the stream open. + + + As noted in the class documentation, + the CompressionMode (Compress or Decompress) also establishes the "direction" of the stream. + A GZipStream with CompressionMode.Compress works only through Write(). A GZipStream with + CompressionMode.Decompress works only through Read(). + + + + This example shows how to use a DeflateStream to compress data. + + using (System.IO.Stream input = System.IO.File.OpenRead(fileToCompress)) + { + using (var raw = System.IO.File.Create(outputFile)) + { + using (Stream compressor = new GZipStream(raw, CompressionMode.Compress, CompressionLevel.BestCompression, true)) + { + byte[] buffer = new byte[WORKING_BUFFER_SIZE]; + int n; + while ((n= input.Read(buffer, 0, buffer.Length)) != 0) + { + compressor.Write(buffer, 0, n); + } + } + } + } + + + Dim outputFile As String = (fileToCompress & ".compressed") + Using input As Stream = File.OpenRead(fileToCompress) + Using raw As FileStream = File.Create(outputFile) + Using compressor As Stream = New GZipStream(raw, CompressionMode.Compress, CompressionLevel.BestCompression, True) + Dim buffer As Byte() = New Byte(4096) {} + Dim n As Integer = -1 + Do While (n <> 0) + If (n > 0) Then + compressor.Write(buffer, 0, n) + End If + n = input.Read(buffer, 0, buffer.Length) + Loop + End Using + End Using + End Using + + + The stream which will be read or written. + Indicates whether the GZipStream will compress or decompress. + true if the application would like the stream to remain open after inflation/deflation. + A tuning knob to trade speed for effectiveness. + + + + Dispose the stream. + + + This may or may not result in a Close() call on the captive stream. + See the ctor's with leaveOpen parameters for more information. + + + + + Flush the stream. + + + + + Read and decompress data from the source stream. + + + With a GZipStream, decompression is done through reading. + + + + byte[] working = new byte[WORKING_BUFFER_SIZE]; + using (System.IO.Stream input = System.IO.File.OpenRead(_CompressedFile)) + { + using (Stream decompressor= new Ionic.Zlib.GZipStream(input, CompressionMode.Decompress, true)) + { + using (var output = System.IO.File.Create(_DecompressedFile)) + { + int n; + while ((n= decompressor.Read(working, 0, working.Length)) !=0) + { + output.Write(working, 0, n); + } + } + } + } + + + The buffer into which the decompressed data should be placed. + the offset within that data array to put the first byte read. + the number of bytes to read. + the number of bytes actually read + + + + Calling this method always throws a . + + irrelevant; it will always throw! + irrelevant; it will always throw! + irrelevant! + + + + Calling this method always throws a NotImplementedException. + + irrelevant; this method will always throw! + + + + The Comment on the GZIP stream. + + + + The GZIP format allows for each file to optionally have an associated comment stored with the + file. The comment is encoded with the ISO-8859-1 code page. To include a comment in + a GZIP stream you create, set this property before calling Write() for the first time + on the GZipStream. + + + + When using GZipStream to decompress, you can retrieve this property after the first + call to Read(). If no comment has been set in the GZIP bytestream, the Comment + property will return null (Nothing in VB). + + + + + + The FileName for the GZIP stream. + + + + The GZIP format optionally allows each file to have an associated filename. When + compressing data (through Write()), set this FileName before calling Write() the first + time on the GZipStream. The actual filename is encoded into the GZIP bytestream with + the ISO-8859-1 code page, according to RFC 1952. It is the application's responsibility to + insure that the FileName can be encoded and decoded correctly with this code page. + + + When decompressing (through Read()), you can retrieve this value any time after the + first Read(). In the case where there was no filename encoded into the GZIP + bytestream, the property will return null (Nothing in VB). + + + + + + The CRC on the GZIP stream. + + + This is used for internal error checking. You probably don't need to look at this property. + + + + + This property sets the flush behavior on the stream. + + + + + The size of the working buffer for the compression codec. + + + + + The working buffer is used for all stream operations. The default size is 1024 bytes. + The minimum size is 128 bytes. You may get better performance with a larger buffer. + Then again, you might not. You would have to test it. + + + + Set this before the first call to Read() or Write() on the stream. If you try to set it + afterwards, it will throw. + + + + + Returns the total number of bytes input so far. + + + Returns the total number of bytes output so far. + + + + Indicates whether the stream can be read. + + + The return value depends on whether the captive stream supports reading. + + + + + Indicates whether the stream supports Seek operations. + + + Always returns false. + + + + + Indicates whether the stream can be written. + + + The return value depends on whether the captive stream supports writing. + + + + + Reading this property always throws a NotImplementedException. + + + + + The position of the stream pointer. + + + Writing this property always throws a NotImplementedException. Reading will + return the total bytes written out, if used in writing, or the total bytes + read in, if used in reading. The count may refer to compressed bytes or + uncompressed bytes, depending on how you've used the stream. + + + + + A general purpose exception class for exceptions in the Zlib library. + + + + + The ZlibException class captures exception information generated + by the Zlib library. + + + + + This ctor collects a message attached to the exception. + + + + + + Performs an unsigned bitwise right shift with the specified number + + Number to operate on + Ammount of bits to shift + The resulting number from the shift operation + + + + Performs an unsigned bitwise right shift with the specified number + + Number to operate on + Ammount of bits to shift + The resulting number from the shift operation + + + Reads a number of characters from the current source TextReader and writes the data to the target array at the specified index. + The source TextReader to read from + Contains the array of characteres read from the source TextReader. + The starting index of the target array. + The maximum number of characters to read from the source TextReader. + The number of characters read. The number will be less than or equal to count depending on the data available in the source TextReader. Returns -1 if the end of the stream is reached. + + + + Computes an Adler-32 checksum. + + + The Adler checksum is similar to a CRC checksum, but faster to compute, though less + reliable. It is used in producing RFC1950 compressed streams. The Adler checksum + is a required part of the "ZLIB" standard. Applications will almost never need to + use this class directly. + + + + + Encoder and Decoder for ZLIB and DEFLATE (IETF RFC1950 and RFC1951). + + + + This class compresses and decompresses data according to the Deflate algorithm + and optionally, the ZLIB format, as documented in RFC 1950 - ZLIB and RFC 1951 - DEFLATE. + + + + + The buffer from which data is taken. + + + + + An index into the InputBuffer array, indicating where to start reading. + + + + + The number of bytes available in the InputBuffer, starting at NextIn. + + + Generally you should set this to InputBuffer.Length before the first Inflate() or Deflate() call. + The class will update this number as calls to Inflate/Deflate are made. + + + + + Total number of bytes read so far, through all calls to Inflate()/Deflate(). + + + + + Buffer to store output data. + + + + + An index into the OutputBuffer array, indicating where to start writing. + + + + + The number of bytes available in the OutputBuffer, starting at NextOut. + + + Generally you should set this to OutputBuffer.Length before the first Inflate() or Deflate() call. + The class will update this number as calls to Inflate/Deflate are made. + + + + + Total number of bytes written to the output so far, through all calls to Inflate()/Deflate(). + + + + + used for diagnostics, when something goes wrong! + + + + + The number of Window Bits to use. + + + This gauges the size of the sliding window, and hence the + compression effectiveness as well as memory consumption. It's best to just leave this + setting alone if you don't know what it is. The maximum value is 15 bits, which implies + a 32k window. + + + + + Create a ZlibCodec that decompresses. + + + + + Initialize the inflation state. + + + It is not necessary to call this before using the ZlibCodec to inflate data; + It is implicitly called when you call the constructor. + + Z_OK if everything goes well. + + + + Initialize the inflation state with an explicit flag to + govern the handling of RFC1950 header bytes. + + + + By default, the ZLIB header defined in RFC 1950 is expected. If + you want to read a zlib stream you should specify true for + expectRfc1950Header. If you have a deflate stream, you will want to specify + false. It is only necessary to invoke this initializer explicitly if you + want to specify false. + + + whether to expect an RFC1950 header byte + pair when reading the stream of data to be inflated. + + Z_OK if everything goes well. + + + + Initialize the ZlibCodec for inflation, with the specified number of window bits. + + The number of window bits to use. If you need to ask what that is, + then you shouldn't be calling this initializer. + Z_OK if all goes well. + + + + Initialize the inflation state with an explicit flag to govern the handling of + RFC1950 header bytes. + + + + If you want to read a zlib stream you should specify true for + expectRfc1950Header. In this case, the library will expect to find a ZLIB + header, as defined in RFC + 1950, in the compressed stream. If you will be reading a DEFLATE or + GZIP stream, which does not have such a header, you will want to specify + false. + + + whether to expect an RFC1950 header byte pair when reading + the stream of data to be inflated. + The number of window bits to use. If you need to ask what that is, + then you shouldn't be calling this initializer. + Z_OK if everything goes well. + + + + Inflate the data in the InputBuffer, placing the result in the OutputBuffer. + + + You must have set InputBuffer and OutputBuffer, NextIn and NextOut, and AvailableBytesIn and + AvailableBytesOut before calling this method. + + + + private void InflateBuffer() + { + int bufferSize = 1024; + byte[] buffer = new byte[bufferSize]; + ZlibCodec decompressor = new ZlibCodec(); + + Console.WriteLine("\n============================================"); + Console.WriteLine("Size of Buffer to Inflate: {0} bytes.", CompressedBytes.Length); + MemoryStream ms = new MemoryStream(DecompressedBytes); + + int rc = decompressor.InitializeInflate(); + + decompressor.InputBuffer = CompressedBytes; + decompressor.NextIn = 0; + decompressor.AvailableBytesIn = CompressedBytes.Length; + + decompressor.OutputBuffer = buffer; + + // pass 1: inflate + do + { + decompressor.NextOut = 0; + decompressor.AvailableBytesOut = buffer.Length; + rc = decompressor.Inflate(ZlibConstants.Z_NO_FLUSH); + + if (rc != ZlibConstants.Z_OK && rc != ZlibConstants.Z_STREAM_END) + throw new Exception("inflating: " + decompressor.Message); + + ms.Write(decompressor.OutputBuffer, 0, buffer.Length - decompressor.AvailableBytesOut); + } + while (decompressor.AvailableBytesIn > 0 || decompressor.AvailableBytesOut == 0); + + // pass 2: finish and flush + do + { + decompressor.NextOut = 0; + decompressor.AvailableBytesOut = buffer.Length; + rc = decompressor.Inflate(ZlibConstants.Z_FINISH); + + if (rc != ZlibConstants.Z_STREAM_END && rc != ZlibConstants.Z_OK) + throw new Exception("inflating: " + decompressor.Message); + + if (buffer.Length - decompressor.AvailableBytesOut > 0) + ms.Write(buffer, 0, buffer.Length - decompressor.AvailableBytesOut); + } + while (decompressor.AvailableBytesIn > 0 || decompressor.AvailableBytesOut == 0); + + decompressor.EndInflate(); + } + + + + The flush to use when inflating. + Z_OK if everything goes well. + + + + Ends an inflation session. + + + Call this after successively calling Inflate(). This will cause all buffers to be flushed. + After calling this you cannot call Inflate() without a intervening call to one of the + InitializeInflate() overloads. + + Z_OK if everything goes well. + + + + I don't know what this does! + + Z_OK if everything goes well. + + + + Set the dictionary to be used for either Inflation or Deflation. + + The dictionary bytes to use. + Z_OK if all goes well. + + + + The Adler32 checksum on the data transferred through the codec so far. You probably don't need to look at this. + + + + + A bunch of constants used in the Zlib interface. + + + + + The maximum number of window bits for the Deflate algorithm. + + + + + The default number of window bits for the Deflate algorithm. + + + + + indicates everything is A-OK + + + + + Indicates that the last operation reached the end of the stream. + + + + + The operation ended in need of a dictionary. + + + + + There was an error with the stream - not enough data, not open and readable, etc. + + + + + There was an error with the data - not enough data, bad data, etc. + + + + + There was an error with the working buffer. + + + + + The size of the working buffer used in the ZlibCodec class. Defaults to 8192 bytes. + + + + + The minimum size of the working buffer used in the ZlibCodec class. Currently it is 128 bytes. + + + + + Represents a Zlib stream for compression or decompression. + + + + + The ZlibStream is a Decorator on a . It adds ZLIB compression or decompression to any + stream. + + + Using this stream, applications can compress or decompress data via + stream Read and Write operations. Either compresssion or + decompression can occur through either reading or writing. The compression + format used is ZLIB, which is documented in IETF RFC 1950, "ZLIB Compressed + Data Format Specification version 3.3". This implementation of ZLIB always uses + DEFLATE as the compression method. (see IETF RFC 1951, "DEFLATE + Compressed Data Format Specification version 1.3.") + + + The ZLIB format allows for varying compression methods, window sizes, and dictionaries. + This implementation always uses the DEFLATE compression method, a preset dictionary, + and 15 window bits by default. + + + + This class is similar to , except that it adds the + RFC1950 header and trailer bytes to a compressed stream when compressing, or expects + the RFC1950 header and trailer bytes when decompressing. It is also similar to the + . + + + + + + + + Dispose the stream. + + + This may or may not result in a Close() call on the captive stream. + See the constructors that have a leaveOpen parameter for more information. + + + + + Flush the stream. + + + + + Read data from the stream. + + + + + + If you wish to use the ZlibStream to compress data while reading, you can create a + ZlibStream with CompressionMode.Compress, providing an uncompressed data stream. Then + call Read() on that ZlibStream, and the data read will be compressed. If you wish to + use the ZlibStream to decompress data while reading, you can create a ZlibStream with + CompressionMode.Decompress, providing a readable compressed data stream. Then call + Read() on that ZlibStream, and the data will be decompressed as it is read. + + + + A ZlibStream can be used for Read() or Write(), but not both. + + + The buffer into which the read data should be placed. + the offset within that data array to put the first byte read. + the number of bytes to read. + + + + Calling this method always throws a NotImplementedException. + + + + + Calling this method always throws a NotImplementedException. + + + + + Write data to the stream. + + + + + + If you wish to use the ZlibStream to compress data while writing, you can create a + ZlibStream with CompressionMode.Compress, and a writable output stream. Then call + Write() on that ZlibStream, providing uncompressed data as input. The data sent to + the output stream will be the compressed form of the data written. If you wish to use + the ZlibStream to decompress data while writing, you can create a ZlibStream with + CompressionMode.Decompress, and a writable output stream. Then call Write() on that + stream, providing previously compressed data. The data sent to the output stream will + be the decompressed form of the data written. + + + + A ZlibStream can be used for Read() or Write(), but not both. + + + The buffer holding data to write to the stream. + the offset within that data array to find the first byte to write. + the number of bytes to write. + + + + Uncompress a byte array into a single string. + + + + A buffer containing ZLIB-compressed data. + + + + + Uncompress a byte array into a byte array. + + + + + A buffer containing ZLIB-compressed data. + + + + + This property sets the flush behavior on the stream. + Sorry, though, not sure exactly how to describe all the various settings. + + + + + The size of the working buffer for the compression codec. + + + + + The working buffer is used for all stream operations. The default size is 1024 bytes. + The minimum size is 128 bytes. You may get better performance with a larger buffer. + Then again, you might not. You would have to test it. + + + + Set this before the first call to Read() or Write() on the stream. If you try to set it + afterwards, it will throw. + + + + + Returns the total number of bytes input so far. + + + Returns the total number of bytes output so far. + + + + Indicates whether the stream can be read. + + + The return value depends on whether the captive stream supports reading. + + + + + Indicates whether the stream supports Seek operations. + + + Always returns false. + + + + + Indicates whether the stream can be written. + + + The return value depends on whether the captive stream supports writing. + + + + + Reading this property always throws a NotImplementedException. + + + + + The position of the stream pointer. + + + Writing this property always throws a NotImplementedException. Reading will + return the total bytes written out, if used in writing, or the total bytes + read in, if used in reading. The count may refer to compressed bytes or + uncompressed bytes, depending on how you've used the stream. + + + + + Allows control how class and property names and values are deserialized by XmlAttributeDeserializer + + + + + The name to use for the serialized element + + + + + Sets if the property to Deserialize is an Attribute or Element (Default: false) + + + + + Wrapper for System.Xml.Serialization.XmlSerializer. + + + + + Types of parameters that can be added to requests + + + + + Data formats + + + + + HTTP method to use when making requests + + + + + Format strings for commonly-used date formats + + + + + .NET format string for ISO 8601 date format + + + + + .NET format string for roundtrip date format + + + + + Status for responses (surprised?) + + + + + Extension method overload! + + + + + Read a stream into a byte array + + Stream to read + byte[] + + + + Copies bytes from one stream to another + + The input stream. + The output stream. + + + + Converts a byte array to a string, using its byte order mark to convert it to the right encoding. + http://www.shrinkrays.net/code-snippets/csharp/an-extension-method-for-converting-a-byte-array-to-a-string.aspx + + An array of bytes to convert + The byte as a string. + + + + Reflection extensions + + + + + Retrieve an attribute from a member (property) + + Type of attribute to retrieve + Member to retrieve attribute from + + + + + Retrieve an attribute from a type + + Type of attribute to retrieve + Type to retrieve attribute from + + + + + Checks a type to see if it derives from a raw generic (e.g. List[[]]) + + + + + + + + Find a value from a System.Enum by trying several possible variants + of the string value of the enum. + + Type of enum + Value for which to search + The culture used to calculate the name variants + + + + + Convert a to a instance. + + The response status. + + responseStatus + + + + Uses Uri.EscapeDataString() based on recommendations on MSDN + http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx + + + + + Check that a string is not null or empty + + String to check + bool + + + + Remove underscores from a string + + String to process + string + + + + Parses most common JSON date formats + + JSON value to parse + + DateTime + + + + Remove leading and trailing " from a string + + String to parse + String + + + + Checks a string to see if it matches a regex + + String to check + Pattern to match + bool + + + + Converts a string to pascal case + + String to convert + + string + + + + Converts a string to pascal case with the option to remove underscores + + String to convert + Option to remove underscores + + + + + + Converts a string to camel case + + String to convert + + String + + + + Convert the first letter of a string to lower case + + String to convert + string + + + + Checks to see if a string is all uppper case + + String to check + bool + + + + Add underscores to a pascal-cased string + + String to convert + string + + + + Add dashes to a pascal-cased string + + String to convert + string + + + + Add an undescore prefix to a pascasl-cased string + + + + + + + Add spaces to a pascal-cased string + + String to convert + string + + + + Return possible variants of a name for name matching. + + String to convert + The culture to use for conversion + IEnumerable<string> + + + + XML Extension Methods + + + + + Returns the name of an element with the namespace if specified + + Element name + XML Namespace + + + + + Container for files to be uploaded with requests + + + + + Creates a file parameter from an array of bytes. + + The parameter name to use in the request. + The data to use as the file's contents. + The filename to use in the request. + The content type to use in the request. + The + + + + Creates a file parameter from an array of bytes. + + The parameter name to use in the request. + The data to use as the file's contents. + The filename to use in the request. + The using the default content type. + + + + The length of data to be sent + + + + + Provides raw data for file + + + + + Name of the file to use when uploading + + + + + MIME content type of file + + + + + Name of the parameter + + + + + HttpWebRequest wrapper (async methods) + + + HttpWebRequest wrapper + + + + + Always send a multipart/form-data request - even when no Files are present. + + + + + An alternative to RequestBody, for when the caller already has the byte array. + + + + + Execute an async POST-style request with the specified HTTP Method. + + + The HTTP method to execute. + + + + + Execute an async GET-style request with the specified HTTP Method. + + + The HTTP method to execute. + + + + + Creates an IHttp + + + + + + Default constructor + + + + + True if this HTTP request has any HTTP parameters + + + + + True if this HTTP request has any HTTP cookies + + + + + True if a request body has been specified + + + + + True if files have been set to be uploaded + + + + + Always send a multipart/form-data request - even when no Files are present. + + + + + UserAgent to be sent with request + + + + + Timeout in milliseconds to be used for the request + + + + + The number of milliseconds before the writing or reading times out. + + + + + System.Net.ICredentials to be sent with request + + + + + The System.Net.CookieContainer to be used for the request + + + + + The method to use to write the response instead of reading into RawBytes + + + + + Collection of files to be sent with request + + + + + Whether or not HTTP 3xx response redirects should be automatically followed + + + + + Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) + will be sent along to the server. + + + + + HTTP headers to be sent with request + + + + + HTTP parameters (QueryString or Form values) to be sent with request + + + + + HTTP cookies to be sent with request + + + + + Request body to be sent with request + + + + + Content type of the request body. + + + + + An alternative to RequestBody, for when the caller already has the byte array. + + + + + URL to call for this request + + + + + Flag to send authorisation header with the HttpWebRequest + + + + + Representation of an HTTP cookie + + + + + Comment of the cookie + + + + + Comment of the cookie + + + + + Indicates whether the cookie should be discarded at the end of the session + + + + + Domain of the cookie + + + + + Indicates whether the cookie is expired + + + + + Date and time that the cookie expires + + + + + Indicates that this cookie should only be accessed by the server + + + + + Name of the cookie + + + + + Path of the cookie + + + + + Port of the cookie + + + + + Indicates that the cookie should only be sent over secure channels + + + + + Date and time the cookie was created + + + + + Value of the cookie + + + + + Version of the cookie + + + + + Container for HTTP file + + + + + The length of data to be sent + + + + + Provides raw data for file + + + + + Name of the file to use when uploading + + + + + MIME content type of file + + + + + Name of the parameter + + + + + Representation of an HTTP header + + + + + Name of the header + + + + + Value of the header + + + + + Representation of an HTTP parameter (QueryString or Form value) + + + + + Name of the parameter + + + + + Value of the parameter + + + + + Content-Type of the parameter + + + + + HTTP response data + + + + + HTTP response data + + + + + MIME content type of response + + + + + Length in bytes of the response content + + + + + Encoding of the response content + + + + + String representation of response content + + + + + HTTP response status code + + + + + Description of HTTP status returned + + + + + Response content + + + + + The URL that actually responded to the content (different from request if redirected) + + + + + HttpWebResponse.Server + + + + + Headers returned by server with the response + + + + + Cookies returned by server with the response + + + + + Status of the request. Will return Error for transport errors. + HTTP errors will still return ResponseStatus.Completed, check StatusCode instead + + + + + Transport or other non-HTTP error generated while attempting request + + + + + Exception thrown when error is encountered. + + + + + Default constructor + + + + + MIME content type of response + + + + + Length in bytes of the response content + + + + + Encoding of the response content + + + + + Lazy-loaded string representation of response content + + + + + HTTP response status code + + + + + Description of HTTP status returned + + + + + Response content + + + + + The URL that actually responded to the content (different from request if redirected) + + + + + HttpWebResponse.Server + + + + + Headers returned by server with the response + + + + + Cookies returned by server with the response + + + + + Status of the request. Will return Error for transport errors. + HTTP errors will still return ResponseStatus.Completed, check StatusCode instead + + + + + Transport or other non-HTTP error generated while attempting request + + + + + Exception thrown when error is encountered. + + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + The HTTP method to execute + + + + Executes a POST-style request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + The HTTP method to execute + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + The HTTP method to execute + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + The HTTP method to execute + + + + Executes the request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes the request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes a GET-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes a GET-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes a POST-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes a POST-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes the request and callback asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Executes the request asynchronously, authenticating if needed + + Request to be executed + + + + Executes a GET-style asynchronously, authenticating if needed + + Request to be executed + + + + Executes a GET-style asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Executes a POST-style asynchronously, authenticating if needed + + Request to be executed + + + + Executes a POST-style asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer + The default format is XML. Change RequestFormat if you wish to use a different serialization format. + + The object to serialize + The XML namespace to use when serializing + This request + + + + Serializes obj to data format specified by RequestFormat and adds it to the request body. + The default format is XML. Change RequestFormat if you wish to use a different serialization format. + + The object to serialize + This request + + + + Serializes obj to JSON format and adds it to the request body. + + The object to serialize + This request + + + + Serializes obj to XML format and adds it to the request body. + + The object to serialize + This request + + + + Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer + Serializes obj to XML format and passes xmlNamespace then adds it to the request body. + + The object to serialize + The XML namespace to use when serializing + This request + + + + Calls AddParameter() for all public, readable properties specified in the includedProperties list + + + request.AddObject(product, "ProductId", "Price", ...); + + The object with properties to add as parameters + The names of the properties to include + This request + + + + Calls AddParameter() for all public, readable properties of obj + + The object with properties to add as parameters + This request + + + + Add the parameter to the request + + Parameter to add + + + + + Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) + + Name of the parameter + Value of the parameter + This request + + + + Adds a parameter to the request. There are five types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - Cookie: Adds the name/value pair to the HTTP request's Cookies collection + - RequestBody: Used by AddBody() (not recommended to use directly) + + Name of the parameter + Value of the parameter + The type of parameter to add + This request + + + + Adds a parameter to the request. There are five types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - Cookie: Adds the name/value pair to the HTTP request's Cookies collection + - RequestBody: Used by AddBody() (not recommended to use directly) + + Name of the parameter + Value of the parameter + Content-Type of the parameter + The type of parameter to add + This request + + + + Shortcut to AddParameter(name, value, HttpHeader) overload + + Name of the header to add + Value of the header to add + + + + + Shortcut to AddParameter(name, value, Cookie) overload + + Name of the cookie to add + Value of the cookie to add + + + + + Shortcut to AddParameter(name, value, UrlSegment) overload + + Name of the segment to add + Value of the segment to add + + + + + Shortcut to AddParameter(name, value, QueryString) overload + + Name of the parameter to add + Value of the parameter to add + + + + + Always send a multipart/form-data request - even when no Files are present. + + + + + Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. + By default the included JsonSerializer is used (currently using JSON.NET default serialization). + + + + + Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. + By default the included XmlSerializer is used. + + + + + Set this to write response to Stream rather than reading into memory. + + + + + Container of all HTTP parameters to be passed with the request. + See AddParameter() for explanation of the types of parameters that can be passed + + + + + Container of all the files to be uploaded with the request. + + + + + Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS + Default is GET + + + + + The Resource URL to make the request against. + Tokens are substituted with UrlSegment parameters and match by name. + Should not include the scheme or domain. Do not include leading slash. + Combined with RestClient.BaseUrl to assemble final URL: + {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) + + + // example for url token replacement + request.Resource = "Products/{ProductId}"; + request.AddParameter("ProductId", 123, ParameterType.UrlSegment); + + + + + Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. + By default XmlSerializer is used. + + + + + Used by the default deserializers to determine where to start deserializing from. + Can be used to skip container or root elements that do not have corresponding deserialzation targets. + + + + + Used by the default deserializers to explicitly set which date format string to use when parsing dates. + + + + + Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. + + + + + In general you would not need to set this directly. Used by the NtlmAuthenticator. + + + + + Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. + + + + + The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. + + + + + How many attempts were made to send this Request? + + + This Number is incremented each time the RestClient sends the request. + Useful when using Asynchronous Execution with Callbacks + + + + + Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) + will be sent along to the server. The default is false. + + + + + Container for data sent back from API + + + + + The RestRequest that was made to get this RestResponse + + + Mainly for debugging if ResponseStatus is not OK + + + + + MIME content type of response + + + + + Length in bytes of the response content + + + + + Encoding of the response content + + + + + String representation of response content + + + + + HTTP response status code + + + + + Description of HTTP status returned + + + + + Response content + + + + + The URL that actually responded to the content (different from request if redirected) + + + + + HttpWebResponse.Server + + + + + Cookies returned by server with the response + + + + + Headers returned by server with the response + + + + + Status of the request. Will return Error for transport errors. + HTTP errors will still return ResponseStatus.Completed, check StatusCode instead + + + + + Transport or other non-HTTP error generated while attempting request + + + + + Exceptions thrown during the request, if any. + + Will contain only network transport or framework exceptions thrown during the request. + HTTP protocol errors are handled by RestSharp and will not appear here. + + + + Container for data sent back from API including deserialized data + + Type of data to deserialize to + + + + Deserialized entity data + + + + + Parameter container for REST requests + + + + + Return a human-readable representation of this parameter + + String + + + + Name of the parameter + + + + + Value of the parameter + + + + + Type of the parameter + + + + + MIME content type of the parameter + + + + + Client to translate RestRequests into Http requests and process response result + + + + + Executes the request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + The HTTP method to execute + + + + Executes a POST-style request and callback asynchronously, authenticating if needed + + Request to be executed + Callback function to be executed upon completion providing access to the async handle. + The HTTP method to execute + + + + Executes the request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + + + + Executes a GET-style request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + The HTTP method to execute + + + + Executes a POST-style request and callback asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + Callback function to be executed upon completion + The HTTP method to execute + + + + Executes a GET-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes a GET-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes a POST-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes a POST-style request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes the request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + + + + Executes the request asynchronously, authenticating if needed + + Target deserialization type + Request to be executed + The cancellation token + + + + Executes the request asynchronously, authenticating if needed + + Request to be executed + + + + Executes a GET-style asynchronously, authenticating if needed + + Request to be executed + + + + Executes a GET-style asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Executes a POST-style asynchronously, authenticating if needed + + Request to be executed + + + + Executes a POST-style asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Executes the request asynchronously, authenticating if needed + + Request to be executed + The cancellation token + + + + Default constructor that registers default content handlers + + + + + Sets the BaseUrl property for requests made by this client instance + + + + + + Sets the BaseUrl property for requests made by this client instance + + + + + + Registers a content handler to process response content + + MIME content type of the response content + Deserializer to use to process content + + + + Remove a content handler for the specified MIME content type + + MIME content type to remove + + + + Remove all content handlers + + + + + Retrieve the handler for the specified MIME content type + + MIME content type to retrieve + IDeserializer instance + + + + Assembles URL to call based on parameters, method and resource + + RestRequest to execute + Assembled System.Uri + + + + Maximum number of redirects to follow if FollowRedirects is true + + + + + Default is true. Determine whether or not requests that result in + HTTP status codes of 3xx should follow returned redirect + + + + + The CookieContainer used for requests made by this client instance + + + + + UserAgent to use for requests made by this client instance + + + + + Timeout in milliseconds to use for requests made by this client instance + + + + + The number of milliseconds before the writing or reading times out. + + + + + Whether to invoke async callbacks using the SynchronizationContext.Current captured when invoked + + + + + Authenticator to use for requests made by this client instance + + + + + Combined with Request.Resource to construct URL for request + Should include scheme and domain without trailing slash. + + + client.BaseUrl = new Uri("http://example.com"); + + + + + Parameters included with every request made with this instance of RestClient + If specified in both client and request, the request wins + + + + + Executes the request and callback asynchronously, authenticating if needed + + The IRestClient this method extends + Request to be executed + Callback function to be executed upon completion + + + + Executes the request and callback asynchronously, authenticating if needed + + The IRestClient this method extends + Target deserialization type + Request to be executed + Callback function to be executed upon completion providing access to the async handle + + + + Add a parameter to use on every request made with this client instance + + The IRestClient instance + Parameter to add + + + + + Removes a parameter from the default parameters that are used on every request made with this client instance + + The IRestClient instance + The name of the parameter that needs to be removed + + + + + Adds a HTTP parameter (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) + Used on every request made by this client instance + + The IRestClient instance + Name of the parameter + Value of the parameter + This request + + + + Adds a parameter to the request. There are four types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - RequestBody: Used by AddBody() (not recommended to use directly) + + The IRestClient instance + Name of the parameter + Value of the parameter + The type of parameter to add + This request + + + + Shortcut to AddDefaultParameter(name, value, HttpHeader) overload + + The IRestClient instance + Name of the header to add + Value of the header to add + + + + + Shortcut to AddDefaultParameter(name, value, UrlSegment) overload + + The IRestClient instance + Name of the segment to add + Value of the segment to add + + + + + Container for data used to make requests + + + + + Default constructor + + + + + Sets Method property to value of method + + Method to use for this request + + + + Sets Resource property + + Resource to use for this request + + + + Sets Resource and Method properties + + Resource to use for this request + Method to use for this request + + + + Sets Resource property + + Resource to use for this request + + + + Sets Resource and Method properties + + Resource to use for this request + Method to use for this request + + + + Adds a file to the Files collection to be included with a POST or PUT request + (other methods do not support file uploads). + + The parameter name to use in the request + Full path to file to upload + The MIME type of the file to upload + This request + + + + Adds the bytes to the Files collection with the specified file name + + The parameter name to use in the request + The file data + The file name to use for the uploaded file + The MIME type of the file to upload + This request + + + + Adds the bytes to the Files collection with the specified file name and content type + + The parameter name to use in the request + A function that writes directly to the stream. Should NOT close the stream. + The file name to use for the uploaded file + The MIME type of the file to upload + This request + + + + Add bytes to the Files collection as if it was a file of specific type + + A form parameter name + The file data + The file name to use for the uploaded file + Specific content type. Es: application/x-gzip + + + + + Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer + The default format is XML. Change RequestFormat if you wish to use a different serialization format. + + The object to serialize + The XML namespace to use when serializing + This request + + + + Serializes obj to data format specified by RequestFormat and adds it to the request body. + The default format is XML. Change RequestFormat if you wish to use a different serialization format. + + The object to serialize + This request + + + + Serializes obj to JSON format and adds it to the request body. + + The object to serialize + This request + + + + Serializes obj to XML format and adds it to the request body. + + The object to serialize + This request + + + + Serializes obj to format specified by RequestFormat, but passes xmlNamespace if using the default XmlSerializer + Serializes obj to XML format and passes xmlNamespace then adds it to the request body. + + The object to serialize + The XML namespace to use when serializing + This request + + + + Calls AddParameter() for all public, readable properties specified in the includedProperties list + + + request.AddObject(product, "ProductId", "Price", ...); + + The object with properties to add as parameters + The names of the properties to include + This request + + + + Calls AddParameter() for all public, readable properties of obj + + The object with properties to add as parameters + This request + + + + Add the parameter to the request + + Parameter to add + + + + + Adds a HTTP parameter to the request (QueryString for GET, DELETE, OPTIONS and HEAD; Encoded form for POST and PUT) + + Name of the parameter + Value of the parameter + This request + + + + Adds a parameter to the request. There are four types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - RequestBody: Used by AddBody() (not recommended to use directly) + + Name of the parameter + Value of the parameter + The type of parameter to add + This request + + + + Adds a parameter to the request. There are four types of parameters: + - GetOrPost: Either a QueryString value or encoded form value based on method + - HttpHeader: Adds the name/value pair to the HTTP request's Headers collection + - UrlSegment: Inserted into URL if there is a matching url token e.g. {AccountId} + - RequestBody: Used by AddBody() (not recommended to use directly) + + Name of the parameter + Value of the parameter + Content-Type of the parameter + The type of parameter to add + This request + + + + Shortcut to AddParameter(name, value, HttpHeader) overload + + Name of the header to add + Value of the header to add + + + + + Shortcut to AddParameter(name, value, Cookie) overload + + Name of the cookie to add + Value of the cookie to add + + + + + Shortcut to AddParameter(name, value, UrlSegment) overload + + Name of the segment to add + Value of the segment to add + + + + + Shortcut to AddParameter(name, value, QueryString) overload + + Name of the parameter to add + Value of the parameter to add + + + + + Internal Method so that RestClient can increase the number of attempts + + + + + Always send a multipart/form-data request - even when no Files are present. + + + + + Serializer to use when writing JSON request bodies. Used if RequestFormat is Json. + By default the included JsonSerializer is used (currently using JSON.NET default serialization). + + + + + Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. + By default the included XmlSerializer is used. + + + + + Set this to write response to Stream rather than reading into memory. + + + + + Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) + will be sent along to the server. The default is false. + + + + + Container of all HTTP parameters to be passed with the request. + See AddParameter() for explanation of the types of parameters that can be passed + + + + + Container of all the files to be uploaded with the request. + + + + + Determines what HTTP method to use for this request. Supported methods: GET, POST, PUT, DELETE, HEAD, OPTIONS + Default is GET + + + + + The Resource URL to make the request against. + Tokens are substituted with UrlSegment parameters and match by name. + Should not include the scheme or domain. Do not include leading slash. + Combined with RestClient.BaseUrl to assemble final URL: + {BaseUrl}/{Resource} (BaseUrl is scheme + domain, e.g. http://example.com) + + + // example for url token replacement + request.Resource = "Products/{ProductId}"; + request.AddParameter("ProductId", 123, ParameterType.UrlSegment); + + + + + Serializer to use when writing XML request bodies. Used if RequestFormat is Xml. + By default XmlSerializer is used. + + + + + Used by the default deserializers to determine where to start deserializing from. + Can be used to skip container or root elements that do not have corresponding deserialzation targets. + + + + + A function to run prior to deserializing starting (e.g. change settings if error encountered) + + + + + Used by the default deserializers to explicitly set which date format string to use when parsing dates. + + + + + Used by XmlDeserializer. If not specified, XmlDeserializer will flatten response by removing namespaces from element names. + + + + + In general you would not need to set this directly. Used by the NtlmAuthenticator. + + + + + Gets or sets a user-defined state object that contains information about a request and which can be later + retrieved when the request completes. + + + + + Timeout in milliseconds to be used for the request. This timeout value overrides a timeout set on the RestClient. + + + + + The number of milliseconds before the writing or reading times out. This timeout value overrides a timeout set on the RestClient. + + + + + How many attempts were made to send this Request? + + + This Number is incremented each time the RestClient sends the request. + Useful when using Asynchronous Execution with Callbacks + + + + + Base class for common properties shared by RestResponse and RestResponse[[T]] + + + + + Default constructor + + + + + Assists with debugging responses by displaying in the debugger output + + + + + + The RestRequest that was made to get this RestResponse + + + Mainly for debugging if ResponseStatus is not OK + + + + + MIME content type of response + + + + + Length in bytes of the response content + + + + + Encoding of the response content + + + + + String representation of response content + + + + + HTTP response status code + + + + + Description of HTTP status returned + + + + + Response content + + + + + The URL that actually responded to the content (different from request if redirected) + + + + + HttpWebResponse.Server + + + + + Cookies returned by server with the response + + + + + Headers returned by server with the response + + + + + Status of the request. Will return Error for transport errors. + HTTP errors will still return ResponseStatus.Completed, check StatusCode instead + + + + + Transport or other non-HTTP error generated while attempting request + + + + + The exception thrown during the request, if any + + + + + Container for data sent back from API including deserialized data + + Type of data to deserialize to + + + + Deserialized entity data + + + + + Container for data sent back from API + + + + + Wrapper for System.Xml.Serialization.XmlSerializer. + + + + + Default constructor, does not specify namespace + + + + + Specify the namespaced to be used when serializing + + XML namespace + + + + Serialize the object as XML + + Object to serialize + XML as string + + + + Name of the root element to use when serializing + + + + + XML namespace to use when serializing + + + + + Format string to use when serializing dates + + + + + Content type for serialized content + + + + + Encoding for serialized content + + + + + Need to subclass StringWriter in order to override Encoding + + + + + Default JSON serializer for request bodies + Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes + + + + + Default serializer + + + + + Serialize the object as JSON + + Object to serialize + JSON as String + + + + Unused for JSON Serialization + + + + + Unused for JSON Serialization + + + + + Unused for JSON Serialization + + + + + Content type for serialized content + + + + + Allows control how class and property names and values are serialized by XmlSerializer + Currently not supported with the JsonSerializer + When specified at the property level the class-level specification is overridden + + + + + Called by the attribute when NameStyle is speficied + + The string to transform + String + + + + The name to use for the serialized element + + + + + Sets the value to be serialized as an Attribute instead of an Element + + + + + The culture to use when serializing + + + + + Transforms the casing of the name based on the selected value. + + + + + The order to serialize the element. Default is int.MaxValue. + + + + + Options for transforming casing of element names + + + + + Default XML Serializer + + + + + Default constructor, does not specify namespace + + + + + Specify the namespaced to be used when serializing + + XML namespace + + + + Serialize the object as XML + + Object to serialize + XML as string + + + + Determines if a given object is numeric in any way + (can be integer, double, null, etc). + + + + + Name of the root element to use when serializing + + + + + XML namespace to use when serializing + + + + + Format string to use when serializing dates + + + + + Content type for serialized content + + + + + Represents the json array. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The capacity of the json array. + + + + The json representation of the array. + + The json representation of the array. + + + + Represents the json object. + + + + + The internal member dictionary. + + + + + Initializes a new instance of . + + + + + Initializes a new instance of . + + The implementation to use when comparing keys, or null to use the default for the type of the key. + + + + Adds the specified key. + + The key. + The value. + + + + Determines whether the specified key contains key. + + The key. + + true if the specified key contains key; otherwise, false. + + + + + Removes the specified key. + + The key. + + + + + Tries the get value. + + The key. + The value. + + + + + Adds the specified item. + + The item. + + + + Clears this instance. + + + + + Determines whether [contains] [the specified item]. + + The item. + + true if [contains] [the specified item]; otherwise, false. + + + + + Copies to. + + The array. + Index of the array. + + + + Removes the specified item. + + The item. + + + + + Gets the enumerator. + + + + + + Returns an enumerator that iterates through a collection. + + + An object that can be used to iterate through the collection. + + + + + Returns a json that represents the current . + + + A json that represents the current . + + + + + Gets the at the specified index. + + + + + + Gets the keys. + + The keys. + + + + Gets the values. + + The values. + + + + Gets or sets the with the specified key. + + + + + + Gets the count. + + The count. + + + + Gets a value indicating whether this instance is read only. + + + true if this instance is read only; otherwise, false. + + + + + This class encodes and decodes JSON strings. + Spec. details, see http://www.json.org/ + + JSON uses Arrays and Objects. These correspond here to the datatypes JsonArray(IList<object>) and JsonObject(IDictionary<string,object>). + All numbers are parsed to doubles. + + + + + Parses the string json into a value + + A JSON string. + An IList<object>, a IDictionary<string,object>, a double, a string, null, true, or false + + + + Try parsing the json string into a value. + + + A JSON string. + + + The object. + + + Returns true if successfull otherwise false. + + + + + Converts a IDictionary<string,object> / IList<object> object into a JSON string + + A IDictionary<string,object> / IList<object> + Serializer strategy to use + A JSON encoded string, or null if object 'json' is not serializable + + + + Determines if a given object is numeric in any way + (can be integer, double, null, etc). + + + + + Helper methods for validating required values + + + + + Require a parameter to not be null + + Name of the parameter + Value of the parameter + + + + Helper methods for validating values + + + + + Validate an integer value is between the specified values (exclusive of min/max) + + Value to validate + Exclusive minimum value + Exclusive maximum value + + + + Validate a string length + + String to be validated + Maximum length of the string + + + + Comment of the cookie + + + + + Comment of the cookie + + + + + Indicates whether the cookie should be discarded at the end of the session + + + + + Domain of the cookie + + + + + Indicates whether the cookie is expired + + + + + Date and time that the cookie expires + + + + + Indicates that this cookie should only be accessed by the server + + + + + Name of the cookie + + + + + Path of the cookie + + + + + Port of the cookie + + + + + Indicates that the cookie should only be sent over secure channels + + + + + Date and time the cookie was created + + + + + Value of the cookie + + + + + Version of the cookie + + + + diff --git a/packages/RestSharp.105.2.3/readme.txt b/packages/RestSharp.105.2.3/readme.txt new file mode 100644 index 0000000..89a5bde --- /dev/null +++ b/packages/RestSharp.105.2.3/readme.txt @@ -0,0 +1,20 @@ +*** IMPORTANT CHANGE IN RESTSHARP VERSION 103 *** + +In 103.0, JSON.NET was removed as a dependency. + +If this is still installed in your project and no other libraries depend on +it you may remove it from your installed packages. + +There is one breaking change: the default Json*Serializer* is no longer +compatible with Json.NET. To use Json.NET for serialization, copy the code +from https://github.com/restsharp/RestSharp/blob/86b31f9adf049d7fb821de8279154f41a17b36f7/RestSharp/Serializers/JsonSerializer.cs +and register it with your client: + +var client = new RestClient(); +client.JsonSerializer = new YourCustomSerializer(); + +The default Json*Deserializer* is mostly compatible, but it does not support +all features which Json.NET has (like the ability to support a custom [JsonConverter] +by decorating a certain property with an attribute). If you need these features, you +must take care of the deserialization yourself to get it working. + diff --git a/packages/System.Runtime.InteropServices.RuntimeInformation.4.3.0/System.Runtime.InteropServices.RuntimeInformation.4.3.0.nupkg b/packages/System.Runtime.InteropServices.RuntimeInformation.4.3.0/System.Runtime.InteropServices.RuntimeInformation.4.3.0.nupkg new file mode 100644 index 0000000..daa7143 Binary files /dev/null and b/packages/System.Runtime.InteropServices.RuntimeInformation.4.3.0/System.Runtime.InteropServices.RuntimeInformation.4.3.0.nupkg differ diff --git a/packages/System.Runtime.InteropServices.RuntimeInformation.4.3.0/ThirdPartyNotices.txt b/packages/System.Runtime.InteropServices.RuntimeInformation.4.3.0/ThirdPartyNotices.txt new file mode 100644 index 0000000..55cfb20 --- /dev/null +++ b/packages/System.Runtime.InteropServices.RuntimeInformation.4.3.0/ThirdPartyNotices.txt @@ -0,0 +1,31 @@ +This Microsoft .NET Library may incorporate components from the projects listed +below. Microsoft licenses these components under the Microsoft .NET Library +software license terms. The original copyright notices and the licenses under +which Microsoft received such components are set forth below for informational +purposes only. Microsoft reserves all rights not expressly granted herein, +whether by implication, estoppel or otherwise. + +1. .NET Core (https://github.com/dotnet/core/) + +.NET Core +Copyright (c) .NET Foundation and Contributors + +The MIT License (MIT) + +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. \ No newline at end of file diff --git a/packages/System.Runtime.InteropServices.RuntimeInformation.4.3.0/dotnet_library_license.txt b/packages/System.Runtime.InteropServices.RuntimeInformation.4.3.0/dotnet_library_license.txt new file mode 100644 index 0000000..92b6c44 --- /dev/null +++ b/packages/System.Runtime.InteropServices.RuntimeInformation.4.3.0/dotnet_library_license.txt @@ -0,0 +1,128 @@ + +MICROSOFT SOFTWARE LICENSE TERMS + + +MICROSOFT .NET LIBRARY + +These license terms are an agreement between Microsoft Corporation (or based on where you live, one of its affiliates) and you. Please read them. They apply to the software named above, which includes the media on which you received it, if any. The terms also apply to any Microsoft + +· updates, + +· supplements, + +· Internet-based services, and + +· support services + +for this software, unless other terms accompany those items. If so, those terms apply. + +BY USING THE SOFTWARE, YOU ACCEPT THESE TERMS. IF YOU DO NOT ACCEPT THEM, DO NOT USE THE SOFTWARE. + + +IF YOU COMPLY WITH THESE LICENSE TERMS, YOU HAVE THE PERPETUAL RIGHTS BELOW. + +1. INSTALLATION AND USE RIGHTS. + +a. Installation and Use. You may install and use any number of copies of the software to design, develop and test your programs. + +b. Third Party Programs. The software may include third party programs that Microsoft, not the third party, licenses to you under this agreement. Notices, if any, for the third party program are included for your information only. + +2. ADDITIONAL LICENSING REQUIREMENTS AND/OR USE RIGHTS. + +a. DISTRIBUTABLE CODE. The software is comprised of Distributable Code. “Distributable Code” is code that you are permitted to distribute in programs you develop if you comply with the terms below. + +i. Right to Use and Distribute. + +· You may copy and distribute the object code form of the software. + +· Third Party Distribution. You may permit distributors of your programs to copy and distribute the Distributable Code as part of those programs. + +ii. Distribution Requirements. For any Distributable Code you distribute, you must + +· add significant primary functionality to it in your programs; + +· require distributors and external end users to agree to terms that protect it at least as much as this agreement; + +· display your valid copyright notice on your programs; and + +· indemnify, defend, and hold harmless Microsoft from any claims, including attorneys’ fees, related to the distribution or use of your programs. + +iii. Distribution Restrictions. You may not + +· alter any copyright, trademark or patent notice in the Distributable Code; + +· use Microsoft’s trademarks in your programs’ names or in a way that suggests your programs come from or are endorsed by Microsoft; + +· include Distributable Code in malicious, deceptive or unlawful programs; or + +· modify or distribute the source code of any Distributable Code so that any part of it becomes subject to an Excluded License. An Excluded License is one that requires, as a condition of use, modification or distribution, that + +· the code be disclosed or distributed in source code form; or + +· others have the right to modify it. + +3. SCOPE OF LICENSE. The software is licensed, not sold. This agreement only gives you some rights to use the software. Microsoft reserves all other rights. Unless applicable law gives you more rights despite this limitation, you may use the software only as expressly permitted in this agreement. In doing so, you must comply with any technical limitations in the software that only allow you to use it in certain ways. You may not + +· work around any technical limitations in the software; + +· reverse engineer, decompile or disassemble the software, except and only to the extent that applicable law expressly permits, despite this limitation; + +· publish the software for others to copy; + +· rent, lease or lend the software; + +· transfer the software or this agreement to any third party; or + +· use the software for commercial software hosting services. + +4. BACKUP COPY. You may make one backup copy of the software. You may use it only to reinstall the software. + +5. DOCUMENTATION. Any person that has valid access to your computer or internal network may copy and use the documentation for your internal, reference purposes. + +6. EXPORT RESTRICTIONS. The software is subject to United States export laws and regulations. You must comply with all domestic and international export laws and regulations that apply to the software. These laws include restrictions on destinations, end users and end use. For additional information, see www.microsoft.com/exporting. + +7. SUPPORT SERVICES. Because this software is “as is,” we may not provide support services for it. + +8. ENTIRE AGREEMENT. This agreement, and the terms for supplements, updates, Internet-based services and support services that you use, are the entire agreement for the software and support services. + +9. APPLICABLE LAW. + +a. United States. If you acquired the software in the United States, Washington state law governs the interpretation of this agreement and applies to claims for breach of it, regardless of conflict of laws principles. The laws of the state where you live govern all other claims, including claims under state consumer protection laws, unfair competition laws, and in tort. + +b. Outside the United States. If you acquired the software in any other country, the laws of that country apply. + +10. LEGAL EFFECT. This agreement describes certain legal rights. You may have other rights under the laws of your country. You may also have rights with respect to the party from whom you acquired the software. This agreement does not change your rights under the laws of your country if the laws of your country do not permit it to do so. + +11. DISCLAIMER OF WARRANTY. THE SOFTWARE IS LICENSED “AS-IS.” YOU BEAR THE RISK OF USING IT. MICROSOFT GIVES NO EXPRESS WARRANTIES, GUARANTEES OR CONDITIONS. YOU MAY HAVE ADDITIONAL CONSUMER RIGHTS OR STATUTORY GUARANTEES UNDER YOUR LOCAL LAWS WHICH THIS AGREEMENT CANNOT CHANGE. TO THE EXTENT PERMITTED UNDER YOUR LOCAL LAWS, MICROSOFT EXCLUDES THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. + +FOR AUSTRALIA – YOU HAVE STATUTORY GUARANTEES UNDER THE AUSTRALIAN CONSUMER LAW AND NOTHING IN THESE TERMS IS INTENDED TO AFFECT THOSE RIGHTS. + +12. LIMITATION ON AND EXCLUSION OF REMEDIES AND DAMAGES. YOU CAN RECOVER FROM MICROSOFT AND ITS SUPPLIERS ONLY DIRECT DAMAGES UP TO U.S. $5.00. YOU CANNOT RECOVER ANY OTHER DAMAGES, INCLUDING CONSEQUENTIAL, LOST PROFITS, SPECIAL, INDIRECT OR INCIDENTAL DAMAGES. + +This limitation applies to + +· anything related to the software, services, content (including code) on third party Internet sites, or third party programs; and + +· claims for breach of contract, breach of warranty, guarantee or condition, strict liability, negligence, or other tort to the extent permitted by applicable law. + +It also applies even if Microsoft knew or should have known about the possibility of the damages. The above limitation or exclusion may not apply to you because your country may not allow the exclusion or limitation of incidental, consequential or other damages. + +Please note: As this software is distributed in Quebec, Canada, some of the clauses in this agreement are provided below in French. + +Remarque : Ce logiciel étant distribué au Québec, Canada, certaines des clauses dans ce contrat sont fournies ci-dessous en français. + +EXONÉRATION DE GARANTIE. Le logiciel visé par une licence est offert « tel quel ». Toute utilisation de ce logiciel est à votre seule risque et péril. Microsoft n’accorde aucune autre garantie expresse. Vous pouvez bénéficier de droits additionnels en vertu du droit local sur la protection des consommateurs, que ce contrat ne peut modifier. La ou elles sont permises par le droit locale, les garanties implicites de qualité marchande, d’adéquation à un usage particulier et d’absence de contrefaçon sont exclues. + +LIMITATION DES DOMMAGES-INTÉRÊTS ET EXCLUSION DE RESPONSABILITÉ POUR LES DOMMAGES. Vous pouvez obtenir de Microsoft et de ses fournisseurs une indemnisation en cas de dommages directs uniquement à hauteur de 5,00 $ US. Vous ne pouvez prétendre à aucune indemnisation pour les autres dommages, y compris les dommages spéciaux, indirects ou accessoires et pertes de bénéfices. + +Cette limitation concerne : + +· tout ce qui est relié au logiciel, aux services ou au contenu (y compris le code) figurant sur des sites Internet tiers ou dans des programmes tiers ; et + +· les réclamations au titre de violation de contrat ou de garantie, ou au titre de responsabilité stricte, de négligence ou d’une autre faute dans la limite autorisée par la loi en vigueur. + +Elle s’applique également, même si Microsoft connaissait ou devrait connaître l’éventualité d’un tel dommage. Si votre pays n’autorise pas l’exclusion ou la limitation de responsabilité pour les dommages indirects, accessoires ou de quelque nature que ce soit, il se peut que la limitation ou l’exclusion ci-dessus ne s’appliquera pas à votre égard. + +EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous pourriez avoir d’autres droits prévus par les lois de votre pays. Le présent contrat ne modifie pas les droits que vous confèrent les lois de votre pays si celles-ci ne le permettent pas. + + diff --git a/packages/System.Runtime.InteropServices.RuntimeInformation.4.3.0/lib/MonoAndroid10/_._ b/packages/System.Runtime.InteropServices.RuntimeInformation.4.3.0/lib/MonoAndroid10/_._ new file mode 100644 index 0000000..e69de29 diff --git a/packages/System.Runtime.InteropServices.RuntimeInformation.4.3.0/lib/MonoTouch10/_._ b/packages/System.Runtime.InteropServices.RuntimeInformation.4.3.0/lib/MonoTouch10/_._ new file mode 100644 index 0000000..e69de29 diff --git a/packages/System.Runtime.InteropServices.RuntimeInformation.4.3.0/lib/xamarinios10/_._ b/packages/System.Runtime.InteropServices.RuntimeInformation.4.3.0/lib/xamarinios10/_._ new file mode 100644 index 0000000..e69de29 diff --git a/packages/System.Runtime.InteropServices.RuntimeInformation.4.3.0/lib/xamarinmac20/_._ b/packages/System.Runtime.InteropServices.RuntimeInformation.4.3.0/lib/xamarinmac20/_._ new file mode 100644 index 0000000..e69de29 diff --git a/packages/System.Runtime.InteropServices.RuntimeInformation.4.3.0/lib/xamarintvos10/_._ b/packages/System.Runtime.InteropServices.RuntimeInformation.4.3.0/lib/xamarintvos10/_._ new file mode 100644 index 0000000..e69de29 diff --git a/packages/System.Runtime.InteropServices.RuntimeInformation.4.3.0/lib/xamarinwatchos10/_._ b/packages/System.Runtime.InteropServices.RuntimeInformation.4.3.0/lib/xamarinwatchos10/_._ new file mode 100644 index 0000000..e69de29 diff --git a/packages/System.Runtime.InteropServices.RuntimeInformation.4.3.0/ref/MonoAndroid10/_._ b/packages/System.Runtime.InteropServices.RuntimeInformation.4.3.0/ref/MonoAndroid10/_._ new file mode 100644 index 0000000..e69de29 diff --git a/packages/System.Runtime.InteropServices.RuntimeInformation.4.3.0/ref/MonoTouch10/_._ b/packages/System.Runtime.InteropServices.RuntimeInformation.4.3.0/ref/MonoTouch10/_._ new file mode 100644 index 0000000..e69de29 diff --git a/packages/System.Runtime.InteropServices.RuntimeInformation.4.3.0/ref/xamarinios10/_._ b/packages/System.Runtime.InteropServices.RuntimeInformation.4.3.0/ref/xamarinios10/_._ new file mode 100644 index 0000000..e69de29 diff --git a/packages/System.Runtime.InteropServices.RuntimeInformation.4.3.0/ref/xamarinmac20/_._ b/packages/System.Runtime.InteropServices.RuntimeInformation.4.3.0/ref/xamarinmac20/_._ new file mode 100644 index 0000000..e69de29 diff --git a/packages/System.Runtime.InteropServices.RuntimeInformation.4.3.0/ref/xamarintvos10/_._ b/packages/System.Runtime.InteropServices.RuntimeInformation.4.3.0/ref/xamarintvos10/_._ new file mode 100644 index 0000000..e69de29 diff --git a/packages/System.Runtime.InteropServices.RuntimeInformation.4.3.0/ref/xamarinwatchos10/_._ b/packages/System.Runtime.InteropServices.RuntimeInformation.4.3.0/ref/xamarinwatchos10/_._ new file mode 100644 index 0000000..e69de29